Jump to content

Changing wheels size?! [VIDEO]


xScatta

Recommended Posts

Posted

Please, tell me which functions did he use?!, how is that possible? Because we can't edit vehicles.ide.

It's fine to celebrate success but it is more important to heed the lessons of failure.

Posted

All what you need is:

-- Table 
local ComponentName = { 
    [1] = "wheel_rf_dummy", --Right Front Wheel 
    [2] = "wheel_lf_dummy", --Left Front Wheel 
    [3] = "wheel_rb_dummy", --Right Back Wheel 
    [4] = "wheel_lb_dummy", --Left Back Wheel 
} 
  
-- Functions 
getVehicleComponentPosition() 
getVehicleComponentRotation() 
setVehicleComponentVisible() 
createObject() 
setElementPosition() 
setElementRotation() 
setObjectScale() 
attachElements() 
  
-- Events 
"onClientVehicleEnter" 
"onClientVehicleExit" 
"onClientPreRender" 

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted

You can see the color of the wheels changing, so yes he just creating a new set of wheels. And changing suspension height.

What this does not account for though is stability and off roading, just because you have large wheels with this process doesn't mean at all they will function as you plan. -- Source, I'm a mechanic In real life.

--

Any ways -

Using getVehicleComponentPosition, getVehicleComponentRotation, createObject, onClientRender.

AttachElement, setAttachedOffsets, Now I would suggest you move Z access up a little bit as the wheel gets bigger to prevent the wheels from going into the ground.

Wolf Inc Discord

Youtube channel
Github

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...