SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/10/2017, 06:55 PM   #1
FuNkYTheGreat
Huge Clucker
 
FuNkYTheGreat's Avatar
 
Join Date: Jun 2016
Location: Pakistan.
Posts: 286
Reputation: 122
Default Dynamic Material Text System v2.0 [fMat] [UPDATED]



Dynamic Material Text System v2.0
Created by FunkyTheGreat.


Version 2.0 UPDATED!

Introduction.

Hello, Today im releasing my 5th release, Which is Dynamic Material Text System,
By this Filterscript you can Create 3D Text anywhere around SA,
Everything is done is dialogs as to be easy, If you find any bugs , Report them.
Using this script you can create different types of boards/materials/player signatures/webdings ETC.
Plus they are Saved in scriptfiles/Materials Folder (You can change the folder as well check below defines) and loaded as well,
It supports different fonts, To add new Font, Read below !
For examples of usage, Check below Pictures !

Video of v1.0 (OUTDATED VIDEO)
Check pics for the preview of new update.



Features.

Support different Fonts.
Easy to Create.
Using SA-MP Object Editing to edit.
Using y_ini to Save/Load Materials.
Everything is done in dialogs.
Can be used in every type server, In different ways.
Duplicate any material for same usage !
Write text on any object.

Some ideas of usage !

You can also add restriction in that, So that only Donators can create Text anywhere. ( Like UIF ).
Creating it in Different places, e.g Police Station, Jobs , Restricted Location , No Parking , Admin area etc.
Creating a Donor wall, Where Donators name can be listed.
As SA-MP supports Webdings, Wingdings , so you can create different arts, Can be seen through below link,
Creating Entrance board/Exit board at various location.
Creating a Donor Wall.
Creating Gang Graffiti on Gang HQs.
Creating Devs/Admins/VIPs name material.
And much more, Go try yourself.





Commands.

There isn't much commands because everything is done in dialog,
There are 3 Commands,
/CreateMat - Creates the Dynamic Material and saves it in Scriptfiles/Material Folder,
/EditMat (ID) - To edit the given Material, Using SA-MP editing to edit the material.
/NearMat - To get Information about the nearest Material, Such as it's text, Font etc.

Video of explanation,

Defines.

Code:
#define MPATH "Materials/%d.txt" 	   // Path where the Material saves.
#define MAX_FONTNAME 30 		   // The limit of Max font name !
#define MAX_MATERIALS 69 		   // Max amount of Materials
#define MAT_DEFAULT_OBJECT 19480   // The default object of material (when created)
#define MATERIAL_DEFAULT_INDEX 0   // The default index to set material text (when created)
#define dValue 100 			          // Dialog value - starting from this Limit
How can i add a new font?

Adding a new material font is really easy, Just goto line 76, And add your desire font,
Code:
{"MY FONT NAME"}
Some examples, Where it can be used !
Preview of v1.0 (OUTDATED) !
Airport signusing Webdings arts !



Mechanic Sign, can be used for Mechanic jobs/Petrol Pumps etc..



Hospital Sign, can be used for Hospitals in rp/cnr.



Official FedEx sign, can be used in Transportation/Delivery Jobs.



New Update Preview !

Blueberry Restaurent, Can be used in businesses like restaurents , Dine in etc..



Just a preview of new update, Can be used with any animals, by changing their Material Index.



My Country flag, You can create different countries flag using Webdings/Windings font.



An experiment table, Can be used in drug/crack Lab



A look of Windows 10 on a LCD



A sign board can be used in Staff Area/Admin lounge/VIP Lounge etc..



Can be used in restricted area such as Area 69, And some other places you want to restrict.



A special door, Can be used in VIP Lounge/Admin lounge etc.



These are just some examples, Go try yourself, It can be used in any server,

Update log.

Version v1.0 - OUTDATED
Code:
- Initial Release
Version v2.0 - UPDATED
Code:
- Added material index, Now you can change any index of an object..
- Added custom object, Now you can write text on any object, Check updated pics for more info.
- Improved saving/loading system.
- Optimized the script.
- Fixed  few bugs/typos.
Useful Arts Link !

Webdings Code Link !
🏆

Wingdings Code Link !



Credits !
FunkyTheGreat - For creating this Filterscript.
Incognito - For creating streamer include/plugin
Emmet_ - For creating sscanf2 include/plugin.
Kar - For creating foreach (used for Iterators)
Zeex - For creating zcmd.

Download !
Mediafire Link
Pastebin Link

For any suggestions/advise/optimization/bug report feel free to reply,





Last edited by FuNkYTheGreat; 25/03/2018 at 06:05 PM. Reason: Updated to v2.0
FuNkYTheGreat is offline   Reply With Quote
Old 14/10/2017, 09:37 AM   #2
DonaldDuck
Banned
 
Join Date: Jun 2017
Location: Phillipines
Posts: 361
Reputation: 91
Default Re: Dynamic Material Text System [fMat]

I was looking for this! great job! +Rep
DonaldDuck is offline   Reply With Quote
Old 14/10/2017, 10:10 AM   #3
0x88
Big Clucker
 
0x88's Avatar
 
Join Date: Sep 2017
Posts: 72
Reputation: 22
Default Re: Dynamic Material Text System [fMat]

font icon is unless though, players will not download them.
__________________
#offset
0x88 is offline   Reply With Quote
Old 14/10/2017, 10:22 AM   #4
FuNkYTheGreat
Huge Clucker
 
FuNkYTheGreat's Avatar
 
Join Date: Jun 2016
Location: Pakistan.
Posts: 286
Reputation: 122
Default Re: Dynamic Material Text System [fMat]

Quote:
Originally Posted by DonaldDuck View Post
I was looking for this! great job! +Rep
Thanks mate !

Quote:
Originally Posted by 0x88 View Post
font icon is unless though, players will not download them.
Have you even clicked on it? These are Wingdings/Webdings character code,
e.g in Webdings " $ " character is " 🕶 ". I provide the link as people can create these arts.
Nothing is external everything is done in SA-MP.
FuNkYTheGreat is offline   Reply With Quote
Old 16/10/2017, 05:09 PM   #5
m1n1vv
Big Clucker
 
m1n1vv's Avatar
 
Join Date: May 2013
Posts: 56
Reputation: 37
Default Re: Dynamic Material Text System [fMat]

Convenient

m1n1vv is offline   Reply With Quote
Old 17/10/2017, 12:12 PM   #6
Zeth
Gangsta
 
Zeth's Avatar
 
Join Date: Feb 2017
Location: Titan
Posts: 503
Reputation: 114
Default Re: Dynamic Material Text System [fMat]

Quote:
Originally Posted by m1n1vv View Post
Convenient

[IMG][/IMG]
Are those textdraws or an os executable application?
__________________
server.one-rp.com
Zeth is offline   Reply With Quote
Old 28/10/2017, 10:49 AM   #7
FuNkYTheGreat
Huge Clucker
 
FuNkYTheGreat's Avatar
 
Join Date: Jun 2016
Location: Pakistan.
Posts: 286
Reputation: 122
Default Re: Dynamic Material Text System [fMat]

That design is just a showcase, Nothing special.
Thank you !
FuNkYTheGreat is offline   Reply With Quote
Old 30/10/2017, 10:30 AM   #8
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,490
Reputation: 268
Default Re: Dynamic Material Text System [fMat]

Why should I use yours when Ride2day already made one. and is way more better and advanced than the one you made.
__________________
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote
Old 30/10/2017, 07:27 PM   #9
FuNkYTheGreat
Huge Clucker
 
FuNkYTheGreat's Avatar
 
Join Date: Jun 2016
Location: Pakistan.
Posts: 286
Reputation: 122
Default Re: Dynamic Material Text System [fMat]

I'm not forcing anyone to use it.. I didn't really see a material system which is dynamic..
There is some but some are out dated and some contains lot's of bugs..
And i can't find RIDE2WAY's dynamic material text system ...
FuNkYTheGreat is offline   Reply With Quote
Old 01/11/2017, 02:06 PM   #10
Ponga
Big Clucker
 
Ponga's Avatar
 
Join Date: Oct 2017
Posts: 84
Reputation: 9
Default Re: Dynamic Material Text System [fMat]

Awesome.
__________________
Ponga 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
Material text Loinal Scripting Help 5 05/08/2016 01:27 AM
Dynamic Object Material bug iBots Scripting Help 6 03/04/2015 10:31 PM
dynamic object material iBots Scripting Help 2 03/04/2015 02:07 PM
Material Text Kyle Scripting Help 5 30/01/2014 05:47 AM
Material text Ectazy Scripting Help 6 26/01/2013 02:12 PM


All times are GMT. The time now is 08:13 AM.


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