joaosilva099 Posted March 1, 2015 Share Posted March 1, 2015 Hi all, I have a script to load mods, the script is working fine for all mods, but this Mod is not loading correctly. The DFF file loads fine and the model gets changed, but it becomes white when I load the TXD, Look at the screenshots: I hope someone can help me Link to comment
Enargy, Posted March 1, 2015 Share Posted March 1, 2015 I am not an expert moddeler but within a DFF file is added an image to the TXD file can load. on the other side check that the script itself or the meta file not have any error. I am not an expert moddeler but within a DFF file is added an image to the TXD file can load I dont know if you could understand. Link to comment
joaosilva099 Posted March 1, 2015 Author Share Posted March 1, 2015 Oh ty i checked it and no errors. The file gets downloaded correctly and replaced. It is simply white! Link to comment
Enargy, Posted March 1, 2015 Share Posted March 1, 2015 let me check your code where files are replaced. Link to comment
#RooTs Posted March 2, 2015 Share Posted March 2, 2015 the error is the file TXD. I've had this problem, try a different file. Link to comment
Mr.unpredictable. Posted March 2, 2015 Share Posted March 2, 2015 Send me those files i will do it for you. Link to comment
Ab-47 Posted March 2, 2015 Share Posted March 2, 2015 At-least post your code along with your meta. So we can see if you've gone wrong or not there. Link to comment
joaosilva099 Posted March 2, 2015 Author Share Posted March 2, 2015 Sorry guys. I have been sleeping since my last post and now I will have classes. I will post it later. The mod is here @2:40 Download and is the Mobile Command Center in the RAR Link to comment
Mr.unpredictable. Posted March 2, 2015 Share Posted March 2, 2015 add both barracks.dff and barracks.txd into your folder lua file txd = engineLoadTXD("barracks.txd") engineImportTXD(txd, 433) dff = engineLoadDFF("barracks.dff", 433) engineReplaceModel(dff, 433) meta <file src="barracks.txd" /> <file src="barracks.dff" /> <script src="Your lua file name.lua" type="client" /> Link to comment
joaosilva099 Posted March 2, 2015 Author Share Posted March 2, 2015 Thanks man but I have a question. Is there a correct order to import txd and dff? like first DFF or first the TXD? Link to comment
joaosilva099 Posted March 2, 2015 Author Share Posted March 2, 2015 Oh forget the question, I solved it changing, first load the txd and then the Dff. Resolved 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