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!
Trigger - Run AntiCheatUnitsInit <gen> (checking conditions)
Game - Display to (All players) for 100000000.00 seconds the text: |c0096FF96For Testing Purposes!|rgold xxxx -> add xxxx gold and lumbera -> turn on cinematic mode for 3 seconds|c000000FFWhat this system does:|r(whosyourdaddy,thereisnospoon,warpten,iseedeadpeople)1. Using the aforementioned cheats will result in a defeat.2. All units and destructible will be removed.3. Entire map will not be visible.|c00FF0000Using Gold and Lumber cheats will have no effect|r
The most important part of the system. Without this, all fails.
AntiCheatUnitsInit
Events
Conditions
Actions
Set Variable Set Cinematic_Mode = "false"
Set Variable Set Temp_Point = (Center of AntiCheatRegion <gen>)
Unit - Create 1 . Cheat_Dummy_Unit for Player 1 (Red) at Temp_Point facing Default building facing degrees
Set Variable Set Cheat_Attacker = (Last created unit)
Unit - Set Cheat_Attacker movement speed to 0.00
Unit - Add Permanent Immolation (Neutral Hostile 2) to Cheat_Attacker
Unit - Add Roar (Neutral Hostile) to Cheat_Attacker
Unit - Make Cheat_Attacker Invulnerable
Unit - Create 1 . Cheat_Dummy_Unit for Neutral Passive at Temp_Point facing Default building facing degrees
Set Variable Set Cheat_Attacked = (Last created unit)
The Cheat_Used variable is optional. Some people may find it useful. If not just delete it.
CheatFinalDefeatStep
Events
Conditions
Cheat_Used Equal to True
Actions
Game - Display to (All players) for 60.00 seconds the text: |c00FF0000=Cheat Detected=|r|c0000FF00Restart, Load or Quit.|r|c00FF0000=Cheat Detected=|r|c0000FF00Restart, Load or Quit.|r|c00FF0000=Cheat Detected=|r|c0000FF00Restart, Load or Quit.|r
Visibility - Enable black mask
Visibility - Enable fog of war
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Black mask across (Playable map area)
Visibility - Enable (Last created visibility modifier)
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across (Playable map area)
Visibility - Enable (Last created visibility modifier)
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Custom script: set bj_wantDestroyGroup = true
Destructible - Pick every destructible in (Playable map area) and do (Actions)
Loop - Actions
Destructible - Remove (Picked destructible)
GodModeDisableInit
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to Cheat_Attacked
Actions
Trigger - Turn on GodModeDisable <gen>
Set Variable Set Cheat_Used = "true"
Change the owner of (triggering unit) to your desired player.
You can delete the condition to make it affect all players.
1. Export and Import/Copy the 2 Dummies from the object editor to your map
2. Enable (Automatically create unknown variables in file-> preferences)
3. Export and Import/Copy all triggers to your map
4. Delete all triggers under [Testing,Debug and Instructions] folder
5. Remove the Game - Text Message function in the Initialization Trigger.
6. Done
GiveGoldandLumber
Events
Player - Player 1 (Red) types a chat message containing gold (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Add (Integer((Substring((Entered chat string), 6, 45646)))) to Player 1 (Red) . Current gold
Player - Add (Integer((Substring((Entered chat string), 6, 45646)))) to Player 1 (Red) . Current lumber
CinematicMode
Events
Player - Player 1 (Red) types a chat message containing a (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Set Variable Set Cinematic_Mode = "true"
Cinematic - Turn cinematic mode On for (All players)
Wait 3.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Set Variable Set Cinematic_Mode = "false"
Game - Display to (All players) for 100000000.00 seconds the text: |c0096FF96For Testing Purposes!|rgold xxxx -> add xxxx gold and lumbera -> turn on cinematic mode for 3 seconds|c000000FFWhat this system does:|r(whosyourdaddy,thereisnospoon,warpten,iseedeadpeople)1. Using the aforementioned cheats will result in a defeat.2. All units and destructible will be removed.3. Entire map will not be visible.|c00FF0000Using Gold and Lumber cheats will have no effect|r
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.