How to create this "objects" ?
#1

http://i.cubeupload.com/wlZdb8.png

For a long time i tried to figure out how this objects or script is made, i'm only a mapper, not a scripter so i tried to figure it out with the knowledge i have and no succes, i tried map stealer to steal the map and see if i get any textures code from it but no succes, all i got was 5 small objects that seems to be the base for it but they can't be textured like that because of the small size, i searched every texture in game and no succes, i couldn't find anything, the last ideea is that the map is made with a script like this http://i.imgur.com/WIbuCi3.jpg ...i know how this script is made and i know that is HARD...maybe someone can create me a code with these textures and i will edit the objects ?
Reply
#2

The textures are from the weapon models. The icons are included in the TXD.

Go to (for example) Prineside and find the weapon you want to do this for.

Eg. http://dev.prineside.com/en/gtasa_sa.../359-rocketla/

Here you see the ID of the model (359) and the model name ("rocketla"), next click on the TXD file on the right and you see the texturenames you can use ("rocketlaicon" for the icon texture).

Now fill this info into Set(Dynamic)ObjectMaterial and you can set the icon texture for your objects.
Reply
#3

Interesting method. I used to do it with SetObjectMaterialText and the gtaweap3.ttf font. But this seems like a way more solid method.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)