11.08.2016, 00:27
(
Last edited by RIDE2DAY; 13/08/2016 at 06:31 PM.
)
SetObjectMaterialText Editor
[*] Introduction
I created this script in order to ease the creation of SetObjectMaterialText objects, this is its first version, I'll update it in the future to allow the user edit more than one material index. The filterscript doesn't need any include or plugin to be functional, just compile it and voilа. Don't worry about files, it uses SQLite, the database is created automatically in scriptfiles.
The objects you create are visible for everybody, you must log in as a RCON admin to be able to use the /editor command. An object can be edited only by one player at once, but the editor is functional for all the RCON admins. Objects are deleted when the filterscript is unloaded, and created when you load it. If you delete the object from the edition menu, it's deleted from the database also, so you can't recover it later.
[*] Screenshots and videos
Click here to watch how it works (subscribe if you want to follow the development of my gamemode).
This is what you'll get in scriptfiles when you export the objects, they can be exported as global or player objects, it's up to you:
[*] Commands
There is only one command: /editor. I added a /jetpack command for testing purposes, it's disabled by default, remove the /* */ to enable it.
[*] Download
Copy, paste, compile and do ya thang: pastebin.com
[*] Other
Thank you for reading my thread, you can subscribe to my YouTube channel to follow the development of my gamemode, if you want you can support me here.
If you find any bug, please, make me know. I didn't have enough time to test it at 100%.
Best regards.