Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Anywhere location not working
Anywhere location not working
Jun 25 2014, 3:32 am
By: sigsaucy  

Jun 25 2014, 3:32 am sigsaucy Post #1



I have a trigger that converts any corsair you own into a dropship

when i tested it heres what happened

-built corsair
-dropships spawn at top left corner of the map




i got the trigger to work by replacing the part with

center location "COVERT" on corsair at "ANYWHERE"

with

center location "COVERT" on corsair at "WHOLEE"

where WHOLE is a location I made that covers the entire map.





I've done triggers like this plenty of times and have never had any problems before.

What is going on? Did i somehow delete the anywhere location?

the problem seems to be that when i try to center a location on a unit at "anywhere", it doesnt work.



When i was creating locations it skipped from location 62 to location 64, and i know that the 64th location is the one reserved for anywhere.

Have i broken the anywhere location somehow?

thanks

Trigger("All players"){
Conditions:
Command("Current Player", "Protoss Corsair", At least, 1);

Actions:
Move Location("Current Player", "Protoss Corsair", "anywhere", "convert");
Remove Unit At Location("Current Player", "Protoss Corsair", 1, "convert");
Create Unit("Current Player", "Terran Dropship", 1, "convert");
Preserve Trigger();
; Comment("Corsair");
Display Text Message(Always Display, "BOAT");
}




Jun 25 2014, 3:46 am jjf28 Post #2

Cartography Artisan

if "anywhere" is somehow incorrect i can fix if you attach or pm it



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jun 25 2014, 6:20 am sigsaucy Post #3



here you go, the trigger is the first one owned by "all players". thanks.

Attachments:
War in the North.scx
Hits: 3 Size: 140.69kb

Post has been edited 2 time(s), last time on Jun 25 2014, 7:04 am by sigsaucy.




Jun 25 2014, 6:25 am jjf28 Post #4

Cartography Artisan

forgot to hit "Attach This" ?



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jun 25 2014, 7:04 am sigsaucy Post #5



whoopz, fixed it




Jun 25 2014, 7:33 am jjf28 Post #6

Cartography Artisan

looks as though you ran it through a compressor once already? see if this has fixed

REDACTED

Post has been edited 1 time(s), last time on Jun 27 2014, 4:29 pm by jjf28.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jun 25 2014, 10:17 pm sigsaucy Post #7



i never used a compressor, i tried running your map but it crashed broodwar as soon as i selected it from the list. never seen a map do that before

Post has been edited 1 time(s), last time on Jun 25 2014, 10:26 pm by sigsaucy.




Jun 25 2014, 10:30 pm Roy Post #8

An artist's depiction of an Extended Unit Death

Did you create the map with SCPM or some other specialized editor? Did you resize the map at any point in time? These can cause the Anywhere location to not cover the entire map.

You could export everything and import it onto a freshly-made map to fix this issue. You could use this program to do that: http://www.staredit.net/files/460/




Jun 25 2014, 10:40 pm sigsaucy Post #9



i used mapsketch to create the initial map, then i used scmdraft 2 to edit it. i never resized it.




Jun 25 2014, 11:23 pm Roy Post #10

An artist's depiction of an Extended Unit Death

MapSketch would count as a specialized editor. It doesn't properly size the Anywhere location for anything other than a 128x128 map. Because your map size is 256x256, your Anywhere location is probably only covering 1/4th of the map (the top-left segment).

Edit: after testing a map created with MapSketch, it seems like the Anywhere location only covers about 10x10 tiles in the top-left corner.




Jun 27 2014, 2:09 pm KoKo_PiDeRaS Post #11



how does one change/fix the size of the anywhere location?



None.

Jun 27 2014, 2:13 pm Roy Post #12

An artist's depiction of an Extended Unit Death

There's no tool that I know of that fixes it. You'd have to export everything to a clean map.

This is why you always copy the terrain generated from a picture mapping program onto a new map: they often have small quirks in the generated map that is not worth the hassle of trying to correct.




Jun 27 2014, 3:31 pm NudeRaider Post #13

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

Quote from Roy
There's no tool that I know of that fixes it.
Hex editor. Though you'd have to know where to look in the scenario file and how to change it. Rockz already did it when he was more active but I assume there's several more people that could tell you what you need to know.

However you could use SC Map Importer/Exporter to only import the location layer. Should be less work than copying everything else to a new map. He'd have to redo every location regardless.




Jun 27 2014, 4:28 pm jjf28 Post #14

Cartography Artisan

think i did better this time: http://puu.sh/9My1g/7829d05d47.scx



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jun 27 2014, 7:31 pm O)FaRTy1billion[MM] Post #15

👻 👾 👽 💪

Quote from Roy
Edit: after testing a map created with MapSketch, it seems like the Anywhere location only covers about 10x10 tiles in the top-left corner.
I didn't know that. xD Nobody told me.



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: RIVE, IlyaSnopchenko