|
1 | | -# `Newmodels v5 Azul 💙` |
| 1 | +# `Newmodels v6 Red 🍒` |
2 | 2 |
|
3 | 3 | This MTA resource makes use of the clientside allocated models ([engineRequestModel](https://wiki.multitheftauto.com/wiki/EngineRequestModel) and related features) to add new peds (skins), vehicles and objects: |
4 | 4 |
|
5 | | -- place your mods (dff/txd/col files) in designated folders that are automatically detected |
| 5 | +- there are 3 methods to add new models: |
| 6 | + - [1] place mod files (dff/txd/col files) in designated folders that are automatically scanned |
| 7 | + - [2] place mod files anywhere you want and list them in the mod list lua script |
| 8 | + - [3] dynamically load new models from external resources using exported functions |
6 | 9 | - the system syncs all added models with all players |
7 | | -- use a simple trick in your existing scripts to work with the new model IDs |
| 10 | +- use a simple trick in your existing scripts to work with the new model IDs, or use the provided exported functions |
8 | 11 | - it's minimalistic, optimized and robust |
9 | 12 |
|
10 | | -With this resource you can make scripts or change your existing scripts to add new skin, vehicle and object IDs to your server! For example, you may add all SA-MP object models! |
| 13 | +With this resource you can make scripts or change your existing scripts to add new skin, vehicle and object models to your server! For example, you may add all SA-MP object models! |
11 | 14 |
|
12 | 15 | ## Docs/Tutorial |
13 | 16 |
|
14 | | -🚀 **Are you new to this resource?** Start here: [Documentation file](/.github/doc/DOCUMENTATION.md) |
| 17 | +🚀 **Are you new to this resource?** |
| 18 | + |
| 19 | +Start here: [DOCUMENTATION.md file](/newmodels_red/DOCUMENTATION.md) |
15 | 20 |
|
16 | 21 | ## Download |
17 | 22 |
|
18 | | -⚠️ **Before you download and install this resource**, ensure you meet the requirements specified in the [Documentation](/.github/doc/DOCUMENTATION.md). |
| 23 | +⚠️ **Before you download and install this resource**, ensure you meet the requirements specified in the **Documentation** linked above. |
19 | 24 |
|
20 | 25 | Get the [Latest Version](https://github.com/Fernando-A-Rocha/mta-add-models/releases/latest) from the **Releases** section. |
21 | 26 |
|
22 | | -## Older versions |
23 | | - |
24 | | -It is easy to migrate to v5 from newmodels v4 (not from v3; the architecture of that version is no longer used). The **models folder structure remains the same**, but the scripts have changed in the way models are applied to elements. |
| 27 | +## Migrating from Older versions |
25 | 28 |
|
26 | | -This resource no longer uses and relies on the **MTA Element Data system** (`setElementData`) to sync the models to all clients! Instead, newmodels makes use of Lua tables and MTA events. This major change was made to **improve performance** and control the sync of models more efficiently. |
| 29 | +Please refer to the **Migration Guide** in the [MIGRATION.md file](/newmodels_red/MIGRATION.md). |
27 | 30 |
|
28 | 31 | ## Community |
29 | 32 |
|
30 | 33 | Visit the [Thread on the MTA Forum](https://forum.mtasa.com/topic/133212-rel-add-new-models-library/) to get in touch with fellow users and developers. |
31 | 34 |
|
32 | | -## Media |
33 | | - |
34 | | - |
35 | | - |
36 | 35 | ## Final Note |
37 | 36 |
|
38 | 37 | Feel free to update the documentation in this repository, and contribute to the code via pull requests. |
|
0 commit comments