|
Kestrel
|
|
Melbourne, Victoria, Australia
Jul 1999 time: 05:12
|
|
Here is an example of using impassable terrain from one of my Secanrios :
From the 3-D Scenario rules.txt
I don't want any units to be able to "travel" underground unless there are tunnels
so :
@TERRAIN1
Cont. Shelf,8,2, 0,0,0, no, 0, 0, 5, For, 0, 4, 1, no, yes, ; Drt
Mudstone, 8,2, 0,0,0, no, 0, 0, 1, For, 0, 4, 1, no, yes, ; Pln
Clay, 8,2, 0,0,0, no, 0, 0, 2, For, 0, 3, 1, no, yes, ; Grs
Tunnel, 1,2, 0,0,0, yes, 1, 8, 2, Hil, 0, 2, 2, no, no, ; For
But the "Tunneling Unit must be able to build the tunnels in the first place (by mining the relevant impassable tile) so in the @UNITS_ADVANCED section it has :
11111111, 00001100, 0, 0000000100000000,0000000100000000,0000000000000000
, 00110000 ;Tunneling Unit
It is the fifth byte from the right that sets the impassable terrain override.
Hope that helps.
|