AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   XYZ min max coordinates? (https://forums.alliedmods.net/showthread.php?t=301511)

raffle 09-24-2017 07:27

XYZ min max coordinates?
 
Hey guys, extremely novice SM user here.. I have a few plugins that use special areas, like a jail and areas where it prevents you from firing. In the sourcemod config files it asks me the following:

Code:

{
                "X Min"        "2187.135986"
                "X Max"        "5002.716797"
                "Y Min"        "-3294.457764"
                "Y Max"        "-1546.352051"               
                "Z Min"        "-409.968750"
                "Z Max"        "102.798485"
        }

and for another plugin also:
Code:

{
                "Chamber_Spawn_Location"                "5156.547852 4970.031250 -11910.531250"
                "Chamber_Release_Location"                "5162.712891 5313.031250 -11841.415039"
                "Chamber_Dimensions_MINs"                "4950.552734 5060.482910 -11905.465820"
                "Chamber_Dimensions_MAXs"                "5367.345703 5163.020996 -11820.209961"
        }

Now I could easily setup the spawn_location and release_location by simple using the "getpos" command on console.

But I can't manage to setup the mins and maxs.
The way I'm doing it is I got to a corner of the room and go super close to the ground and get my coordinates there for MIN and then I go to the opposite corner of the room and get super close to the ceiling and get my coordinates there for MAX. Here's a little picture illustrating the way I'm doing it.
https://i.imgur.com/6RYkODg.png

Is that not the way to do it?
Hope you can help me thanks in advance!

blacklagoon 09-28-2017 15:56

Re: XYZ min max coordinates?
 
X is forward/East, Y is left/North, and Z is up or height of the room


All times are GMT -4. The time now is 17:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.