Voxel Turf

Voxel Turf

View Stats:
Adding Zones to Lots
In the Vanilla pack example for how to find out where exactly a portion of a lot is located, the following phrase appears be used to find location:

Calls LUA::Custom1 on player enter . . . can be looked up with Lot:getZone("CUSTOM1", 0)

I've tried typing in /Lot:getZone("CUSTOM1", 0) within the command function while inside of the lot (hitting 'T' and /), yet I cannot seem to figure out where exactly on my lot I am located.

I have also tried manual experimenting in determining various zones for what this command means; such as for finding how the command places staff in the fast food restaurant, and the trespass zone in the gun shop, yet I still cannot figure out exactly how the zones in the vanilla pack are created.

How is one supposed to find out the lot details for where to place custom zones within the lots, as I do not think I'm understanding the "Lot:getZone("CUSTOM1", 0)" function too well?
< >
Showing 1-5 of 5 comments
Kastuk 30 Sep, 2017 @ 6:52am 
You can dissect already worked mod of gunshop by KMZ.
at steamapps\workshop\content\404530\1147901316\lots\packs\Kakmanzmod.txt

0 ; gunstore ; KMZ Gun Store ; COMMERCE ; 8 ; 1.0 ; 1.0 ; GOOD ; 1200 ; Weapons ; ; Kakmanz ; SHOP, 1, WEAPON_SHOP, (5,11,11),(7,12,12) ; TRESSPASS, 0, (2,10,9),(3,13,13) ; SECURITY, 1,1, (3, 11, 2), (11,12,13)
Last edited by Kastuk; 30 Sep, 2017 @ 9:33am
SnapperTheTwig  [developer] 30 Sep, 2017 @ 6:57am 
Placing lot zones can be iffy. Remember that (0,10,0) is the south west corner of the lot. X is north, Z is east.

Also see:
https://steamhost.cn/steamcommunity_com/app/404530/discussions/2/1495615865230515958/
Nikolai_Bukav 30 Sep, 2017 @ 7:23am 
Huh. Did not realize there already was another discussion on this. Thank you to both of you!
SnapperTheTwig  [developer] 7 Oct, 2017 @ 6:12pm 
Also in 1.0.16 you can now press F3 to see your local coordinates in a lot
Nikolai_Bukav 7 Oct, 2017 @ 6:14pm 
Thank you Snapper! Have already utilized the update for making a Parking Garage, but now I need to figure out the code for how to add specific Parked Vehicles! So, thank you very much!!!!!
< >
Showing 1-5 of 5 comments
Per page: 1530 50