Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
[1] Apocolypse.w3x
Variables
Initialization
Melee Initialization
Hint 01
Hint 02
Dont haz muv
Bomb Attack
Aftermath
Get all units
Annoying Ants
Stop da ants
Ant Attack
Hunter
Amazing Food
Amazing Food 2
Amazing Food 3
Food and Water
Food Requirement
Food Death
Water Requirement
Water Death
Water fountian 1
Reward Food Crab
Reward Food Chicken
Reward Food Deer
Gate and Shelter
Open Gate
Close Gate
Enter Shelter
Leave Shelter
Win/Lose
Lose
Win
Who wants a boat
Day/Night
Turn Day
Turn Night
The Debuggening
Daytime
Daytime Copy
Food Requirement Copy
Food Requirement Copy Copy
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
ApocolypseTimer
timer
No
Daytimer
timer
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Visibility - Enable black mask
Camera - Pan camera for Player 1 (Red) to (Position of Survivor 0025 <gen>) over 0 seconds
Melee Game - Use melee time of day (for all players)
Melee Game - Run melee AI scripts (for computer players)
Unit - Add Invulnerable (Neutral) to Survivor 0017 <gen>
Unit - Add Invulnerable (Neutral) to Survivor 0016 <gen>
Unit - Add Invulnerable (Neutral) to Survivor 0015 <gen>
Game - Display to (All players) the text: Warning! In 30 seconds, the bomb tank will go off, and the town will get destroyed. You must gather enough supplies until that happens.
Hint 01
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Game - Display to (All players) the text: Hint- If you get more items than you can hold, go back into the shelter and drop them off.
Hint 02
Events
Time - Elapsed game time is 25.00 seconds
Conditions
Actions
Game - Display to (All players) the text: The bomb is imminent! Get to the shelter!
Sound - Play Warning <gen>
Dont haz muv
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit - Order Bomb Tank 0005 <gen> to Stop .
Bomb Attack
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Trigger - Turn off Dont_haz_muv <gen>
Unit - Order Bomb Tank 0005 <gen> to Neutral - Kaboom! . (Center of Bomb_Movement <gen>)
Stuff that happens after the Bomb goes off.
Get all units
Events
Unit - Bomb Tank 0005 <gen> Dies
Conditions
Actions
Player - Add 1 to Player 1 (Red) . Current gold
Player - Add 1 to Player 1 (Red) . Current lumber
Unit - Kill House 0013 <gen>
Unit - Kill House 0006 <gen>
Unit - Kill House 0008 <gen>
Unit - Kill Villager 0020 <gen>
Unit - Kill Villager 0024 <gen>
Unit - Kill Villager 0021 <gen>
Unit - Kill Villager 0022 <gen>
Unit - Kill House 0009 <gen>
Unit - Kill House 0011 <gen>
Unit - Kill House 0014 <gen>
Unit - Kill House 0012 <gen>
Unit - Change ownership of Survivor 0017 <gen> to Player 1 (Red) and Change color
Unit - Change ownership of Survivor 0016 <gen> to Player 1 (Red) and Change color
Unit - Change ownership of Survivor 0015 <gen> to Player 1 (Red) and Change color
Special Effect - Create a special effect at (Center of Blast_Zone <gen>) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Sound - Play QuestNew <gen>
Quest - Display to (All players) the Hint message: There is information now about the game uptop. Check your quest log.
Quest - Create a Required quest titled Rescue with the description Is there really help right now? Yes! Even in this dark time, the military has been contacted and the human army is coming! Find them, and you should be fine. , using icon path ReplaceableTextures\CommandButtons\BTNRallyPoint.blp
Quest - Create a Optional quest titled The Dangers of Day with the description During the day time, ghouls are going to be out and about. It is dangerous to find supplies in the day without the undead troops getting on to you. Only go out there prepared. , using icon path ReplaceableTextures\CommandButtons\BTNSentinel.blp
Quest - Create a Required quest titled Essentials with the description You need food. That's all there is to it. Every 25 seconds, you will lose 1 food. If you don't have that, you lose. Same goes for water, except water is faster. Remember, the father and the mother have to stay alive for you to win! , using icon path UI\Widgets\Console\Human\infocard-supply.blp
Trigger - Turn on Annoying_Ants <gen>
Trigger - Turn on Turn_Day <gen>
Trigger - Run Turn_Day <gen> (checking conditions)
Trigger - Turn on Food_Requirement <gen>
Trigger - Turn on Food_Death <gen>
Trigger - Turn on Water_Requirement <gen>
Trigger - Turn on Water_Death <gen>
Annoying Ants
Events
Time - Every 35.00 seconds of game time
Conditions
Actions
Unit - Create (Random integer number between 1 and 2) . Ant for Player 4 (Purple) at (Random point in Hunting_Grounds <gen>) facing Default building facing degrees
Stop da ants
Events
Unit - A unit enters Shelter <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Player 1 (Red)
Actions
Unit - Kill (Triggering unit)
Ant Attack
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Unit Group - Order (Units owned by Player 4 (Purple) of type Ant) to Attack . Survivor 0025 <gen>
Hunter
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Unit - Order Illegal Hunter 0056 <gen> to Attack . (Random unit from (Units of type Deer (Fud)))
Amazing Food
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit - Create (Random integer number between 1 and 4) . Deer (Fud) for Neutral Passive at (Random point in Hunting_Grounds <gen>) facing Default building facing degrees
Amazing Food 2
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create (Random integer number between 1 and 4) . Chicken (Fud) for Neutral Passive at (Random point in Hunting_Grounds <gen>) facing Default building facing degrees
Amazing Food 3
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Unit - Create (Random integer number between 1 and 4) . Crab (Fud) for Neutral Passive at (Random point in Hunting_Grounds <gen>) facing Default building facing degrees
Food Requirement
Events
Time - Every 25.00 seconds of game time
Conditions
Actions
Game - Display to (All players) the text: You ate 1 food...
Player - Add -1 to Player 1 (Red) . Current gold
Food Death
Events
Player - Player 1 (Red) 's Current gold becomes Equal to 0.00
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: You starved to death!
Water Requirement
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Game - Display to (All players) the text: You drank 1 water...
Player - Add -1 to Player 1 (Red) . Current lumber
Water Death
Events
Player - Player 1 (Red) 's Current lumber becomes Equal to 0.00
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: You died of thirst!
Water fountian 1
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Item - Create Water Bottle at (Random point in The_other_Hunting_Grounds <gen>)
Item - Create Water Bottle at (Random point in The_other_Hunting_Grounds <gen>)
Reward Food Crab
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Crab (Fud)
(Owner of (Killing unit)) Equal to Player 1 (Red)
Actions
Player - Add 1 to Player 1 (Red) . Current gold
Game - Display to (All players) the text: The crab was big enough for you to harvest 1 food!
Reward Food Chicken
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Chicken (Fud)
(Owner of (Killing unit)) Equal to Player 1 (Red)
Actions
Player - Add 3 to Player 1 (Red) . Current gold
Game - Display to (All players) the text: The chicken was big enough for you to harvest 3 food!
Reward Food Deer
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Deer (Fud)
(Owner of (Killing unit)) Equal to Player 1 (Red)
Actions
Player - Add 5 to Player 1 (Red) . Current gold
Game - Display to (All players) the text: The deer was big enough for you to harvest 5 food!
Open Gate
Events
Unit - A unit enters Gate_Open <gen>
Conditions
Actions
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Open Ruined Gate 0000 <gen>) else do (Move (Triggering unit) instantly to (Center of Nobody_Else_Allowed <gen>))
Close Gate
Events
Unit - A unit leaves Gate_Open <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Destructible - Close Ruined Gate 0000 <gen>
Enter Shelter
Events
Unit - A unit enters Shelter <gen>
Conditions
Actions
Unit - Add Invulnerable (Neutral) to (Triggering unit)
Leave Shelter
Events
Unit - A unit leaves Shelter <gen>
Conditions
Actions
Unit - Remove Invulnerable (Neutral) from (Triggering unit)
Lose
Events
Unit - Survivor 0016 <gen> Dies
Unit - Survivor 0025 <gen> Dies
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Win
Events
Unit - A unit enters Rescue <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from General 0030 <gen> named General : Play No sound and display Ah! Indeed! There is a survivor! Don't worry son, well keep you safe. . Modify duration: Set to 5.00 seconds and Wait
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Who wants a boat
Events
Unit - A unit enters Who_wants_a_Boat <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
(Unit-type of (Triggering unit)) Not equal to Transport Ship
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Who_wants_a_Boat <gen>
Turn Day
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Trigger - Turn off (This trigger)
Game - Set the time of day to 12
Unit Group - Order (Units of type Ghoul (Upgraded)) to Stop
Unit - Order Ghoul 0037 <gen> to Attack-Move To . (Center of Ghoul_1_Patrol_1 <gen>)
Unit - Order Ghoul 0088 <gen> to Attack-Move To . (Center of Alternate_Left <gen>)
Unit - Order Ghoul 0092 <gen> to Attack-Move To . (Center of Ghoul_2_Patrol_1 <gen>)
Trigger - Turn on Turn_Night <gen>
Turn Night
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Trigger - Turn off (This trigger)
Game - Set the time of day to 24.00
Unit Group - Order (Units of type Ghoul (Upgraded)) to Stop
Unit - Order Ghoul 0037 <gen> to Attack-Move To . (Center of Ghoul_1_Patrol_2 <gen>)
Unit - Order Ghoul 0088 <gen> to Attack-Move To . (Center of Ghoul_3_Patrol <gen>)
Unit - Order Ghoul 0092 <gen> to Attack-Move To . (Center of Ghoul_2_Patrol_2 <gen>)
Trigger - Turn on Turn_Day <gen>
Daytime
Events
Player - Player 1 (Red) types a chat message containing Rooster (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Run Turn_Day <gen> (ignoring conditions)
Daytime Copy
Events
Player - Player 1 (Red) types a chat message containing Wolf (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Run Turn_Night <gen> (ignoring conditions)
Food Requirement Copy
Events
Player - Player 1 (Red) types a chat message containing Hunger (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Player - Add -1 to Player 1 (Red) . Current gold
Food Requirement Copy Copy
Events
Player - Player 1 (Red) types a chat message containing Thirst (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Player - Add -1 to Player 1 (Red) . Current lumber
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.