26.11.2011, 16:00
(
Last edited by SlashQ; 26/11/2011 at 05:51 PM.
)
SlashQ's Advanced Object Editor™
- Object editing has never been so easier!
I've decided to start working on a dialog-based object editor. It only took me two days, and a little conflicts here and there that got solved, but it was worth it.- Object editing has never been so easier!
With this object editor, you have six options.
• Create an object
• Search through object models
• Delete an object
• Edit an object
• Save objects into a file
• Load objects from a file
You can save objects into a filterscript file, so you can compile it easily and drag it to your filterscripts folder and load it in-game. It's just that simple.
Features:
• Dialog-based & user-friendly. Only command is /object.
• Can edit an object's position / rotation using numpad 4 and numpad 6.
• Can save objects into a ready-to-compile filterscript .pwn file and a .pwn.obj file (to load later)
• Can load your object set afterwards
• Allows you to select an object streamer when attempting to save (CreateObject or CreateDynamicObject).
• And more..
Notes:
• This uses the Streamer plugin by Incognito, you can download it here
Credits:
• ****** for the IsValidModel code.
• Slice for the base of the search code.
• Incognito for his object streamer.
• SlashQ for the main scripting.
How to install:
Take all the files in editor.zip, and drag them into your server folder. Then, go into server.cfg and search for 'filterscripts', then add
editor
After filterscripts, so it becomes:
Code:
filterscripts editor
For Linux Users: Search for 'plugins' and add 'streamer.so' at the end (without quotes).
Then go in-game, /rcon login, and /object. Have fun!
Downloads:
Pastebin
Solidfiles
Don't claim this as your own, or you will die a horrible death.
Pictures: