• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!

Td System

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
This system is usefull for td-makers that cant trigger..
i cant really be sure if this is usefull.. but i made it really easy to edit.

triggers:

Setting up the variables:

  • Td Spawn System Setup
    • Events
      • Time - Elapsed game time is 0.03 seconds
    • Conditions
    • Actions
      • -------- You'll probably wanna change stuff here.. --------
      • Set RoundDelay = 30
      • Set PlayerAmount = (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
      • Set PlayerMaxAmount = 1
      • Set RoundSpawns[0] = Peasant
      • Set RoundSpawns[1] = Footman
      • Set RoundSpawns[2] = Rifleman
      • Set RoundSpawns[3] = Knight
      • Set UnitsSpawnAmount = 5
      • Set TimerWindow_Title = Next Round In:
      • Set TSS_SpawnPoint[1] = (Center of Spawn Point 1 <gen>)
      • Set TSS_SpawnPoint[2] = (Center of Spawn Point 2 <gen>)
      • Set TSS_SpawnPoint[3] = (Center of Spawn Point 3 <gen>)
      • Set AmountOfPoints = 3
      • Set EnemyPlayer = Neutral Hostile
      • Game - Display to (All players) the text: (Welcome to the td spawn system, Amount of players currently playing: + ((String(PlayerAmount)) + (/ + (String(PlayerMaxAmount)))))
      • -------- Dont Touch Anything Below This: --------
      • Countdown Timer - Start TSS_Timer as a One-shot timer that will expire in (Real(RoundDelay)) seconds
      • Set TSS_Timer = (Last started timer)
      • Countdown Timer - Create a timer window for TSS_Timer with title TimerWindow_Title
      • Set TSS_TimerWindow = (Last created timer window)
      • Countdown Timer - Show TSS_TimerWindow
Actions when timer reaches 0

  • Round Setup
    • Events
      • Time - TSS_Timer expires
    • Conditions
    • Actions
      • For each (Integer A) from 1 to AmountOfPoints, do (Actions)
        • Loop - Actions
          • Unit - Create UnitsSpawnAmount RoundSpawns[CurrentRound] for EnemyPlayer at TSS_SpawnPoint[(Integer A)] facing Default building facing degrees
      • Set CurrentRound = (CurrentRound + 1)
      • Trigger - Turn on Cheak unitsdeath <gen>
cheaking when all units die then run timer.

  • Cheak unitsdeath
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) Equal to EnemyPlayer) and (((Matching unit) is alive) Equal to True))) and do (Actions)
        • Loop - Actions
          • Set TestCount = (TestCount + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TestCount Equal to 0
        • Then - Actions
          • Countdown Timer - Start TSS_Timer as a One-shot timer that will expire in (Real(RoundDelay)) seconds
          • Trigger - Turn off (This trigger)
        • Else - Actions
      • Set TestCount = 0
Keywords:
Td, System, x-dardas, Europe, Tds, Tower, Defence, Tower Defence, 13L4M3, Reputation, Rep, Zombie Goez Elite.
Contents

Td System (Map)

Reviews
13:10, 30th Mar 2010 The_Reborn_Devil: This system is too simple and a proper in-game screenshot is also required. Status: Rejected permanently Rating: N/A

Moderator

M

Moderator

13:10, 30th Mar 2010
The_Reborn_Devil:
This system is too simple and a proper in-game screenshot is also required.


Status: Rejected permanently
Rating: N/A
 
Top