EDF custom vehicle rotation doesn't match actual vehicle rotation
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Start by locating the editor resource files mentioned in the report, especially edf and editor_main, and trace how custom vehicle rotations are saved and applied. Compare that with the rotation used when creating a real vehicle through scripting, using the reported x:345, y:180, z:90 values as a reproduction case. Done when both rotations match in the saved map and in game.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Which resource(s) have this problem?
Not sure, edf, editor_main maybe
Describe the bug
The rotation of a custom element represented by a vehicle seems to work differently than the rotation of an actual vehicle.
For example, if I want to use that custom element's rotation to do something with real vehicles, It won't work as expected.
This doesn't happen with all rotations.
To Reproduce
- Define a custom element that is represented by a vehicle, for example:
<element name="customveh" friendlyname="Custom vehicle">
<vehicle editorOnly="true" model="!model!" />
<data name="model" type="vehicleID" default="411" />
<data name="position" type="coord3d" default="0,0,0" />
<data name="rotation" type="coord3d" default="0,0,0" />
</element>
- Place one in a map
- Set it's rotation to x:345 y:180 z:90
- Save the map and play it
- Create a vehicle through scripting and set it's rotation to the same as the custom element in the map file -> Rotations do not match
Expected behavior
If I create a custom element represented by a vehicle it's rotation should match an actual vehicle rotation.
Screenshots
See 'additional context'
Version
1.5.6
Additional context
I made a forum post regarding this problem
https://forum.mtasa.com/topic/117044-possible-editor-bug/
- Lingua principale
- Lua
- Stelle
- 185
- Fork
- 180
- Merge medio
- 5g 13h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di multitheftauto/mtasa-resources
-
new resource: map_loaderApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
multitheftauto/mtasa-resources#697 · 7 commenti · 7 reazioni ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
multitheftauto/mtasa-resources#564 · 1 reazione ·
-
editor: LOD_MAP table is missing some LOD modelsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 36/100
-
New features to Map EditorApertaenhancement resource:editor
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
multitheftauto/mtasa-resources#388 · 3 reazioni ·
-
help wanted waiting for feedback
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
multitheftauto/mtasa-resources#361 · 8 commenti · 8 reazioni ·
Tutte le issue di multitheftauto/mtasa-resources
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rohit746/pdf-view.nvim#109 ·
I maintainer di solito rispondono entro 1 giorno
-
bug guide
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement forever
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
openmap-world/openmap#78 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AndyHazz/bookends.koplugin#130 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
carlos-algms/agentic.nvim#336 ·