Go to Page... |
Compatibility: | Harrowstorm (5.3.5) Elsweyr (5.0.5) |
Updated: | 03/11/20 01:27 PM |
Created: | 04/13/17 12:39 PM |
Monthly downloads: | 2,554 |
Total downloads: | 331,620 |
Favorites: | 271 |
MD5: |
## DependsOn: Lib3D
lib3D:RegisterWorldChangeCallback("MyAddonName", function(identifier, zoneIndex, isValidZone, isNewZone) if isNewZone then d("a new 3D world/zone was entered") end end)
example/example.xml example/example.lua
File Name |
Version |
Size |
Uploader |
Date |
3.10 |
13kB |
Shinni |
05/29/19 12:56 PM |
|
39 |
13kB |
Shinni |
05/26/19 02:36 PM |
|
38 |
13kB |
Shinni |
05/26/19 09:46 AM |
|
34 |
19kB |
Shinni |
02/27/19 10:11 AM |
|
33 |
18kB |
Shinni |
10/26/18 06:26 AM |
|
32 |
18kB |
Shinni |
10/24/18 01:27 PM |
|
14 |
31kB |
04/13/17 12:39 PM |
Comment Options |
01/17/21, 08:34 AM | |
Forum posts: 0
File comments: 47
Uploads: 0
|
I was wondering that too. Any chance of an updated version that declares compatibility with Greymoor and Markarth?
|
|
JLE |
View Public Profile |
Send a private message to JLE |
Find More Posts by JLE |
Add JLE to Your Buddy List |
06/25/20, 09:08 PM | |
|
Wild version numbers?
The version of Lib3D that is included in HarvestMap is 3.13, whereas the version that Minion says is the latest standalone is 3.12.
|
|
Shadowfen |
View Public Profile |
Send a private message to Shadowfen |
Send email to Shadowfen |
Find More Posts by Shadowfen |
Add Shadowfen to Your Buddy List |
Shadowfen |
View Public Profile |
Send a private message to Shadowfen |
Send email to Shadowfen |
Find More Posts by Shadowfen |
Add Shadowfen to Your Buddy List |
Micke2nd |
View Public Profile |
Send a private message to Micke2nd |
Send email to Micke2nd |
Find More Posts by Micke2nd |
Add Micke2nd to Your Buddy List |
10/30/18, 07:12 PM | |
nil will be returned
Hi!
Calling WorldToGlobal (x, z) returns x and nil. ------------------------------- function lib:WorldToGlobal(x, z) x = x * self.currentWorldToGlobalFactorend -------------------------------- |
|
|
Marify |
View Public Profile |
Send a private message to Marify |
Send email to Marify |
Find More Posts by Marify |
Add Marify to Your Buddy List |
12/27/17, 07:45 AM | |
height
Hi
I'm a bit confused and might need some help here. I have an issue regarding the height. In the example you're using the camera's height, which is constantly changing when the player is moving around. So using that height isn't most likely a good idea. Yet, i'm unable to find any information about the height of items. If we talk about the example on the addon's main page, the player is being used as location. is there a way to use the heading ( GetMapPlayerPosition(string unitTag) Returns: number normalizedX, number normalizedZ, number heading ) as some measurement of the current location? I'm not really getting how all those map pins, which are set dynamically are capable of getting the right height while the camera height is obviously the wrong height to use. |
|
|
Sordrak |
View Public Profile |
Send a private message to Sordrak |
Send email to Sordrak |
Find More Posts by Sordrak |
Add Sordrak to Your Buddy List |
04/15/17, 10:03 AM | |
|
Great news. Thanks a lot!
|
|
Shinni |
View Public Profile |
Send a private message to Shinni |
Send email to Shinni |
Find More Posts by Shinni |
Add Shinni to Your Buddy List |
04/14/17, 01:23 PM | |
ZOS Staff!
Forum posts: 551
File comments: 7
Uploads: 0
|
The first change I'll be making is to automatically update the origin point on any toplevel gui render space that is using the WORLD system when the player moves more than 1KM from the origin. The second change will be adding GuiRender3DPositionToWorldPosition and WorldPositionToGuiRender3DPosition. And the third will probably be to never use the integer world coordinates ever again in Lua.
Last edited by ZOS_ChipHilseberg : 04/14/17 at 02:30 PM.
|
|
ZOS_ChipHilseberg |
View Public Profile |
Send a private message to ZOS_ChipHilseberg |
Send email to ZOS_ChipHilseberg |
Find More Posts by ZOS_ChipHilseberg |
Add ZOS_ChipHilseberg to Your Buddy List |
04/13/17, 05:17 PM | ||
|
If the player moves 1km away from the origin of the GUI world coordinate system, then the origin is shifted to the current player position. This results in all existing 3D textures to be shifted by 1km. Currently the library has to check every single frame, if the origin of the coordinate system changed. If a change occured, the library updates the position of existing controls to compensate for the shift. An event would make this a lot easier, performant and accurate. |
|
|
Shinni |
View Public Profile |
Send a private message to Shinni |
Send email to Shinni |
Find More Posts by Shinni |
Add Shinni to Your Buddy List |
04/13/17, 01:14 PM | |
ZOS Staff!
Forum posts: 551
File comments: 7
Uploads: 0
|
If it would be useful to you we could expose a function that converts from what the GUI calls world coordinates to what the game client would call world coordinates (the integral centimeter values that you see in the housing APIs).
|
|
ZOS_ChipHilseberg |
View Public Profile |
Send a private message to ZOS_ChipHilseberg |
Send email to ZOS_ChipHilseberg |
Find More Posts by ZOS_ChipHilseberg |
Add ZOS_ChipHilseberg to Your Buddy List |