• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Pathing affects location?

Status
Not open for further replies.
Level 12
Joined
Nov 3, 2013
Messages
989
Unlike units structures have specific pathing instead of just a circle, does this affect the location? E.G unit's have circles so they've got radiuses -> equal distance in any angle from center to edge but structures have specific pathing so their 'location' could possibly be affected by this?
 
The pathing maps don't affect the "location" of it, just where units can walk and where things can be built. When you place a building, its location refers to a particular coordinate (x, y). The pathing map is centered on that coordinate.

So if you have a 10x10 pathing map, it'll center around that point and extend 5 units in each direction (north, west, east, south) to form a square. To see it more clearly, you can press "P" to enable pathing viewing and place any building. You may occasionally encounter something with uneven dimensions for pathing, e.g. 6x8, but it can still be centered on the building's location (3 units west/east each, 4 units north/south each), so there aren't any problems with that.

For some more info on pathing maps, see:
http://world-editor-tutorials.thehelper.net/pathmaps.php

I may have misunderstood your question, though.
 
Level 12
Joined
Nov 3, 2013
Messages
989
Level 23
Joined
Apr 16, 2012
Messages
4,041
it actually can affect it, create paesant on map and try build building, you will see it needs to be alligned into invisible squares, most likely of size 32
the same goes for destructables in editor
maybe try setting flag of the building Is Building to false in object editor to see if it helped
 
Level 12
Joined
Nov 3, 2013
Messages
989
it actually can affect it, create paesant on map and try build building, you will see it needs to be alligned into invisible squares, most likely of size 32
the same goes for destructables in editor
maybe try setting flag of the building Is Building to false in object editor to see if it helped

If you read the trigger you can see that all the relevant numbers can be divided by 32, and starting locations are placed like buildings in the editor.
 
Status
Not open for further replies.
Top