Mr.unpredictable. Posted June 16, 2014 Share Posted June 16, 2014 tools needed to replace a texture MEd (http://www.gtagarage.com/mods/show.php?id=1053) Alci image tools TXDWORKSHOP LET'S GET STARTED STEP 1 : finding the id of the object which you want to edit/replace to find the object id open map editor and then objects their id will be written on the right side step 2 : finding the texture name to find texture name you need med tool, after downloading med tool follow the step which i do in these pics -open MED TOOL, then LOCATE YOUR gta sa location and click ok -then click on find -then type the object id and tick the id then click on find -after finding the ID DOUBLE CLICK IT - NOW COPY THE TEXTURE NAME FROM THERE STEP3- EXPORTING THE TXD FILE WHICH YOU WANT TO REPLACE -OPEN ALIC'S IMG TOOL AND THEN OPEN GTA.IMG FILE WITH IT -PASTE THE TEXTURE NAME IN THE SEARCH AND CLICK ENTER -AFTER YOU FIND YOUR TXD FILE CLICK ON ACTION THEN EXPORT IT WHERE EVER YOU WANT STEP4 - EDITING THE TEXTURE -OPEN TXD WORKSHOP AND OPEN YOUR TXD WHICH YOU EXPORTED WITH ALIC'S IMG TOOL THEN EXPORT THE TEXTURES IN PNG FORMAT AND EDIT IT WITH ANY IMG EDITOR TOOL -REPLACE THE EDITED PNG BY DRAGING IT ON THE TXD WS AND THEN SAVE IT - STEP5- CREATING LUA FILE AND EDITING META FILE -CREATE A FOLDER IN YOUR MAP FOLDER WITH TEXTURE NAME OR ANY OTHER NAME YOU WANT AND COPY THE EDITED TXD FILE INTO IT NOW CERATE A LUA FILE AND TYPE THIS INTO IT function replaceTXD() txd = engineLoadTXD("texture/YOURTXDFILENAME.txd") ------ WRITE THE FILE NAME OF YOUR TXD engineImportTXD(txd, THEOBJECT ID) ---- WRITE THE OBJECT ID end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceTXD) -ADD THIS IN YOUR META FILE DONE HOPE YOU like my tutorial 2 1 Link to comment
aland22 Posted December 22, 2015 Share Posted December 22, 2015 can you help me on the last step :CREATING LUA FILE AND EDITING META FILE please? Link to comment
sebyuta1 Posted October 26, 2016 Share Posted October 26, 2016 On 22.12.2015 at 4:26 AM, aland22 said: can you help me on the last step :CREATING LUA FILE AND EDITING META FILE please? usa notepad++ 1 Link to comment
TheTrue Posted January 7, 2017 Share Posted January 7, 2017 This is cool, will use this... Link to comment
Z4Zy Posted February 24, 2018 Share Posted February 24, 2018 [ @Mr.unpredictable. ] Thank you so much for your MTA:SA replacing tutorial. these days i am founding for how to replace shop boards on MTA:SA and i found your tut. it so helpful for me and again thanx a lot...!!!!! ( +1 ) Link to comment
Recommended Posts