SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 26/05/2009, 06:36 PM   #1
GTA_Rules
Huge Clucker
 
Join Date: Aug 2008
Posts: 456
Reputation: 3
Default [FS] Ingame Object Editor [Version 2.0] by Matthias (Update)



::: Introduction :::

I was browsing thrue the forums looking for an ingame object editor, I've found a few but some of them were too bugged or too complicated. I needed something incredibly simple just with the basic commands, I found BreadFishes' but the download links were down. So I thought I could make one myself. So that's where this whole project started.

This is an incredibly simple, 500 lines, map editor. It took me about 3 - 4 days to create this so don't expect too much. I'll probably create another (improved) version if I see people think it's usefull.

::: Features :::

Well, this basically features everything a simple map editor needs. It saves everything into objects.txt in your scriptfiles folder (in the correct format) and has a few commands to edit the object with.
A small list of commands and their features:
  • /addobject <objectid> : This commands simply adds an object. Note: Some object ID's might crash your server, check the wiki before randomly trying one.
  • /saveobject <note> : This saves everything into objects.txt in your 'scriptfiles' folder in the correct format, all you need to do is add the line to your gamemode!
  • /moveup <coord> : Moves the object up.
  • /movedown <coord> : Moves the object down.
  • /moveleft <coord> : Moves the object to the left.
  • /moveright <coord> : Moves the object to the right.
  • /moveforwards <coord> : Moves the object forwards.
  • /movebackwards <coord> : Moves the object backwards.
  • /stick <no params> : Sticks you to your object.
  • /unstick <no params> : Unsticks you from your object.
  • /ohelp <no params> : Shows a list of commands.
  • /objects <no params> : A list with a few usefull objects.
  • /objecttp <no params> : Teleports you to your object.
  • /abort <no params> : Aborts the editing of an object.
  • /stop <no params> : Aborts the editing of an object without removing it.

More commands might be added if people think this is usefull and like it.

Note: I've deleted the rotate commands as they were bugged (a SA:MP bug I think?). You can do that manually.

::: Video :::

I've made a little video to show what it's like ingame, I know the editing and quality sucks, I've done this in 5 minutes.

SA:MP Ingame Object Editor by Matthias

::: Credits :::

I take all credits for this, you are not allowed to edit and republish it without my permission. You can use it on your server and edit it if you want though. Putting me in the credits would be greatly appreciated .

General thanks to:

- DracoBlue (for dcmd)
- The creator of sscanf
- WeirdoSport for helping me out with a tiny bug

::: Downloads :::

Finally, we've come to the download part! Mirrors are accepted!

Version 1.0:

* Pastebin
* Megaupload

Version 2.0:

* Megaupload (Recommended)
* Pastebin

::: How to install? :::

Well, you simply download 'ObjectEditor.pwn' from one of the links provided above, then you open them in Pawno and compile them. Then place 'ObjectEditor.amx' into your 'filterscripts' folder.
Then open server.cfg and add 'ObjectEditor' to that line. Or just go ingame and do /rcon loadfs ObjectEditor.

Let's say you have the following filterscripts running: script1.amx, script2.amx, script3.amx then your server.cfg line will become:

Code:
filterscripts script1 script2 script3 ObjectEditor
::: Bugs :::

None so far, please report them in here!

::: Last words :::

Well, thanks for reading all this and I hope you enjoy it! Please post any suggestions / questions or bugs in this topic!

Update!

Here is version 2.0! It doesn't contain a lot new features. Mostly they are small bugfixes.
  • Fixed /addobject
  • Fixed /movedown.
  • Fixed /objects.
  • Added a /stop command
  • The note in /saveobject is now optional



Greetings,
Matthias

GTA_Rules is offline   Reply With Quote
Old 26/05/2009, 06:43 PM   #2
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

Good work, i'm sure going to use this.
Correlli is offline   Reply With Quote
Old 26/05/2009, 06:49 PM   #3
Google63
Big Clucker
 
Join Date: Jun 2008
Posts: 113
Reputation: 0
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

afaik sscanf pawn version is by ******, but in lot of other high languages there are also sscanf such as C, c++ etc.
Nice work btw. but there are in moment a lot of object editors. but it is good to make one so you know
Google63 is offline   Reply With Quote
Old 26/05/2009, 06:53 PM   #4
javi1995iv
Little Clucker
 
Join Date: Apr 2009
Posts: 27
Reputation: 0
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

Very good work
javi1995iv is offline   Reply With Quote
Old 26/05/2009, 07:00 PM   #5
Shellegg
Huge Clucker
 
Join Date: Apr 2008
Posts: 282
Reputation: 0
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

Fuck it * sorry about the language*

I'll try it, other objects editors are very bugged and very confused.
Thank you and keep the best work
Shellegg is offline   Reply With Quote
Old 26/05/2009, 07:06 PM   #6
Google63
Big Clucker
 
Join Date: Jun 2008
Posts: 113
Reputation: 0
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

LoadObjects ? co it can continue to work on objects..
and SaveObjects too.. you will then need enum too...

Have fun..
Google63 is offline   Reply With Quote
Old 26/05/2009, 07:16 PM   #7
Shellegg
Huge Clucker
 
Join Date: Apr 2008
Posts: 282
Reputation: 0
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

Bit bugged too, the ID 1661 doesn't show and the ID 14532 isn't valid --
And i saw them on MTA.
Btw, you cannot put cords like 0.3500 you can only but entire numbers like 1 2 3 4 5 etc.
Shellegg is offline   Reply With Quote
Old 27/05/2009, 04:32 AM   #8
GTA_Rules
Huge Clucker
 
Join Date: Aug 2008
Posts: 456
Reputation: 3
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

Thanks guys
GTA_Rules is offline   Reply With Quote
Old 27/05/2009, 06:42 AM   #9
Avjj55
Little Clucker
 
Join Date: May 2009
Posts: 5
Reputation: 0
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

Its unique aswell, not by pressing a key you must type it in to get it perfect, I will use this instead of my MD2 to see how it goes. Good job bro!
Avjj55 is offline   Reply With Quote
Old 27/05/2009, 07:17 AM   #10
DarkClone
Huge Clucker
 
Join Date: Mar 2009
Posts: 236
Reputation: 0
Default Re: [FS] Ingame Object Editor [Version 1.0] by Matthias

This is awesome, thanks i hope it will have a loadmap in the future that would be awesome
DarkClone is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] Kurence's simple ingame object editor (minimal number of variables) Kurence Filterscripts 30 11/10/2011 10:24 PM
Real good ingame object editor? Torran Help Archive 9 15/09/2010 03:08 AM
i want to modidy Breadfish's ingame object editor! [GS]Kelito Help Archive 6 19/01/2010 01:40 AM
Bread_oed ingame object editor wont work properly in 0.3 yugokoral Help Archive 10 24/12/2009 07:11 PM


All times are GMT. The time now is 06:31 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.