Skip to content

v4.0.0-newmodels-editor

Latest
Compare
Choose a tag to compare
@Fernando-A-Rocha Fernando-A-Rocha released this 02 Sep 13:33
· 7 commits to newmodels-editor-reborn since this release
c934400

Newmodels Map Editor Banner

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

  1. Download the newmodels-editor-reborn-v4.0.0.zip file linked in this page.

  2. Extract the [editor] folder to your server's resources, replacing the following 4 resources in your server: edf, editor, editor_gui, editor_main, and adding editor_newmodels.

  3. Download and install newmodels_reborn (v4) from New-Models v4.0.0 release page.

  4. Use the command refresh to apply the resource changes.

  5. 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.