Map : gm_dragstrip
fast car script is:
sub_test.txt
// This is the subaru wrx sti special edition klajsdflksdf
"vehicle"
{
"wheelsperaxle" "2"
"body"
{
"countertorquefactor" "1.0"
"massCenterOverride" "0 0 5"
"massoverride" "650" // kg
"addgravity" "0.6"
}
"engine"
{
"horsepower" "1330"
"maxrpm" "5500"
"maxspeed" "113" // mph
"maxReverseSpeed" "7" // mph
"autotransmission" "1"
"axleratio" "3.1"
"gear" "2.5" // 1st gear
"gear" "1.9" // 2nd gear
"gear" "1.5" // 3rd gear
"gear" "1.3" // 4th gear
"gear" "1.0" // 5th gear
"shiftuprpm" "3437"
"shiftdownrpm" "600" "boost"
{
// "force" "1.0" // 1.5 car body mass * gravity * inches / second ^ 2
"duration" "1.0" // 1 second of boost
"delay" "5" // 15 seconds before you can use it again
"torqueboost" "1.1" // enable "sprint" mode of vehicle, not force type booster "maxspeed" "114" // maximum turbo speed
"force" "1.1" // use for value as a boost factor
}
}
"steering"
{
"degrees" "1"
"fastdampen" "0.25"
"slowcarspeed" "0"
"fastcarspeed" "80"
"slowsteeringrate" "1" "faststeeringrate" "0.02"
"steeringRestFactor" "0.0"
"turnbrake" "0.0"
"skidallowed" "1"
"dustcloud" "1"
}
// front axle
"axle"
{
"wheel"
{
"radius" "14"
"mass" "100"
"inertia" "0.7" // steady the car (fixes the oscillation of the axles about z)
"damping" "0"
"rotdamping" "0.0"
"material" "jeeptire"
"skidmaterial" "jeeptire"
"brakematerial" "jeeptire"
}
"suspension"
{
"springConstant" "70"
"springDamping" "4"
"stabilizerConstant" "120"
"springDampingCompression" "4"
"maxBodyForce" "900"
}
"torquefactor" "0.0"
"brakefactor" "0.0"
}
// rear axle
"axle"
{
"wheel"
{
"radius" "15"
"mass" "100"
"inertia" "2.5" // steady the car (fixes the oscillation of the axles about z)
"damping" "0"
"rotdamping" "0.0"
"material" "enzotire"
"skidmaterial" "enzotire"
"brakematerial" "enzotire"
}
"suspension"
{
"springConstant" "70"
"springDamping" "4"
"stabilizerConstant" "120"
"springDampingCompression" "4"
"maxBodyForce" "900"
}
"torquefactor" "1.0"
"brakefactor" "0.5"
}
}
"vehicle_sounds"
{
// List gears in order from lowest speed to highest speed
"gear"
{
"max_speed" "0.3"
"speed_approach_factor" "1.0"
}
"gear"
{
"max_speed" "0.5"
"speed_approach_factor" "0.8"
}
"gear"
{
"max_speed" "0.75"
"speed_approach_factor" "0.6"
}
"gear"
{
"max_speed" "0.80"
"speed_approach_factor" "0.55"
}
"gear"
{
"max_speed" "0.90"
"speed_approach_factor" "0.45"
}
"gear"
{
"max_speed" "1.0"
"speed_approach_factor" "0.28"
}
"state"
{
"name" "SS_START_WATER"
"sound" "v82_start_in_water"
}
"state"
{
"name" "SS_START_IDLE"
"sound" "v82_engine_start"
}
"state"
{
"name" "SS_SHUTDOWN_WATER"
"sound" "v82_stall_in_water"
}
"state"
{
"name" "SS_IDLE"
"sound" "v82_engine_idle"
}
"state"
{
"name" "SS_REVERSE"
"sound" "v82_reverse"
"min_time" "0.5"
}
"state"
{
"name" "SS_GEAR_0"
"sound" "v82_rev"
"min_time" "0.75"
}
"state"
{
"name" "SS_GEAR_0_RESUME"
"sound" "v82_engine_idle"
"min_time" "0.75"
}
"state"
{
"name" "SS_GEAR_1"
"sound" "v82_firstgear"
"min_time" "0.20"
}
"state"
{
"name" "SS_GEAR_1_RESUME"
"sound" "v82_firstgear_noshift"
"min_time" "0.5"
}
"state"
{
"name" "SS_GEAR_2"
"sound" "v82_secondgear"
"min_time" "0.20"
}
"state"
{
"name" "SS_GEAR_2_RESUME"
"sound" "v82_secondgear_noshift"
"min_time" "0.5"
}
"state"
{
"name" "SS_GEAR_3"
"sound" "v82_thirdgear"
"min_time" "0.25"
}
"state"
{
"name" "SS_GEAR_3_RESUME"
"sound" "v82_thirdgear_noshift"
"min_time" "0.5"
}
"state"
{
"name" "SS_GEAR_4"
"sound" "v82_fourthgear"
"min_time" "0.5"
}
"state"
{
"name" "SS_GEAR_4_RESUME"
"sound" "v82_fourthgear_noshift"
"min_time" "0.5"
}
"state"
{
"name" "SS_SLOWDOWN_HIGHSPEED"
"sound" "v82_throttleoff_fastspeed"
}
"state"
{
"name" "SS_SLOWDOWN"
"sound" "v82_throttleoff_slowspeed"
}
"state"
{
"name" "SS_TURBO"
"sound" "v82_turbo_on"
"min_time" "1.5"
}
"state"
{
"name" "SS_SHUTDOWN"
"sound" "v82_engine_stop"
}
"crashsound"
{
"min_speed" "350"
"min_speed_change" "250"
"sound" "ATV_impact_medium"
"gear_limit" "1"
}
"crashsound"
{
"min_speed" "450"
"min_speed_change" "350"
"sound" "ATV_impact_heavy"
} "skid_lowfriction" "ATV_skid_lowfriction"
"skid_normalfriction" "ATV_skid_normalfriction"
"skid_highfriction" "ATV_skid_highfriction"
}
that was 0-100 in like a second
commentXrateXsubscrb 4 months ago
@commentXrateXsubscrb :D
tried a lot with the script :D
vmax = 112Mph in gmod, and the car needs 8.93s on the quarter mile ;)
SuaDuaBoy 4 months ago