View Full Version : Deleting units
General_Someone
10-07-2007, 02:42
I'm working on a small mod to change some of the factions. So, my question is how do you COMPLETELY delete a unit. My attempts have crashed the game and it will not start.:help: :help: :help:
Makanyane
10-07-2007, 05:54
There's some stuff about removing units here:
http://www.twcenter.net/wiki/Removing_Units
basically if you remove model from descr_model_battle.txt you have to remove/change every unit that uses that model as a soldier type in export_descr_unit.txt
If you remove a unit from export_descr_unit.txt you have to remove all references to that unit in
export_descr_buildings.txt
descr_strat.txt
descr_rebel_factions.txt
descr_mercenaries.txt
and possibly in script if you are working on a mod that has one.
Most errors should give you a message if you are using -show_err on your shortcut.
Red Spot
10-09-2007, 11:35
lol ...
yeah, like Mak said, it will show up with show_err ... :inquisitive:
easiest is to first remove the unit from EDU, than just load the game and read a possible show_err message, if the game loads possibly (if wanted) remove the model's entry from descr_model_battle, wich again will give a show_err message if the model is used by an other unit ...
(with some work I've stripped almost each unit from EDU except for female peasants and "oliphants" (and a few that would be used anyway), the last cause I feared a hardcoded element, the women caue I didnt mod that area of the game, so I could base my work on relativly empty base-files)
Edit;
And now I read Roman_man#3 and Mak already did so, well it was a good lesson ..:P
link; http://www.twcenter.net/forums/showthread.php?t=102996
G
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.