Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: inverted locations in scmdraft
inverted locations in scmdraft
This topic is locked. You can no longer write replies here.
Sep 23 2009, 12:14 am
By: samsizzle  

Sep 23 2009, 12:14 am samsizzle Post #1



In my map i need to detect when a unit has moved, right now im trying to do this by detecting when a unit is not in the walking location which is an inverted location. The problem is the location NEVER detects when the unit is inside even if i center the location on the unit. The inverted location is smaller then the units collision box.

EDIT

I did some more testing and it turns out that the inverted locations in the newest version of scmdraft (in the scmdraft topic) does not detect ANYTHING. Atleast not for me.

Post has been edited 1 time(s), last time on Sep 23 2009, 12:29 am by samsizzle.



None.

Sep 23 2009, 1:34 am Falkoner Post #2



Quote
I did some more testing and it turns out that the inverted locations in the newest version of scmdraft (in the scmdraft topic) does not detect ANYTHING. Atleast not for me.

I recently made a map that detects units perfectly well using the inverted location automatically made by SCM Draft, have you tried changing the size of it slightly? Perhaps it made it a tiny bit too big.



None.

Sep 23 2009, 3:41 am samsizzle Post #3



i made the location borders 3 pixels from the collision border going inside.



None.

Sep 23 2009, 6:21 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

Post map; do it manually; use old version.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Sep 23 2009, 10:39 am theleo_ua Post #5



Maybe you need to increase the location by 1-2 pixels in width and height?



None.

Sep 23 2009, 11:34 am JaFF Post #6



Your eyes might be fooling you. Use the unit size values from DatEdit. If this does not help, post the map.



None.

Sep 23 2009, 11:23 pm poison_us Post #7

Back* from the grave

http://www.staredit.net/wiki/Unit_Sizes

That should help with the size issue, if you're putting the values in incorrectly.




Sep 24 2009, 1:45 am samsizzle Post #8



Here's the map. The trigs for the footsteps are on the bottom of player 1's trigs, the first trig centers the location and adds deaths. And the second trig makes the sound play after a certain amount of deaths so that the sound doesn't play a kajillion times a second. And the locations are below the null at the top left of the map.



None.

Sep 24 2009, 2:02 am Kaias Post #9



The reason it isn't working is because the zealot's collision box is lower than the 'center' of the zealot. This leaves the inverted location above where the zealot is supposed to be read as 'in'. Change the vertical dimension to try an compensate.



None.

Sep 24 2009, 2:19 am samsizzle Post #10



I tried that kaias and it didn't work. It did the same thing as before.



None.

Sep 24 2009, 2:30 am Kaias Post #11



Quote from samsizzle
I tried that kaias and it didn't work. It did the same thing as before.
The window of height that it can be is extremely small, the collision size is very offset. Also, if you still want instant detection of movement you'll have to make an identical inverted location except for being 1 pixel too tall. The problem is that with a shortened height the zealot can move up and still be in it, however, with the one 1 pixel too tall, if the zealot is now in that as well, you know that it moved up.



None.

Sep 24 2009, 2:46 am rockz Post #12

ᴄʜᴇᴇsᴇ ɪᴛ!

http://www.staredit.net/topic/7635/
I wish you had told me you were using a zealot. I thought something was seriously wrong with scmdraft.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Sep 25 2009, 1:57 am samsizzle Post #13



Quote from rockz
http://www.staredit.net/topic/7635/
I wish you had told me you were using a zealot. I thought something was seriously wrong with scmdraft.
I tried 12x11 like it said in that thread and it worked. So thanks. And thanks kaias.

This topic has served its purpose...



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[01:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[01:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Roy, Oh_Man