kaos057 Posted May 3, 2012 Posted May 3, 2012 I started messing around with ped skins trying to get a female cop. I found a couple nice ones that seem to be used in SAMP but dont work in MTA. So does that mean they are different and are not compatible?
Jaysds1 Posted May 3, 2012 Posted May 3, 2012 SAMP stuff/objects don't work here anymore, MTA changed every single thing that SAMP players used... My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
kaos057 Posted May 4, 2012 Author Posted May 4, 2012 So then you cant change ped models? just textures?
Jaysds1 Posted May 4, 2012 Posted May 4, 2012 you could change ped models and textures but SAMP isn't compatible with MTA My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
diegofkda Posted May 4, 2012 Posted May 4, 2012 Actually, he's talking about custom models with skin. Yes, you can change the skin model using engineLoadDFF. "Everything exists, because otherwise nothing would", Bob Marley, 2015.
Ren_712 Posted May 4, 2012 Posted May 4, 2012 How does samp take care of addnig new objects ? I'm affraid to ask. I make shaders .. mainly. My community resources I'll do some custom stuff, I'm open for cooperation.
kaos057 Posted May 4, 2012 Author Posted May 4, 2012 So then if I have a txd/dff file that works in regular GTA:SA It should work using the engine functions? Like I said I just cant get it to work unless I change only the txd to a txd I made myself using the original txd.
Stanley Sathler Posted May 5, 2012 Posted May 5, 2012 SkinToBeModified = 235 --ID Skin TxdFilePath = "cop_female.txd" DffFilePath = "cop_female.dff" SkinTXD = engineLoadTXD(TxdFilePath) engineImportTXD(SkinTXD, SkinToBeModified) SkinDFF = engineLoadDFF(DffFilepath, SkinToBeModified) engineReplaceModel(SkinDFF, SkinToBeModified) And don't forget: you must set the skin files in Meta.xml using: <file src="cop_female.txd" /> <file src="cop_female.dff" /> Enjoy yourself. And remember: learn the functions. Nobody will create a script for you like I did. Software Engineer & Entrepreneur • Running Lustrel and VilarikA • Highly engaged on open source community
Recommended Posts