Steam Avatar
You aren't signed in

Vehicle Console Editor

1 KB, 1 year ago, 11 downloads, 59 views, by NightHawk

Script_VehicleConsoleEditor

This addon increases the efficiency for vehicle developers when you have to modify variables of a Vehicle/Tire/Spring's datablock, without having to:

1) Respawn the Vehicle, and most importantly
2) Type in the name of the datablock to modify all the time (In the case of batch-editing multiple cars at once)

How does it work?

The script returns the name of the vehicle datablock the player is currently driving. All you have to do is get into the vehicle you want to modify, and type the functions below into the console

v().variableName = newValue; - Allows you to modify attributes of the Vehicle's Datablock
t().variableName = newValue; - "" of the defaultTire on the Vehicle's Datablock
s().variableName = newValue; - "" of the defaultSpring on the Vehicle's Datablock

For variableName, if you don't know it, you can [I.E.] type v().dump(); to get the names of the variables via the "Member Fields"

Thankfully, it only applies to the vehicle you currently spawned in at the instance, and will not affect other vehicles until you change/modify variables within their datablocks. Respawning the car keeps the changes made in the console.

Big thanks to phlack for helping me compile this script together!

Version 1.0.0 (2021-02-07 19:19:25)

Nobody has commented here yet! You could be the first.

You must be logged in to comment.