Edited Vehicles Tweaks (EVT)

Version 2 !

This spoiler shows you how I did it:
So after some work I was able to make an "infinite mass"-like tweak on two vehicles.

I first tried with a bootlegger (car_2dr_muscle02) but it didn't have the necessary lines of code to work correctly.

Next I tried the Eiswolf (car_4dr_luxury04) with more success. Unfortunately, even with my best efforts it had a "popcorn"-like effect where each tire would continuously pop up from the ground - whether stationary or while driving. (It is really fun to watch NPCs spawn and attempt to drive the car)

Lastly, I tried with a Varsity (truck_2dr_pickup02) and this worked really well.
--------------------------------------------------------------------------------------------------------------------------------

Below is the code from the Eiswolf, with extra areas I tweaked in blue, and the main areas you need to focus on for this tweak in red.

<root>
<Table>
<Vehicle>
<Name>car_4dr_luxury04</Name>
<_Editor>
<Category>Car - sports</Category>
</_Editor>
<Group>Car - big domestic</Group>
<Value>10000</Value>
<Props>0</Props>
<Display_Name>CUSTOM - EISWOLF</Display_Name>
<Special_Vehicle_Type>None</Special_Vehicle_Type>
<Convertible>false</Convertible>
<Hostage_Vehicle_Class>Sedan</Hostage_Vehicle_Class>
<Mass>40000</Mass>
<AI_Static_Load_Friction>0.0</AI_Static_Load_Friction>
<Viscosity_Friction>0.033</Viscosity_Friction>
<Roll_Torque_Factor>0.85</Roll_Torque_Factor>
<Pitch_Torque_Factor>.5</Pitch_Torque_Factor>
<Yaw_Torque_Factor>0.75</Yaw_Torque_Factor>
<Extra_Steering_Torque>0</Extra_Steering_Torque>
<Roll_Unit_Inertia>0.410584</Roll_Unit_Inertia>
<Pitch_Unit_Inertia>1.91368</Pitch_Unit_Inertia>
<Yaw_Unit_Inertia>2.17778</Yaw_Unit_Inertia>
<AI_Yaw_Unit_Inertia>1</AI_Yaw_Unit_Inertia>
<AI_Max_Braking_Decel>17.43</AI_Max_Braking_Decel>
<AI_Max_Radial_Accel>23.6</AI_Max_Radial_Accel>
<Axles>
<Axle>
<Name>Front</Name>
<Wheel_Friction>0.8</Wheel_Friction>
<Wheel_Braking_Torque>10500</Wheel_Braking_Torque>
<Wheel_Spring_Length>.38</Wheel_Spring_Length>
<Wheel_Spring_Strength>1261</Wheel_Spring_Strength>
<Wheel_Damp_Comp>3</Wheel_Damp_Comp>
<Wheel_Damp_Exp>3</Wheel_Damp_Exp>
<Wheel_Does_Handbrake>false</Wheel_Does_Handbrake>
<Wheel_Engine_Torque>0</Wheel_Engine_Torque>
<Wheel_Max_Friction>1.5</Wheel_Max_Friction>
<Wheel_Reverse_Steer>false</Wheel_Reverse_Steer>
<Wheel_Drift_Friction_Modifier>0.6</Wheel_Drift_Friction_Modifier>
<Wheel_Spring_Max_Force>290000</Wheel_Spring_Max_Force>
<Wheel_Does_Steer>true</Wheel_Does_Steer>
</Axle>
<Axle>
<Name>Rear</Name>
<Wheel_Friction>0.91</Wheel_Friction>
<Wheel_Braking_Torque>10000</Wheel_Braking_Torque>
<Wheel_Spring_Length>.33</Wheel_Spring_Length>
<Wheel_Spring_Strength>1261</Wheel_Spring_Strength>
<Wheel_Damp_Comp>3</Wheel_Damp_Comp>
<Wheel_Damp_Exp>3</Wheel_Damp_Exp>
<Wheel_Does_Handbrake>true</Wheel_Does_Handbrake>
<Wheel_Engine_Torque>1</Wheel_Engine_Torque>
<Wheel_Max_Friction>1.5</Wheel_Max_Friction>
<Wheel_Reverse_Steer>false</Wheel_Reverse_Steer>
<Wheel_Drift_Friction_Modifier>0.25</Wheel_Drift_Friction_Modifier>
<Wheel_Spring_Max_Force>280000</Wheel_Spring_Max_Force>
<Wheel_Does_Steer>false</Wheel_Does_Steer>
</Axle>
</Axles>
<Steering>
<Max_Steering_Angle>35.0</Max_Steering_Angle>
<Max_Speed_Steering>42.5</Max_Speed_Steering>
<AI_Max_Speed_Steering>40.0</AI_Max_Speed_Steering>
<Steering_Wheel_Max_Speed>1080</Steering_Wheel_Max_Speed>
<Steering_Wheel_Max_Return_Speed>1080</Steering_Wheel_Max_Return_Speed>
<Steering_Wheel_Damp_Angle>20</Steering_Wheel_Damp_Angle>
<Steering_Wheel_Return_Damp_Angle>20</Steering_Wheel_Return_Damp_Angle>
</Steering>
<Aerodynamics>
<Extra_Gravity>-20</Extra_Gravity>
<Lift_Coefficient>-5</Lift_Coefficient>
</Aerodynamics>
<Angular_Damping>
<Collision_Spin_Damping>5</Collision_Spin_Damping>
<Normal_Spin_Damping>2</Normal_Spin_Damping>
<Collision_Spin_Threshold>230</Collision_Spin_Threshold>
</Angular_Damping>
<Engine>
<Torque>10000</Torque>
<Min_RPM>1000</Min_RPM>
<Opt_RPM>5000</Opt_RPM>
<Max_RPM>7500</Max_RPM>

<Min_RPM_Torque_Factor>0.8</Min_RPM_Torque_Factor>
<Max_RPM_Torque_Factor>0.9</Max_RPM_Torque_Factor>
<Min_RPM_Resistance>0.05</Min_RPM_Resistance>
<Opt_RPM_Resistance>0.1</Opt_RPM_Resistance>
<Max_RPM_Resistance>0.2</Max_RPM_Resistance>
<Nitro_Capable>false</Nitro_Capable>
</Engine>
<Transmission>
<Upshift_RPM>5500</Upshift_RPM>
<Clutch_Slip_RPM>6500</Clutch_Slip_RPM>
<Gear_Ratios>
<Element>2.25</Element>
<Element>1.5</Element>
<Element>1.05</Element>
<Element>0.90</Element>

</Gear_Ratios>
<Diff_Gear_Ratio>4.3</Diff_Gear_Ratio>
<Clutch_Delay>0</Clutch_Delay>
<Reverse_Gear_Ratio>2.25</Reverse_Gear_Ratio>

</Transmission>
<Foley>
<Engine>Car_2dr_Exoticsports01</Engine>
<Rattle_Foley></Rattle_Foley>
<Min_Speed>0</Min_Speed>
<Max_Speed>0</Max_Speed>
<Door_Open>VEHICLE_DOOR_OPEN</Door_Open>
<Door_Close>VEHICLE_DOOR_CLOSE</Door_Close>
</Foley>
<Max_Hitpoints>50000</Max_Hitpoints>
<ParkingSpawn>0</ParkingSpawn>
<Vandalism_value>1000</Vandalism_value>
<Burnout_Possible>Yes</Burnout_Possible>
<Preload>false</Preload>
<shooters_allowed>Everybody</shooters_allowed>
<Bitmap_Name>
<Filename>l_eiswolf.tga</Filename>
</Bitmap_Name>
<ID>94</ID>
<Maximum_Speed>90</Maximum_Speed>
<Maximum_Speed_With_Nitrous>99</Maximum_Speed_With_Nitrous>

<Vehicle_Type>
<Automobile>
<Hydraulics_Capable>Yes</Hydraulics_Capable>
<Drifting_Possible>Yes</Drifting_Possible>
<Drifting_Conserve_Speed_Factor>0.25</Drifting_Conserve_Speed_Factor>
<AutomobileFlags>
<Flag>Has Security Alarm</Flag>
</AutomobileFlags>
<Drifting_Yaw_Torque_Factor>0.75</Drifting_Yaw_Torque_Factor>
<Drifting_Forward_Force>5000</Drifting_Forward_Force>
<Drifting_Forward_Force_Speed_Cap>10</Drifting_Forward_Force_Speed_Cap>
<Drifting_Boost_Strength>5</Drifting_Boost_Strength>
<Crush_Height>-0.6</Crush_Height>
<Crush_Factor>0.6</Crush_Factor>
<Drifting_Friction_Transition_Time>350</Drifting_Friction_Transition_Time>
</Automobile>
</Vehicle_Type>
<Towable_Data>
<Towable_From_Rear>True</Towable_From_Rear>
<Towable_From_Front>True</Towable_From_Front>
<Tweaking_Offset_Rear>
<X>0.0</X>
<Y>0.0</Y>
<Z>0.0</Z>
</Tweaking_Offset_Rear>
<Tweaking_Offset_Front>
<X>0.0</X>
<Y>0.0</Y>
<Z>0.0</Z>
</Tweaking_Offset_Front>
</Towable_Data>
<RadioTuner>True</RadioTuner>
<Use_Stunts>True</Use_Stunts>
<Useable_by_AI_LIFE>False</Useable_by_AI_LIFE>
<Character_Animation_Set>anim_auto</Character_Animation_Set>
<Vehicle_Interaction_Info>medium car 4dr</Vehicle_Interaction_Info>
<Wheel_Size_Element>
<Wheel_Min_Size_0>9</Wheel_Min_Size_0>
<Wheel_Min_Size_1>9</Wheel_Min_Size_1>
<Wheel_Max_Size_0>12</Wheel_Max_Size_0>
<Wheel_Max_Size_1>12</Wheel_Max_Size_1>
<Wheel_Min_Width_0>0</Wheel_Min_Width_0>
<Wheel_Min_Width_1>0</Wheel_Min_Width_1>
<Wheel_Max_Width_0>3</Wheel_Max_Width_0>
<Wheel_Max_Width_1>4</Wheel_Max_Width_1>
</Wheel_Size_Element>
<AlternativeRightThrow>Yes</AlternativeRightThrow>
<AlternateFire>Yes</AlternateFire>
<Wieldable_weapons_disabled>false</Wieldable_weapons_disabled>
<Audio_Rpm_Decay>0.4</Audio_Rpm_Decay>
<Audio_Hysteresis>
<Audio_Rpm_Decay>0.4</Audio_Rpm_Decay>
<Audio_Rpm_Increase>0.3</Audio_Rpm_Increase>
<Point_A_Before>0.33</Point_A_Before>
<Point_A_After>0.33</Point_A_After>
<Point_B_Before>0.66</Point_B_Before>
<Point_B_After>0.66</Point_B_After>
<Drift_Ramp_Time>2.5</Drift_Ramp_Time>
</Audio_Hysteresis>
<Effects>
<Engine_Fire>CarDamage-Fire</Engine_Fire>
<Engine_Smoke>CarDamage-Smoke</Engine_Smoke>
<Explosion>Vehicle</Explosion>
<Exhaust_Types>
<Exhaust_Type>
<Type>normal</Type>
<Exhaust_No_Accelerator>car_exhaust</Exhaust_No_Accelerator>
<Exhaust_Accelerator>car_exhaust02</Exhaust_Accelerator>
</Exhaust_Type>
</Exhaust_Types>
<Exhaust_All_Time>Yes</Exhaust_All_Time>
</Effects>
<BrassEnabled>False</BrassEnabled>
<Audio_Onload_Parameters>
<Medium_Onload_Threshold>0.4</Medium_Onload_Threshold>
<High_Onload_Threshold>0.9</High_Onload_Threshold>
</Audio_Onload_Parameters>
<Center_Of_Mass_Y_Offset>-0.5125</Center_Of_Mass_Y_Offset>
<Vehicle_Animation_Set_Name>Empty.xtbl</Vehicle_Animation_Set_Name>
<Hardtop_VIDs>
<Element>70</Element>
</Hardtop_VIDs>
<NoCustVariantsGrid>
<NoCustVariantElement>
<Variant>VK</Variant>
</NoCustVariantElement>
</NoCustVariantsGrid>
<Vehicle_Animation_Rig_Name>
<Filename>car_4dr_luxury04.rigx</Filename>
<Preload>true</Preload>
</Vehicle_Animation_Rig_Name>
<Center_of_Mass_Z_Offset>0.2875</Center_of_Mass_Z_Offset>
</Vehicle>
</Table>

<TableTemplates>
</TableTemplates>

<TableDescription source="vehicle_table_description.xml">
</TableDescription>

<EntryCategories>
<Category>
<Name>Car - standard</Name>
</Category>
</EntryCategories>
</root>

The major issue you will have with editing the mass is the Wheel_Spring_Max_Force. It is the force used by the shocks to stabilize your car. If it is too low, the car will not move. It will look like a low-rider with the tires going through the chassis. If the number is too high, the car will not grip the road. If it is close to where it needs to be, it will "popcorn", as stated above, but this is a tedious process to fix.

The first step is start with the mass and anything else you want to tweak on the car and do the axles last.

Again, the Varsity turned out MUCH better, and is actually drivable.
--------------------------------------------------------------------------------------------------------------------------------

While I was at it, I made the Eiswolf have a sports-car body type using the Police Peacemaker as a template to copy/paste from (blue). I also changed the normal/max speed, the gear ratios, and the display name. The display name will show up in your phone under whatever name you choose. It will not show up on-screen when you enter the vehicle.

TL;DR - I messed with vehicle game files and created 4 cool vehicle variants:

  • car_2dr_luxury02_veh -> Low-Gravity STILETTO (aka MIB car, aka Christine, aka Treehugger; see video)

  • car_4dr_luxury04_veh -> Heavy EISWOLF

  • sp_pony_cart01_veh -> Super-Fast PONY CART

  • truck_2dr_pickup02_veh -> Heavy VARSITY

The Heavy variants were my attempts at an Infinite-Mass vehicle. The Varsity is superior, the Eiswolf is not that good, but it is funny to watch NPCs drive it around.

The Super-Fast Pony Cart I edited to go 80 (mph? whatever unit they use) with a boost to 99 with nitrous!

The Low-Gravity Stiletto is my take on tweaking the mass, torque, and aerodynamic gravity in order for the car to fly (it's more like falling with style).
--------------------------------------------------------------------------------------------------------------------------------

NOTE: Having these .xtbl files will NOT spawn these vehicles, it will only tweak their properties.

If you don't already have the Stiletto or Pony Cart, you can either:
OR
  • Download my BenBRocKN's Gold Tweaks package and use the notoriety_spawn.xtbl to spawn them when you get XXX amount of notoriety. (This is how I've gotten all of the non-spawnable cars without using cheats or a mod.)
It's a simple but fun tweak. The reason I made this was to learn how to do it without using the Additional Cheats mod. Another reason is that NPCs will randomly spawn with these vehicles wrecking havoc as they drive, which is fun as well.
--------------------------------------------------------------------------------------------------------------------------------
Protip #1: Don't use Negative Mass (i.e. -10) The physics engine will crash causing all of the people and cars to disappear (including yourself). But the sandbox world will still be there.

Protip #2: Don't use a mass anywhere between 1 and 14. As soon as you get in it, the vehicle will get stuck in the road and then explode. Either that or somewhere from 10-14 the physics get... weird... When I had it on 10, all non-active particles (dead pedestrians, objects that were knocked over, cache, health pickups, etc) moved in a straight line from West to East. It was really strange...

--------------------------------------------------------------------------------------------------------------------------------

Installation: Just put whichever (or all) xtbl files into your root folder
(usually C:\Program Files (x86)\Steam\SteamApps\common\Saints Row IV)

***Make sure you backup any xtbl files that have the same name as the ones in the zip!!***

To Uninstall: Delete them from the root folder.
--------------------------------------------------------------------------------------------------------------------------------
 

Attachments

  • EVT - v2.zip
    9.3 KB · Views: 622
  • LGS - Stable Version.zip
    2.3 KB · Views: 569
Last edited:
Back
Top