13.06.2012, 14:59
(
Последний раз редактировалось Stylock; 02.06.2015 в 11:51.
)
Universal Object Editor
Description
With this object editor you can create symmetrical structures and attach roads together in seconds.
Commands
Parameters in orange are optional. In case where objectid is optional, if no parameter is given, the action is done to the selected object.Код:EADD Params: <modelid> <comment> Action: create an object EDEL Params: <objectid OR /all> Action: delete an object (/all destroys all objects) ESEL Params: <objectid> Action: select an object EDESEL Params: none Action: deselect an object ECOPY Params: <objectid> <comment> Action: copy an object EMODEL Params: <objectid> <modelid> Action: set an object's model EUNDO Params: <amount> Action: undo previous action(s) EGOTO Params: <objectid | map name> Action: teleport to an object ELOOP Params: <amount OR /sync OR /del> <off x> <off y> <off z> <rot x> <rot y> <rot z> <sync rot> Action: generate a loop from the selected object (/del destroys the loop) EPOS Params: <objectid> <pos x> <pos y> <pos z> Action: set an object's position (switch to position editing if no params are given) EROT Params: <objectid> <rot x> <rot y> <rot z> Action: set an object's rotation (switch to rotation editing if no params are given) ESNAP Params: <value> Action: set snap spacing/angle ELOCK Params: <objectid> Action: disallow object editing EUNLOCK Params: <objectid> Action: allow object editing EATT Params: <roadid> <to roadid> Action: attach road to road EVEL Params: <velocity> Action: set velocity EAXIS Params: <off x> <off y> <off z> Action: enable/disable axis feature EFLY Params: none Action: enable/disable fly mode ESAVE Params: <mapid OR /all> <name> Action: save objects to a file (/all saves all objects) ELOAD Params: <file name> Action: load objects from a file EUNLOAD Params: <mapid | file name> Action: unload file EIMPORT Params: <file name> <extension> Action: import file ENRG Params: none Action: spawn an NRG-500
Keyboard shortcuts (default keys)
Compile-time configКод:ON FOOT ALT + F Enable fly mode (KEY_WALK + KEY_SECONDARY_ATTACK) N Spawn an NRG-500 (KEY_NO) FLY MODE ALT + F Disable fly mode (KEY_WALK + KEY_SECONDARY_ATTACK) SPACE + W/S/A/D Move camera around (KEY_SPRINT + KEY_UP/KEY_DOWN/KEY_LEFT/KEY_RIGHT) NUM6/NUM4 Next/previous object model (KEY_ANALOG_RIGHT/KEY_ANALOG_LEFT) LMB Select/deselect an object (KEY_FIRE) ENTER Action specified in /econfig (KEY_SECONDARY_ATTACK) ALT + C Toggle between local and world modes (KEY_WALK + KEY_CROUCH) C Toggle between position and rotation editing (KEY_CROUCH) POSITION EDITING RMB Instant position change (KEY_HANDBRAKE) ALT + W/S Increase/decrease movement velocity (KEY_WALK + KEY_UP/KEY_DOWN) W/S/A/D Move object forward, back, left and right (KEY_UP/KEY_DOWN/KEY_LEFT/KEY_RIGHT) SHIFT + W/S Move object up and down (KEY_JUMP + KEY_UP/KEY_DOWN) ROTATION EDITING RMB Instant rotation change (KEY_HANDBRAKE) ALT + W/S Increase/decrease rotation velocity (KEY_WALK + KEY_UP/KEY_DOWN) W/S/A/D Rotate object on Y and X axes (KEY_UP/KEY_DOWN/KEY_LEFT/KEY_RIGHT) SHIFT + W/S Rotate object on Z axis (KEY_JUMP + KEY_UP/KEY_DOWN)
Screeniespawn Код:#define UOE_MAX_ADMINS (2) // Max rcon admins allowed to create maps
#define UOE_TIMER_INT (30) // Timer interval
#define UOE_MAX_ACTIONS (300) // Max actions that can be undone in a row
#define UOE_DRAW_DISTANCE (800) // Object draw distance
Object model: 18794 (/eloop 80 16 0 4 1 -11 0)
Object model: 3458 (/eloop 80 2 3 0 10 0 0)
The Axis feature
Changelog
28-02-201508-07-2012
- Added file import feature
- Added snap to grid/snap to angle feature
- Added in-game configuration dialog
- Added support for Streamer plugin
- Added rotation sync parameter to loop feature
- Overwriting an existing map file is now possible
- Improved map file recovery feature
- Improved fly mode camera mobility
- Improved movement/rotation speed setting when altering with keys
- Removed object model validity check due to SA-MP 0.3.7 objects
- Fixed a bug that caused infinite recursion
- Renamed normal mode to world mode
- Minor improvements and bug fixes
16-06-2012
- Added a few new keyboard shortcuts (num4, num6 and tab (see keyboard shortcuts))
- Fixed a bug with file loading, which occurred when player reconnected without reloading the editor
- Minor bug fixes here and there
13-06-2012
- Renamed world mode to normal mode
- Added a new project file and removed the old one
- Fixed a minor bug in undo feature causing objects to not get destroyed
- Upgraded various commands to support optional parameters
- Initial release
Download (Update 3)
download (package)
pastebin
Notes
- Undo feature may not be perfect.
- Do not modify *.uoe files.
Getting started
After all that, go ingame and type /ehelp (as rcon admin) to open a help dialog.
- Download uoeditor.zip package.
- Extract uoeditor.pwn into the filterscripts directory.
- Extract maps folder into the scriptfiles directory.
- Open server.cfg and type "uoeditor" next to filterscripts.
- Compile uoeditor.pwn (F5).
Credits
Код:Myself Zeex zcmd ****** sscanf Zamaroth Textdraw Editor (edited by Southclaw) Everyone who was helpful and supportive whom I forgot to mention (sorry!)