Gordon_G Posted July 27, 2017 Share Posted July 27, 2017 Hello. So, I've made a little building with 3ds max, dff and txd works fine but there is a bug in the collision file. This is my code : -- CLIENT _models = { {"mapA","mapA","mapA",1784} } for k,v in pairs( _models ) do local dff, txd, col, id = unpack( v ) if col then local col_ = engineLoadCOL ( "models/"..col..".col" ) engineReplaceCOL ( col_, id ) end if txd then local txd_ = engineLoadTXD ( "models/"..txd..'.txd' ) engineImportTXD ( txd_, id ) end if dff then local dff_ = engineLoadDFF ( "models/"..dff..".dff" ) engineReplaceModel ( dff_, id ) end engineSetModelLODDistance( id, 500 ) end This is my meta.xml : <meta> <info author="Gordon_G" name="modls" version="1.0" type="script" /> <file src="models/mapA.dff" /> <file src="models/mapA.txd" /> <file src="models/mapA.col" /> <script src="models/model.replace.lua" type="client" /> </meta> Here, this is my collision file in coleditor : Spoiler And, when I'm in game : Spoiler When I'm running in the arrow sense, it's like if there was an invisible wall. But, there is no wall in the coleditor. It's not a shift between the dff and col because the other walls has good collisions. Any help ? I can upload my files if it can help. Link to comment
Gordon_G Posted July 27, 2017 Author Share Posted July 27, 2017 Ok, I've split the dff and col in two files : Spoiler Spoiler Always the same prob but now I know the problem is with the second model. 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