I am trying to create a type of Waygate effect for my map to allow players to go to the surface of a planet and leave into orbit by treating a location as a form of waygate (Warcraft 3 structure that teleported between 2 points)
I tried to research the Nydus worm of this game but it utilizes a transport mechanic that is difficult to understand, moreover I want the teleportation to be instantaneous the moment the player moves the units to the Unit I intend to have as a waygate. Moreover though I doubt it can be done, I want to see if I can get the unit's pathing to automatically use the waygates when travelling.
So I was wondering, what should I set up to create a functioning waygate? I want to avoid using the trigger editor as I can already make a simple teleport trigger if I need to, but I want to see if the Data editor can create a unit that teleports other units to a fixed point.
The most I should need, would be if I could make a unit in a data editor that could use an ability on a set point, then anytime a unit is moved to that unit, they are teleported to that point. I could work with that.
Again, the most I need is for a structure/unit to function like a Warcraft 3 Waygate, which in the simplist terms it was like a Nydus canal that went to 1 point on the map.
Basically the way the Warcraft 3 waygate worked was it was an ability that was given to a unit, afterwards a target point can be set by either the editor or a trigger. Then whenever a unit is ordered to move to the waygate, upon reaching the waygate the unit or units are teleported to the point that was set for the waygate.
Warcraft 3 could also just use triggers to teleport units from location A to location B, but waygates just made the process alot easier, since they also worked with the unit's actual pathing.
Now given the complexity of the Data editor it doesn't seem unlikely that this would be a task it's incapable of, after all if you issue a unit to right click onto a transport, this will automatically order the transport to load the unit that was ordered onto it. Given that the Data editor grants us this level of customization I feel we should be able to do this for other abilities other than just the load transport one.
Regardless, it is inevitable for me to avoid using the trigger editor for this particular task, but I want to try and reduce the workload to as low a level as possible.
I know this is a pretty bad necro but rather than make a new topic figured I'd just bring back this one, I'm looking for the same sort of thing, trying a "mothership mass recall" strategy, going to make a periodic behaviour on one waypoint that makes it cast mass recall at the location of the other waygate to pull them to it, then apply a buff which stops the other waygate from pulling them back for a short time.
Rollback Post to RevisionRollBack
Zergling Blood : starcraft://map/1/35684
Game of Thrones : starcraft://map/1/189756
Tacticraft : starcraft://map/1/223625
In WC3 it was done with using regions. Then you right-clicked or moved TO the waygate and it would transport you to the... nevermind. Just has to be done with triggers, I think, but if this thread can attract Kueken he'll probably know how to make a data-based version.
I think it wouldnt be too hard to make it work with a period behavior, that searches for nearby units, then casts teleport on them, suppose you could make the effect do some sort of persistent or something to warp them to the specific offset, but with the mess of data required to do all that, triggers are probably the better method of implementation.
Rollback Post to RevisionRollBack
Zergling Blood : starcraft://map/1/35684
Game of Thrones : starcraft://map/1/189756
Tacticraft : starcraft://map/1/223625
Simple waygate like teleportation has been done before. Only issue is the implementation of them into the perceived pathing map and not canceling their orders after teleport.
I am trying to create a type of Waygate effect for my map to allow players to go to the surface of a planet and leave into orbit by treating a location as a form of waygate (Warcraft 3 structure that teleported between 2 points)
I tried to research the Nydus worm of this game but it utilizes a transport mechanic that is difficult to understand, moreover I want the teleportation to be instantaneous the moment the player moves the units to the Unit I intend to have as a waygate. Moreover though I doubt it can be done, I want to see if I can get the unit's pathing to automatically use the waygates when travelling.
So I was wondering, what should I set up to create a functioning waygate? I want to avoid using the trigger editor as I can already make a simple teleport trigger if I need to, but I want to see if the Data editor can create a unit that teleports other units to a fixed point.
The most I should need, would be if I could make a unit in a data editor that could use an ability on a set point, then anytime a unit is moved to that unit, they are teleported to that point. I could work with that.
could you explain it a bit better? you mean just u have a spell and u use it, u click on a point and u teleport to it?
EDIT: Never mind, didnt read the whole post, i will try make something
EDIT2: oh no trigger editor... i dont think its possible with data editor.
@thommiej: Go
Again, the most I need is for a structure/unit to function like a Warcraft 3 Waygate, which in the simplist terms it was like a Nydus canal that went to 1 point on the map.
Basically the way the Warcraft 3 waygate worked was it was an ability that was given to a unit, afterwards a target point can be set by either the editor or a trigger. Then whenever a unit is ordered to move to the waygate, upon reaching the waygate the unit or units are teleported to the point that was set for the waygate.
Warcraft 3 could also just use triggers to teleport units from location A to location B, but waygates just made the process alot easier, since they also worked with the unit's actual pathing.
Now given the complexity of the Data editor it doesn't seem unlikely that this would be a task it's incapable of, after all if you issue a unit to right click onto a transport, this will automatically order the transport to load the unit that was ordered onto it. Given that the Data editor grants us this level of customization I feel we should be able to do this for other abilities other than just the load transport one.
Regardless, it is inevitable for me to avoid using the trigger editor for this particular task, but I want to try and reduce the workload to as low a level as possible.
I know this is a pretty bad necro but rather than make a new topic figured I'd just bring back this one, I'm looking for the same sort of thing, trying a "mothership mass recall" strategy, going to make a periodic behaviour on one waypoint that makes it cast mass recall at the location of the other waygate to pull them to it, then apply a buff which stops the other waygate from pulling them back for a short time.
In WC3 it was done with using regions. Then you right-clicked or moved TO the waygate and it would transport you to the... nevermind. Just has to be done with triggers, I think, but if this thread can attract Kueken he'll probably know how to make a data-based version.
@SGTMeowmers9: Go
I think it wouldnt be too hard to make it work with a period behavior, that searches for nearby units, then casts teleport on them, suppose you could make the effect do some sort of persistent or something to warp them to the specific offset, but with the mess of data required to do all that, triggers are probably the better method of implementation.
Simple waygate like teleportation has been done before. Only issue is the implementation of them into the perceived pathing map and not canceling their orders after teleport.
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