Staredit Network

Staredit Network -> UMS Assistance -> Creating rock sprite
Report, edit, etc...Posted by Falkoner on 2006-06-13 at 10:13:39
Okay, I got the rock sprite thing but now I don't got it... I tried doing the second way, but lil-shorty didn't clarify, is it multiple triggers? one trigger? Can someone please list the triggers needed, and, if it isn't too much, can someone post an image on what the rock looks like.
Report, edit, etc...Posted by Corbo(MM) on 2006-06-13 at 13:52:38
it has to be just one trigger i think.

I made my own method about creating rock sprites in game too tongue.gif
You disable a unit like science vessel, turret in others and then you remove them and then you should have a rock sprite!
the bad thing is that you can't see when you are making it...or you'll crash!
Here's a fast map i made.
[attachmentid=19394]
Report, edit, etc...Posted by A_of_s_t on 2006-06-13 at 15:51:53
There is a map in the Expiremental Section in the DLDB where u seige a tank and a rock sprite is created, and u are allowed to see it happen. confused.gif But, I dont know how to do it...
[attachmentid=19398]

Its done in a couple of trigs ( i think )


Trigger
Description:
Create Rock Sprite
Players:
¤ P1
Conditions:
¤ Current Player brings on Seige Tank Type 2 to anywhere.
Actions:
¤ Center Loc. #1 on Siege Tank T2 at anywhere
¤ Remove 1 men for current player at Loc. #1
¤ Create 1 Missle Turret at Loc. #1 for P8
¤ Wait 5 milliseconds.
¤ Remove 1 [building] at Loc. #1 for P8.



Trigger
Description:
Junk Yard Dog
Players:
¤ P8
Conditions:
¤ Always
Actions:
¤ Exicute AI script Junk Yard Dog at Anywhere
¤ Preserve Trigger



Trigger
Description:
Move
Players:
¤ P1
Conditions:
¤ Always
Actions:
¤ Move all men at Loc #2 to Loc #2 ( Loc #2 is a location that covers all of what the Siege Tank can move to )
¤ Preserve Trigger


I'm not sure all of these triggers are needed.
Report, edit, etc...Posted by Kenoli on 2006-06-13 at 16:25:15
QUOTE(Falkoner)
Okay, I got the rock sprite thing but now I don't got it... I tried doing the second way, but lil-shorty didn't clarify, is it multiple triggers? one trigger? Can someone please list the triggers needed, and, if it isn't too much, can someone post an image on what the rock looks like.
In order for the missile-turret/junk-yard method to work you need to wait for the ai script to actually take effect. This could be a simple as adding a small wait before you remove the turret.

The rock sprite looks like this:
user posted image
Note that the sprite was not created on top of the tank (which is where the turret was)
When you create a sprite it will be higher up from where the unit was.

Next Page (1)