open.mp forum
[Filterscript] TDEditor - New TextDraw creator with Preview models. - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13)
---- Forum: Filterscripts (https://forum.open.mp/forumdisplay.php?fid=30)
---- Thread: [Filterscript] TDEditor - New TextDraw creator with Preview models. (/showthread.php?tid=340)



TDEditor - New TextDraw creator with Preview models. - Rafael_Rosse - 2019-04-18

Moved to GitHub: https://github.com/adri1samp/TDEditor

[Image: W6qNTlDSkYA.jpg]



The authors:

Romzes is the developer of the current modification.

adri1 is the author of the original version.





Current version TDEditor v2.3 ? Download: Yandex Disk



Right-click, click, open, preview, model, color. by text or color






Change fix

Everything is fully translated into Russian.

Added the ability to add comments to each of the textdraw separately.

(You need to click the mouse wheel on the Text icon)

Added the ability to hide each textdraw separately.

(You need to press SHIFT H)

Added a list of standard sprites.

Added support for Russian text in textdraw.

(Only for input through the dialog box, only English text is typed from the keyboard.)

Added the ability to select or deselect all textdraw at once.

A confirmation window has been added for exporting, deleting and copying.

The group editing mode has been reworked, it has become more convenient and more features have appeared.

(To enter it, right-click on the Manage icon)

Fixed a bug when buttons from the keyboard were pressed in a minimized game.

In view mode, the toolbar is completely hidden.

Fixed a bug with the transfer toolbar.

Reworked the appearance of some dialog boxes.

Many small and not only bug fixes.

Fixed bug with saving Russian text to files.

Added support for Russian titles for projects.

Slightly improved export projects.

You can set your own name for variables when exporting.

Added support for custom objects 0.3.8.





Control

CTRL N - Create a TextDraw.

CTRL X - Delete TextDraw.

CTRL C - Copy TextDraw.

CTRL H - Hide TextDraw.

CTRL I - Information about TextDraw.

CTRL R - Turn on the red line.

CTRL B - Move Control Panel.

END - Enter the view mode.

HOME - Enable pixel lock. (The position of the text of the game when moving will be rounded to a whole number

DELETE - Turn off group edit mode. (Only works if multiple textframes are selected)





[Video: https://www.youtube.com/watch?v=cYxV6S-sjbE]



Download

https://github.com/adri1samp/TDEditor







Installation

You have to install Microsoft Visual C 2010 Redistributable Package (x86) to run TDE



1. Download TDEditor

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.17) MediaFire (Contains .txd, plugins, source, TDEditor)

- (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)











Changelog

1.18 - Add paths for projects and exports in scriptfiles

1.18 - AFK checker

1.18 - Negative objects models id in preview models for support 0.3.8 custom objects

1.18 - Export project system improved



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

[Image: 3vlkSbpBtWw.jpg]



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

[Image: JgEatXYupZg.jpg]



Left click

This button will create a Normal TextDraw.



Right click

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



Button: Delete

[Image: Ys7zopvrK54.jpg]



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

[Image: uo4Mxl0MNdA.jpg]



Left click

This button will duplicate the selected TextDraw.



Right click

Right click doesn't perform any action.





Button: Font

[Image: KvjlDo2JpYc.jpg]



Left click

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



Right click

Right click doesn't perform any action.





Button: Position

[Image: acnDxEN9mL4.jpg]





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

[Image: cjoZtjIup5Q.jpg]





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.

[Image: BfEo.gif]



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



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



RE: TDEditor - New TextDraw creator with Preview models. - Rafael_Rosse - 2019-04-18

(2019-04-18, 06:12 AM)Romzes Wrote: Thank you for posting my modification. =)



And you thank you))


RE: TDEditor - New TextDraw creator with Preview models. - s1cky - 2019-04-21

nice!


RE: TDEditor - New TextDraw creator with Preview models. - JaKe Elite - 2021-01-09

For some reason despite having the proper Microsoft Visual Package installed, the plugin fails to run for some reason. Any idea why?


RE: TDEditor - New TextDraw creator with Preview models. - Pinch - 2021-01-09

(2021-01-09, 11:00 AM)JaKe Elite Wrote: For some reason despite having the proper Microsoft Visual Package installed, the plugin fails to run for some reason. Any idea why?

Try installing NET Framework 3.5


RE: TDEditor - New TextDraw creator with Preview models. - Chaprnks - 2021-05-21

Where's the source code for this modified version? The yandex link only includes the .amx