-
March 07, 2006, 11:13 PM
#1
Civis
Changing Unit Build Times
Hi, I was wondering how I can change the build time of units, I'm playing the SPQR mod and would like to have units take as long to build as they do in normal vanilla...
-
March 08, 2006, 04:18 AM
#2
Moved to the mod workshop as this is a modding question.
-
March 08, 2006, 04:40 AM
#3
Civis
You'll want to edit the export_descr_unit.txt file.
You can find this by following the path activision/rome:totalwar/data the data folder will contain this file.
Within this file you'll find many unit attributes such as attack and defense characteristics etc... also you'll find the information that sets the parameters for unit build costs and upkeep costs etc... you can edit the time it takes to build a unit (# of turns) by finding the line "stat_cost."
This line contains a number of different attributes. They are, in order of appearence,
-number of turns to build
-cost of unit to construct
-cost of upkeep
-cost of upgrading weapons
-cost of upgrading armour
-cost for custom battles.
So, if you wanted to change the number of turns it took to recruit a unit of preatorian cavalry you'll want to edit the lines highlighted below.
ORIGINAL
type roman praetorian cavalry
dictionary roman_praetorian_cavalry ; Praetorian Cavalry
category cavalry
class heavy
voice_type Heavy_1
soldier roman_praetorian_cavalry, 27, 0, 1
mount heavy horse
mount_effect elephant -8, camel -4
attributes sea_faring, hide_forest, hardy
formation 1.5, 4, 3, 6, 4, square, wedge
stat_health 1, 0
stat_pri 12, 9, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 12, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 11, 7, 4, metal
stat_sec_armour 0, 1, flesh
stat_heat 2
stat_ground 0, 0, -6, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 840, 240, 90, 130, 840
ownership romans julii,romans brutii,romans scipii,romans senate
MODIFIED
type roman praetorian cavalry
dictionary roman_praetorian_cavalry ; Praetorian Cavalry
category cavalry
class heavy
voice_type Heavy_1
soldier roman_praetorian_cavalry, 27, 0, 1
mount heavy horse
mount_effect elephant -8, camel -4
attributes sea_faring, hide_forest, hardy
formation 1.5, 4, 3, 6, 4, square, wedge
stat_health 1, 0
stat_pri 12, 9, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 12, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 11, 7, 4, metal
stat_sec_armour 0, 1, flesh
stat_heat 2
stat_ground 0, 0, -6, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 840, 240, 90, 130, 840
ownership romans julii,romans brutii,romans scipii,romans senate
You'll notice all we've done here is change the 2 to a 1. In doing so we've decreased the amount of time to build this unit from two turns to one. Tough huh? At any rate you can make that number as large or small as you wish... When set to 0, multiple units can be recruited per turn and indeed this is a characteristic of many major modifications that have been done with the game.
This file can be a lot of fun to play around with and can let you create "super units"... have fun and I hope this answered your question.
~Corey
-
March 09, 2006, 12:39 PM
#4
Civis
Thanks for your help guys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules