Staredit Network

Staredit Network -> UMS Assistance -> EUD hp detection
Report, edit, etc...Posted by illpot on 2005-12-02 at 03:17:33
I want to use the hp detection conditions for a set of triggers in my map. In Uberation it asks for a unit number when adding the trigger. But my question is -

How do you find the unit numbers for a specific unit? helpsmilie.gif

Report, edit, etc...Posted by Kumano on 2005-12-02 at 06:16:59
Well, I found this once when I was looking through things randomly, but in outdated programs SCMtoolkit lists the units in that order (at least I'm pretty sure it does, I haven't really tested a lot with it and it might have just been a coincidence).

Oh, and don't get unit number mixed up with what type of unit it is, since it's the order the units were placed in.
Report, edit, etc...Posted by PCFredZ on 2005-12-02 at 14:57:01
Though I'm sure SCMDraft2 can also do this, you can open up a unit's properties in Starforge (click and hit Enter) to find its unit number, which is under "Unit Type" (left of the X-coordinates box).
Report, edit, etc...Posted by Kumano on 2005-12-02 at 14:59:08
No, Unit type will not show the unit number, the unit number is the order in which the unit was placed. Oh, and also I tested with SCM toolkit and it does work to find it.
Report, edit, etc...Posted by illpot on 2005-12-02 at 18:39:28
Where do i find SCM toolkit? It's not in the DLDB.
Thanks for the help guys.

Nevermind i found it. tongue.gif biggrin.gif
Report, edit, etc...Posted by fritfrat(U) on 2005-12-02 at 18:41:49
SCTrigger also lists the unit numbers, in quite an orderly fashion; I would suggest checking that out.

SCMToolkit is hard to set up, because you need to create a copy of your starcraft folder and set it to patch 1.07 or something. Atleast that's what I had to do to make it work tongue.gif


EDIT: Here's the link.

http://www.staredit.net/index.php?download=880
Report, edit, etc...Posted by illpot on 2005-12-02 at 18:46:40
The rabbit hole leads deeper. sad.gif
I'm getting a bit confused here.
Unit numbers are different each game because the units are created in different orders?

OR

Unit numbers are the same for every game of Starcraft because each unit has a hardcoded number?
Report, edit, etc...Posted by Kumano on 2005-12-02 at 18:57:43
If they are created in different orders, yes they will have different unit numbers. Pre-placed units should always be the same unit number though.
Report, edit, etc...Posted by The_Shattered_moose on 2005-12-02 at 19:00:20
Basically the unit number is the order in which units were placed on the map, so the first unit placed in the editor is 1, etc (I think, it might start elsewhere) So yes, unit numbers change every game, EXCEPT for in the case of preplaced units.
Report, edit, etc...Posted by fritfrat(U) on 2005-12-02 at 19:02:53
Oh shoot, I read your question wrong. My bad.

Unit Number has two associations, which way they were placed and what unit they are. SCTrigger shows the number for each unit..

Unfortunately, the Unit Type that fredz is talking about is the same thing; what unit that is, according to the number, instead of the order it was placed.

SCMToolkit is the only program I know of that actually displays the unit number in the order they were placed.. but this program is notorious for being extremely hard to set up, so I am sure this is another way.
Report, edit, etc...Posted by illpot on 2005-12-02 at 19:11:23
Would it be easier if i just manually counted? disgust.gif
Someone should really complile every map making program into one UBER(ation) program of doom.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-12-02 at 19:18:16
It's called ÜbEr@tion (with other funky letterings that i don't know on alt functions)
Report, edit, etc...Posted by DT_Battlekruser on 2005-12-02 at 20:03:49
Let me explain over all this rabble. There are two "unit numbers", both in the Glossary.

UnitID is the hardcoded number for a specific unit type. All Marines have a UnitID of 0, for instance. A full list can be found many places, I'll show it on the MemCalc frontpage http://homework.f2o.org/memcalc.py

LocalID is a number unique to each unit on a given map. (unit including buildings, powerups, and such). The first unit placed un a map has a LocalID of 0, the next has a LocalID of 1, and so forth. LocalIDs go up to 1699, the max number of units on a map (counting 0). I'm not sure how they are number as far as filling in gaps for units that die, but as far as mapping goes, the only way you're going to be able to tell a unit's LocalID is if it's preplaced.

Uber@tion is looking for LocalID.
Next Page (1)