Community Forum

Negative XYZ locations

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created12.09.2019 17:20


Jonathan Ayres (Jayres88) 12.09.2019 17:20
Hello, I am working on a 4X map and trying to place a gas station. Where I want to put it on the map is showing XYZ coordinates in GE as 1411.016 63.103 -721.532. My question is, why is it showing a negative value for the Z axis? Shouldn't one corner be 0,0 and the other corner of the map be 2048, 2048? If I put the gas station where the XYZ coordinates are not in the negative range, the vehicle gets a fuel refill notice. If I put it where I have listed above, it shows up in the correct location, but my vehicle does not get a fuel refill notice.

Any ideas? I'm using the blank 4x map by Cazz64 v1.1

Bilbo Beutlin (BBeutlin) 12.09.2019 18:11
Did you ever look at the transform coodinates? [0,0,0] is always the center of the map.

Merely in the ingame display (mini map) [0,0,0] is top-left corner. Probably to avoid negative values in display.

Jonathan Ayres (Jayres88) 12.09.2019 19:19
So some things I have tried are:

1. I re-downloaded the original 4x blank map. I placed a gas pump in the center of the map and added to the defaultItems.xml. It worked.
2. I simply moved the gas pump to the spot where I want it on the map I'm working on and changed the XYZ location on defaultItems. Didn't work.
3. I bought a gas pump in-game and placed it near the non-working in-game defaultItem. It works that way.

Jonathan Ayres (Jayres88) 12.09.2019 19:20


Jonathan Ayres (Jayres88) 12.09.2019 19:21


Bilbo Beutlin (BBeutlin) 13.09.2019 04:21
Must be something else what's wrong.
The complete Giants Engine is based on cartesian coordinate system with origin in center, in maps as well as in vehicles and other objects.


Note: Log in to post. Create a new account here.