For reason unknown, sometimes add_money will not work if the amount is over 20000.
Here is my experience with RTW/BI's add_money issue:
Press "~" key and enter the RomeShell, and type the following command
Code:
console_command add_money romans_julii 10000
The shell returns "unknown faction type". Now if you enter,
Code:
console_command add_money romans_julii,10000
You will notice that the Julii faction promptly got an increase of 10000 Denarii.
Now if you add the exact same line to the campaign script
Code:
if not I_LocalFaction romans_julii
console_command add_money romans_julii,10000
end_if
And assume that you are not playing Julii (so the if clause will execute), the game promptly CTD.
And the following, does absolutely nothing, but at the least it won't crash to CTD.
Code:
if not I_LocalFaction romans_julii
console_command add_money romans_julii 10000
end_if

Originally Posted by
boboav
Hi, after lot of scripts oin medieval 2 I have tried to do a script on Rome
first of all I have add this at the end of my descr_strat:
Code:
script
campaign_script.txt
then, I have created my campaign_script.txt, and make this:
Code:
script
monitor_event FactionTurnStart FactionIsLocal
and I_LocalFaction romans_julii
console_command add_money romans_julii 40000
end_monitor
terminate_script
but nothing do in game
