View unanswered posts | View active topics It is currently Fri Jan 10, 2025 12:08 am



Reply to topic  [ 3 posts ] 
 Changing Cash Reserves 
Author Message

Joined: Wed Apr 08, 2009 11:42 pm
Posts: 23
Reply with quote
Post Changing Cash Reserves
I figured out how to change the cash reserves in single player skirmish, but I was wondering if there was a way to change the cash reserves of both sides in a two player human vs human skirmish game.


Wed May 06, 2009 7:29 pm
Profile
User avatar

Joined: Mon Feb 11, 2008 3:42 pm
Posts: 259
Reply with quote
Post Re: Changing Cash Reserves
Yep, in Missions.rte/activities.ini, under
Code:
AddActivity = GABaseDefense

is
Code:
   FundsOfTeam1 = 5000
   FundsOfTeam2 = 5000

These values changes the starting cash values for teams 1 and 2, respectively.

There's also a way to change this from the Lua console. (~ or ?)

TheLastBanana wrote:
Code:
ActivityMan:GetActivity():SetTeamFunds([amount of money],[put team number here (0 for red, 1 for green])


Wed May 06, 2009 7:40 pm
Profile

Joined: Wed Apr 08, 2009 11:42 pm
Posts: 23
Reply with quote
Post Re: Changing Cash Reserves
Thanks a lot.


Wed May 06, 2009 7:46 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.040s | 13 Queries | GZIP : Off ]