Log in

View Full Version : changing units



sa_bandeira
02-07-2005, 03:55
I need some little push!

I transferred some units in the original RTW
Example: Iberian Infantry to the Julii

But…

I wanted that, when I played by the Julii the Iberian Inf would appeared with the Spanish skin, but they appear with the carthagian.

I changed the desc_model_battle.txt in the textures and in the sprites, like this:

type carthaginian_infantry ; combat spear
skeleton fs_swordsman
indiv_range 40
texture carthage, data/models_unit/textures/unit_carthage_infantry.tga
texture spain, data/models_unit/textures/unit_carthage_infantry_spain.tga
HERE - texture romans julii, data/models_unit/textures/unit_carthage_infantry_spain.tga
texture slave, data/models_unit/textures/unit_carthage_infantry_rebel.tga
model_flexi data/models_unit/unit_carthage_infantry_high.cas, 15
model_flexi data/models_unit/unit_carthage_infantry_med.cas, 30
model_flexi data/models_unit/unit_carthage_infantry_low.cas, 40
model_flexi data/models_unit/unit_carthage_infantry_lowest.cas, max
model_sprite slave, 60.0, data/sprites/slave_carthaginian_infantry_sprite.spr
model_sprite spain, 60.0, data/sprites/spain_carthaginian_infantry_sprite.spr
AND HERE - model_sprite romans julii, 60.0, data/sprites/spain_carthaginian_infantry_sprite.spr
model_sprite carthage, 60.0, data/sprites/carthage_carthaginian_infantry_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f

but they still appear with the Carthaginian skins! ~:confused:
What did I wrong?
I still haven’t found the answer in the forums.

Myrddraal
02-07-2005, 11:01
There should be an underscore between the romans and the julii, like this: romans_julii

sa_bandeira
02-07-2005, 12:27
Ave Myrddraal! Those who are learning to mod salute you!
And I can’t believe I didn’t notice the underscore!
Thanks!
(Myrddraal? That sounds like a Phoenician name!)

Myrddraal
02-07-2005, 13:22
Its from the books the Wheel of Time. Check out the mod ~;)

Mammut
03-07-2005, 12:14
I have a question which is similiar.
I wish to add triarii to militia barracks but were should I change? Is it only in the export_descr_buildings.txt file or anyother file too?

Myrddraal
03-07-2005, 13:22
Only in export_descr_buildings.txt

Just add it to the unit list for that buliding

Good luck, and welcome to the forums ~:)

Kraxis
03-07-2005, 16:21
So by doing this any unit can have the proper skincolour for any faction?
I have for instance given the Seleucids and Macedonians Heavy Peltasts, and those greek white troops don't fit (actually they don't look that bad with eh Seleucids).

Epistolary Richard
03-07-2005, 17:48
I believe (that is, I'm happy to be corrected) that this allows you to specify which faction skin the unit appears in as long as the faction skin already exists.

So, as in the example above, you can tell the Julii to have their Iberian Infantry in Spanish rather than the default Carthaginian colours. However, they couldn't have Iberian Infantry in Briton colours because the .tga and .spr files wouldn't exist.

tutankamon
03-08-2005, 12:44
Hi a friend and I have a great idea for a RTW mod. We have all the historical data we need but we don't know were to start or how to mod etc.

So we need some :help: to get started. So i wonder if any of you guys could help us. ~:)

Kraxis
03-08-2005, 13:10
Ahhh... Had missed that little detail. Rats!

Epistolary Richard
03-09-2005, 10:56
Hi a friend and I have a great idea for a RTW mod. We have all the historical data we need but we don't know were to start or how to mod etc.

Well, I would work out what you want to change and then look through the Mod forums (especially the Guides, Tutorial and Tools forums) to see if someone has posted how to do whatever it is you want to do.

As you look through them, I'd also make a note of anything you hadn't thought of doing but sounded cool so in the future so that you can find that thread again.

If you haven't found a specific answer that you've been looking for, then post your question on this forum. The more specific your question, and the more details that you can give about what you're trying to achieve, the more likely it is that other posters will be able to help you.