Is that right?Originally Posted by Atilius
I didn't know.![]()
I was annoyed because of that problem (fixed number of soldiers irrespective of the scale small-huge).
Thanks.![]()
Is that right?Originally Posted by Atilius
I didn't know.![]()
I was annoyed because of that problem (fixed number of soldiers irrespective of the scale small-huge).
Thanks.![]()
Yeah, I was annoyed with it too. Tried to use create_unit instead, but that has its own set of problems. Then I stumbled across some code which used spawn_army and omitted "soldiers". I figured that was wrong, but luckily I decided to test it.Originally Posted by Monkwarrior
The truth is the most valuable thing we have. Let us economize it. - Mark Twain
Thx for the help so far: when I play 2 turns now, the advisor tells me of Alexander, but when I click the ShowMeHow button, it CTDs...
Post here exactly the script you use. Let's see if there is any mistake.Originally Posted by Ian Altano
![]()
that's it. filename alexander_army.txtscript
declare_show_me
spawn_army
faction macedon
character Gyras, named character, command 9, influence 9, management 9, subterfuge 0, age 28, , x 86, y 97
unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
end
end_script
other bits of code have been implemented in the correct files, no errors there.
If you're modding vanilla RTW, there's no unit with the name "levy pikemen", you need "greek levy pikemen" or something else. Everything else looks non-toxic. As an aside, the command, management, influence, and subterfuge settings are ignored by this command for some reason.
The truth is the most valuable thing we have. Let us economize it. - Mark Twain
ok, that got it to work (silly mistake)
thanks for helping out guys ;)
Bookmarks