Server Help

ASSS Custom Projects - How would I do this?

Anonymous - Sun Nov 21, 2010 9:38 pm
Post subject: How would I do this?
I'm looking to keep track of different sections on the map for flag captures.

So here is the concept;

1 Large Base, 3 sectors in the base, with 4 stations.

Each station has 4 flags, controlling a station will grant the controlling freq prizes periodically.

Any ideas on how to go about it?
Dr Brain - Sun Nov 21, 2010 10:20 pm
Post subject:
ELVL regions are a good way to keep track of parts of the map. DCME and CLT can both draw regions on to maps.

In your code you load up the region (calls to mapdata.h) and can easily check if certain coordinates are contained within (e.g. from a flag pickup callback).

Is that what you meant?
Cheese - Mon Nov 22, 2010 2:44 pm
Post subject:
i think he means turf, which is far easier
Anonymous - Mon Dec 06, 2010 11:53 pm
Post subject:
Yes its turf...

I also have now made each station only one flag, and figured out you can just keep track of the flag id..

I know which each flags id is, but I don't know how to do the rest of it..


Something like this???
Code: Show/Hide

def cb_flagonmap(arena,fid,freq):
   if freq != -1:
      if fid!=freq:
         if p.freq != freq:
            chat.SendMessage(arena, "Start sending prizes")
            game.GivePrize(freq, 1)

Ansari443 - Wed Oct 08, 2014 2:59 am
Post subject:
Update: Beta 2 was released. This version is much more polished, and more feature complete, and you are encouraged to try it out and find things it still lacks or that you still want.

SSCE Hockey/Football Zone and SSCE Hyperspace both use this tool to different degrees, and you are encouraged to as well.

Check the downloads links in the first post.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group