SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 02/01/2010, 03:31 AM   #1
Zamaroht
High-roller
 
Zamaroht's Avatar
 
Join Date: Jan 2007
Location: Argentina
Posts: 1,203
Reputation: 61
Default [FS] Textdraw Editor 1.0! • Remade from scratch • Lots of new features!

Zamaroht's Textdraw Editor v1.0
Click here for the old version (0.6)
(Versiσn en Espaρol - Spanish version: http://forum.sa-mp.com/index.php?topic=143694.0)

• What does this do?
This is a script made to help other gamemodes' developers to do their textdraws. Getting a textdraw exactly how we want by just looking to some code is just too complicated and time-consuming, so by using this filterscript you can just design a collection of textdraws in-game and export all the data you need to a file. Since 1.0, you can now also create a filterscript from in-game, which after you compile runs straight away, without further modifications.
_________________________________________________

• Introduction:
This is a whole new and scratch made version of the previous Textdraw Editor 0.6. Since it has been fully recoded and not a single piece of code of 0.6 was reused, I supposed that creating a new topic would be appropriate. It has a lot of improvements, listed below.
_________________________________________________

• Features:
Here is a list of the most important features that the script provides. Those marked with red color weren't present in the previous versions.
  • Support for multiple textdraws at the same time.
  • Close-to-none commands, user friendly interface.
  • You can now see a preview of each textdraw in the textdraw selection menu, for easier recognition.
  • Most of all the interface is done with dialogs.
  • Movements and resizes can be done with the arrow keys.
  • You can now duplicate textdraws, to do GUIs faster and more precisely.
  • Projects support: You can create new projects, load them, delete them, and export them to a file. Each one with its own Textdraws.
  • Projects save automatly after each edition, you don't have to worry about losing your creation.
  • Appart from the classic export mode, you can create self-working filterscripts from inside the game. You just have to compile them and run them!
  • Support for custom colors added. You can use hex custom colors, or use the color combinator to choose the amount of each color you want.
  • Improved stability.
_________________________________________________

• Screenshots: (Click to enlarge)


http://zamaroht.com.ar/textdraw/images/sa-mp-135.png
http://zamaroht.com.ar/textdraw/images/sa-mp-136.png
http://zamaroht.com.ar/textdraw/images/sa-mp-137.png
http://zamaroht.com.ar/textdraw/images/sa-mp-138.png
http://zamaroht.com.ar/textdraw/images/sa-mp-139.png
http://zamaroht.com.ar/textdraw/images/sa-mp-141.png
http://zamaroht.com.ar/textdraw/images/sa-mp-142.png

_________________________________________________

• Credits:
- Nicolαs 'Zamaroht' Laurito.
- dini and some dutils functions were used, by Dracoblue.
_________________________________________________

• Disclaimer:
- You don't have to include me in your credits if you used this filterscript to create your textdraws.
- You hold full rights over the exported files and filterscripts created by this filterscript.
- You can re-distribute the main filtescript as you wish, but ALWAYS keeping the name of the author and a link back to http://forum.sa-mp.com/index.php?topic=143025.0 attached to the mean of distrubution. Even if you create a modification based on this filterscript, the same terms apply.
_________________________________________________

• Important:
- Remember, to be able to use your creations, you have to select the Export option from the menu. The .tde and .lst files are used internally by the Editor, and are not meant to be modified or used by humans.


• Download:


AMX compiled and ready-to-use file:

Mirror attached at the end of the post
(RC1: 4 downloads)
(RC2: 3519 downloads)


Source code:

Mirror attached at the end of the post
(RC1: 102 downloads)
(RC2: 3643 downloads)


_________________________________________________

• Changelog:
Code:
v1.0: (10/1/2011)
- Changed the dialog IDs to the 1574-1605 range.

v1.0 RC2: (3/1/2010)
- Fixed a bug where the textdraw strings wouldn't load properly from a .tde file.
- Fixed a syntax bug where "Outline shadow 6" would show instead of "Outline shadow 5".
- Updated some outdated comments.

v1.0 RC1: (1/1/2010)
- First release.
_________________________________________________
• Notes:
- It is advised to run this script in a server with a blank script (like lvdm) and without any other filterscript. Otherwise dialogs from different scripts could mix up.
- Even although multiplayer use is partially included, it's best stable when being used by just a single person.
- The custom hex code system for colors works with the following formats: 0xFFFFFFFF, #FFFFFFFF, FFFFFFFF. If no alpha channel is specified, it will be FF by default.
- To run a exported filterscript, you have to open it with pawno from inside the scriptfiles folder, compile it, copy the .amx to the filterscripts folder, and add the required data in server.cfg. Look here for more info.
_________________________________________________

Feel free to leave either good or bad feedback and share your thoughts, they are always welcome
__________________

Last edited by Zamaroht; 11/01/2011 at 01:27 AM.
Zamaroht is offline   Reply With Quote
Old 02/01/2010, 03:32 AM   #2
Pridit
Big Clucker
 
Pridit's Avatar
 
Join Date: Jun 2007
Location: United Kingdom
Posts: 86
Reputation: 1
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features!

Nice release, thanks.
Pridit is offline   Reply With Quote
Old 02/01/2010, 03:34 AM   #3
HydraX
Gangsta
 
Join Date: Mar 2009
Location: Don`t stalk me..
Posts: 966
Reputation: 18
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features!

Uhm..? tbh, I like the old version better, But I will try this version
__________________
kthxbai.
http://pastebin.com/cLxes1HM

West Coast Generation - Alpha [0.3e]
108.213.37.171:7777
HydraX is offline   Reply With Quote
Old 02/01/2010, 03:39 AM   #4
Abernethy
Gangsta
 
Join Date: May 2009
Posts: 988
Reputation: -1
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features!

Link is broken already? =/

I really liked your old one, see if this one is any better.
Abernethy is offline   Reply With Quote
Old 02/01/2010, 03:39 AM   #5
HydraX
Gangsta
 
Join Date: Mar 2009
Location: Don`t stalk me..
Posts: 966
Reputation: 18
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features!

Quote:
Originally Posted by Aber▲
Link is broken already? =/
check again..?
__________________
kthxbai.
http://pastebin.com/cLxes1HM

West Coast Generation - Alpha [0.3e]
108.213.37.171:7777
HydraX is offline   Reply With Quote
Old 02/01/2010, 03:43 AM   #6
StrickenKid
Gangsta
 
Join Date: Feb 2009
Posts: 773
Reputation: 41
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features!

Nice work, I used your first one allot and so I will this one.
__________________
StrickenKid is offline   Reply With Quote
Old 02/01/2010, 07:37 AM   #7
RenisiL
Gangsta
 
RenisiL's Avatar
 
Join Date: Aug 2008
Posts: 527
Reputation: 4
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features!

OMFG Very very nice update just awesome
RenisiL is offline   Reply With Quote
Old 02/01/2010, 08:17 AM   #8
Zamaroht
High-roller
 
Zamaroht's Avatar
 
Join Date: Jan 2007
Location: Argentina
Posts: 1,203
Reputation: 61
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features!

Quote:
Originally Posted by Seif_
This is great, good job! I have a question though, does each project save textdraws one after another? Because in the old one, it mixed up and I had to edit the script to make it save one after another.
Yes, they are saving one after each other, even in the self-working filterscript export mode, adding an empty line between each textdraw
__________________
Zamaroht is offline   Reply With Quote
Old 02/01/2010, 08:25 AM   #9
[HiC]TheKiller
High-roller
 
Join Date: Mar 2008
Location: New Zealand
Posts: 3,038
Reputation: 407
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features!

Nice work, I'll test it out. Also what does it have different to the other one?
__________________
[HiC]TheKiller is offline   Reply With Quote
Old 02/01/2010, 08:40 AM   #10
Cypress
Gangsta
 
Cypress's Avatar
 
Join Date: Dec 2009
Location: Germany
Posts: 905
Reputation: 109
Default Re: [FS] Textdraw Editor 1.0 RC1! • Remade from scratch • Lots of new features

Very usefull thing.
Thanks
__________________


Cypress 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] TextDraw editor 0.6 - Multiple textdraw support, for proffesional textdraws Zamaroht Filterscripts 369 20/01/2013 02:46 PM
[problema]Textdraw editor Xapita_Halls Portuguκs/Portuguese 1 19/12/2010 11:48 PM
[GameMode] [GM] Unfinished Roleplaying Projects - 100% from scratch, with lots of features! Julien210 Gamemode Scripts 15 14/06/2010 07:21 AM
textdraw editor Kar Help Archive 3 12/06/2010 04:00 PM
Textdraw Editor Box help Torran Help Archive 7 12/04/2010 04:18 PM


All times are GMT. The time now is 11:57 AM.


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