Home   Help Search Login Register  

Author Topic: 3 way capture n hold  (Read 1344 times)

0 Members and 1 Guest are viewing this topic.

websnake

  • Guest
3 way capture n hold
« on: 01 Oct 2005, 23:36:38 »
hi, can someone help me please i want to make a 3 way c+h map using west, east and res does anyone no how to do this?

thanks

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:3 way capture n hold
« Reply #1 on: 02 Oct 2005, 14:11:33 »
it can be done yes
but not in the standard way of using the normal commands

eg
SetFlagSide
setFlagOwner

You could do it by having  a trigger over every flag.
This would be a repeating trigger, activated by anybody

(Other options are to attach an addaction to a flag and run scripts from that)

Basically you would not be setting a side to the flag and the flag would not be lowered etc, just a flag texture change and a customised scoring system.
To cap the flag, you would simply have to be in the trigger area, with no enemies present for the "Captime"

A script would then run for each flag and it would monitor the count of units on each given side within the trigger area, setting the flags texture and changing the score when the conditions are met

the following is a basic system, used to monitor the units within  the trigger area named "AtFlag1"

Quote
#START
~1
?(WEST countside list AtFlag1 >  0)&&(EAST countside list AtFlag1 ==0)&&(RESISTANCE countside list AtFlag1==0):Goto "WSTART"
?(WEST countside list AtFlag1 == 0)&&(EAST countside list AtFlag1 > 0)&&(RESISTANCE countside list AtFlag1==0):Goto "ESTART"
?(WEST countside list AtFlag1 == 0)&&(EAST countside list AtFlag1 ==0)&&(RESISTANCE countside list AtFlag1 >0):Goto "RSTART"
Goto "START"

The rest is up to you.

If you want some insight into how to do a full system, then adapt the 2 way Progressive C&H system templates that ECL use.

This will then give u a choice of a standard c&h 3 way but also a progressive C&H 3 way
« Last Edit: 02 Oct 2005, 14:15:34 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

websnake

  • Guest
Re:3 way capture n hold
« Reply #2 on: 02 Oct 2005, 22:22:18 »
cheers mate ill see what happens