RiseDie01 Posted December 21, 2017 Share Posted December 21, 2017 Hi all. I'm converting all the weapons from Grand Theft Auto V and i want to know one thing. For example, here it is the material panel of the pistol https://imgur.com/Jn1OBmj As you can see, the texture of the pistol body is marked with the ID 2 i want to make also all the weapon tints and i was wondering if there is a method to change that ID in game. I'll explain myself: for example, i put a texture with the pink tint texture with ID 4 (and of course I put that texture in the txd archive) and i need to swap those IDs when I'm in game to change weapon texture and apply the tint to the gun. Is there a way to do this? Link to comment Share on other sites More sharing options...
guard3 Posted December 21, 2017 Share Posted December 21, 2017 Not sure what exactly is that you want... But I get that you want to swap ID 2 and 4. Well, what I'd do would be to select pistol model, go to edit tab and select "faces". If you scroll down a bit you'll see "select ID/Set ID" for materials. I'd type 2, select, then set to ID 5. Then select ID 4 and set it as 2 and ID 5 as 4. Then rearrange material IDs and voila. Link to comment Share on other sites More sharing options...
RiseDie01 Posted December 21, 2017 Author Share Posted December 21, 2017 (edited) Not sure what exactly is that you want... But I get that you want to swap ID 2 and 4. Well, what I'd do would be to select pistol model, go to edit tab and select "faces". If you scroll down a bit you'll see "select ID/Set ID" for materials. I'd type 2, select, then set to ID 5. Then select ID 4 and set it as 2 and ID 5 as 4. Then rearrange material IDs and voila. Yes, i want to swap those two Material ids but during the game, not in 3ds Max. Alternatively, is there a way to change texture to a model always ingame? Maybe with a cleo script? Edited December 21, 2017 by RiseDie01 Link to comment Share on other sites More sharing options...
guard3 Posted December 22, 2017 Share Posted December 22, 2017 I think you'll have better chance with making 2 models and switching between them through cleo. Link to comment Share on other sites More sharing options...