Jump to content
Sign in to follow this  
mangamakerz

Need help editing crcti script

Recommended Posts

I'm trying to edit rearm cost and income on crcti, but I'm stuck. Here's what I did already:
1. Basically I want the rearm cost to be free, so I look around and found Rearm.sqs in Player/ and Server/ folder and tried to edit this line (I changed 50 to 0), but has no sucess. Maybe I'm doing it wrong or looking on the wrong sqs file?

; CALC REARM COST
_cost = _cost/10
_cost = _cost - (_cost % 1)
? _cost < 50 : _cost = 50
? _unit == _unitRearm : _cost = _cost + 50*("_x == magMine" count _mags)
_money = (groupMoneyMatrix select siPlayer) select giPlayer
? _cost > _money : _msg = format["Not enough money for rearm. ($%1 needed)", _cost]; goto "Exit"

2. I want to increase player and commander income and found UpdateIncome.sqs on Server/ folder. I edited this line but I've found no change in the game.

_countGroups = [count (groupMatrix select si0), count (groupMatrix select si1)]
_moneyPerScore = 10
_timeNext = 60

I also checked InitPublicVariables.sqs inside Common/ folder, and wondering what "pvIncomeRatio0 =" and "pvIncomeRatio1 =" lines do, because I edit them and I see no difference. Again, maybe I'm looking on the wrong place or just doing something wrong when putting numbers on the script. I don't know.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×