DazzaJay Posted January 17, 2008 Share Posted January 17, 2008 hey guys, just checking to see if what i have written down is correct before i test it..... basically, i want to replace the at400 with a different one in my server. this is the at400mod.lua txd = engineLoadTXD("data/at400.txd") engineImportTXD(txd, 577) dff = engineLoadDFF("data/at400.dff", 587 ) engineReplaceModel(dff, 577) this is the meta.xml <meta> <info author="DazzaJay" name="at400mod" version="1" type="script" /> <script src="at400mod.lua" /> <file src="data/at400.dff" /> <file src="data/at400.txd" /> </meta> Is all that correct for giving out the needed files and changing the at400 out with a modded at400? or am i missing somthing. id just like to be sure before i test. Link to comment
DazzaJay Posted January 17, 2008 Author Share Posted January 17, 2008 well, i tested it without being sure... and there is somthing wrong with it. the client PC recived the recource... all 1mb of it.... spawned the plane thru the admin panel... and it was just the standard everyday AT400. what did i do wrong? oo.. i think i know... do i have to make the script Client side? Link to comment
[SKC]Whiskey Posted January 17, 2008 Share Posted January 17, 2008 this is the at400mod.lua txd = engineLoadTXD("data/at400.txd") engineImportTXD(txd, 577) dff = engineLoadDFF("data/at400.dff", [b]587[/b] ) [b]should be 577[/b] engineReplaceModel(dff, 577) Link to comment
DazzaJay Posted January 17, 2008 Author Share Posted January 17, 2008 my god, i didnt realise i made THAT mistake.... Fat Fingers Failed me again! Link to comment
DazzaJay Posted January 17, 2008 Author Share Posted January 17, 2008 it all works now! thanks for spotting that fuckup i made i also changed to and it all works! too bad the at400 was crap. but i know of an awesome andromada mod that i will use instead.. now i know how to do it. thanks guys for helping! 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