Log in

View Full Version : Using add_money to help the AI in EB



Visitor13
12-05-2007, 11:53
Right, please help me use that cheat with regard to AI factions, in EB particularly. The console says add_money <faction_type> <number> and I'm having trouble with the <faction_type> part. If I type in, say, add_money seleucid 40000 I get an error. If I type in add_money "seleucid" 40000, I don't get an error, but I wouldn't get an error if I replaced "seleucid" with "blah", either. The quotation marks somehow trick the console. So I have no idea if the cheat works or not.

Maybe I should use add_money selucid_type (what the hell is "type", anyway?) 40000?

Or should I be using EB faction names, and not vanilla - but EB factions use vanilla slots, so the cheats should still refer to vanilla names... or not?

:help:

Awesome mod, BTW, my favourite RTW mod so far :yes:

MarcusAureliusAntoninus
12-05-2007, 22:05
The key is a comma. If you want to add 25,000 to the Romani, you would do:

add_money seleucids, 25000

Visitor13
12-05-2007, 23:01
All right, thanks!

A comma? I never would have guessed...

overweightninja
12-06-2007, 00:33
Also be aware the console command refers to the factions internal name, not it's EB name. So the Seleuicids are actually romans_julii for example.
You can find which internal names are used for which factions in the descr_strat.txt.
Cheers

Tellos Athenaios
12-06-2007, 00:36
All right, thanks!

A comma? I never would have guessed...

Multiple 'arguments' or in programmers lingo 'parameters'... :wink:

bovi
12-06-2007, 01:47
See the EB script in EB/Data/scripts/show_me/EBBS_Script.txt for examples of many commands you can use.

Visitor13
12-07-2007, 18:55
Cheers guys!