View Full Version : What do I have to do to delete a unit?!!!
RTW King
08-30-2005, 20:27
I'm getting really frustrated!!! I'm trying to completely delete Roman Peasants. So I deleted them in:
export_descr_unit
export_descr_unit_enums
descr_model_battle
export_units.txt
export_descr_buildings
I'm pretty sure I've made no mistakes. So what am I doing wrong. Please help!!!!!
What problems are you experiencing?
If the game is crashing with an error message that might give some clue. Also at what point the game chokes.
Also...one thing which CAN kill a game is if you have the peasant unit in a starting city or army. I would check the files in descr_strat just to make sure your campaign doesn't try and create the unit you just deleted.
Monkwarrior
08-30-2005, 21:20
Delete them also from descr_rebel_factions.txt
This causes instant CTD when a rebel roman faction appears.
RTW King
08-31-2005, 16:26
But RTW crashes as soon as I start it up.
Monkwarrior
08-31-2005, 17:06
I must insist: what's the objective, campaign or battles?
I think you should keep the model for roman_peasant in descr_model_battle, as it is also used for the civilians and perhaps this is the problem.
Is there no error message after CTD? Are you using -show_err?
RTW King
08-31-2005, 18:27
Added peasants back to descr_model_battle. Still no joy.
And I want to completely erase Roman Peasants from EVERY aspect of RTW
RTW King
08-31-2005, 18:29
Could the problem be historical battles? How would I erase all Roman peasants from those (if there even are any peasants in them)
No...I doubt it's historical battles. Make sure you have show_err enabled, and see what message it gives.
Any error in descr_model_battle would give an error when the game crashes. If th egame is crashing immediately, and never gets to the first menu, it will be choking on one of the basic text files that are read on startup. Crashing when you start a campaign would point to building an invalid unit.
May be that peasants are used for too many things other than just a basic cannon-fodder annoying unit!
RTW King
08-31-2005, 18:52
This is really annoying I wanted to make a mod to simplify RTW units, by giving about just 5-8 for each team. Well, I'm just about ready to give up on it. BTW, whats show-err, and how do I use it?
RTW King
08-31-2005, 20:15
OK I changed all files back to normal, start up RTW and it works perfectly. Then exit, go to export_descr_unit, and remove Roman ownership of peasants. So the ownership line used to say:
ownership...................Roman
Sorry about dots but can't have lots of spaces when posting for some reason. Anyway, changed that to:
ownership.................
and the game crashes. Why? What if I set ownership to slave?
Silver Rusher
08-31-2005, 20:22
I think there are references to peasants in descr_strat: delete from there as well.
export_descr_unit
export_descr_unit_enums
descr_model_battle
export_units.txtYou also need to check the rebels file, the mercenaries file, all advice files, and numerous others. This is NOT a simple process.
You can make things a LOT easier on yourself by doing a text search for the unit name you are referencing and just looking at each file that pops up in the search. You'll get your answers a lot quicker there than here.
I don't think you should have ANY unit with no faction owning it. Why don't you just delete the whole entry in the file, rather than just removing the ownership. What you are creating is a piece of data which the game engine WILL read, only missing a key piece of data.
Also, if you remove part of a reference, in one file, show_err should help to tell you wher it got upset.
To use show_err, go to your RTW shortcut, and add show_err at the end of the command line.
blindfaithnogod
09-01-2005, 00:21
make that -show_err ~;)
RTW King
09-01-2005, 20:08
Its OK fixed the problem everyone. I gave units the no_custom attribute in export_descr_units, removing them from custom battles. I then went to export_descr_buildings and took the unwanted units of the buildings recruitment lists. I then went to strat in the campaign bit and removed unwanted units from starting armies. So now I've totally removed units from RTW!
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.