Alexs Posted August 15, 2015 Share Posted August 15, 2015 If I have a .TXD file that's shared by multiple objects (cityhall_sfs.txd), which id model should I use to import it? Link to comment
nasserdfdd Posted August 15, 2015 Share Posted August 15, 2015 i did not get u mean mod object of map editor if then here u go client.lua txd = engineLoadTXD("1282.txd")--name of txd engineImportTXD(txd, 1228)--txd id dff = engineLoadDFF("1228.dff", 1228)--name of dff and id engineReplaceModel(dff, 1228)--dff id col = engineLoadCOL( "1228.col" )--not important but if u mod objects u may need to mod col engineReplaceCOL( col, 1228 ) meta type="nasser" name="txd dff col replace" author="nasserdfdd" description="" version="1" /> "1228.txd" /> "1228.dff" /> "1228.col" /> Link to comment
Alexs Posted August 15, 2015 Author Share Posted August 15, 2015 No, it's not the whole model, but only a modified texture. How can I replace it if it's being used by several objects, not just one? Link to comment
LoOs Posted August 15, 2015 Share Posted August 15, 2015 (edited) ^ Can Replace One Object , You can edit Object once only , Client File # txd1 = engineLoadTXD("YourTxd.txd") ---- Edit YourTxd engineImportTXD(txd1, ReplaceTxd) ----- ReplaceTxd = Number Txd The original Meta File # Edited August 15, 2015 by Guest Link to comment
nasserdfdd Posted August 15, 2015 Share Posted August 15, 2015 txd1 = engineLoadTXD("YourTxd.lua") ---- Edit YourTxdengineImportTXD(txd1, ReplaceTxd) --- u mean txd1 = engineLoadTXD("YourTxd.TXD") ---- Edit YourTxd engineImportTXD(txd1, ReplaceTxd) --- Link to comment
LoOs Posted August 15, 2015 Share Posted August 15, 2015 txd1 = engineLoadTXD("YourTxd.lua") ---- Edit YourTxdengineImportTXD(txd1, ReplaceTxd) --- u mean txd1 = engineLoadTXD("YourTxd.TXD") ---- Edit YourTxd engineImportTXD(txd1, ReplaceTxd) --- Thank You , Link to comment
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