Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Location Centering
Location Centering
Jul 24 2008, 4:41 pm
By: Cheathunta  

Jul 24 2008, 4:41 pm Cheathunta Post #1



How do i make it so a location is centered on a unit at all times? I tried:

Con:
Always
Actions:
Center location on civilian

Preserve

------------

But for some reason, it didnt work. Why is this?



None.

Jul 24 2008, 4:49 pm Kaias Post #2



Make sure you choose the correct player that owns the civilian and make sure you run the trigger for a player that is actually there.

Centering a location only centers it on the leftmost of the unit you specific owned by the player you specify. Although it would be nice, you can't just center it on all of them.

And unless you have that specific civilian the entire time and need it on him all the time, I wouldn't condition "always"



None.

Jul 24 2008, 4:53 pm Cheathunta Post #3



Well, the player starts out with 1 civ, so i wanted the location to be on him at all times.



None.

Jul 24 2008, 4:59 pm Kaias Post #4



Current Player brings at least 1 Terran Civilian to Anywhere
-----
Center Location "Civ Location" on Terran Civilian at Anywhere for Current Player
Preserve

I don't know the specifics of your map of course. Are you sure it isn't centering on him? I like to create an effect at a location if I'm not sure where it's going. I.E.

Current Player brings at least 1 Terran Civilian to Anywhere
-----
Center Location "Civ Location" on Terran Civilian at Anywhere for Current Player
Create 1 Protoss Shuttle at "Civ Location" for Current Player, Apply Properties: Hallucinated
Kill all Protoss Shuttle for Current Player
Preserve



None.

Jul 24 2008, 7:00 pm NudeRaider Post #5

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

Yeah maybe the location IS centered but when you run the trigger for another player that uses that location the location has already been moved to another player's civ?




Jul 24 2008, 8:38 pm BaneOfRome Post #6



Well you could also have the location follow him as he moves...
I'm not exactly sure if this is it but I think it's something like:

Conditions
"Current player brings at least one civilian to anywhere."

Actions
"Center location X on civilian at anywhere."
"Move location X with civilian at location X."
"Preserve Trigger."

Not sure about the wording once again but I think this is pretty accurate.



None.

Jul 25 2008, 5:57 am Falkoner Post #7



Make sure you don't use Always as the condition when centering locations on a unit, because if the unit dies or something the location will be moved to the middle of the location you tell it to center on the unit in, just use Bring instead. I've found the hack called KCernal(look it up on google, I can't post) incredibly handy, as it has a location viewer in it, so you can use that to make sure the location is in the right spot.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:53 pm]
TheHappy115 -- such as things like Center View work differently on online play (instant on online while single moves the screen slowly and pauses)
[08:52 pm]
TheHappy115 -- I had played spellsword on Remastered roughly 3 - 4 years and it worked fine so not sure why it doesn't work now. Big Rips. I know there is some form of trigger that detects whether its online or not but I imagine it has something to due with latency
[2022-5-23. : 10:53 pm]
Butch -- prob some weird character on a string somewhere or something dumb like that
[2022-5-23. : 9:50 pm]
Ultraviolet -- It's weird indeed, not really sure what is so special about Spellsword that causes it to react differently on Remastered, usually EUDs are the cause of things like that
[2022-5-23. : 5:35 pm]
Zoan -- I haven't played in like 2 years so maybe something changed I don't know about
[2022-5-23. : 5:35 pm]
Zoan -- No-Name-Needed-II
No-Name-Needed-II shouted: Zoan No idea if anything changed.. I've made several maps that push TMOANC to the limit and they are still working.. 3 causes of it I've narrowed down are -Too many islands which some terrain on certain tilesets can create micro islands on cliff edges with basic isometric.. -Too many changes in elevation from high to mid to low ground.. -And too many tiles from certain doodads that block tank fire..
Any clue as to why a map which would previously work fine on past patches would now suddenly not work on the current remastered patch?
[2022-5-23. : 5:34 pm]
Zoan -- I'll try Butch's suggestion of running in 32-bit, maybe that will fix it?
[2022-5-23. : 5:34 pm]
Zoan -- Oh_Man
Oh_Man shouted: Did martiss' link not work?
It crashes as it does when you use EUD's incorrectly - like it closes starcraft and has the error window pop up with a ticket to send to Blizzard. I know it's not EUDs though since obviously spellsword doesn't use any, so IDK what it is.
[2022-5-23. : 3:19 pm]
No-Name-Needed-II -- Zoan No idea if anything changed.. I've made several maps that push TMOANC to the limit and they are still working.. 3 causes of it I've narrowed down are -Too many islands which some terrain on certain tilesets can create micro islands on cliff edges with basic isometric.. -Too many changes in elevation from high to mid to low ground.. -And too many tiles from certain doodads that block tank fire..
[2022-5-23. : 12:21 am]
Oh_Man -- Wat precisely is wrong with spellsword now?
Please log in to shout.


Members Online: Roy, Oh_Man