Check=regime

Discuss and post your mods and scenarios here for others to download.

Moderator: Vic

Post Reply
Grymme
Posts: 1776
Joined: Sun Dec 16, 2007 5:06 pm
Contact:

Check=regime

Post 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
My Advanced Tactics Mod page
http://atgscenarios.wordpress.com

30+ scenarios, maps and mods for AT and AT:G
Lunaticus_matrixforum
Posts: 834
Joined: Wed Dec 31, 2008 3:50 pm
Location: Germany

RE: Check=regime

Post 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
Post Reply

Return to “Mods and Scenarios”