Rome: TW -- Modding Made Easy Rome: Total War


Civilisations Short Guide

Ever fancied creating your own elite peasant unit which can destroy Armoured War Elephants in one stroke? Or learn your archers to shoot Onager missiles? Well here's the place to learn it all: its very simple, just don't forget to back up your files! The Rome:TW engine is script-based and thus flexible and quite easy to mod. Have fun!

To begin...

...Let's make archers one of the best missile units by "learning" them how to fire large stones. How large? well the same Onagers fire. Fun Guaranteed 100%!
1-In the folder where you have installed the game, look for the folder "Data", open it 2-Back up (!!!), then open in Notepad the file export_descr_unit.txt 3-Find the block of text beginning by "type roman archer", look below and find the following line:

stat_pri 7, 2, arrow, 120, 30, missile, archery, piercing, none, 25 ,1

Replace the word "arrow" by the word "boulder" (no typos here!), so it looks like this:

stat_pri 7, 2, boulder, 120, 30, missile, archery, piercing, none, 25 ,1

4-Cry "Havoc!" and let the boulders fly! Dont forget to put in Flaming Missile to achieve maximum effect. Now world domination isn't so distant... 5-Experiment with other units! (oh dear, it seems now there will be boulder-throwing infantry everywhere...)

Create your own unit!

Now warning - this does not mean creating a new model of units from scrap, so sorry, if you wanted to play Attack of The Clones around 200 B.C. - with only script editing you can't! However from the existing models you can create an awesome mix...
1-In the folder where you have installed the game, look for the folder "Data", open it 2-Back up (!!!), then open in Notepad the file export_descr_unit.txt 3-Go to the end of the text file, copy any of the unit blocks of text to the end of the text file and in it replace the numbers and words by the following (between square brackets and in italic are COMMENTS! so don't try to put them in the game!):

type GU_elites [invent a name for the unit]
dictionary g_unleashed_elites ; GU Elite Guards [name of the unit in the dictionary, can be anything]
category infantry [the category of the unit is Infantry]
class heavy [class of the unit]
voice_type Medium_1 [the type of voice for your troops in the game]
soldier barb_night_raider, 40, 0, 1.5 [model of each soldier]
officer roman_standard [the officer model]
attributes sea_faring, hide_forest, frighten_foot, frighten_mounted, can_sap, hardy [a list of attributes for your unit]
formation 1.2, 1.2, 2.4, 2.4, 4, square [the formation your unit can take]
stat_health 1, 0 [health of the unit - never changes]
stat_pri 50, 8, no, 0, 0, melee, blade, piercing, axe, 25 ,1
[primary stats of your unit]
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1 [secondary weapon stats]
stat_sec_attr no
stat_pri_armour 5, 4, 7, leather
stat_sec_armour 0, 0, flesh
stat_heat 3
stat_ground 2, 0, 3, 0
stat_mental 40, impetuous, trained [the mental stats of your unit - this is now very high]
stat_charge_dist 40 [the distance at which your units charge]
stat_fire_delay 0
stat_food 80, 300 [not used in the game anymore, but necessary]
stat_cost 2, 40, 100, 100, 100, 100 [the number of denarii - money, what - they cost]
ownership romans julii,romans brutii,romans scipii,romans senate [to what factions does the unit belong]

4-How do you like your new mighty unit?
5-Experiment! Imagine! Create!

  Comments - 9 in total Page: 1  
AceBoogz Mar 11, 2013, 05:26 am
Hopefully someone can answer this for me as I still play and mod RTW. I created some new units and assigned them to militia barracks. Playing as Scipii. The units were available after building the barracks but after upgrading the barracks during gameplay the new units disappeared. If i destroy the barracks and build militia barracks, the units appear again. I went through all the code and I'm stumped. Not sure what I'm overlooking. I know it's an old thread but help a fella out. Thanks in advance
rugbart Apr 12, 2010, 07:01 pm
here's a tip, if you copy across a roman legionary script to a new unit, replace their javelins with spears copied from a hoplite unit (you have to copy the "stat_pri_attr" aswell) and give them "phalanx" as a formation, they will actually have spears (some weapons cannot be given to other units, as far as i am aware of) and hold them in an awesome overhand grip that makes no difference but looks really cool. I think it has to be the javelins that you replace though. Also, you have to change the class to "spearmen". Be aware though, that unless they are owned by the seleucids, roman senate, brutii, julii, or scipii, they will not have their own faction's colour, but will have the default red of Julii legionaries (Julii was used as the original model).
rugbart Apr 12, 2010, 06:44 pm
the unit limit is because for some reason, it doubles, so in fact, 20 is the least and 120 is the most
rugbart Apr 12, 2010, 06:42 pm
I can do this, (although it is still called unlocalised placement text so I am still experimenting with other bits of script to see if i can change it) and have moved on to editing mounts. I am trying to create a centaur unit by moving around the rider offset, but so far i have only managed to have a horse with a bloke instead of a head, with legs dangling down and everything. Also, the end of the horse's head is coming out of the guy's stomach. To fix the man's legs and the visible horse's head, i think the only way is to remove them. Does anyone know how I can edit the unit models?
moonkiller Feb 23, 2008, 01:24 pm
i have tryed to upgrade this unit but why it doesn't work then.
moonkiller Feb 23, 2008, 01:20 pm
if you cant find it or cant play you must go to export_descr_buildings.txt and then search
then copy
recruit "GU_elites" 0 requires factions { roman, }
and paste it by the others.
goalie Apr 9, 2006, 02:16 am
I did all of this but the unit is called Unlocalized Text. What do i do. The unit is still awesome, but doesnt have a name and is shown as a peasant.
juco Jun 9, 2005, 04:06 pm
limit is 10 the least and 60 the most units...
joel Jun 8, 2005, 11:36 pm
hi! i tried to mod it by adding some troops, for ex from 40 soldiers to 80 but the game crashes, what i can do???
Page: 1

  Add a comment  
You need to log in if you want to post a comment.
If you do not have an account, please register.
Username Password

Our Friends