Staredit Network

Staredit Network -> UMS Assistance -> Top Effect help?
Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-20 at 23:52:42
If anybody has played with fireworks this one has diffrent names. It spins and buzzes like a top and shoots sparks out.

Im looking for a system to have an obs spin around in a circle(like a top) and move around randomly(while spinning like a top) But not to far and not to fast. Very much like a top and that firework of which i forgot the name off. Also it would have to stay in a 16x16 area. I thought this over and thought of nothing. Triggers or examples would be great.
Report, edit, etc...Posted by IanMM on 2006-02-21 at 11:03:29
Make them for computer player:


Trigger
Description:
The first trigger
Players:
¤ Computer player
Conditions:
¤ Some conditions
Actions:
¤ Command orbs to move to 16x16 location.
¤ set switch




Trigger
Description:
Trigger two
Players:
¤ Computer
Conditions:
¤ Switch 1 is set
Actions:
¤ Run AI Script at location 16x16: Make these units roam (Junkyard Dog)
¤ Preserve trigger.


Trigger
Description:
switch 1 is set
Players:
¤ computer
Conditions:
¤ switch 1 is set
¤ Current player controls 0 orbs
Actions:
¤ Clear switch1

Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-25 at 04:51:58
After checking your triggers I found that those were described wrong and if described right could have been done in 1 trigger instead of 3. Could I get something better from someone please?
Report, edit, etc...Posted by PCFredZ on 2006-02-25 at 15:10:05
Tops don't spin randomly. Put some ink on the bottom and spin it on paper and you'll have yourself a nice painting of oscillatory motion.
Report, edit, etc...Posted by flipmonkey on 2006-02-25 at 15:32:58
Tops fireworks, what ever. they all spin in one directions they dont go all crazy and stuff.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-25 at 18:11:21
well something like a top. That was an example.
Report, edit, etc...Posted by Noober on 2006-02-25 at 18:23:29
You could try something like this... it probably won't work, but you can try.
You need a comp with an obs, a 16x16 location, and 1x1 location. Also, hyper triggers.

Trigger 1

Player with spinning obs
====
Always.
====
Junkyard dog at 1x1 loc.
Issue order move for all obs owned by current player at 16x16 loc to 1x1 loc.
Center 1x1 loc on obs owned by comp w/ obs at 16x16 loc.
Preserve.


Trigger 2

Comp w/ obs
====
Always.
====
Junkyard dog at 16x16 loc.

And then you need some way to keep the comp obs in the 16x16 loc. I think there's a unit halt tutorial in the tutorials.
Report, edit, etc...Posted by A_of_s_t on 2006-02-25 at 23:44:33
it kind of worked whne i tested it... it spiraled then went crazy.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-26 at 04:18:32
I need it to move sorta slowly like a top. I cant have it vroom and such.
Report, edit, etc...Posted by PCFredZ on 2006-02-26 at 10:04:01
QUOTE(Kept_Wheat @ Feb 26 2006, 04:18 AM)
I need it to move sorta slowly like a top. I cant have it vroom and such.
[right][snapback]434940[/snapback][/right]

Then add some waits.
Report, edit, etc...Posted by Syphon on 2006-02-26 at 10:38:56
You could make a mobile grid around it then do something like this spiffy craptacular drawing, starting at the center it goes to the top right, which, beig a mobile grid, would become the center, then it moves to the top left which is then the center. this would make it move in a spiral fasion from a central starting point? It would look kinda random.

CODE

+---+---+---+
|   |   |   |
+---+---+---+
|   | O |   |
+---+---+---+
|   |   |   |
+---+---+---+

+---+---+---+
|   |   | O |
+---+---+---+
|   |   |   |
+---+---+---+
|   |   |   |
+---+---+---+

+---+---+---+
| O |   |   |
+---+---+---+
|   |   |   |
+---+---+---+
|   |   |   |
+---+---+---+

+---+---+---+
|   |   |   |
+---+---+---+
|   |   |   |
+---+---+---+
| O |   |   |
+---+---+---+

+---+---+---+
|   |   |   |
+---+---+---+
|   |   |   |
+---+---+---+
|   |   | O |
+---+---+---+
Report, edit, etc...Posted by Noober on 2006-02-26 at 12:01:15
Don't tops spin fast? If they spin slow, they fall over.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-26 at 19:59:05
No spin fast but not go from point (a--------------------------b) to fast. needs to spin fast but move slow.
Report, edit, etc...Posted by Noober on 2006-02-26 at 20:46:39
So center the loc on an ovie or something, and have the ovie junkyard dog.
Report, edit, etc...Posted by Demaris on 2006-02-26 at 23:44:52

Ok, here is a way to do this.

(It's long)



Trigger
Description:
Spinning motion
Players:
¤ Player 1
Conditions:
¤ Always
Actions:
¤ Create 8 "Zerg Overlord" at "top" for player 1
¤ center location "top movement" on "Zerg Overlord" owned by player 1
¤ Order all "Protoss Observer" at "Top", Move to "Top Movement"
¤ wait 150 ms (not tested, may be shorter or longer, just enough for the unit to look in the direction)
¤ Remove one "Zerg Overlord" for player 1 at anywhere
¤ center location "top movement" on "Zerg Overlord" owned by player 1
¤ Order all "Protoss Observer" at "Top", Move to "Top Movement"
¤ wait 150 ms (not tested, may be shorter or longer, just enough for the unit to look in the direction)
¤ Remove one "Zerg Overlord" for player 1 at anywhere
¤ center location "top movement" on "Zerg Overlord" owned by player 1
¤ Order all "Protoss Observer" at "Top", Move to "Top Movement"
¤ wait 150 ms (not tested, may be shorter or longer, just enough for the unit to look in the direction)
¤ Remove one "Zerg Overlord" for player 1 at anywhere
¤ center location "top movement" on "Zerg Overlord" owned by player 1
¤ Order all "Protoss Observer" at "Top", Move to "Top Movement"
¤ wait 150 ms (not tested, may be shorter or longer, just enough for the unit to look in the direction)
¤ Remove one "Zerg Overlord" for player 1 at anywhere
¤ center location "top movement" on "Zerg Overlord" owned by player 1
¤ Order all "Protoss Observer" at "Top", Move to "Top Movement"
¤ wait 150 ms (not tested, may be shorter or longer, just enough for the unit to look in the direction)
¤ Remove one "Zerg Overlord" for player 1 at anywhere
¤ center location "top movement" on "Zerg Overlord" owned by player 1
¤ Order all "Protoss Observer" at "Top", Move to "Top Movement"
¤ wait 150 ms (not tested, may be shorter or longer, just enough for the unit to look in the direction)
¤ Remove one "Zerg Overlord" for player 1 at anywhere
¤ center location "top movement" on "Zerg Overlord" owned by player 1
¤ Order all "Protoss Observer" at "Top", Move to "Top Movement"
¤ wait 150 ms (not tested, may be shorter or longer, just enough for the unit to look in the direction)
¤ Remove one "Zerg Overlord" for player 1 at anywhere
¤ center location "top movement" on "Zerg Overlord" owned by player 1
¤ Order all "Protoss Observer" at "Top", Move to "Top Movement"
¤ wait 150 ms (not tested, may be shorter or longer, just enough for the unit to look in the direction)
¤ Remove one "Zerg Overlord" for player 1 at anywhere
¤ Preserve Trigger


Aren't mobile grid triggers fun? I don't know if you can even fit that in one trigger....




Trigger
Description:
Other part.
Players:
¤ Player 2 (Player with hypers)
Conditions:
¤ Always
Actions:
¤ Order all "Protoss observer" owned by player 1 at "Top", move to "Final top location"
¤ Preserve Trigger



and voila. a little tweaking and it should work.


Report, edit, etc...Posted by A_of_s_t on 2006-02-27 at 00:11:38
nope, doesnt fit in one trigger lol. NOW THAT IS A LONG DEMARIS!!! But your Demaris and is known for long posts, w/e.

Jeesh, how many minerals did u get out of that post?
Report, edit, etc...Posted by Noober on 2006-02-27 at 15:10:24
Instead of using ovies, just make 8 locations in a square arrangement and keep moving it to one of them, while moving the obs around.

For example,
[] [] []
[] obs []
[] [] []
Report, edit, etc...Posted by fritfrat(U) on 2006-02-27 at 18:19:53
I agree with noober's explanation, it is probably the easiest. Just move the locations if you need the top to move.

You could have players 9, 10, and 11 all have an obs as well, making it so they are all being ordered to go to different sides and corners, making it 4x the spinning madness smile.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-27 at 23:28:45
Noober that wouldnt work since u couldnt move locations with the obs.
Frit this isnt just specifal effects it has an actual use and i need it to move around.

Ok i could use a mobile grid(I already knew that) but how would i get the top to randomly move around?
Report, edit, etc...Posted by Conquer)Fa( on 2006-02-28 at 14:12:15
What is this effect for? I used to make pointless maps with single effects with explosions and units and I had about maybe 30 of them or so, they just waste space eventually. However this seems like a good idea to waste time on, so it's not really wasting is it? But w/e if you figure out how to work this you should put it in something like an rpg or a movie biggrin.gif. Sorry but I don't think theres a way to make this work smoothly without making it look choppy.

To make it random you could have a queen on junk yard dog (You'll probobly need a bigger map then, maybe 40x40 or something,) and have it so the queens junk yard dogging around locations that create an overlord on the grid and order the observer to go to a location thats centered on the overlord after its created, measure how long u need for the observer to start moving in that direction, remove the overlord, see where the queen is and make another overlord on the grid and... *inhales* that should work.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-02-28 at 20:46:57
Conquer, most of what you said was pretty useless. This is NOT AN EFFECT and will have actual uses in game. But you just gave me some great ideas on how to get this thing to move around randomly.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-21 at 16:37:41
I still need a way to get this top to randomly move around. Its not an effect. Its going to be like a tornado that moves around and if u touch it you died. It will be in a 16x16 spot and cant get out of it and will randomly move around in it.

ADDITION:
Wtf Double Post?
Report, edit, etc...Posted by Kyuubi. on 2006-03-21 at 16:48:29
hyper triggered junkyard on the observer would make it spin widely and crazy. it won't move very far though...maybe for an effect you can have a recall vortex constantly casting on it...it might look like a tornado...well the recall would make it a nice effect even if the observer can't be seen. just keep centering the location on the observer and make another computer player cast recall on it...

if this doesn't help i'll come with something else
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-21 at 16:55:28
It would be a blood tornado.
Report, edit, etc...Posted by Kyuubi. on 2006-03-21 at 16:57:39
QUOTE(Kept_Wheat @ Mar 21 2006, 01:55 PM)
It would be a blood tornado.
[right][snapback]449956[/snapback][/right]

can still keep the recall effect and add constant spawning and dying units like a burrowed zergling,scourges, or other things spewing out of it...just a few ideas...
or also add the dying units when it hits something
Next Page (1)