SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 23/10/2014, 07:30 PM   #1
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,896
Reputation: 881
Default TDEditor - New TextDraw creator with Preview models.

1.17 UPDATE, NEW FEATURES AND BUGS FIXED



VERSION 1.17


Video
1.17 Features
YouTube


1.1
YouTube


Download
You have to install Microsoft Visual C++ 2010 Redistributable Package (x86) to run TDE
- (1.17) MediaFire (Contains .txd, plugins, source, TDEditor)


Installation
Video Installation: https://www.youtube.com/watch?v=rW6y1vzDT5M
1. Download TDEditor 1.17 package
2. Copy TDE.pwn and TDE.amx to your filterscripts server folder.
3. Copy TDE.dll and sscanf.dll to your plugins server folder (create if you haven't)
4. Edit your server.cfg and add TDE in filterscripts, TDE and sscanf in plugins lines, example here.
5. Copy TDE.txd to C:/.../GTA San Andreas/models/txd
6. Download and install Microsoft Visual C++ 2010 Redistributable Package (x86)
7. Copy all .dll files from DLL Files folder to your main server folder
8. Open your server.[/LEFT]


Old versions
- (1.16) MediaFire (Contains .txd, plugins, source, TDEditor)
- (1.15) SolidFiles (Contains .txd, plugins, source, TDEditor)
- (1.14) SolidFiles (Contains .txd, plugins, source, TDEditor)
- (1.13) SolidFiles (Contains .txd, plugins, source, TDEditor)
- (1.12) SolidFiles (Contains .txd, plugins, source, TDEditor)
- (1.1) SolidFiles (Contains .txd, plugins, source, TDEditor)


Notes
Only compatible on Windows
You have to install Microsoft Visual C++ 2010 Redistributable Package (x86) to run TDE
1.1 version may contain bugs
Spanish version



Credits
adri1
Pottus (1.14 Update)
iPLEOMAX (Icons and some functions from his editor: http://forum.sa-mp.com/showthread.php?t=376758)
Sasino97 (IsKeyDown plugin, plugin was edited by adri1)
kurta999 (1.1 - 1.14 YSF Plugin: http://forum.sa-mp.com/showthread.php?t=513499)
Y_Less (sscanf2: http://forum.sa-mp.com/showthread.php?t=120356)
Thanks to SlowARG for translate this post into english.



Changelog

1.17 - New edit mode (delta, group textdraw move)
1.17 - BUG FIXED: Sometimes, when you duplicate a TextDraw, duplicated textdraw disappears.

1.16 - PixelLock now works with TextDrawSize
1.16 - New and better GameTextPlayers info
1.16 - Textdraw duplication fixed
1.16 - /TDE Box fixed
1.16 - Position edition and dialog box size fixed
1.16 - Improvement on box sizing
1.15 - YSF is not necessary now, then, TDEditor works on 0.3.7 now.
1.14 - Added mirror feature when duplicating textdraw.
1.14 - Added pixel lock feature (Mouse movement will round to nearest whole values).
1.14 - Removed gametext display and changed with textdraw (gametext can get hidden behind textdraws).
1.14 - Pixel lock is home key.
1.13 - Add Key 'END' (/tde cursor if not works) to enable/disable SelectTextDraw on TDE.
1.13 - Fixed some bugs.
1.13 - If no more bugs, this is the latest version.

1.12 - Fixed 2 bugs with outline and shadow levels.
1.1 - Initial version 23/10/14


Tutorial


Button: Manage

Left click
Show all created TextDraws, and you can select a TextDraw to edit.

Right click
Right click doesn't perform any action.


Button: Export

Left click
Export the project to scriptfiles folder (in .txt format).

Right click
Right click doesn't perform any action.


Button: New

Left click
This button will create a Normal TextDraw.

Right click
Show dialog with more options (Sprites, preview models, box).


Button: Delete

Left click
Delete the selected TextDraw.
When you remove a TextDraw will be selected previous TextDraw.


Right click
Right click doesn't perform any action.


Button: Duplicate

Left click
This button will duplicate the selected TextDraw.

Right click
Right click doesn't perform any action.


Button: Font

Left click
When you press this button, TextDraw will change the font.

Right click
Right click doesn't perform any action.


Button: Position

Left click
When this mode is enabled, you can move the TextDraw with mouse or keys.
You can ajust movement speed with the keys: +/-


Right click
Will display a dialog for introduce exact cords.


Button: Size

Left click
When this mode is enabled, you can edit the TextDraw size (not lettersize) with mouse or keys.
You can ajust movement speed with the keys: +/-


Right click
Will display a dialog for introduce exact cords.


Button: Text

Left click
When this mode is enabled, you can edit the TextDraw text with the keyboard keys.
This script recognizes most of all keys, but it doesn't perform, you've a possibility to use right click.
The script will recognize most of the keys pressed, but if it does not works good, look right click.



Right click
Will display a dialog for introduce text.


Button: Color

Left click
When this mode is enabled, you can edit the colors by moving the mouse at the corners (with left click pressed).

Right click
Will display a dialog with some functions (principal colors, exact color and combine colors).


Button: BG Color

Left click
It work like the 'Color' button (BackgroundColor).

Right click
Will display a dialog with some functions (principal colors, exact color and combine colors).


Button: BoxColor

Left click
It work like the 'Color' button (BoxColor).

Right click
Will display a dialog with some functions (principal colors, exact color and combine colors).


Button: LetterSize

Left click
When this mode is enabled, you can edit the letter size of the TextDraw with mouse or keys.
You can ajust movement speed with the keys: +/-


Right click
Will display a dialog for introduce exact cords.


Button: Outline

Left click
When this mode is enabled, you can edit the Outline with mouse or keys.

Right click
Will display a dialog for introduce Outline level.


Button: Shadow

Left click
When this mode is enabled, you can edit the shadow with mouse or keys.
If outline is on you can't see the shadow.


Right click
Will display a dialog for introduce shadow level.


Button: Use Box

Left click
Enable/Disable the box of a normal TextDraw.

Right click
Right click doesn't perform any action.


Button: Alignment

Left click
Switches between different alignment types.

Right click
Right click doesn't perform any action.


The tutorial will continue down.

Last edited by adri1; 03/10/2016 at 07:08 PM.
adri1 is offline   Reply With Quote
Old 23/10/2014, 07:32 PM   #2
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,896
Reputation: 881
Default Respuesta: TDEditor 1.1 - New TextDraw creator with Preview models.

Button: Global/Player

Left click
Switches between Global TextDraw or PlayerTextDraw.
This function hasn't effect on TDEditor, only on the exported project.


Right click
Right click doesn't perform any action.


Button: Selectable

Left click
Enable/Disable the 'selectable mode' of the TextDraw.
This function hasn't effect on TDEditor, only on the exported project.


Right click
Right click doesn't perform any action.


Button: Proportionality

Left click
Enable/Disable the 'proportion' of the TextDraw.

Right click
Right click doesn't perform any action.


Button: Models

Left click
When this mode is enable, you can edit RotX, RotY, RotZ, Zoom (see video) by moving the mouse at the corners (with left click pressed).

Right click
Will display a dialog with some functions (change modelid, edit rotx, edit roty, edit rotz, edit zoom, edite vehicle color 1, edit vehicle color 2).


Button: Modelid

Left click
Will display a dialog to change 'modelid' of the TextDraw.

Right click
Right click doesn't perform any action.


Keys combination: Ctrl+R



Keys combination: Ctrl+C
These keys will duplicate the selected TextDraw.


Keys combination: Ctrl+X
These keys will delete the selected TextDraw.


Keys: END
Enable/disable SelectTextDraw.

Last edited by adri1; 03/10/2016 at 07:05 PM.
adri1 is offline   Reply With Quote
Old 23/10/2014, 07:38 PM   #3
OTACON
Godfather
 
OTACON's Avatar
 
Join Date: Dec 2010
Location: mongolia
Posts: 5,170
Reputation: 568
Default Respuesta: TDEditor 1.1 - New TextDraw creator with Preview models.

awesome, excellent work.

PD:
Quote:
Originally Posted by Forum Rules
  • No Double Posting - There is a modify button , use it. However, bumping a topic in which you have or require further information is allowed after at least 24 hours. Note
__________________
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
Old 23/10/2014, 07:39 PM   #4
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,896
Reputation: 881
Default Respuesta: TDEditor 1.1 - New TextDraw creator with Preview models.

Quote:
Originally Posted by OTACON View Post
awesome, excellent work.

PD:
He tendio que separarlo en 2 porque tiene mas de 20 imagenes.

+20 images, I can't post all in the first post
adri1 is offline   Reply With Quote
Old 23/10/2014, 08:01 PM   #5
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,274
Reputation: 1141
Default Re: TDEditor 1.1 - New TextDraw creator with Preview models.

Looks good I will give it a shot and tell you what I think.

Okay you really need to have position snapping for me as good as this is it's unusable because the movement precision is too high. I would need it to snap to the nearest pixel otherwise textdraws will not be resolution friendly.

I also can't go into my game settings to change my resolution to test how TD's look.

There should be options to turn shadow, outline on/off (Okay I figured this out)
Pottus is offline   Reply With Quote
Old 23/10/2014, 08:19 PM   #6
KingServerIRAN
Banned
 
Join Date: Aug 2013
Location: SarBNR, IRAN!. Reputation:9999. . Posts2: 160754
Posts: 374
Reputation: 45
Default Re: TDEditor 1.1 - New TextDraw creator with Preview models.

Excellent work

cool! 10/10
KingServerIRAN is offline   Reply With Quote
Old 23/10/2014, 08:29 PM   #7
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,896
Reputation: 881
Default Respuesta: Re: TDEditor 1.1 - New TextDraw creator with Preview models.

Quote:
Originally Posted by Pottus View Post
Looks good I will give it a shot and tell you what I think.

Okay you really need to have position snapping for me as good as this is it's unusable because the movement precision is too high. I would need it to snap to the nearest pixel otherwise textdraws will not be resolution friendly.

I also can't go into my game settings to change my resolution to test how TD's look.

There should be options to turn shadow, outline on/off
You can use the keyboard to move TextDraws, use +/- keys to adjust the speed.
And you test right click?
adri1 is offline   Reply With Quote
Old 23/10/2014, 08:31 PM   #8
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,274
Reputation: 1141
Default Re: Respuesta: Re: TDEditor 1.1 - New TextDraw creator with Preview models.

Quote:
Originally Posted by adri1 View Post
You can use the keyboard to move TextDraws, use +/- keys to adjust the speed.
And you test right click?
Alright that works with the arrow keys but can you make it also lock with the mouse movement?

Also being unable to change my resolution to test TD's is really annoying.
Pottus is offline   Reply With Quote
Old 23/10/2014, 08:35 PM   #9
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,896
Reputation: 881
Default Respuesta: Re: Respuesta: Re: TDEditor 1.1 - New TextDraw creator with Preview models.

Quote:
Originally Posted by Pottus View Post
Alright that works with the arrow keys but can you make it also lock with the mouse movement?

Also being unable to change my resolution to test TD's is really annoying.
Stop pressing the left click
adri1 is offline   Reply With Quote
Old 23/10/2014, 08:37 PM   #10
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,274
Reputation: 1141
Default Re: TDEditor 1.1 - New TextDraw creator with Preview models.

I understand that, what I am saying is when you set your movement can you snap that setting to the mouse movement as well. (Maybe make it so you can press HOME - END to enable / disable the mouse control.

Anyways this is definitely much better than the other TD editors just fix that issue with not being able to go into the game settings.

Another thing you should do as well is show the current settings in the dialog when you right click an option such as position.

Last edited by Pottus; 23/10/2014 at 09:08 PM.
Pottus 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
iPLEOMAX's textdraw editor with preview models Alienwar3 Screenshots and Videos 15 16/06/2014 07:00 PM


All times are GMT. The time now is 05:00 PM.


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