Gravestone Posted February 20, 2016 Share Posted February 20, 2016 I replaced car models but they are not exactly like I want. They are appearing kinda white. TXD and DFF, both are loaded and working, no problems with the script but the skin is coming a bit white. function replaceModel() txd = engineLoadTXD("feltzer.txd", 415 ) engineImportTXD(dff, 415) dff = engineLoadDFF("feltzer.dff", 415 ) engineReplaceModel(dff, 415) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "refreshmodels", replaceModel ) Link to comment
Dimos7 Posted February 20, 2016 Share Posted February 20, 2016 function replaceModel() txd = engineLoadTXD("feltzer.txd", 415 ) engineImportTXD(txd, 415) dff = engineLoadDFF("feltzer.dff", 415 ) engineReplaceModel(dff, 415) end addEventHandler ( "onClientResourceStart", resourceRoot, replaceModel) addCommandHandler ( "refreshmodels", replaceModel ) Link to comment
Gravestone Posted February 20, 2016 Author Share Posted February 20, 2016 Nothing affected. The car is same like before. Link to comment
tosfera Posted February 20, 2016 Share Posted February 20, 2016 Is your file located in a subfolder? Did you add the file as a client sided file in your xml? <file src="feltzer.txd" type="client" /> I didn't read the first post, my bad. If you're replacing a car that isn't working or turns out different than you thought, it might be the file that has been corrupted due to downloading/uploading/exporting. Try to use another model since this isn't really MTA related, more like.. the designer's fault. Another thing that designers love to do is modify their game with a sh*tload of shaders to make them look better, while you don't have these shaders on your game and it turns out as pretty cheap plastic. Link to comment
Gravestone Posted February 26, 2016 Author Share Posted February 26, 2016 Downloaded a brand new mod, still, appearing white. Link to comment
bundiiE Posted February 26, 2016 Share Posted February 26, 2016 Use modloader, ( changeme folder it will be named ) and then draw into "vehicles" folder the new car models. Thats all. Car.txd will be added to meta automatically. Link to comment
Gravestone Posted February 26, 2016 Author Share Posted February 26, 2016 Where do I add the .hnd file? 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