PDA

View Full Version : mercs limit?



Tulius Hostilius
06-12-2005, 01:35
Is there a limit for mercs in the export_descr_unit.txt?

I created a new unit and I run my mod and I can go to custom battles. Everything is fine and working well!

But when I change the new unit to “mercenary_unit” (“attributes” in the export_descr_unit.txt) the game CTD when loading the custom battle (with that unit selected).

If I don’t select the unit to battle it works fine.

Can someone give me a clue… :help:

Edit: I have 34 mercs in the file export_descr_unit.txt

professorspatula
06-12-2005, 01:58
I have more than 34 mercs and have no problems. Are you using the show_err switch ? Then when the game crashes, it should say what is wrong. Usually when the game crashes when starting a battle with a unit you've modded, it's because of an incorrect entry in descr_battle_model.txt

Tulius Hostilius
06-12-2005, 02:07
so its not the 34 problem...

And yes I am using the switch, but no message… ~:confused:

Monkwarrior
06-12-2005, 04:40
Did you assign a texture for mercs in descr_model_battle?
If you did, I cannot imagine where is the problem. ~:confused:

khelvan
06-12-2005, 08:23
If I don’t select the unit to battle it works fine.This is clearly a model/texture problem. You must ensure that the model you chose for your unit (the "soldier" line points to the model) exists in descr_model_battle.txt. Then you must ensure that a merc texture is defined in that model entry.

Tulius Hostilius
06-13-2005, 20:14
Thank you all

The problem was clearly in the descr_model_battle file, in the line merc!
But I didn’t see it! Maybe a copy/paste wrongly done!
I resolved it! It was deleted and remade the all thing again! Now it works!