• 🏆 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!

How to make a TD Wars

Level 6
Joined
Jan 26, 2009
Messages
98
A TD Wars is a TD where there are two teams that spawn creeps and defend their base. To create one, first, mark the center point with a 1x1 object(this is very inportant if you want to create a good one.) Next, go to scenario, force propeties, then create another force and add half of the players there. Then, Path the map(make it a mirror image for a good TD Wars,) create the towers, lives and spawned creeps(Below is the triggers.)
Lives triggers
  • F1losehp
    • Events
      • Unit - A unit enters Redbase <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 12 (Brown)
    • Actions
      • Set Team1lives = (Team1lives - 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Team1lives Less than or equal to 0
        • Then - Actions
          • Player Group - Pick every player in Team2 and do (Game - Victory (Picked player) (Show dialogs, Show scores))
          • Player Group - Pick every player in Team1 and do (Game - Defeat (Picked player) with the message: Defeat!)
        • Else - Actions
          • Do nothing
  • F2losehp
    • Events
      • Unit - A unit enters Bluebase <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 11 (Dark Green)
    • Actions
      • Set Team2lives = (Team2lives - 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Team2lives Less than or equal to 0
        • Then - Actions
          • Player Group - Pick every player in Team1 and do (Game - Victory (Picked player) (Show dialogs, Show scores))
          • Player Group - Pick every player in Team2 and do (Game - Defeat (Picked player) with the message: Defeat!)
        • Else - Actions
          • Do nothing
Starting Trigger
  • TD Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Visibility - Disable fog of war
      • Visibility - Disable black mask
      • Leaderboard - Create a leaderboard for (All players) titled Lives
      • Leaderboard - Add Player 11 (Dark Green) to (Last created leaderboard) with label Lives and value Team1lives
      • Leaderboard - Add Player 12 (Brown) to (Last created leaderboard) with label lives and value Team2lives
      • Player Group - Add Player 1 (Red) to Team1
      • Player Group - Add Player 2 (Blue) to Team1
      • Player Group - Add Player 3 (Teal) to Team1
      • Player Group - Add Player 4 (Purple) to Team1
      • Player Group - Add Player 5 (Yellow) to Team1
      • Player Group - Add Player 6 (Orange) to Team2
      • Player Group - Add Player 7 (Green) to Team2
      • Player Group - Add Player 8 (Pink) to Team2
      • Player Group - Add Player 9 (Gray) to Team2
      • Player Group - Add Player 10 (Light Blue) to Team2
Spawning Triggers
  • Spawn
    • Events
      • Player - Player 1 (Red) types a chat message containing -Spawn as An exact match
      • Player - Player 6 (Orange) types a chat message containing -Spawn as An exact match
    • Conditions
    • Actions
      • Unit - Create 20 Footman for Player 11 (Dark Green) at (Center of Redbase <gen>) facing Default building facing degrees
      • Unit - Order (Last created unit) to Move To (Center of Bluebase <gen>)
      • Unit - Create 20 Footman for Player 12 (Brown) at (Center of Bluebase <gen>) facing Default building facing degrees
      • Unit - Order (Last created unit) to Move To (Center of Redbase <gen>)
  • Spawn
    • Events
      • Player - Player 1 (Red) types a chat message containing -Spawn as An exact match
      • exact match
    • Conditions
    • Actions
      • Unit - Create 20 Footman for Player 11 (Dark Green) at (Center of Redbase <gen>) facing Default building facing degrees
      • Unit - Order (Last created unit) to Move To (Center of Bluebase <gen>)
  • Spawn2
    • Events
      • Player - Player 6 (Orange) types a chat message containing -Spawn as An exact match
    • Conditions
    • Actions
      • Unit - Create 20 Footman for Player 12 (Brown) at (Center of Bluebase <gen>) facing Default building facing degrees
      • Unit - Order (Last created unit) to Move To (Center of Redbase <gen>)
Mods, pls remove your replys when this is accepted.
 
Last edited:
Top