Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
How would I do this?

 
Post new topic   Reply to topic Printable version
 View previous topic  <c> Spree by Smong Post :: Post <C> ASSS Flags Module  View next topic  
Author Message
Guest



Offline

PostPosted: Sun Nov 21, 2010 9:38 pm    Post subject: How would I do this? Reply to topic Reply with quote

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?
Back to top
Dr Brain
Flip-flopping like a wind surfer


Age:38
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Nov 21, 2010 10:20 pm    Post subject: Reply to topic Reply with quote

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?
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Mon Nov 22, 2010 2:44 pm    Post subject: Reply to topic Reply with quote

i think he means turf, which is far easier
_________________
SSC Distension Owner
SSCU Trench Wars Developer
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Guest



Offline

PostPosted: Mon Dec 06, 2010 11:53 pm    Post subject: Reply to topic Reply with quote

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)
Back to top
Ansari443
Newbie


Age:32
Gender:Gender:Male
Joined: Oct 08 2014
Posts: 1
Location: aaaaa
Offline

PostPosted: Wed Oct 08, 2014 2:59 am    Post subject: Reply to topic Reply with quote

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.
_________________
http://www.kc.devry.edu/
www.braindumps.com/MCSE.htm
http://www.emc.com/index.htm
http://www.princeton.edu/main/
http://en.wikipedia.org/wiki/EMC_Corporation
https://www.facebook.com/emccorp
http://www.youtube.com/user/JuniperNetworks
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 402 page(s) served in previous 5 minutes.

phpBB Created this page in 0.500568 seconds : 30 queries executed (84.3%): GZIP compression disabled