Veho*360 Posted May 24, 2013 Share Posted May 24, 2013 Hello! I'm trying to add custom wheels to my server but idk how... I don't want to change gta3.img file because I want everyone on the server to be able to use them... TKX Link to comment
Axel Posted May 24, 2013 Share Posted May 24, 2013 https://wiki.multitheftauto.com/wiki/EngineLoadTXD Link to comment
Veho*360 Posted May 24, 2013 Author Share Posted May 24, 2013 damm I dont understand how to add it to the server... do I have to make a script?? Link to comment
DeletedAccount1111 Posted May 24, 2013 Share Posted May 24, 2013 Since i'm a good guy, ill give you the scripts: meta.xml "Threule" version="1" type="script" /> wheel.lua function replaceModel() txd = engineLoadTXD("wheel/Fm3_Wheels.txd", 1082 ) engineImportTXD(txd, 1082) dff = engineLoadDFF("wheel/wheel_gn1.dff", 1082 ) engineReplaceModel(dff, 1082) dff = engineLoadDFF("wheel/wheel_gn2.dff", 1085 ) engineReplaceModel(dff, 1085) dff = engineLoadDFF("wheel/wheel_gn3.dff", 1096 ) engineReplaceModel(dff, 1096) dff = engineLoadDFF("wheel/wheel_gn4.dff", 1097 ) engineReplaceModel(dff, 1097) dff = engineLoadDFF("wheel/wheel_gn5.dff", 1098 ) engineReplaceModel(dff, 1098) dff = engineLoadDFF("wheel/wheel_sr1.dff", 1079 ) engineReplaceModel(dff, 1079) dff = engineLoadDFF("wheel/wheel_sr2.dff", 1075 ) engineReplaceModel(dff, 1075) dff = engineLoadDFF("wheel/wheel_sr3.dff", 1074 ) engineReplaceModel(dff, 1074) dff = engineLoadDFF("wheel/wheel_sr4.dff", 1081 ) engineReplaceModel(dff, 1081) dff = engineLoadDFF("wheel/wheel_sr5.dff", 1080 ) engineReplaceModel(dff, 1080) dff = engineLoadDFF("wheel/wheel_sr6.dff", 1073 ) engineReplaceModel(dff, 1073) dff = engineLoadDFF("wheel/wheel_lr1.dff", 1077 ) engineReplaceModel(dff, 1077) dff = engineLoadDFF("wheel/wheel_lr2.dff", 1083 ) engineReplaceModel(dff, 1083) dff = engineLoadDFF("wheel/wheel_lr3.dff", 1078 ) engineReplaceModel(dff, 1078) dff = engineLoadDFF("wheel/wheel_lr4.dff", 1076 ) engineReplaceModel(dff, 1076) dff = engineLoadDFF("wheel/wheel_lr5.dff", 1084 ) engineReplaceModel(dff, 1084) dff = engineLoadDFF("wheel/wheel_or1.dff", 1025 ) engineReplaceModel(dff, 1025) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadwheel", replaceModel ) I have all the parts on a folder, for organization stuff. Also maybe the txd isnt named "Fm3_Wheels.txd", because i downloaded a forza 3 pack, change that by the name of the txd you are using (if you arent using the same wheel pack i use) If you just use the HD default wheels, remove the txd line. Link to comment
Veho*360 Posted May 24, 2013 Author Share Posted May 24, 2013 TKX MAN I LOKE YOU!!!!!!!!!! Link to comment
DeletedAccount1111 Posted May 24, 2013 Share Posted May 24, 2013 TKX MAN I LOKE YOU!!!!!!!!!! When i have the script I share it. Usually replacing stuff is easy. If you have more questions, just ask them also a image macro: 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