Jump to content
  • 0

Skin Modifications [Noob question]


Kresten

Question

11 answers to this question

Recommended Posts

  • 0

I did check the file you provided, although those files don't have a Skin ID, only the default skins of GTA/MTA have a Skin ID. If this still doesn't awnser your question, then I don't know. All I know is that you CAN replace skins with the default skins, also with the files you provided, but you need to make a script for that. And that there are no Skin ID's for downloaded skins.

Link to comment
  • 0
I did check the file you provided, although those files don't have a Skin ID, only the default skins of GTA/MTA have a Skin ID. If this still doesn't awnser your question, then I don't know. All I know is that you CAN replace skins with the default skins, also with the files you provided, but you need to make a script for that. And that there are no Skin ID's for downloaded skins.

I mean like, based on which default GTA/MTA Skin ID was this made ? Or it wasn't made based on any default Skin ID ?

Thanks a lot for the help provided.

Link to comment
  • 0

You are getting this wrong, if you want to put in a custom skin, you have to make a script for it, there are no default skin ID's made for any downloaded skins. You have to overwrite them with an existing skin ID yourself. This script is used to replace skins (ped skins, vehicle skins, and weapon skins.) This script replacing skin number 7 with Franklin from Grand Theft Auto 5:

function replaceModel() 
  txd = engineLoadTXD("Franklin.txd", 7 ) 
  engineImportTXD(txd, 7) 
  dff = engineLoadDFF("Franklin.dff", 7 ) 
  engineReplaceModel(dff, 7) 
end 
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 
  
addCommandHandler ( "reloadcar", replaceModel ) 

    "Phantom" version="1.0" type="script"/> 
    

I'll explain it a bit;

As you can see in the meta file, it will use 'Franklin.lua' script to work. You can also see, that there are 2 other files linked, wich are both called 'Franklin'. 1 .txd file, and 1 .dff file. Those are both needed to replace the skin. Now let's take a look at the script itself;

You can see, again, that the script will use the 2 files. Behind that, you can see a '7', in this script. This indicates the existing MTA skin ID, wich is skin 7. You can add in any number you want, but it's smart that if you downloaded a woman skin, you would replace it with an existing woman skin. I hope this helps you further, I am not very good in explaining these kinda things, but if you need more help, I'll try and explain better (;

You will need these pages to replace stuff:

Ped Skin ID's: https://wiki.multitheftauto.com/wiki/All_Skins_Page

Vehicle Skin ID's: https://wiki.multitheftauto.com/wiki/Vehicle_IDs

Weapon Skin ID's: https://wiki.multitheftauto.com/wiki/Weapons <--- 'Model ID' is the one you need, not 'ID'!

I hope this helped you further, if you already knew this by now, then I won't be posting any things anymore here! (;

Good luck!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...