player2_dz

territory system rewrite

Feb 15th, 2016
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 2.04 KB | None | 0 0
  1. span class="re5"> Territory System Re-Write:
  2.     Move ALL players to independant
  3.         - Remove Blu/Op from team selection menu
  4.  
  5.     Groups of players own territory
  6.         - Using group system to determine groups
  7.  
  8.     Territory placement & size done via config file
  9.  
  10.     Database for Territory system columns:
  11.         - Server ID
  12.         - Location & Name & PhoneBooth Location
  13.         - Owners (UID List)
  14.         - Status (Captured / Not Captured)
  15.         - Capture Time
  16.  
  17.     On Server-Start:
  18.         - Get status of territories and who controls them
  19.         Start Territory Info Update Loop:
  20.             - Saves territory info to DB every X minutes (config)
  21.             - Updates cash earning multiplier based on capture time
  22.             - Pays players that own territories
  23.  
  24.     Loop/Trigger for territories:
  25.         - Use headless client for this if possible
  26.  
  27.         When group enters territory:
  28.             If territory not controlled:
  29.                 - Timer starts, group starts capturing territory, timer lasts X mins (config)
  30.                 - Notification to other players on server & map marker colour change to yellow (config)
  31.             If territory is controlled:
  32.                 - Count controlling groups numbers (include AI)
  33.                 If entering group larger than controlling group:
  34.                     - They start capturing, map marker changes yellow (config), notification sent on server
  35.                 If entering group is same size:
  36.                     - Territory changes to contested, map marker to orange (config)
  37.                 If entering group is smaller than controlling group:
  38.                     - Notification of territory being attacked
  39.  
  40.         When group captures territory:
  41.             - If taken from another group notify server of this
  42.             - If wasnt owned before, still notify, just different
  43.             - Create phone-booth for territory control and info (config pos for these)
  44.             - Start payment to players (config X cash per X minutes with X multiplyer for total time owned)
  45.  
  46.     Phone Booth for territory control:
  47.         - Mercenery Addon control
  48.         - Payment timer & info
  49.         - Able to add/remove users from territory
  50.         - Placed via DB config
  51.  
  52.     Territory status colours (configable):
  53.         - Green (Owned by group)
  54.         - Red (Not owned)
  55.         - Yellow (Being Captured)
  56.         - Orange (Contested)
Advertisement
Add Comment
Please, Sign In to add comment