QUOTE(Heimdal @ Nov 27 2006, 03:35 AM)
You're right that locations exist in the map, and the triggers reference them (not by pointer, but by index). The locations reference a string for a name (again, by index).
That is what I meant
QUOTE(Heimdal @ Nov 27 2006, 03:35 AM)
The unused locations, though, should have dimensions 0x0 and be positioned at 0,0.
Hmm... interesting...
QUOTE(Heimdal @ Nov 27 2006, 03:35 AM)
OH! I finally understand your problem. You want this to be a game template that you can play on ANY map, not just the ones you create these locations on. In that case...I don't think there's any way you can change the size of the locations. You CAN change their position using the CenterLocation action. I'm pretty sure that CenterLocation doesn't work when the target is the start location - try a mineral patch or something else.
That is why I wanted EUDs if push came to shove (which apparently did, but Blizz hates me so they removed this
). Well I can point the Start Location with and advanced editor. Or maybe a factory, since at the start you can only have 1... (for example), assuming I don't use Preserve Triggers.
QUOTE(Heimdal @ Nov 27 2006, 03:35 AM)
Also...if you're doing this in a mod, it would be possible to mod the SC engine and add the triggers to manipulate locations the way you originally asked =P.
[right][snapback]595290[/snapback][/right]
HAHA!! Actually I play to do some asm-ing later on to add some extra spells and extra effects. But later after I learn a bit more about the engine. This is my first mod ever and it is ambitious, but I gathered a lot of knowledge of the engine in a very short time and found quite a lot of unknowns in the dat filesfor DatEdit in a few weeks which many didn't in 8 years
Still if what you say is true (and it is
), I guess I could be an mean person and abuse the 0x0 locations, since if there isn't enough space, I might just be lucky enough to have the unit build next to it IF I position the location well enough to avoid direct obstructions (or use air units as pointers for moving the location if it gets too difficult).
Still, thanks Heimdal, as you confirmed a lot of things I theorized so far... I'll try to do what you suggested (which I didn't think of doing) and I might need help a bit on haxoring the files, so I hope it is OK to bug you then. IF this works out as planned, you'll have a very nice place in 2 sections: "Credits" and "Special Thanks"
And if you are into modding, you could even help if you want to, of course...
QUOTE(scwizard @ Nov 27 2006, 04:06 AM)
Before your most recent post I almost thought you were a n00b and had no idea what you were talking about.
I get that a lot
QUOTE(scwizard @ Nov 27 2006, 04:06 AM)
Ohh, your trying to create a new map style for a mod. Kind of like melee but far more complex.
Well, you can create units at start locations somehow with GOT files, like how flag beacons are created at your start location for CTF.
[right][snapback]595294[/snapback][/right]
GOOD IDEA !! There's only one problem... the TRGs are protected
If I knew the TRG format I think I might be able to recover them... perhaps a little experimentation after this week's test.