• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Voice acted scenario, how to disable multiplayer skipping?

Status
Not open for further replies.
Level 7
Joined
Mar 9, 2016
Messages
226
Hey guys, so I made this voice acted humor based tutorial with my brother, its meant to be for my multiplayer map. However, the problem is that players can spam ESC and damage the view of other players. Is there a way to prevent this? The scenario lasts around 12 seconds or so, explaining the map through a conversation.


I don't think it means much, but here's the scenario trigger:

  • Scenario
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • Visibility - Disable fog of war
      • Game - Display to (All players) the text: |cffffcc0012 second...
      • Wait 4.50 seconds
      • Cinematic - Turn cinematic mode On for (All players)
      • Camera - Apply Both <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Settler 0122 <gen> named Lord Pendulian : Play 1 <gen> and display You, peasant!. Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Peasant <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Villager (Scenario) 0059 <gen> named Villager : Play 2 <gen> and display Me?. Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Lord Pendulian <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Settler 0122 <gen> named Lord Pendulian : Play 3 <gen> and display Where are the ships.... Modify duration: Add 0.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from Villager (Scenario) 0059 <gen> named Villager : Play 4 <gen> and display Why? . Modify duration: Add 0.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from Settler 0122 <gen> named Lord Pendulian : Play 5 <gen> and display Ha! Why!? Oh, you i.... Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Both <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Villager (Scenario) 0059 <gen> named Villager : Play 6 <gen> and display Oh, i see. Another .... Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Lord Pendulian <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Settler 0122 <gen> named Lord Pendulian : Play 7 <gen> and display Silence! I asked yo.... Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Both <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Villager (Scenario) 0059 <gen> named Villager : Play 8 <gen> and display Yeah, yeah... They .... Modify duration: Add 0.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from Settler 0122 <gen> named Lord Pendulian : Play 9 <gen> and display Was that so hard?. Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Peasant <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Villager (Scenario) 0059 <gen> named Villager : Play 10 <gen> and display I'll tell you what .... Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Lord Pendulian <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Lord Pendulian <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Settler 0122 <gen> named Lord Pendulian: Play 11 <gen> and display Hmm, you seem like .... Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Peasant <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Peasant <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from Villager (Scenario) 0059 <gen> named Villager : Play 12 <gen> and display Ehh, you can smack .... Modify duration: Add 0.00 seconds and Wait
      • Camera - Apply Both <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Both <gen> for Player 8 (Pink) over 0.00 seconds
      • Unit - Order Villager (Scenario) 0059 <gen> to Move To (Center of Slaver ping <gen>)
      • Cinematic - Send transmission to (All players) from Settler 0122 <gen> named Lord Pendulian: Play 13 <gen> and display Hmmm, i can smack m.... Modify duration: Add 0.00 seconds and Wait
      • Cinematic - Turn cinematic mode Off for (All players)
      • Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 2 (Blue) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 3 (Teal) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 4 (Purple) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 5 (Yellow) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 6 (Orange) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 7 (Green) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 8 (Pink) to standard game-view over 0.00 seconds
      • Visibility - Enable fog of war
      • Wait 3.00 seconds
      • Unit - Remove Villager (Scenario) 0059 <gen> from the game
      • Unit - Remove Settler 0122 <gen> from the game
      • Game - Display to (All players) the text: |cffffcc00Pinging t...
      • Cinematic - Ping minimap for (All players) at (Center of Shipyard 1 ping <gen>) for 1.00 seconds
      • Wait 2.00 seconds
      • Game - Display to (All players) the text: |cffffcc00Pinging t...
      • Cinematic - Ping minimap for (All players) at (Center of Slaver ping <gen>) for 1.00 seconds
      • Wait 2.00 seconds
      • Game - Display to (All players) the text: |cffffcc00Pinging t...
      • Cinematic - Ping minimap for (All players) at (Center of Market ping <gen>) for 1.00 seconds
      • Wait 2.00 seconds
      • Game - Display to (All players) the text: |cffff0000Press (F9...
      • Wait 0.80 seconds
      • Sound - Play If_I_Had_A_Heart <gen>
      • Trigger - Turn off (This trigger)
 
Level 7
Joined
Mar 9, 2016
Messages
226
Long trigger, how long time do you make this?

Its not really that long, the camera sets are what make it seem so, I made those 3 times, hence there were 3 camera positions and copy-pasted those when needed.
I'm not sure, I started working on at at 3pm, was done at 6:20 pm, but I was editing some other things for the map. Maybe 40 minutes if I were doing just this, I don't know.


Do you mean how to disable the skip?
Yeah, i'm looking for a way to stop players from using the "ESC" button in order to avoid skipping the scenario (Movie scene).
 
Level 12
Joined
Dec 11, 2014
Messages
664
  • Actions
    • For each (Integer IntegerA) from 1 to 8, do (Actions)
      • Loop - Actions
        • Camera - Apply (Current camera) for (Player(IntegerA)) over 0.00 seconds
Use these loops to make the trigger way, way smaller. Just put everything that needs to be done for all 8 players inside and change the player to be "Player(IntegerA)"
 
Level 4
Joined
Mar 29, 2017
Messages
78
'MAX_PLAYERS' and 'skipCount' are both integer variables. This should skip cinematic only when all players press ESC key:

  • Init End Cinematic
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Custom script: call DisableTrigger( bj_cineSceneBeingSkipped )
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Set MAX_PLAYERS = (MAX_PLAYERS + 1)
          • Trigger - Add to End Cinematic <gen> the event (Player - (Picked player) skips a cinematic sequence)
          • Trigger - Add to Update Max Players <gen> the event (Player - (Picked player) leaves the game)
then do it :

  • Update Max Players
    • Events
    • Conditions
    • Actions
      • Set MAX_PLAYERS = (MAX_PLAYERS - 1)
Then, do this

  • End Cinematic
    • Events
    • Conditions
    • Actions
      • Set skipCount = (skipCount + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • skipCount Equal to MAX_PLAYERS
        • Then - Actions
          • Set skipCount = 0
          • Custom script: call EnableTrigger( bj_cineSceneBeingSkipped )
          • Custom script: call TriggerExecute( bj_cineSceneBeingSkipped )
          • Custom script: call DisableTrigger( bj_cineSceneBeingSkipped )
        • Else - Actions
Hopefully help you! :D
 
Level 4
Joined
Mar 29, 2017
Messages
78
  • Actions
    • For each (Integer IntegerA) from 1 to 8, do (Actions)
      • Loop - Actions
        • Camera - Apply (Current camera) for (Player(IntegerA)) over 0.00 seconds
Use these loops to make the trigger way, way smaller. Just put everything that needs to be done for all 8 players inside and change the player to be "Player(IntegerA)"
Whoa, you are intelligent than me! Just do this for reduce time (That because im lazy)
 
Status
Not open for further replies.
Top