Need help with a Terrain issue
Posted: Mon Jan 16, 2023 5:19 pm
Hello, I'm trying to set up the tank traps from RA in TD, so that they let infantry pass, but not vehicles.
The tank traps show up fine and behave correctly, however...
I need some help with the code in my map.yaml.
My guess was that I'd insert the following line at the end of the map.yaml file:
TileSets: temperat.yaml
...and add a file named temperate.yaml into my map's folder with the following code:
Terrain:
TerrainType@TankTrap:
Type: TankTrap
TargetTypes: Ground
Color: 44443C
When starting the game I get a crash and from the exception.log I get that the tileset TEMPERAT lacks the terrain type "TankTrap".
For testing I inserted the code mentioned above (Terrain: etc) into temperat.yaml in the game's folder "tilesets" and it works.
My guess is that I've not set up my temperat.yaml (in my map's folder) properly.
Can someone please help. Thanks in advance
The tank traps show up fine and behave correctly, however...
I need some help with the code in my map.yaml.
My guess was that I'd insert the following line at the end of the map.yaml file:
TileSets: temperat.yaml
...and add a file named temperate.yaml into my map's folder with the following code:
Terrain:
TerrainType@TankTrap:
Type: TankTrap
TargetTypes: Ground
Color: 44443C
When starting the game I get a crash and from the exception.log I get that the tileset TEMPERAT lacks the terrain type "TankTrap".
For testing I inserted the code mentioned above (Terrain: etc) into temperat.yaml in the game's folder "tilesets" and it works.
My guess is that I've not set up my temperat.yaml (in my map's folder) properly.
Can someone please help. Thanks in advance