What files do I need to change to delete a unit from RTW. I tried but the game crashed, I must have missed some files.
What files do I need to change to delete a unit from RTW. I tried but the game crashed, I must have missed some files.
Join the AMC. Down with rappers!
![]()
Just completely erase all history off it
This means, expot unit-in the text folder
eport unit and unit enums.
Also descr buildings
Sorry, those arent all the proper names, but im in a hurry. As a modder you should know all those files, and if not read a tutorial...
Most important, as far as I know, is the export_unit in the data folder, the enums refer to that and the export unit in the text folder refers to the enums. You´ll also want to make sure to delete it from the building-something file (where is defined which building is neded to train which unit), I think those are the most important ones. You can keep the model_battle entry, that´s only the individual soldier model.
As it have been said, you must eliminate the entries of that unit in:
export_descr_unit
export_descr_buildings
Problems with CTD in campaign can come from the presence of that eliminated unit in:
descr_strat
descr_rebel_factions (if it is also assigned to slave faction)
descr_mercenaries (if it is a mercenary unit)
Why do you want to eliminate that unit?
The answer would help to guide you. Perhaps it is not necessary to eliminate completely the unit. Examples:
- You don't want it in custom battles: put no_custom as an attribute of the unit in export_descr_unit (it won't be usable in custom battles)
- You don't want it in campaigns: simply, delete the unit in export_descr_buildings (it won't be recruitable)
Good luck!
Thanks for this information.Originally Posted by khelvan
![]()
Is the possibility of CTD linked to the level of advisor you are playing?
I've eliminated a large amount of units but this don't cause me CTD, probably because I play without advisor.
Would the same happen with the buildings? I got CTD due to the presence of the gone buildings in the ancilliaries triggers, but never because of the advise.
Bookmarks