rusztamas Posted March 15, 2016 Share Posted March 15, 2016 Hello guys! A few days before i had a problem, that collision is not loading on my models. Now i have the same problem, but in textures. It looks like this: http://kepfeltoltes.hu/160315/mta-scree ... es.hu_.png Upload: (via upload.mtasa.com) http://upload.mtasa.com/u/946599967/rio.rar_ Script: addEventHandler('onClientResourceStart', resourceRoot, function() outputChatBox ( "Ez a resource válaszol.") --This resource responds local txd = engineLoadTXD('files/fav_props.txd',true) engineImportTXD(txd, 4001) local dff = engineLoadDFF('files/fav_brick.dff', 0) engineReplaceModel(dff, 4001) local col = engineLoadCOL('files/fav_brick.col') engineReplaceCOL(col, 4001) engineSetModelLODDistance(4001, 5000) local txd = engineLoadTXD('files/fav_props.txd',true) engineImportTXD(txd, 4004) local dff = engineLoadDFF('files/fav_fastfood.dff', 0) engineReplaceModel(dff, 4004) local col = engineLoadCOL('files/fav_fastfood.col') engineReplaceCOL(col, 4004) engineSetModelLODDistance(4004, 5000) end ) Meta: <meta> <script src="script.lua" type="client" /> <file src="files/fav_brick.col" /> <file src="files/fav_props.txd" /> <file src="files/fav_brick.dff" /> <file src="files/fav_fastfood.col" /> <file src="files/fav_fastfood.dff" /> </meta>] Debugscript 3 does not sending warning or error messages. Link to comment
0 MTA Team ccw Posted March 15, 2016 MTA Team Share Posted March 15, 2016 According to the wiki examples, the preferred loading order is COL, TXD then DFF If changing the loading order doesn't fix it, upload the files: https://upload.mtasa.com/ Link to comment
0 rusztamas Posted March 15, 2016 Author Share Posted March 15, 2016 It is still without a texture! http://upload.mtasa.com/u/946599967/rio.rar_ Here is the script. I don't know what the problem could be... (there is an other model, fav_01, you can see it in the downloaded script, and it's working properly, but these 2 are not.) Link to comment
0 MTA Team ccw Posted March 15, 2016 MTA Team Share Posted March 15, 2016 fav_08.dff requires texture plant_fern_d (which is in fav_props.txd) fav_fastfood.dff requires textures Tex_0897_0 and Tex_0898_0 (which are NOT in fav_props.txd) fav_brick.dff requires texture brick_pallet_DIFF (which is NOT in fav_props.txd) {I used "DFF Viewer 0.1" to check DFF required texture names and "TxdWorkshop" to view TXD texture names} Link to comment
0 rusztamas Posted March 15, 2016 Author Share Posted March 15, 2016 Thanks, i'll check it. Link to comment
Question
rusztamas
Hello guys!
A few days before i had a problem, that collision is not loading on my models. Now i have the same problem, but in textures.
It looks like this: http://kepfeltoltes.hu/160315/mta-scree ... es.hu_.png
Upload: (via upload.mtasa.com) http://upload.mtasa.com/u/946599967/rio.rar_
Script:
Meta:
Debugscript 3 does not sending warning or error messages.
Link to comment
4 answers to this question
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