22.02.2015, 21:24
(
Last edited by n0minal; 28/02/2015 at 06:13 PM.
)
Hello, since some time ago i was figuring out some new textdraw functions, specifically, preview models. Since i started designing my systems and started using preview models, i've figured out how good should be if we could re-texture objects (as the same way we can do in-game) into preview model, change their color etc and show the TextDrawPreviewModel to the players.
Why its not useless? Why do it?
Because we could do a lot of "new own objects" using retexturing and use it on our preview models, like my inventory system:
Inventory video demo
Some examples of "customized objects":
-Medical stuff
-Furniture items modfied
-Custom general objects and buidings
So here are my suggestions:
Some other ideas:
It should help us to do innovations on our own servers, what do you guys think?
Why its not useless? Why do it?
Because we could do a lot of "new own objects" using retexturing and use it on our preview models, like my inventory system:
Inventory video demo
Some examples of "customized objects":
-Medical stuff
-Furniture items modfied
-Custom general objects and buidings
So here are my suggestions:
Quote:
native TextDrawSetPreviewMaterial(Text:textid, materialindex, modelid, txdname[], texturename[], materialcolor); native PlayerTextDrawSetPreviewMaterial(playerid, PlayerText:text, materialindex, modelid, txdname[], texturename[], materialcolor); [new suggestions]: native TextDrawSetPreviewMaterialText(Text:textid, text[], materialindex, materialsize, fontface[], fontsize, bold , fontcolor, backcolor, textalignment); native PlayerTextDrawSetPreviewMaterialText(playerid, PlayerText:text, ...); native TextDrawSetRotation( Text:textid, Float:rx, Float:ry, Float:rz); native PlayerTextDrawSetRotation(playerid, PlayerText:text, Float:rx, Float:ry, Float:rz); |
Quote:
-Game objects in textdraws, retexture and retext them before seting to preview. -native TextDrawSetPreviewObject(Text:textid, objectid)//insert game modified objects into preview models -native PlayerTextDrawSetPreviewObject(playerid, PlayerText:text, objectid)//insert game modified objects into preview models |