Move Location
Apr 6 2008, 6:06 pm
By: stickynote  

Apr 6 2008, 6:06 pm stickynote Post #1



If you center a location on the a unit on the edge of the map, will the location go off the map?



None.

Apr 6 2008, 6:07 pm Demented Shaman Post #2



no, the location will go right up to the edge of the map, so therefore the location won't be completely centered on the unit.



None.

Apr 6 2008, 6:52 pm Falkoner Post #3



It will bounce off the edge of the map if it would be going outside it.

But recently Kenoli posted a little discovery that if you modify location properties, so that its coordinates are inverted(Top left and Bottom Right switch) then it can go outside the map, but it doesn't detect conditions like most locations, they have to be touching all edges of the location at once to be detected. It works well if you don't need to use the location to detect anything, I've been using it in my Movie Contest map and it is working just fine.



None.

Apr 6 2008, 9:50 pm Rawr Post #4



What would happen if you had an irregular map size that was smaller than the location you made?



None.

Apr 6 2008, 9:51 pm Falkoner Post #5



Preplaced locations will go outside the map, but I'm not sure what would happen if you tried to center it then.



None.

Apr 6 2008, 10:58 pm DaMiNaToR Post #6



Quote from Falkoner
But recently Kenoli posted a little discovery that if you modify location properties, so that its coordinates are inverted(Top left and Bottom Right switch) then it can go outside the map, but it doesn't detect conditions like most locations, they have to be touching all edges of the location at once to be detected. It works well if you don't need to use the location to detect anything, I've been using it in my Movie Contest map and it is working just fine.

Wtf... how do you do that? :wtfage:



None.

Apr 6 2008, 11:05 pm A_of-s_t Post #7

aka idmontie

Starforge, you can edit each point of a location in its properties.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Apr 6 2008, 11:27 pm Twitch Post #8



Quote from A_of-s_t
Starforge, you can edit each point of a location in its properties.
Scm Draft can aswell >.>



None.

Apr 7 2008, 12:25 am Falkoner Post #9



Just double click the location (SF or SCM) and then swap the top and bottom, and the right and left coordinates.



None.

Apr 7 2008, 11:01 am Brontobyte Post #10



Quote from Falkoner
It will bounce off the edge of the map if it would be going outside it.

But recently Kenoli posted a little discovery that if you modify location properties, so that its coordinates are inverted(Top left and Bottom Right switch) then it can go outside the map, but it doesn't detect conditions like most locations, they have to be touching all edges of the location at once to be detected. It works well if you don't need to use the location to detect anything, I've been using it in my Movie Contest map and it is working just fine.

Hear ye, hear ye.

This map here http://www.staredit.net/?file=189 is what you are looking for. It demonstrates how inverted location can move off the side of the map.

How does it work?

Simple, it centers an inverted location over top of a Protoss Corsair. The location is the size of the map. (64x64) Then, it creates a unit and destroys it. As you will notice, it is always created underneath the unit even though that it is near the edge of the map.

Problem:

When you move the Corsair to one of the bottom corners, left or right, it comes up with an error. This must be because you can't create a unit, even in an editor, and have it in the bottom two squares. (normal grid) Or so I think. Is this correct?



None.

Apr 7 2008, 12:55 pm Falkoner Post #11



Yeah, that's probably it, since the location might be attempting to create the unit outside the map then. :\



None.

Apr 7 2008, 1:32 pm NudeRaider Post #12

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Why using an inverted 64x64 location? Centering a regular 1x1 location would create the same effect, wouldn't it?




Apr 7 2008, 6:52 pm Brontobyte Post #13



Quote from NudeRaider
Why using an inverted 64x64 location? Centering a regular 1x1 location would create the same effect, wouldn't it?
Yes it would, but its just to show the user how an inverted location could go off the edge of the map. :-_-:



None.

Apr 7 2008, 9:54 pm Falkoner Post #14



Still, I want to find out how centering a location larger than the map works. I might test it some time today.



None.

Apr 7 2008, 11:28 pm stickynote Post #15



you could try creating a larger mapsize, make your location, invert it, then shrink your map.



None.

Apr 7 2008, 11:45 pm Falkoner Post #16



Well, I don't care about the inverting, I can make a location outside the map simply by changing its coordinates.



None.

Apr 8 2008, 11:05 am Brontobyte Post #17



Quote from Falkoner
Well, I don't care about the inverting, I can make a location outside the map simply by changing its coordinates.
Some Questions:

That simple? Does the game crash? You just change the coordinates of the location to something that would go outside of the map? Scmdraft2 or Starforge? Do you have to change any properties in your editor? Won't the location "bounce" back in the editor?



None.

Apr 8 2008, 12:28 pm Falkoner Post #18



It only bounces when you center it, both editors can edit location coordinates, I am using it in Movie Contest Emerald and there is no problems to far, and it is a 256x256 map.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy