[FilterScript] [FS] In Game Object Editor [0.3] - All object list into menu - By Breadfish
#1

Introduction

This is an ingame object editor filterscript maked by breadfish and edited by me for add new commands and features how menu of objects list,
that is very simple and very good filter script to edit very fast much objects at same time with various player into a same server construction or into game play, much stable is recommended for use to some other players, tanks for all to download!

This is basically an extended Version of the object editor script seen on youtube video maked by breadfish (Version Original!):

SA-MP Ingame Object-editor

Install

Description of folders and files:

File "oed.pwn" - The source of the filter script.
File "oed.amx" - The filter script compiled for put and uses into server
Folder "oed" - Contains all files used by filter script located into scriptfiles.
Folder "list_objects" - This folder contains the files with all objects separated by category.
Folder "languages" - Contains the translated languages of this filter script
File "BREAD_OED.txt" - File contains a objects add into filterscript.
Files "*.txt" - if located into folder list_objects is the list of objects separated by category where the name of file without extension is the name display at game and this name must be placed on file "index.ini" at same folder for add into menu. This file into format in all lines for works: "modelid-description", look at the existing files for more examples, more informations see edit into this topic.
Files "*.txt" - if located into folder languages represent the messages of the filterscript translate for the language into file name.
File "index.ini" into "list_objectes"- This file contains the file names with objects without its file extension and this file which is responsible for access to others.
File "index.ini" into "languages" - This file contains the file names of files witch messages translated for other languages.
File "readme.txt" or "leiame.txt" - This files contains this topic help.

Put the folder "oed" into folder scriptfiles of your server and "oed.amx" into folder filterscripts for run into server at starts put into "server.cfg" in the line starts with filterscripts this name "oed" (without "") thereby "filterscripts oed".

Edit

For edit this filter open oed.pwn with any text editor there uses the "dutils.inc" and not more, the code are commented into english and the language native of breadfish.

To add more objects or rename any edit .txt located into folder "list_objects" if you need add or exclude any archive .txt put add or remove into file "index.ini" located as same folder, the menu dynamics supports any number of objects into any archive .txt but a limited number of archives names into "index.ini".

If you translate to you language, please send me the file of translate for i add into this topic.

To use:

Uses IsPlayerAdmin(playerid), so you need to be logged into rcon to type then commands and uses menus:

* /oadd [modelid] [name] - Adds a new object next to the player and selects it or if don't type parameters open a menu with all objetcts
* /ocopy [name] - Creates a copy of currently selected object
* /odel - Deletes currently selected object and clears selection
* /omode [m_xy|m_z|r_xy|r_z] - Selects editing mode of currently selected object (move on map-X/Y Axis, move on map-Z-Axis, rotate on object-X/Y-Axis, rotate on object-Z-AXis
/onext - List the objects next to player
* /osel [object name] - Select object by name (the name you enterd for creating/copying an object)
* /ostick <distance> - Stick currently selected object to player to place it via player movement
* /orelease - Detach an object sticked to the player
* /ofaktor [faktor] - Set movement/rotation speed multiplier
/ohelp - display all commands into filter
/osaveall - save all objects into file BREAD_OED.TXT
/odesel - Deselect any object selected
* /ogoto [object name] - Go to a object with as same name
/olang [id] - Select the language uses for player call
/olistlangs - Show all languages implemented

Commands marked with a * can also be accessed via a menu, you open it with the "Walk" key (Altl for me)

You start editing your selected object with the crouch-key (C for me), the camera then faces to the object and keeps tracking it when you move/rotate the object with your default Forward/Back/Left/Right Keys (or W,A,S,D), how much will be moved will depend on the selected multiplier if then don't move try other multiple using the menu or the command /ofaktor.

Standing up again with pressing C again stops editing the objeckt with arrow keys and you can walk with your player to another position.


To save and use objects added:

All objects are saved automatic on edit then into a file into scriptfiles/oed with name BREAD_OED.txt

Revisions History:

New Revision 8
- Updated for SA-MP 0.3c
- /ohelp - Change /olistlang (wrong command) to /olistlangs.

Rev 7:

- Added multi language support with implemented languages english and portuguese.
- Change the directory of files for "oed", contains now the all files into script files.
- Commands /olang and /olistlangs for support multi language.

Rev 6:
- Add a list of objects more used
- Add into /oadd without params to access menu list of objects
- Put into some commands into edit mode stop for new object or other edit
- Fixed a bug into menu exits causes crash server
- Fixed reload fs bugs

Rev 5:

- Fixed delete bug
- Add a menu list with all objects into sa-mp wiki by category
- Add a new menu where not are selected object into walk key

Rev 4:

- Added Support for samp 0.3 version
- Revision at all code for search and fix any bugs

Rev 3:

Commands fixed:
-/oadd - adds varios object with same name.
-/odel - crash others objects into system

System fixed:
-Save and Load system for better permorface and secure.

Download All Versions:

New Rev 8 Release - Attached file:

Pastebin:

http://pastebin.com/LCvHykDi

If you found a bug or have a suggestion, please send email to me: avs.009@gmail.com


Sorry for My ENGLISH!
Reply
#2

so what did you edit?
Reply
#3

Modifications into oadd, odel, save and load object file system e added new commands, that /osaveall, /odesel and /ohelp
Reply
#4

Quote:
Originally Posted by [BR
Allan ]
Modifications into oadd, odel, save and load object file system e added new commands, that /osaveall, /odesel and /ohelp
ohhhh

good job
Reply
#5

How do i make my bridge slanted? like instead of straight please help
Reply
#6

i try to make a wall and it work and its a good system but i can walk in to the wall the wall must block not let me in.


sry for my bad english
Reply
#7

Breadfish was always the best editor, and now it's fixed!

Thanks a lot.
Reply
#8

Yeah Breadfish made a nice object editor but it had a lot of bugs Good job mate
Reply
#9

Mirror: http://sa-mp.UrArcade.net/oed_rev3.zip
Hope you don't mind..
Reply
#10

WHen i want to /oadd object it says Unknown command.. Help me plz.

Also what do you mean by [name] ? What name ... ( /oadd [modelid] [name] )

I wanted to make a crane /oadd 1378 huge crane but i didnt make it .. it said Unkown command

Please help me and sorry for my English.
Reply
#11

Ehmm u need to be logged into the RCON duh

Anyway nice job!
Reply
#12

[img=http://gta.ngames.lv/sig/sig_1005.png]
Reply
#13

Good job!
Reply
#14

Please New link.All link deleted
_______________________________
I'M sorry bad engilish
Reply
#15

Mirror: klutty.co.cc/Downloads/Mirrors to others/OED_rev3.zip
Reply
#16

Oh,you using 000webhost,right,just short
name with .co.cc of klutty.comxa.com
_________________________________________________
Reply
#17

Ah, thanks .
Looking for this since the first one, the download links didnt work.

Hope to try this out asap.
Reply
#18

Hey, great object editor!
One problem, I can not select objects, when I do /osel [name] ( for example: test ) it says:
No object named 'test' or something.
Any ideas?
Reply
#19

for some reason it didn't save after restart any reason why ? I did the save cmd
Reply
#20

How do you make the object go down? because when I /oadd an object, it's not directly on the ground.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)