Page MenuHomeFeedback Tracker

JSON Objspawnerarr center point misalignment
Awaiting internal Testing, UrgentPublic

Description

When using P3D assets via the Editor and transferring data from Editor to Dayz server via Json the outcome of assets is incorrect, trees spawn around 14m high, rocks spawn about 7m high and bushes spawn about 3m high, YPR also spawn wrong, for example asset "DZ\\rocks\\rock_bright_wallh1.p3d" will spawn with the incorrect yaw. I and another server owner have come to the conclusion the center points of assets are incorrect.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Editor
Steps To Reproduce

Load a simple json build of DZ assets from editor and transfer them to a LAN server or remote server.

Event Timeline

Geez changed the task status from New to Awaiting internal Testing.Jun 21 2023, 12:13 PM
Geez added a subscriber: Geez.Jun 22 2023, 9:48 AM

Hello GraceKelly.
Can you please send us the json file from DayZ editor?

Geez added a comment.Jun 22 2023, 5:33 PM

Hello again.
We have investigated extensively and this is a problem with the DayZ editor which the DayZ editor creator will have to fix on their end (as it is not an official tool created by us)

kleckns added a subscriber: kleckns.EditedJun 25 2023, 7:46 PM

Seems like there is a ypr issue with spawning p3d objects through json files.

This specific object as an example:

{
  "name": "DZ\\plants_bliss\\building\\ivy_m.p3d",
  "pos": [
    10992.599609375,
    222.58999633789062,
    13371.9287109375
  ],
  "ypr": [
    -161.0887908935547,
    -89.79157257080078,
    179.99996948242188
  ],
  "scale": 1,
  "enableCEPersistency": 0
},

just to validate ypr listed in the json above I placed same ivy next to it in a v++.