PDA

View Full Version : Just a little question....



AchillesGOW
05-05-2006, 22:21
Hey Im new here guys so sorry for posting this if I wasnt allowed to. I was just wondering if there is anyway to edit the name of the generals in the game. So I could make a general name Hannibal, Scipio Afrikanus, Caesar..... well you get the picture. :laugh4:

edyzmedieval
05-06-2006, 12:28
Welcome to the Org. ~:wave:

Yeah, you can. Just go to descr_strat.txt and edit the characters names. ~:)

Rstoner
05-06-2006, 12:46
Hi there. If you want to add new names to the game, edit:
1) data/descr_names.txt
2) data/descr_names_lookup.txt
3) data/text/names.txt
(Hannibal, Scipio, Caeser are already there)
These names will now show up randomly in your campaign.

If you want specific generals, you can edit:
data/world/maps/campaign/imperial_campaign/descr_strat.txt
This way the characters will be there from the start.

If, however, you've already started a game and want to spawn a character in, you should try your hand at a little scripting.
Here's a tutorial, https://forums.totalwar.org/vb/showthread.php?t=46738

Once you get the first script working, just open it up and replace it with something like this:

script
spawn_army
faction carthage
character Hannibal, named character, command 4, influence 3, management 4, subterfuge 0, age 28, x 79, y 101
unit carthaginian general's cavalry, soldiers 100 exp 2 armour 1 weapon_lvl 0
unit carthaginian elephant forest, soldiers 50 exp 0 armour 0 weapon_lvl 0
unit carthaginian elephant african, soldiers 50 exp 1 armour 0 weapon_lvl 0
unit carthaginian elephant african, soldiers 50 exp 0 armour 0 weapon_lvl 0
unit carthaginian infantry, soldiers 160 exp 0 armour 0 weapon_lvl 0
unit carthaginian infantry, soldiers 160 exp 0 armour 0 weapon_lvl 0
unit carthaginian medium cavalry, soldiers 100 exp 0 armour 0 weapon_lvl 0
unit carthaginian peltast, soldiers 200 exp 1 armour 0 weapon_lvl 0
unit merc balearic slingers, soldiers 160 exp 0 armour 0 weapon_lvl 0
unit carthaginian archer, soldiers 160 exp 2 armour 0 weapon_lvl 0
end
end_script

Good luck :laugh4: