Tulppu Posted 6 hours ago Posted 6 hours ago When I replace head and torso textures, it works just fine. But when i replace any shirt. It just uses cj's torso texture 2 minutes ago, Tulppu said: When I replace head and torso textures, it works just fine. But when i replace any shirt. It just uses cj's torso texture And heres the code Meta.xml: <meta> <info name="hesucj" version="1.4" type="misc"/> <script src="Skin.lua" type="client" /> <file src="head.dff" /> <file src="head.txd" /> <file src="player_face.txd" /> <file src="player_torso.txd" /> <file src="torso.txd" /> <file src="hoodjackbeige.txd" /> </meta> Skin.lua: function replaceModel() dff = engineLoadDFF("head.dff", 30087 ) engineReplaceModel(dff, 30087) txd = engineLoadTXD("player_face.txd", 30418 ) engineImportTXD(txd, 30418) txda = engineLoadTXD("player_torso.txd", 30421 ) engineImportTXD(txda, 30421) txde = engineLoadTXD("hoodjackbeige.txd", 30378 ) engineImportTXD(txde, 30378) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel)
Tulppu Posted 5 hours ago Author Posted 5 hours ago Update: i looked more into it. and saw that the bug is on the txd file itself. if i replace texture it turns to torso texture. if its the original txd that i use to replace. it works just fine And solved. i had to use raster 555 pixel format
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now