PDA

View Full Version : Adding Money to an AI-Faction via Console Command



Centurio Nixalsverdrus
02-15-2009, 19:12
Hi.

Now I already have some experience with modding. :grin: But what keeps bothering me is that I seem unable to donate the AI some money via console command. I know the command is <add_money "faction" amount>.

But now I have donated the Baktrians (or better, the civil war evil guys in my game) already 1,200,000 M and the graph still shows a curve right into the bottom out of the scroll. So I guess it didn't work.

For my own faction the command works btw, but only without the faction name (I know default is player faction). I have tried all variants hoping to find out the exact syntax, name in hyphens, money in hyphens, internal faction name, current faction name, etc. But the command only works when I just type <add_money amount>. But this way of course I can't donate money to other factions.

Can somebody help?

P.S. <?add_money> I know but didn't reveal anything I had not known yet.

P.P.S. Sorry it's neither in the frequent issues nor in the FAQ.

bovi
02-16-2009, 03:03
add_money egypt 40000, for instance, if you want to add money to Carthage's coffers.

mcantu
02-16-2009, 04:03
actually, it would be add_money egypt, 40000

Centurio Nixalsverdrus
02-17-2009, 04:57
Thank you both, but Mcantu was right about the syntax. I don't understand why this command has a different syntax than all the others. Be that as it may...