• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

In need of Game Modes

Status
Not open for further replies.
Level 8
Joined
Apr 16, 2013
Messages
351
Hello everyone

I'm in need of a system which includes game modes for a Tavern Picking style map and here are some of the following:

ap All Pick. Each player is allowed to pick a hero from any tavern.(If not typed then player cannot choose from enemy taverns)

ar All Random. Each player is given a random hero from any tavern.

sd Single Draft. Each player chooses from one of 3 individual random heroes.(Heroes are picked in Circle of Power)

cm Captains Mode. Blue and Pink players take turns banning heroes, then take turns picking heroes. These heroes are then chosen by members of their team.

I would appreciate all who would help me.
 
Last edited:
Level 15
Joined
Oct 29, 2012
Messages
1,474
These are triggers

Read Comments
  • Setup Heroes
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Heroes mentioned below are Compaign's Heroes . --------
      • -------- TavernPicked means that wether a player picked or not . --------
      • -------- We use wispes instead of circle powers. Both are usefull . --------
      • -------- 1 Hero = 500 Gold --------
      • For each (Integer A) from 2 to 6, do (Actions)
        • Loop - Actions
          • Set TavernPicked[(Integer A)] = False
      • For each (Integer A) from 7 to 12, do (Actions)
        • Loop - Actions
          • Set TavernPicked[(Integer A)] = False
      • -------- Player Forces --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 2 (Blue) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 2 (Blue) to PlayerForce[1]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 3 (Teal) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 3 (Teal) to PlayerForce[1]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 4 (Purple) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 4 (Purple) to PlayerForce[1]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 5 (Yellow) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 5 (Yellow) to PlayerForce[1]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 6 (Orange) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 6 (Orange) to PlayerForce[1]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 8 (Pink) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 8 (Pink) to PlayerForce[2]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 9 (Gray) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 9 (Gray) to PlayerForce[2]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 10 (Light Blue) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 10 (Light Blue) to PlayerForce[2]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 11 (Dark Green) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 11 (Dark Green) to PlayerForce[2]
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 12 (Brown) slot status) Equal to Is playing
        • Then - Actions
          • Player Group - Add Player 12 (Brown) to PlayerForce[2]
        • Else - Actions
      • -------- Heroes Type --------
      • Set TavernHeroUT[1] = Paladin
      • Set TavernHeroUT[2] = Archmage
      • Set TavernHeroUT[3] = Mountain King
      • Set TavernHeroUT[4] = Blood Mage
      • Set TavernHeroUT[5] = Blademaster
      • Set TavernHeroUT[6] = Far Seer
      • Set TavernHeroUT[7] = Tauren Chieftain
      • Set TavernHeroUT[8] = Shadow Hunter
      • Set TavernHeroUT[9] = Death Knight
      • Set TavernHeroUT[10] = Lich
      • Set TavernHeroUT[11] = Dreadlord
      • Set TavernHeroUT[12] = Crypt Lord
      • Set TavernHeroUT[13] = Keeper of the Grove
      • Set TavernHeroUT[14] = Priestess of the Moon
      • Set TavernHeroUT[15] = Demon Hunter
      • Set TavernHeroUT[16] = Warden
      • Trigger - Turn on ar Random <gen>
      • Trigger - Turn on ap All Pick <gen>
      • Trigger - Turn on sd Single Draft <gen>
      • Trigger - Turn on cm Captain Mode <gen>
  • ar Random
    • Events
      • Player - Player 2 (Blue) types a chat message containing -ar as An exact match
    • Conditions
      • arRandom Equal to False
      • apAllPick Equal to False
      • cmCaptain Equal to False
      • sdSingleDraft Equal to False
    • Actions
      • Set arRandom = True
      • Set apAllPick = False
      • Set cmCaptain = False
      • Set sdSingleDraft = False
      • Trigger - Turn on ar Random On <gen>
      • Trigger - Turn off (This trigger)
  • ar Random On
    • Events
    • Conditions
    • Actions
      • Player Group - Pick every player in PlayerForce[1] and do (Actions)
        • Loop - Actions
          • Unit - Create 1 TavernHeroUT[(Random integer number between 1 and 16)] for (Picked player) at (Center of Force 1 Base Region <gen>) facing Default building facing degrees
          • Wait 1.00 seconds
          • Unit - Create 1 TavernHeroUT[(Random integer number between 1 and 16)] for (Picked player) at (Center of Force 1 Base Region <gen>) facing Default building facing degrees
          • Wait 1.00 seconds
          • Unit - Create 1 TavernHeroUT[(Random integer number between 1 and 16)] for (Picked player) at (Center of Force 1 Base Region <gen>) facing Default building facing degrees
      • Player Group - Pick every player in PlayerForce[2] and do (Actions)
        • Loop - Actions
          • Unit - Create 1 TavernHeroUT[(Random integer number between 1 and 16)] for (Picked player) at (Center of Force 2 Base Region <gen>) facing Default building facing degrees
          • Wait 1.00 seconds
          • Unit - Create 1 TavernHeroUT[(Random integer number between 1 and 16)] for (Picked player) at (Center of Force 2 Base Region <gen>) facing Default building facing degrees
          • Wait 1.00 seconds
          • Unit - Create 1 TavernHeroUT[(Random integer number between 1 and 16)] for (Picked player) at (Center of Force 2 Base Region <gen>) facing Default building facing degrees
      • Trigger - Turn off (This trigger)
  • ap All Pick
    • Events
      • Player - Player 1 (Red) types a chat message containing -ap as An exact match
    • Conditions
      • arRandom Equal to False
      • apAllPick Equal to False
      • cmCaptain Equal to False
      • sdSingleDraft Equal to False
    • Actions
      • Set arRandom = False
      • Set apAllPick = True
      • Set cmCaptain = False
      • Set sdSingleDraft = False
      • Trigger - Turn on ap All Pick On <gen>
      • Trigger - Turn off (This trigger)
  • ap All Pick On
    • Events
    • Conditions
    • Actions
      • Player Group - Pick every player in PlayerForce[1] and do (Actions)
        • Loop - Actions
          • Player - Add 1500 to (Picked player) Current gold
          • Unit - Create 1 Wisp for (Picked player) at (Center of Taverns Region <gen>) facing Default building facing degrees
      • Player Group - Pick every player in PlayerForce[1] and do (Actions)
        • Loop - Actions
          • Player - Add 1500 to (Picked player) Current gold
          • Unit - Create 1 Wisp for (Picked player) at (Center of Taverns Region <gen>) facing Default building facing degrees
      • Trigger - Turn off (This trigger)
  • sd Single Draft
    • Events
      • Player - Player 1 (Red) types a chat message containing -sd as An exact match
    • Conditions
      • arRandom Equal to False
      • apAllPick Equal to False
      • cmCaptain Equal to False
      • sdSingleDraft Equal to False
    • Actions
      • Set arRandom = False
      • Set apAllPick = False
      • Set cmCaptain = False
      • Set sdSingleDraft = True
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Add 500 to (Picked player) Current gold
      • Trigger - Turn off (This trigger)

DO NOT FORGET TO READ COMMENT TRIGGERS' and I didn't understand the captain mode . explain more . Thanks .
 
Status
Not open for further replies.
Top