View Issue Details

IDProjectCategoryView StatusLast Update
0008494Multi Theft Auto : EditorMap Editorpublic2014-09-04 19:32
Reportereinheit-101Assigned ToJusonex 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version2.0Fixed in Version2.0 
Summary0008494: Map Editor does not apply object rotations defined in an .edf file
Description

Recently i tried to create a multi-object with an EDF file for the editor, because it is a lot faster to create this group of objects with scripting supported by the editor EDF. So i put some objects into the file and saved it.
After loading the editor and the edf, i was able to create my new object but unfortunately the sub objects were not rotated as they were supposed to be.

Down there i wrote my EDF file. It should create a box with 3 metal beams. The metal beams should have different rotations, but after loading with Editor they just have rotation "0, 0, 0".

Steps To Reproduce

<def name="example">
<element name="Igel" friendlyname="Tank Trap" icon="edf/igel.png">
<data name="position" type="coord3d" default="0,0,0" />
<data name="rotation" type="coord3d" default="0,0,0" />
<object model="1271" rotation="!rotation!"/>
<object model="2960" posX="-0.26" posY="-0.2" posZ="0.07" rotX="318" rotY="18.58" rotZ="87.27"/>
<object model="2960" posX="-0.4" posY="0.3" posZ="0.1" rotX="315" rotY="250" rotZ="240"/>
<object model="2960" posX="0.16" posY="-0.61" posZ="0.15" rotX="45" rotY="70" rotZ="270"/>
</element>
</def>

TagsNo tags attached.

Activities

einheit-101

2014-08-26 20:15

reporter   ~~0021870

Last edited: 2014-08-26 20:16

View 2 revisions

Some more info, rotation with PEDs does work. Just the objects make problems. The Picture shows the WRONG rotation.

Jusonex

2014-09-04 14:21

administrator   ~~0021945

Fixed in https://code.google.com/p/mtasa-resources/source/detail?r=1013

einheit-101

2014-09-04 15:21

reporter   ~~0021949

Thanks! I will test it and report back asap today.

einheit-101

2014-09-04 19:32

reporter   ~~0021953

It works perfectly.

Issue History

Date Modified Username Field Change