PDA

View Full Version : New to RTR modding



buster123
01-12-2006, 21:23
I am a complete novice as far as modding goes,but I have a question for anyone out there who could help me.
Is it possible to change the Soldier type from a unit to another unit type to
change the appearance of units using the original soldier types from the game.I really dislike the look of the Persian Phalanx and would like to change it
to something like the Macedonian pikemen.I know this means changing the unit card and unit card info,but I don`t know how,Can anyone Help:help: :wall:

wlesmana
01-13-2006, 05:30
Pretty easy. Check in export_desc_unit.txt (EDU.txt) for the entry of the "soldier" for those two you'd like to swap. Then change the "soldier" of the parthian phalanx into that of the macedonian one.

Next go to desc_model_battle.txt (DMB.txt). Find the entry for the macedonian phalanx soldier. Copy the line with the "texture" address then paste it RIGHT UNDER that line (not under the entire entry). Now you got 2 lines that look sorta like this:
texture macedon, data/blablabla

On one of them, change the macedon into the new faction the soldier will be in, like say, parthia, or whatever.

Then at the entry that says "sprite", do the same thing again.

You're practically done.

Unless you want proper unit cards too. Then you'll need to extract the UI and do some more modding. It gets a little complicated there.

Use -show_err to check if you miss anything.

buster123
01-13-2006, 08:13
Thanks for the info wlesmana,look forward to trying it out.