Jump to content

Rims Mod help me


Toffbrown

Recommended Posts

Posted

hello i am running my own server at the moment and i have scripts and they work fine and i know how to have modded cars and i have them,now i want to replace the original rims that gta sa have but i have no clue where to start im a alright scripter i am running 1.3 for my server and its not a local server either,can someone please tell me if i add the rims where the car mods are or what

my server is Guthix Sweet Ass Drifters

thanks for your consideration

Toff

http://www.gtadl.com/juiced-2-hin-wheels-pack-3/

is the rim pack i want to install

Posted

I was trying to install that too. I think you need to add the txd as a shader or something for it to work. I'll give you the script:

meta.xml

    
            "Bla" version="Bla" type="script" name="" description="" showInResourceBrowser="false" /> 
            

script.lua

addEventHandler('onClientResourceStart', resourceRoot, 
    function() 
  
      dff = engineLoadDFF ( "wheel_gn1.dff", 1082) 
      engineReplaceModel ( dff, 1082) 
  
      dff = engineLoadDFF ( "wheel_gn2.dff", 1085) 
      engineReplaceModel ( dff, 1085) 
  
      dff = engineLoadDFF ( "wheel_gn3.dff", 1096) 
      engineReplaceModel ( dff, 1096) 
  
      dff = engineLoadDFF ( "wheel_gn4.dff", 1097) 
      engineReplaceModel ( dff, 1097) 
  
      dff = engineLoadDFF ( "wheel_gn5.dff", 1098) 
      engineReplaceModel ( dff, 1098) 
  
      dff = engineLoadDFF ( "wheel_lr1.dff", 1077) 
      engineReplaceModel ( dff, 1077) 
  
      dff = engineLoadDFF ( "wheel_lr2.dff", 1083) 
      engineReplaceModel ( dff, 1083) 
  
      dff = engineLoadDFF ( "wheel_lr3.dff", 1078) 
      engineReplaceModel ( dff, 1078) 
  
      dff = engineLoadDFF ( "wheel_lr4.dff", 1076) 
      engineReplaceModel ( dff, 1076) 
  
      dff = engineLoadDFF ( "wheel_lr5.dff", 1084) 
      engineReplaceModel ( dff, 1084) 
  
      dff = engineLoadDFF ( "wheel_or1.dff", 1025) 
      engineReplaceModel ( dff, 1025) 
  
      dff = engineLoadDFF ( "wheel_sr1.dff", 1079) 
      engineReplaceModel ( dff, 1079) 
  
      dff = engineLoadDFF ( "wheel_sr2.dff", 1075) 
      engineReplaceModel ( dff, 1075) 
  
      dff = engineLoadDFF ( "wheel_sr3.dff", 1074) 
      engineReplaceModel ( dff, 1074) 
  
      dff = engineLoadDFF ( "wheel_sr4.dff", 1081) 
      engineReplaceModel ( dff, 1081) 
  
      dff = engineLoadDFF ( "wheel_sr5.dff", 1080) 
      engineReplaceModel ( dff, 1080) 
  
      dff = engineLoadDFF ( "wheel_sr6.dff", 1073) 
      engineReplaceModel ( dff, 1073) 
            
            
    end 
    ) 
      

Since i dont know how to add those custom TXD, we need to investigate how to load that custom txd (maybe we need to break it into tons of TXDs)

Posted

Thanks very much Threule for those scripts

I hope someone else can help us out more

I think that we just add to both scripts eg: txd = engineLoadTXD ( "..........." , 4657)

Posted

For TXD use:

txd = engineLoadTXD ( "mod.txd" ) 
engineImportTXD ( txd, model) 

NOTE: You need to edit it.

After all, load TXD first, then DFF.

Posted
Thanks very much Threule for those scripts

I hope someone else can help us out more

I think that we just add to both scripts eg: txd = engineLoadTXD ( "..........." , 4657)

I just didnt add the txd loader because i used a HD wheels mod for that. The thing is that we cant load that txd properly. There's should be a trick to load new txd

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...