Staredit Network

Staredit Network -> UMS Assistance -> Half-Built CC and detection of Full CC
Report, edit, etc...Posted by Owyn on 2006-07-24 at 15:09:14
My SC cant detect any non-Lifted Comand-Center, not with "command" not with "bring" triggers... >.< why? ):

and i was wondering if any1 could afford me an ID of half-builded CC, so i would be able to "move" it or detect with "bring".
or AI Script that commands an SCV to start building Comand Center... please.
Report, edit, etc...Posted by DuRo on 2006-07-24 at 15:34:31
QUOTE
My SC cant detect any non-Lifted Comand-Center, not with "command" not with "bring" triggers... >.< why? ):

and i was wondering if any1 could afford me an ID of half-builded CC, so i would be able to "move" it or detect with "bring".
or AI Script that commands an SCV to start building Comand Center... please.


umm....wut....i dun understand problem....
Report, edit, etc...Posted by MindArchon on 2006-07-24 at 15:59:12
First of all is the problem with detecting the command centers only on your Starcraft or does it not work with anybodies?

The reason MAY be that you unchecked off several of the location elevations so it cannot detect it properly.

http://www.staredit.net/index.php?tutorial=11
Report, edit, etc...Posted by Owyn on 2006-07-24 at 17:17:17
QUOTE(MindArchon @ Jul 24 2006, 11:58 PM)
First of all is the problem with detecting the command centers only on your Starcraft or does it not work with anybodies?

The reason MAY be that you unchecked off several of the location elevations so it cannot detect it properly.

http://www.staredit.net/index.php?tutorial=11
[right][snapback]530490[/snapback][/right]

i think it is with everybody... why only me? O.o
no, if cheched first everything it could be as i knew before i came here.
i think that detecting CC is just impossible, but i ask you guys... and wonder if there is any other way to solve may problem with making my map.

[any unit] not working on CC too, not just "terran CC", nothing, it just doesnt count as a unit... or a building...
We see hp of half-built building, We can kill or cancel half-built building, so it must have ID or something and current percent /100% built. i couldnt find it, mb you did?
Cuz i need it on my map ;
Report, edit, etc...Posted by fritfrat(U) on 2006-07-24 at 17:46:20
I get what you mean now. You can't detect half built buildings through "bring" or "command." This is the basis of the map Bomberman, where you build pylons and they explode once they finish.

I just made a test map, and they cannot even be acted on by the Move trigger. They can be acted on by the Give trigger, though, so you could always have it so they be killed and detect razings..

I have to go. I'll do more tests when I get back later tonight.
Report, edit, etc...Posted by Mini Moose 2707 on 2006-07-24 at 18:02:01
You can also move location to a partially built building.
Report, edit, etc...Posted by fritfrat(U) on 2006-07-24 at 22:48:55
Alright, I followed up with the razings idea. That DOES work, in that killing an incomplete building counts both in score and kill counter of that unit. Killing by trigger does NOT raise the death count of the unit, but killing by unit DOES raise the death count of the unit. You can use this to detect them.

Problem is with those is that you have to kill the building, which may not be what you want. If not, I'd recommend this:

At the top of the trigger order, have a trigger always running with "center location (X) on terran command center owned by player X in (parent location, likely anywhere)" and "move (a pre-placed pylon in the corner, in this case; can be anything) to location (X)". Now, at the very center of the parent location, place a pylon.
In the middle of the trigger list, have "if (whatever player) brings exactly 0 pylon to (X)," then "center location (Y) on command center owned by (owner)," and set whatever other kind of thing you need to distinguish that you have an incomplete building at (Y).
Then at the end of the trigger order, move all pylon at (X) to it's starting position in the corner.

Sorry if it's complicated and hard to read, but I stated it more as an idea that it's possible more than directions. Good luck with your mapping!
Next Page (1)