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
Miami Vice V1.1.w3x
Variables
Initialization
Melee Initialization
Reveal Map
Visibility
Display Messages
Messages
Welcome
Player 3
Weather (Rain)
Light Rain
Heavy Rain
End
Victory/Defeat Conditions
Defeat Player 1
Defeat Player 2
Boat Destroyed Player 3
Defeat Player 4
Help Menu
Player 1
Player 2
Player 3 help
Player 4
Player 5
Income
Income timer
Starting Resources
Calderone
Crockett
Opening Doors
Right House Doors
Left House Doors
Mall open
Calderone open
Police door
Burglar door
Closing Doors
Right House Doors Close
Left House Doors Close
Mall close
Calderone close
Police Door
Burglar Door
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
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Enforce victory/defeat conditions (for all players)
Sound - Play miamivice_extended <gen>
Game initialization for all players
Visibility
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 5 (Yellow) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 7 (Green) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 8 (Pink) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 10 (Light Blue) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 11 (Dark Green) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 12 (Brown) emitting Visibility across (Playable map area)
Visibility - Disable fog of war
Messages
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Floating Text - Create floating text that reads Police Headquarters at (Center of Police_Headquarters <gen>) with Z offset 0 , using font size 10 , color ( 15.00 %, 15.00 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Burglar Headquarters at (Center of Burglar_Headquarters <gen>) with Z offset 0 , using font size 10 , color ( 100.00 %, 15.00 %, 15.00 %), and 0 % transparency
Game - Display to (All players) for 20.00 seconds the text: Welcome to Miami Vice!Type "-help" if you are new to this map or forgot the commands.Have Fun!Created by BladeWarrior17 (US East)
Player 3
Events
Unit - Sonny Crockett's Boat House 0040 <gen> Finishes training a unit
Conditions
Actions
Game - Display to Player Group - Player 3 (Teal) for 30 seconds the text: Welcome Detective Crockett. The police needs your help. Your main mission is to Kill Calderone and destroy his Club. Good luck.
Light Rain
Events
Game - The in-game time of day becomes Equal to 14.00
Conditions
Actions
Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Light)
Heavy Rain
Events
Game - The in-game time of day becomes Equal to 16.00
Conditions
Actions
Environment - Remove (Last created weather effect)
Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Heavy)
End
Events
Game - The in-game time of day becomes Equal to 18.00
Conditions
Actions
Environment - Remove (Last created weather effect)
Defeat Player 1
Events
Unit - Police Headquarters 0000 <gen> Dies
Conditions
Actions
Game - Display to (All players) the text: The Police have lost their headquarters! Now the city of Miami is doomed by crime and drugs!
Wait 8.00 seconds
Game - Defeat Player 1 (Red) with the message: Your headquarters was destroyed!
Defeat Player 2
Events
Unit - Burglar Headquarters 0003 <gen> Dies
Conditions
Actions
Game - Display to (All players) the text: The Burglars have lost their Headquarters! The city is now crime-free thanks to Miami Vice!
Wait 8.00 seconds
Game - Defeat Player 2 (Blue) with the message: Your headquarters was destroyed!
Boat Destroyed Player 3
Events
Unit - Sonny Crockett's Boat House 0040 <gen> Dies
Conditions
Actions
Game - Display to (All players) the text: Sonny Crockett's boat was sunk
Game - Display to Player Group - Player 3 (Teal) for 30.00 seconds the text: Your boat was sunk. You can buy a new one at the marina for 1000 gold and 1000 lumber if your hero is still alive
Defeat Player 4
Events
Unit - Calderone's Club 0042 <gen> Dies
Conditions
Actions
Game - Display to (All players) the text: Calderone has lost his club
Wait 8.00 seconds
Game - Defeat Player 4 (Purple) with the message: Your club was destroyed!
Player 1
Events
Player - Player 1 (Red) types a chat message containing -help (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 1 (Red) for 30 seconds the text: Your commands are "-open hq" -- open your headquarters' door"-close hq" -- close your headquarters' doorYour mission is to destroy the Burglars' headquarters before they destroy yours.
Player 2
Events
Player - Player 2 (Blue) types a chat message containing -help (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 2 (Blue) for 30 seconds the text: Your commands are "-open hq" -- open your headquarters' door"-close hq" -- close your headquarters' doorYour mission is to destroy the Police headquarters before they destroy yours.
Player 3 help
Events
Player - Player 3 (Teal) types a chat message containing -help (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 3 (Teal) for 30 seconds the text: Your mission is to destroy Calderone and his Club before he kills you.
Player 4
Events
Player - Player 4 (Purple) types a chat message containing -help (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 4 (Purple) for 30 seconds the text: Your commands are "-open club" -- open your club's door"-close club" -- close your club's doorYour mission is to kill Rico Tubbs and Sonny Crockett before they kill you.
Player 5
Events
Player - Player 5 (Yellow) types a chat message containing -help (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 5 (Yellow) for 30 seconds the text: Your mission is to kill Calderone and help the police.
Income timer
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player - Add 100 to Player 1 (Red) . Current gold
Player - Add 50 to Player 1 (Red) . Current lumber
Player - Add 100 to Player 2 (Blue) . Current gold
Player - Add 50 to Player 2 (Blue) . Current lumber
Player - Add 100 to Player 3 (Teal) . Current gold
Player - Add 50 to Player 3 (Teal) . Current lumber
Player - Add 100 to Player 4 (Purple) . Current gold
Player - Add 50 to Player 4 (Purple) . Current lumber
Player - Add 100 to Player 5 (Yellow) . Current gold
Player - Add 50 to Player 5 (Yellow) . Current lumber
Calderone
Events
Map initialization
Conditions
Actions
Player - Add 425 to Player 4 (Purple) . Current gold
Player - Add 100 to Player 4 (Purple) . Current lumber
Crockett
Events
Map initialization
Conditions
Actions
Player - Add 425 to Player 3 (Teal) . Current gold
Player - Add 100 to Player 3 (Teal) . Current lumber
Right House Doors
Events
Game - The in-game time of day becomes Equal to 8.00
Conditions
Actions
Destructible - Open Gate 0839 <gen>
Destructible - Open Gate 0840 <gen>
Left House Doors
Events
Game - The in-game time of day becomes Equal to 20.00
Conditions
Actions
Destructible - Open Gate 0806 <gen>
Destructible - Open Gate 0841 <gen>
Mall open
Events
Game - The in-game time of day becomes Equal to 8.00
Conditions
Actions
Game - Display to (All players) the text: The mall is now open for shopping
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.