Сoordinates (x, y, z)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Сoordinates (x, y, z)
How to find out your coordinates (x, y, z) in a room (bar)? Thank.
Re: Сoordinates (x, y, z)
Although I have not tested that myself, I doubt that are able to get the position data via script directly. The best approach is to find the xml file of that room (or that bar) and then search the file for the position data of a particular NPC which should look like this
From there you should be able to determine the origin and orientation (just change the position to and then check in-game where the NPC stands now).
Cheers Euclid
Code: Select all
<position x="-0.8220544" y="0.25432" z="-4.12589"/>
Code: Select all
<position x="0.0" y="0.0" z="0.0"/>
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
-
- Posts: 308
- Joined: Fri, 3. Oct 08, 20:43
Re: Сoordinates (x, y, z)
my approach would be importing the room into blender and find them there. i do almost everything with blender lol.
Gebt mir einen Spiegel dann schlage ich ihn mit seinem eigenen Gesicht
Re: Сoordinates (x, y, z)
Tell me how to find the coordinates in Blender?BrummBear02 wrote: ↑Sun, 24. May 20, 00:14my approach would be importing the room into blender and find them there. i do almost everything with blender lol.
-
- Posts: 308
- Joined: Fri, 3. Oct 08, 20:43
Re: Сoordinates (x, y, z)
create a small cube and look at its location? if u press N a tab for that opens. keep in mind that a location is relative to its root node. so create that cube without a parent node.Shamon wrote: ↑Wed, 27. May 20, 07:02Tell me how to find the coordinates in Blender?BrummBear02 wrote: ↑Sun, 24. May 20, 00:14my approach would be importing the room into blender and find them there. i do almost everything with blender lol.
Gebt mir einen Spiegel dann schlage ich ihn mit seinem eigenen Gesicht