Here's what I'm trying to do. I'm taking the elevator doodad from the HotS campaign where Kerrigan attacks the Dominion prison ship to rescue Raynor, and trying to make it go up instead of down.
Here's my trigger so far:
Elevator
Events
Unit -Hero Enters Use Elevator
Local Variables
Conditions
Actions
Animation -Play Cover animation for (Actor for Space Elevator Ramp [124.00, 89.50]) as Default, using Play Forever options and 4.0 blend time
General -Wait 10.0 Game Time seconds
Animation -Play Stand animation for (Actor for Space Elevator Ramp [124.00, 89.50]) as Default, using Play Forever options and 4.0 blend time
The elevator starts in the UP position (like in the HotS mission). My hero walks onto the triggering region and the elevator goes down slowly over 4 seconds (as expected). This is the first trigger action, which I copied from the campaign map. So far so good. I order my hero to walk onto the elevator platform.
But then after the 10-second wait, the elevator goes shooting up to the top again really fast. I'd like to make it move slowly in both directions, but I can't seem to find a way to do it. I've put all different combinations of things like Stand Work, Stand Cover, Cover Work, etc. for the actor, but they all do the same thing.
I'm posting this in the trigger section, but I don't know if the solution is to modify the actor or something else in the data editor. Anyway, does anyone know if there's a way to do it?
It's a doodad called "Space elevator ramp". You're right, it does go down. (That's part A of what I did, which is working correctly). I'm trying to make it go back UP, but no matter what I do it just snaps back to the top instead of moving at a realistic speed.
There's a similar one called simply "Space elevator (terrain object doodad)". It's a similar design except it goes down into the floor. In the campaign, this is treated as the top of the elevator, and Kerrigan steps onto it from the upper deck of the prison ship. Then she steps off of the "space elevator ramp" version on the lower decks (a different section of the map) after riding it down.
I'm trying to use it in reverse, so my hero can go from a lower deck up to a higher one (and back again if the player wants).
EDIT: You can see it working in this video from the campaign, from 8:06 to 8:38. So the "go down" animations are easy, but I can't seem to figure out how to make it go back up without just snapping to the top.
The doodad uses a model that has the Stand animation for the raised and the Cover animation for the lowered. The Cover Start animation lowers it while the Cover End animation raises it. Use the Actor Message trigger action that uses an Animation Bracket Apply message.
Actor -Send message "AnimBracketStart Attack Cover,Start {} {} OpeningPlayForever" to actor (Actor for Space Elevator Ramp [78.00, 78.00])<br /> Actor -Send message "AnimBracketStart Attack Cover,Start {} {} OpeningPlayForever" to actor (Actor for Space Elevator (Terrain object doodad) [125.00, 29.00])
This brings both parts of the elevator down.
Step 2:
Actor -Send message "AnimBracketStop Attack" to actor (Actor for Space Elevator Ramp [78.00, 78.00])<br /> Actor -Send message "AnimBracketStart Attack Cover,End" to actor (Actor for Space Elevator Ramp [78.00, 78.00])
This first kills the "go down" animation and starts the "go up" animation for the bottom elevator piece only.
Step 3:
Actor -Send message "AnimBracketStop Attack" to actor (Actor for Space Elevator (Terrain object doodad) [125.00, 29.00])
Actor -Send message "AnimBracketStart Attack Cover,End" to actor (Actor for Space Elevator (Terrain object doodad) [125.00, 29.00])
This one kills the "go down" animation for the top elevator piece and starts it moving up.
Here's what I'm trying to do. I'm taking the elevator doodad from the HotS campaign where Kerrigan attacks the Dominion prison ship to rescue Raynor, and trying to make it go up instead of down.
Here's my trigger so far:
The elevator starts in the UP position (like in the HotS mission). My hero walks onto the triggering region and the elevator goes down slowly over 4 seconds (as expected). This is the first trigger action, which I copied from the campaign map. So far so good. I order my hero to walk onto the elevator platform.
But then after the 10-second wait, the elevator goes shooting up to the top again really fast. I'd like to make it move slowly in both directions, but I can't seem to find a way to do it. I've put all different combinations of things like Stand Work, Stand Cover, Cover Work, etc. for the actor, but they all do the same thing.
I'm posting this in the trigger section, but I don't know if the solution is to modify the actor or something else in the data editor. Anyway, does anyone know if there's a way to do it?
Thought that elevator model already had an animation for going down. What is the model called exactly?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
It's a doodad called "Space elevator ramp". You're right, it does go down. (That's part A of what I did, which is working correctly). I'm trying to make it go back UP, but no matter what I do it just snaps back to the top instead of moving at a realistic speed.
There's a similar one called simply "Space elevator (terrain object doodad)". It's a similar design except it goes down into the floor. In the campaign, this is treated as the top of the elevator, and Kerrigan steps onto it from the upper deck of the prison ship. Then she steps off of the "space elevator ramp" version on the lower decks (a different section of the map) after riding it down.
I'm trying to use it in reverse, so my hero can go from a lower deck up to a higher one (and back again if the player wants).
EDIT: You can see it working in this video from the campaign, from 8:06 to 8:38. So the "go down" animations are easy, but I can't seem to figure out how to make it go back up without just snapping to the top.
The doodad uses a model that has the Stand animation for the raised and the Cover animation for the lowered. The Cover Start animation lowers it while the Cover End animation raises it. Use the Actor Message trigger action that uses an Animation Bracket Apply message.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
By "Animation Bracket Apply" do you mean "Animation Bracket Start"? Do, or do not do. There is no Apply *ahem* sorry, that was too hard to resist.
OK I figured it out:
Step 1:
This brings both parts of the elevator down.
Step 2:
This first kills the "go down" animation and starts the "go up" animation for the bottom elevator piece only.
Step 3:
This one kills the "go down" animation for the top elevator piece and starts it moving up.