The Newmodels Map Editor Project consits of 🧬experimental🧬 customized MTA:SA Map Editor resources to support new model IDs for vehicles, objects and skins using newmodels (mta-add-models Project).
MTA forum thread: link
Support/Help
If you need help with anything related to this project, please read the corresponding section on the MTA forum thread linked above.
Installation
-
Download the
newmodels-editor-reborn-v4.0.0.zip
file linked in this page. -
Extract the [editor] folder to your server's resources, replacing the following 4 resources in your server:
edf
,editor
,editor_gui
,editor_main
, and addingeditor_newmodels
. -
Download and install
newmodels_reborn
(v4) from New-Models v4.0.0 release page. -
Use the command
refresh
to apply the resource changes. -
Use the command
start editor
to launch the MTA Map Editor. The newmodels plugin will automatically start & apply changes.
It's ready!
Explanation
To use new models in your map, the editor needs to know which models have been added. The models list
is stored inside XML files for objects, vehicles & skins in the editor_gui
resource. We opted by not changing how the Map Editor reads these files, so it would be easier to update the Map Editor in the future.
The resource editor_newmodels
is responsible for applying the new models to the editor GUI. It reads them from newmodels
and adds the new models to the models list
XML files.
This happens automatically when editor_newmodels
is started. You can also use the command /editor_newmodels
to force-update the models list.
You can place down new vehicles, objects and skins in your map. The editor script sets the element datas when spawning the elements.
When saving the map, the element datas are saved in the XML file. When a map is loaded, it will set all those datas => setting the correct new model IDs.
This means that the map can be loaded on any server that has the same new models in their newmodels
resource, not requiring the custom map editor which is just for creating the maps :-)
Happy mapping!
Contributing
Want to help make this project better? See this note.