SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 01/10/2013, 09:03 PM   #1
Grimrandomer
Big Clucker
 
Grimrandomer's Avatar
 
Join Date: Dec 2011
Posts: 128
Reputation: 57
Post SAMP Zone Editor

While working with Incognito's streamer (http://forum.sa-mp.com/showthread.php?t=102865) I wanted an easy way to make "Zones" on the map with the CreateDynamicPolygon and made a little tool to make it simple.

Latest Version: 1.0.0.6 ( 30/01/2018 )





How To:
You can create a zone by clicking the top "Add" button, the zones you have created will be in the top list, to select a zone, click it in the list.
When you have a selected zone, you can remove it with the top "Remove" button.

You can change the position of a zone by selecting it and using the Up and Down arrows

When you have a zone selected, you can double click on the map to add a point, or click the lower "Add" button to add where the center of the red cross it.

A path wont form until their is 3 points in the zone.

All points in the zone will be in the bottom list, double click one to center the map on it, or select and then click the lower remove button to remove it.

As the zone is a closed path, it will be created in order of the points in the list, if you want to add a new point in the middle of the list, select a point, and when you add a new one, it will be added after the selected point.

To move around the map, simply click and drag, or enter co-ordinates in the boxes at the top right for X and Y respectively

There is also a simple export button under File -> Export that can export either lists of points, or a simple filter script.



(Hint, the filter-script wont compile if you have any non alphanumeric zone names, or zone names over 64 characters long)
(Hint, the filter-script requires the streamer mentioned at the top of the post)
(Hint, the filter-script is untested with dynamic circles)

Tip:
As the program now draws the map in "tiles", you should see improved performance, also, to avoid long start up times, tiles are generated as needed, so when you zoom in/out in parts of the map you have not already generated there may be a slight pause. The total tiles generated can be found under the FPS in the top left corner.

As this is not fully tested, I'm unsure how robust it is against crashing, so i advise saving regularly to avoid file losses.

Change-log:

Version 1.0.0.6
Code:
Fixed bug in Dynamic Rectangles
Version 1.0.0.5
Code:
Now supports Dynamic Rectangles
Version 1.0.0.4
Code:
Now has simple zoom in/out
Version 1.0.0.3
Code:
Now works with Dynamic Circle's
Download:

Version 1.0.0.6

Version 1.0.0.5
Version 1.0.0.4
Version 1.0.0.3
Version 1.0.0.2

Source code / Version History / Dowloads can be found here:
https://bitbucket.org/Grimrandomer/samp-zone-editor


Any comments or questions please ask
__________________

Last edited by Grimrandomer; 30/01/2018 at 08:55 PM. Reason: Version 1.0.0.6
Grimrandomer is offline   Reply With Quote
Old 01/10/2013, 09:08 PM   #2
m99t
Little Clucker
 
Join Date: Oct 2011
Posts: 4
Reputation: -4
Default Re: SAMP Zone Editor

Very nice, useful tool!
m99t is offline   Reply With Quote
Old 01/10/2013, 09:10 PM   #3
ikey07
High-roller
 
ikey07's Avatar
 
Join Date: Jul 2010
Location: Latvia,Riga
Posts: 1,364
Reputation: 180
Default Re: SAMP Zone Editor

I smell it useful.
__________________
ikey07 is offline   Reply With Quote
Old 01/10/2013, 09:27 PM   #4
DaRealShazz
Big Clucker
 
DaRealShazz's Avatar
 
Join Date: Jan 2012
Posts: 188
Reputation: 55
Default Re: SAMP Zone Editor

Definitely useful for making zones. Good work!
DaRealShazz is offline   Reply With Quote
Old 01/10/2013, 11:35 PM   #5
Team_PRO
High-roller
 
Team_PRO's Avatar
 
Join Date: Aug 2012
Location: Philippines
Posts: 1,836
Reputation: 87
Default Re: SAMP Zone Editor

nice will try
Team_PRO is offline   Reply With Quote
Old 02/10/2013, 01:47 AM   #6
RafaelZam
Huge Clucker
 
RafaelZam's Avatar
 
Join Date: Jun 2012
Location: Trust yourself.
Posts: 312
Reputation: 16
Default Respuesta: SAMP Zone Editor

really?
this si amazing ! nice one !
well done guy +rep
__________________
Just Tryin' to get it right
RafaelZam is offline   Reply With Quote
Old 02/10/2013, 02:37 AM   #7
xganyx
Gangsta
 
xganyx's Avatar
 
Join Date: May 2013
Posts: 680
Reputation: 7
Default Re: SAMP Zone Editor

wtf?
Awesome! nice one !!
Rep+
__________________
xganyx is offline   Reply With Quote
Old 02/10/2013, 02:54 AM   #8
WLSF
High-roller
 
Join Date: Aug 2011
Posts: 3,538
Reputation: 771
Default Re: SAMP Zone Editor

Very interesting, +rep
WLSF is offline   Reply With Quote
Old 02/10/2013, 05:16 AM   #9
AnGeL_KRAMER
Big Clucker
 
AnGeL_KRAMER's Avatar
 
Join Date: Nov 2011
Posts: 130
Reputation: 10
Default Re: SAMP Zone Editor

NICE!
AnGeL_KRAMER is offline   Reply With Quote
Old 02/10/2013, 05:39 AM   #10
OTACON
Godfather
 
OTACON's Avatar
 
Join Date: Dec 2010
Location: mongolia
Posts: 5,165
Reputation: 569
Default Respuesta: SAMP Zone Editor


exe file and not the source code...
source code?...
__________________
GAMEROL.NET --> youtube
Siempre un paso por delante de SA-MP!.
Always one step ahead of SA-MP !.


FORUM: www.gamerol.net -In maintenance-
IP SAMP: server.gamerol.net -In maintenance-
IP TEAMSPEAK: ts.gamerol.net -on-line-

_____________________
OTACON 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] Gang Zone Editor 1.0 Lorenc_ Filterscripts 44 21/04/2014 10:51 AM
[Ajuda] Samp map editor !!!!!! Pietrotm2013 Português/Portuguese 0 16/05/2013 10:23 PM
[Map] First map in samp editor Sweboy Maps 1 02/12/2012 10:28 PM


All times are GMT. The time now is 04:25 PM.


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