[FilterScript] [FS] Textdraw Editor 1.0! • Remade from scratch • Lots of new features!
#1

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:
Код:
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
Reply
#2

Nice release, thanks.
Reply
#3

Uhm..? tbh, I like the old version better, But I will try this version
Reply
#4

Link is broken already? =/

I really liked your old one, see if this one is any better.
Reply
#5

Quote:
Originally Posted by Aber▲
Link is broken already? =/
check again..?
Reply
#6

Nice work, I used your first one allot and so I will this one.
Reply
#7

OMFG Very very nice update just awesome
Reply
#8

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
Reply
#9

Nice work, I'll test it out. Also what does it have different to the other one?
Reply
#10

Very usefull thing.
Thanks
Reply
#11

Very Nice
Reply
#12

This script is awesome and has excellent presentation. I will be using it to design textdraws in you-know-what .
Reply
#13

Quote:
Originally Posted by [HiC
TheKiller ]
Nice work, I\'ll test it out. Also what does it have different to the other one?
Quote:

# 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.

Thanks everyone for the positive feedback
If you encounter any bugs, please report them.
Reply
#14

oh it\'s great a nice update ^^ great work!

Fallout
Reply
#15

Gonna use this for sure!
Reply
#16

Great for screen mapping!
I never did like editing, compiling, testing...
With this, you can edit while you play, superb!

Nice release/update Zamaroht
Reply
#17

Good work.
Reply
#18

Nice work, I used your old one all the time
Reply
#19

Great job, will be using
Reply
#20

Awesome, I hope this is better than the last one you made. ( The last one was very helpful )
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)