This may have come up before.. I vaguely recall reading something like this before, but I'm not sure.
It's a glitch in the StarForge map re-size function, if the map is made bigger, Anywhere stays the original size.
I always thought of the Anywhere location as a logical implementation, not a physical one.
This gave me very strange errors when I was testing. Luckily I figured it out quickly as the problems were in the new part of the map only with triggers using the Anywhere.
To remedy this just run re-size the map in SCMDraft2. You don't even have to change anything in the dialog, just hit the "Resize/Change Tileset" button.
While in my case it was a glitch, maybe someone might want to make a map with the anywhere location being a specific size.
I don't know of any editors that directly let you edit this location though.
Here is a map where the Anywhere location is only 8x8 and [0,0] origin (this technique can't change the origin).
I don't know what would happen if you scaled down a map, and the Anywhere location was able to access areas off the map (if what's possible).
Who knows, it might be possible to create units in very strange places, or discover useful memory leaks. But I'm not going to play with that.
Attachments:
None.
Yeah, Anywhere is pretty much the same as any other location. Resizing it isn't very practical though. Having a location that covers the whole map is super convenient, which is probably why they decided to have new maps start with one by default.
None.
Is that why the max locations is 254 and not 255?
Because that would make perfect sense.
None.
yup, Anywhere takes up one location slot
None.
Is that why the max locations is 254 and not 255?
Because that would make perfect sense.
Anywhere is Location 63. The max is 254 because in triggers a value of 0 for the location means "no location", and so a value of 255 is Location 254.. and I guess they wanted to keep the index a byte.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
wAit so if i resize my map, then my anywhere location changed size? Crap.
None.
Is that why the max locations is 254 and not 255?
Because that would make perfect sense.
Anywhere is Location 63. The max is 254 because in triggers a value of 0 for the location means "no location", and so a value of 255 is Location 254.. and I guess they wanted to keep the index a byte.
I was told that at one point their used to be a location limit of 0-63 before it got patched or the editor expanded it. w/e. ;o
None.
I was told that at one point their used to be a location limit of 0-63 before it got patched or the editor expanded it. w/e. ;o
Yes. Luckily they realized that 64 locations wasn't going to cut it anymore.
Or maybe they just wanted to go crazy.
This is that mission where Raszagal dies.
None.
I have noticed something strange in SCMDraft... occasionally in maps that near the 255/256 (debatable) limit, the last location gets taken up by a random (?) string. Does anyone have a clue as to why? I figure this is important as it goes along with the whole "how many locations are in SC" I believe its 256 except the last one cannot be used. Also i had thought that there was a 63-64 location limit only in orig SC.
"If a topic that clearly interest noone needs to be closed to underline the "we don't want this here" message, is up to debate."
-NudeRaider
I believe its 256 except the last one cannot be used.
That would sort of make it 255.
None.
I have noticed something strange in SCMDraft... occasionally in maps that near the 255/256 (debatable) limit, the last location gets taken up by a random (?) string. Does anyone have a clue as to why? I figure this is important as it goes along with the whole "how many locations are in SC" I believe its 256 except the last one cannot be used. Also i had thought that there was a 63-64 location limit only in orig SC.
It's a string bug in Scmdraft, but it is benign and doesn't actually take up a location.
None.
In every map, there is either 64 or 255 locations. It is not debatable, it is how big the section is. In the chk, if the "VER " section is 0x003B (retail), then the "MRGN" (location) section is 64 locations big. If the "VER " section is 0x003F or 0x00CD (1.04 enhanced/Brood War) the "MRGN" section is 255 locations big. The 63rd location (or the last one in a retail map and an arbitrary one otherwise) is "Anywhere". Depending on your map type, you either have 63 non-Anywhere locations or 254 non-Anywhere locations.
Unused locations (in StarEdit) have one or both dimensions (width/height) that equal 0. Most other editors (as far as I know) unused locations have coordinates of (0,0),(0,0).
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!