Custom terrain problems [SOLVED]
Moderator: Forum Moderators
-
- Posts: 8
- Joined: January 8th, 2011, 4:15 pm
Custom terrain problems [SOLVED]
I got my custom terrain made and it looked as if it worked, until I applied it to the map. As you can see, all I get is a black void when I apply it. The .zip contains the _main.cfg and image/terrain folders. Any ideas on what could be wrong?
P.S. Sorry if this is in the wrong place, I wasn't really sure where to post asking this.
P.S. Sorry if this is in the wrong place, I wasn't really sure where to post asking this.
Last edited by king_scrooge on January 13th, 2011, 11:30 pm, edited 2 times in total.
~KS
Re: Custom terrain problems
Well, you don't have any terrain graphics rules to tell the game how to draw it on the map. Adding {TERRAIN_BASE spc spidercastle} should make it show up. Look in the mainline data/core/terrain-graphics.cfg for further examples of how to use the common terrain graphics macros, if you need to.
Also, string= _ spc should be string=spc. The underscore marks the following string (which doesn't need to be in quotes) as translatable, and that certainly makes no sense for terrain strings.
Also, string= _ spc should be string=spc. The underscore marks the following string (which doesn't need to be in quotes) as translatable, and that certainly makes no sense for terrain strings.
-
- Posts: 8
- Joined: January 8th, 2011, 4:15 pm
Re: Custom terrain problems
Thanks zookeeper, this fixed the problem! I'll be sure to keep my under scores in the right place.zookeeper wrote:Well, you don't have any terrain graphics rules to tell the game how to draw it on the map. Adding {TERRAIN_BASE spc spidercastle} should make it show up. Look in the mainline data/core/terrain-graphics.cfg for further examples of how to use the common terrain graphics macros, if you need to.
Also, string= _ spc should be string=spc. The underscore marks the following string (which doesn't need to be in quotes) as translatable, and that certainly makes no sense for terrain strings.
~KS