HELP! New Terrain problem...
Okay, I ran into a problem, adding new terrain types into the game. Basically, I added 5 new terrains, which uses the same CTP2 tile gfx, but each of these new terrains have different attributes. The new terrains occupy spots 26, 27, 28, 29, and 30 in the terrain.txt.
Now, these new terrain works fine in the game, except for one problem, battles. Any battles on these new terrains will show a black screen. I think the problem is with the battleview.ldl file. I think I need to add:
# AC1_Plains
string string26 "upbg002.tga"
# AC1_Tundra
string string27 "upbg005.tga"
# AC1_Grassland
string string28 "upbg001.tga"
# AC1_Desert
string string29 "upbg003.tga"
# AC1_Dead
string string30 "upbg007.tga"
The problem is, this doesn't work. Where do I define string26, string27, string28, string29, and string30? Myabe I'm going about this wrong? If anyone can help me with the black battlescreen problem, please do.
If you are wondering why I'm adding these new terrains, its simple, so I can add new 'goods' to existing tiles. Okay, they aren't real goods, they are actually 'goods' with village gfx I captured from the samauri scenario. This way, I can simulate city growth on the map by adding these new 'goods' to the map. But to add these 'goods', I need to make new terrains with new resources. I have finished written the necessary slic codes, and it worked fine. When a city expands to a certain size, a village is added next to it, so it'll appear that the city grows, as its population grows.
But, like I said, any battles taken place on these new terrains, just turns out black. Can't even see the units fighting. Once again, HELP !!!
|