Releases: Fernando-A-Rocha/mta-add-models
v2.1.0
PLEASE CHECK THE UPDATED README AND THE OTHER UPDATED DOCUMENTATION PAGES.
Changes
-
newmodels:- Fixed problem with modList table not copying properly
- Fixed editor custom funcs & create element base ID
- Added editor custom pickup support
- Fixed freeing functions
- Added disableAutoFree modList setting & add functions parameter
- Added forceFreeAllocated exported function
- Added isModAllocated exported function
- Fixed test commands
- Fixed setElementModel refresh in server.lua and client.lua
- Added checkModelID exported function
- Remade test_server.lua examples
-
Added
newmodels-engineresource (thanks @httpRick for the inspiration)- 7 exported functions
- 1 optional test command
-
Updated all documuentation
- improved descriptions and links
- rewrote Lua examples which now use
newmodels-enginefor simpler usage
Full Changelog: v2.0.4...v2.1.0
v2.0.4
Changes
This version brings a new feature, it doesn't fix anything from the previous version.
Add custom pickup support! createPickup + setElementData. It uses setPickupType to change the pickup model clientside.
Thanks @httpRick for the idea
Full Changelog: v2.0.3...v2.0.4
v2.0.3
⚠️ Fixed the following exported functions (there was a problem with sourceResource variable):
- addExternalMod_IDFilenames
- addExternalMods_IDFilenames
- addExternalMod_CustomFilenames
- addExternalMods_CustomFileNames
Full Changelog: v2.0.2...v2.0.3
v2.0.2
Changes
- Added Async library for some foreach loops
- Replaces the bad use of coroutines I made in server.lua
- Updated newmodels-example startup function
- Now uses the add external mods list instead of adding 1 by 1
- Fixed newmodels-example /testvehicles
- It was spawning vehs with incorrect parent/base model ID
- Fixed newmodels exported function removeExternalMod wrong variable name
- You can test it by using /removemod from newmodels-example
Full Changelog: v2.0.1...v2.0.2
v2.0.1
Changes
- fixed version string, was 2.0 instead of 2.0.0 (missing last 0) => causing error in updater_s.lua, now it's 2.0.1 anyway
- added STARTUP_VERIFICATIONS setting that allows u to skip the startup mod list checks
- added OTHER_RESOURCES setting list that allows you start/stop resources within newmodels (very useful), it has sampobj_reloaded in the list as an example
- added coroutines in some loops in server.lua to prevent "infinite running script" error in case of too many iterations
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Changes
- fixed an outputDebugString in removeExternalMod(id)
- newmodels example resource versions in meta.xml now match newmodels version they are compatible with
- added
addExternalMods_CustomFileNamesexported function- used by sampobj_reloaded to send list instead of calling exports a million times for each mod
- fixed unefficient isDefaultID function
- fixed server startup checks not allowing new "paths" format in mod_list.lua
- removed pAttach resource dependency which is no longer used by any example resource
- added support for 'download="false"' file attribute in meta.xml
- newmodels will only download the mod files when needed (on try set element data) !!!
- added
forceDownloadModandisBusyDownloadingexported functions - added Downloading dxDraw dialog that can be disabled in _config.lua
- added kick after X download failures in, customizable _config.lua
Full Changelog: v1.8.0...v2.0.0
v1.8.0
What's Changed
- NandoCrypt implemented + improvements @Fernando-A-Rocha in #19
Full Changelog: v1.7.0...v1.8.0
v1.7.0
Backwards compatible (almost) release!
Changes:
- Altered the way you're meant to use
spawnPlayer: corrected the example in README which was wrong - Added a fix for skin not loading after you re-spawn the player: it now refreshes (#12)
- Vehicle upgrades are now saved in the server for syncing to all clients. Previously vehicles would lose upgrades every time the model was changed clientside. (#13)
- Added ignoreTXD, ignoreDFF and ignoreCOL variables to use in mod_list and exported functions for loading models which don't need DFF/TXD(/COL for objects) (suggested by Gaimo#0152)
For any support with the newmodels library you can contact me. Details in the README.md
Enjoy! 🔥
Send me pics of newmodels in action in your servers <3
v1.6.9
Stable release:
- Important fixes and improvements
- Minimum client & server version updated to keep up with MTA's latest fixes
Check this update's commits if you don't want to re-download everything and make the changes yourself.
Enjoy! 🎉
v1.6.7
Stable release:
- Added event 'onMapListReceived' for other resources to handle
Check this update's commits if you don't want to re-download everything and make the changes yourself.
Enjoy! 🎉