[FilterScript] Dynamic Material Text System [fMat]
#1


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,




Reply
#2

I was looking for this! great job! +Rep
Reply
#3

font icon is unless though, players will not download them.
Reply
#4

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

Convenient

Reply
#6

Quote:
Originally Posted by m1n1vv
View Post
Convenient

[IMG][/IMG]
Are those textdraws or an os executable application?
Reply
#7

That design is just a showcase, Nothing special.
Thank you !
Reply
#8

Why should I use yours when Ride2day already made one. and is way more better and advanced than the one you made.
Reply
#9

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

Awesome.
Reply
#11

Awesome. x2
Reply
#12

Quote:
Originally Posted by Ponga
View Post
Awesome.
Quote:
Originally Posted by Kaponi
View Post
Awesome. x2
Thank you..
Reply
#13

Hey I installed, and opened the game, when I writes command /createmat, it says "The material created successfully! The material ID is ...... etc" But none material it created and when I do /editmat (that id) and clicks any option, it does nothing. I have Materials folder in scriptfiles. Help please ?
Reply
#14

Quote:
Originally Posted by RakiT
View Post
Hey I installed, and opened the game, when I writes command /createmat, it says "The material created successfully! The material ID is ...... etc" But none material it created and when I do /editmat (that id) and clicks any option, it does nothing. I have Materials folder in scriptfiles. Help please ?
I tried it on my local host and it's still working fine.. Make sure your streamer plugin version is same as your streamer include version and also add nativechecker to your server.cfg and see if there's error's like Function not registered..
Then for sure the problem is that your plugin version doesn't match your include version download the latest streamer plugin from here LINK !
Reply
#15

how to make flag of indonesiaa how? I need a code to create a flag
Reply
#16

Quote:
Originally Posted by Tihoy232
View Post
how to make flag of indonesiaa how? I need a code to create a flag
You can use this one to make dynamic flag..
First create a material using /createmat, Then /editmat, Set's it background color to No color, change Font to Webdings and then click on change text and use "gggg" so it'll appear like this in Webdings font " ■ " and when you use multiple it'll create a rectange, Set it's font size to your needs, Do this same as the down white color rectange, Your flag will be ready..
Reply
#17

its good,i tested it,congrats !
Reply
#18

rep+
Reply
#19

Thank you.
I've updated this filterscript to v2.0 with some more features/bug fixes, Few pictures of new feature

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.
Blueberry Restaurent, Can be used in businesses like restaurents , Dine in etc..



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



A look of Windows 10 on a LCD



Check thread/first post to see more information about the new update.
Reply
#20

its not working, i get error.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)