Page 1 of 1

Check=regime

Posted: Tue Jan 27, 2009 7:37 pm
by Grymme
Hi

I want to create a rulewar that only applies to one specific regime.

Something like

turn check
check if turn is regime #
exec
end check

Havent found out how to make the rulewar only apply during certain turns. Does anyone know how? I have tried regimewars, but they apply for everyone.

Specificly i want it to be cheap for one regime to produce new units & HQs and expensive for another regime.

Any tips helpful

RE: Check=regime

Posted: Wed Jan 28, 2009 5:10 pm
by Lunaticus_matrixforum
Well the straightforward implementation would be an event which looks as follows

setvar rulevar = standard setting
check checkturn=1 (or whichever regime you want to have the special setting
  setvar rulevar = special setting
endcheck

If you set this for early turn check it should set the gamevar exactly for the regime = 1 to the special setting and to the standard setting otherwise.

Another way to implement (which only works for standard purchases but not for HQs) is to create the item twice:
One item which can only be purchased by regime 0 which costs 1000 (or whatever)
and the same item which can only be purchased by regime 1 which costs 2000 (or whatever)....
Hope this helps. Good luck