Staredit Network

Staredit Network -> Ideas -> teleportation spell idea
Report, edit, etc...Posted by Kyuubi. on 2006-03-10 at 03:01:29
ok, with my arena-ish map in the making, i've decided i'd wanted to put in a teleportation ability...

first you'll need an observer and the hero that can cast the teleportation...and place some terrain spots, separate for each hero/player for them away from the acutal playing field...
when they cast it, they simply switch places and give the unit to a neutral/computer player(or a player that doesn't really effect the game) and creates an observer in the heros location. Given some sort of timer(death counter,etc) when time runs it and ready where you want to land,it simpy switch places again except the observer will disappear until the next cast...

i think this idea will work 100%, except i do see some minor things in the way...when there are gaps or places when the observer gets to a certain spot it won't move the unit,like on the water or the edge of a cliff...

i am trying to figure out if it goes to the invalid spot it'll just be back on the spot where it casted it...what would be a good method on covering the gaps without much locations and triggers involved?
Report, edit, etc...Posted by xws on 2006-03-11 at 23:55:37
Teleportation sounds cool. One way you could do it is burrow zerglings all over the map. When they cast teleport, give a random amount of zerglings from player 7 to 8, then center location on zerglings owned by player 7, lastly give back zerglings to player 7.

For the random amount just randomize some switches and do like if switch 1 is set give 1 zergling, if switch 2 is set give 2 zergling, if switch 3 is set give 4 zergling, if switch 4 is set give 8 zergling, etc up until you reach total zergling / 2.

(I know one of the things you asked is that it didn't use too many triggers, not sure if this meets that criteria, hope it helps). Oh and if you wanted it to be somewhat close to where you started you could start by making only the lings in certain area p7, but this would be a little more complicated because the amount of lings would vary.

If you don't want to burrow lings all over, there might be a way by like this:

create 9 air units over unit you want to teleport
remove center one
remove a random amount 0 to 7 (use 3 switches 1,2,4)
center location on one
this new unit is at a nearby random location, to increase distance repeat these triggers as needed
finally to make sure the destination is landable, try creating or moving some unit there and then checking to make sure it is actually there.

This might be hard to do but it would be pretty cool.

EDIT:

Well I was bored so I went ahead and made the non zergling version that handles terrain properly, but then I read your post again and realized you wanted to move the observer to where you want instead of random location, so I hope this of some use anyways

here's the map: http://www.darrenks.com/hobby/sc/teleport.scx
Report, edit, etc...Posted by JaFF on 2006-03-26 at 13:06:57
& how about teleporting from any location in 8 possible directions (south, east, north, west, & between them) to a certain range ? wouldnt that be cooler ?
Report, edit, etc...Posted by DoomGaze on 2006-03-26 at 14:55:42
If it's controlled, then the player will have to take some time to order which direction he wants, and it'll be too slow. Teleporting from a radius area would require a grid system, which is up to the mapper.

Another idea I'll suggest is to create a Dark Templar, then have it on junkyard dog. Give a certain amount of time, which is long enough for it to move to some random area, then teleport back. By using a ground unit, you pretty much ensure that the location you warp back in will be 'landable.'
Report, edit, etc...Posted by Kyuubi. on 2006-03-26 at 15:28:06
well the system is designed to be not too complicated but effective...you gain control of an air unit like an observer or scourge that moves pretty fast. when you cast it you gain control of an observer and move it where you want to be. its timed of course but can be controlled to land where you want(like you have to land before time is up or you will auto land).

when passing over impassible terrain, it'll pretty much send you back where you casted it. but making the teleport location bigger might prevent it from going back.
this idea just requires 2 locations,ground unit/hero, and some system to cast it with. but i did use this with my arena map though.

Report, edit, etc...Posted by Corbo(MM) on 2006-03-29 at 20:31:51
Well...i don't know if you will like this but i got one system that its very simple it takes like 3 trigger first of all
center a location on a defiler (location X)
then make the defiler cast dark swarm and center a location on the dark swarm(location Y)
then move all the units at X to Y remove the dark swarm and done

spells like dark swarm are basically units and they can be detected, i believe you can use corsair for this too anyways here is a map to show you how it will be

find the defiler in this map and use dark swarm (hopfully you will find it:P)
[attachmentid=18037]
Next Page (1)