General Category > Modding

[Tutorial] Push Mode

<< < (5/5)

Senshi:
Stumbled upon an issue:

Push mode. Two flags are avaible to attack at the start. Now I want the third flag to be "opened" once ONE of the two flags is conquered. How can I achieve this? Setting two "push" links makes both flags mandatory for the third flag, but I want only one to be required. Is this where the linkCPs come in? If yes, some explanation on those would be nice. Or is there a way to use "OR" in those push settings?

[KamiKaze] Destroyer:
Hello :)

So you can choose about Arrow Visiblity, how about visibility of the X marks and O marks?

My map is simple, and doesint need marks, its straight forward which order the flags should be taken without marks in other words. However, the push mode i really need :] So, any ideas what is the code for this?

Rabbit032:

--- Code: ---from game.plugins import plugin, limitKit, push
 

kit_limits = [
  plugin(limitKit, team = 1, slot = 1, kit = 'GS_SMGAssault_Limited', limit = 0.25),
  plugin(limitKit, team = 2, slot = 1, kit = 'UW_SMGAssault_Limited', limit = 0.25),
  plugin(limitKit, team = 1, slot = 3, kit = 'GA_Limited_Support_MG34_K98', limit = 0.15),
  plugin(limitKit, team = 2, slot = 3, kit = 'UW_LMG_Limited', limit = 0.15),
  plugin(limitKit, team = 1, slot = 5, kit = 'GW_RifleAssault_G43_Limited', limit = 0.1),
  plugin(limitKit, team = 2, slot = 5, kit = 'UW_SMGAssault_Limited_GGun', limit = 0.1),
]

push_64 = [
    plugin(push, source = 'US', target = 'WN_72', attacker = 2),
    plugin(push, source = 'US', target = 'WN_67', attacker = 2),
   
    plugin(push, source = 'WN_72', target = 'Church', attacker = 2,),
    plugin(push, source = 'WN_67', target = 'Cross_Roads', attacker = 2,),
   
    plugin(push, source = 'Church', target = 'Vierville_Sur_Mer', attacker = 2,),
  ]

  gpm_cq = {
  64: kit_limits + push_64,
}

--- End code ---
Any idea why my push code doesn't show up in conquest mode 64 player?
-032

Navigation

[0] Message Index

[*] Previous page

Go to full version