Lend me a hand!

xxhe

Prince
Joined
Mar 10, 2008
Messages
410
Location
California
Hello everone,
I am new to the modding area. I am working on my mod and I use a preset map in my mod, and I have made enough civs and put the cities on the right place of the map. However, I meet a strange problem: If I choose the first player(or to say, the team 0), I can enter the map and play; if I choose some other players, the game will crash after loading my map, without any notice. Could you help me to solve this problem, or tell me such thing happens?

Thank you!
 
There iirc are flags in the WBS file making some players playable and others not. You might need to check these.
 
Oh, Thank you for your kindness!
I change the flag but it doesn't work

I finally find that the reason is: I deleted some units. When I put them back, the game will be fine.
But could someone tell me why this happens? I delete all the related contents, and there's no xml error information before loading the map.
 
This type of crash is almost always due to missing references. For example, warrior can upgrade to axeman. If you delete axeman from the game, you do not get any xml errors on loading. But as soon as the AI tries to upgrade a warrior to an axeman, the game will crash.

Please try my utility civcheck as described in this thread. It will flag many types of missing references, including missing art references.
 
Back
Top Bottom