[Tutorial] How to re-texture mapping objects manually. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (
https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to re-texture mapping objects manually. (
/showthread.php?tid=623706)
How to re-texture mapping objects manually. -
Tuntun - 04.12.2016
Tutorial
Welcome to my first tutorial thread regarding 'How to re-texture mapping objects manually'.
Why am I calling this 'Manually'? Because I'm not going to use in-game texture editor.
This this very simple way to texture your map objects. Just copy and paste things have to be done.
Video:
https://*********/2lFJm8NiS1c
Download links and all information given with the video.
Step 1:
Where you can find the SAMP texture pawn code?:
https://textures.xyin.ws/?page=textures
Step 2:
What I do now?: Just select the texture you want to use then copy the pawn code.
Example:
SetObjectMaterial(CreateObject(...), 0, 18202, "w_towncs_t", "concretebig4256128", 0xFFFFFFFF);
Step 3:
What is next?: Now you open your gamemode/map file. Paste the texture pawn code there.
Step 4:
Suppose this is your object:
CreateObject(19377, -2605.29004, 436.65488, 1097.10950, 0.00000, 90.00000, 0.00000);
Now you have to edit the texture pawn code something like this:
SetObjectMaterial(CreateObject(...), 0, 18202, "w_towncs_t", "concretebig4256128", 0xFFFFFFFF);
to:
SetObjectMaterial(CreateObject(19377, -2605.29004, 436.65488, 1097.10950, 0.00000, 90.00000, 0.00000), 0, 18202, "w_towncs_t", "concretebig4256128", 0xFFFFFFFF);
Thank you.