Staredit Network

Staredit Network -> Ideas -> Speed Detection
Report, edit, etc...Posted by ragnarokk on 2005-10-23 at 13:52:36
I'm just wondering if anyone here has enough brains to make a system to detect a units speed. I've done it myself but im wondering if how many other people can.
Report, edit, etc...Posted by Ultimo on 2005-10-24 at 01:00:48
Detect a unit's speed? Like find out how fast one unit goes, like 2.2 isometric squares per second? Or something along the lines of the move speed tutorial, which does everything in comparsion of an overlord.
Report, edit, etc...Posted by Sniper on 2005-10-24 at 01:35:44
Well if your gonna brag..could you show us how you did it?
Report, edit, etc...Posted by FallenDreamer on 2005-10-25 at 00:09:18
There's a really basic way to do it. Actually, that gives me a funny idea... Nvm, ill be back later with a map if I feel humored enough to do it. =P Haha, i'm too silly for my own health.. -_-'
Report, edit, etc...Posted by Oo.Insane.oO on 2005-10-26 at 15:54:51
I think I know how 2 do it

Math Must be done in head unless you add system

Do something like this


Trigger
Description:
Start Units
Players:
¤ player 7 or 8
Conditions:
¤ Bring one unit to location: Start Distance Reader
¤ Set Switch 1
Actions:
¤ Order Unit To Location End Distance Tester



Trigger
Description:
Time Counter
Players:
¤ Player 6
Conditions:
¤ Switch 1 is set
Actions:
¤ Create 1 (Any Unit) for player 5 at location: Time Slot
¤ Wait 1 Second
¤ Preserve Trigger



Trigger
Description:
Stop Timer
Players:
¤ Player 7 and 8
Conditions:
¤ Any unit touches location: End Distance Time
Actions:
¤ Clear Switch 1


Triggers can be edited to fit your map

I think that would work with some touch ups




Report, edit, etc...Posted by Urmom(U) on 2005-10-26 at 16:51:48
that would only display it for whole seconds. check this out.
Trigger
Conditions:
¤ Brings at least 1 men to 'Start Run'
Actions:
¤ Set Switch 1
¤ Order all men at 'Start Run' move to 'End Run'


Trigger
Conditions:
¤ Switch 1 is set
Actions:
¤ Set deaths for player 1: Add 1 for Left Wall Flame Trap
¤ Preserve Trigger


Trigger
Conditions:
¤ Current Player brings at least 1 men to 'End Run'
Actions:
¤ Clear Switch 1


Trigger
Conditions:
¤ Always
Actions:
¤ Display leaderboard for most deaths of Left Wall Flame Trap


then you can just divide by the amount of square blocks the unit traveled. Of course, it uses Hyper Triggers.
Report, edit, etc...Posted by Oo.Insane.oO on 2005-10-26 at 19:45:39
O yeah I didnt think that my triggers would only show whole seconds you could add a millisecond one like this

Trigger
Description:
Millisecond
Players:
¤ Player 8
Conditions:
¤ Switch 1 is set
Actions:
¤ Create 60 zerg eggs at location Millisecond watcher
¤ wait 1 second
¤ preserve trigger


Or something like that would work to make the milliseconds 2 my idea but it would be kinda hard 2 add up.I think your deathcounter meathod would work better tho Urmom.
Next Page (1)