First commit

This commit is contained in:
Fierelier 2022-09-19 14:19:38 +02:00
parent 75fe4b376c
commit 097c2686da
18 changed files with 19012 additions and 3 deletions

View File

@ -1,3 +0,0 @@
# mw-modpack
Modpack to improve NFS Most Wanted in the ways I like. You can pick and choose which mods you want to install.

87
modpack.nfsms Executable file
View File

@ -0,0 +1,87 @@
game MW
# Intro text
ui_text Fier's Most Wanted Overhaul
ui_text Version 0.0
ui_text
ui_text All mods are also available as loose files in scripts\ - You can distribute this mod however you wish, just make sure to credit the other modders (AJLethal, BadassBaboon and Frexellia) where applicable. The full credits are in credits.txt. You don't have to credit me.
ui_text
# Mod list
ui_control checkbox handlingoverhaul true "Handling overhaul"
ui_text Softer suspensions and different tires for vehicles, rebalancing of realism.
ui_control checkbox betterlandings true "Better landings"
ui_text Makes cars stick landings better.
ui_control checkbox presetracers true "Challenge series opponents"
ui_text The opponents use vehicles from the challenge series, instead of randomly generated cars.
ui_control checkbox punishingwallgrind false "More punishing wallgrind"
ui_text Touching walls slows vehicles down more. Makes pursuits harder as well.
ui_control checkbox reactivecollisions false "Reactive collisions"
ui_text Makes all vehicles more reactive when colliding with other vehicles or objects. Traffic is more threatening. Makes pursuits harder as well.
ui_control checkbox naturalshifting true "Natural Shifting (by Frexellia)"
ui_text Cars move more convincingly when shifting.
ui_control checkbox nowheelhop true "No wheelhop"
ui_text Makes cars jiggle less when driving slowly.
ui_control checkbox extendedcameras true "Extended Cameras (by BadassBaboon)"
ui_text Adds more camera modes.
ui_control checkbox rlighting true ".R Lighting (by AJLethal)"
ui_text Makes the lighting look more natural.
ui_control checkbox rlightingshadows false ".R Lighting - less directional lighting"
ui_text Disables dynamic lighting on objects. Makes the game look better on very low shadow quality (made to be combined with .R Lighting).
ui_control checkbox noroadspecular true "No shiny roads"
ui_text Self-explanatory.
# Applying mods
ui_option handlingoverhaul
script scripts\fier\handling-overhaul.nfsms
ui_option handlingoverhaul
ui_option betterlandings
script scripts\fier\better-landings.nfsms
ui_option betterlandings
ui_option presetracers
script scripts\fier\preset-racers.nfsms
ui_option presetracers
ui_option punishingwallgrind
script scripts\fier\punishing-wallgrind.nfsms
ui_option punishingwallgrind
ui_option reactivecollisions
script scripts\fier\reactive-collisions.nfsms
ui_option reactivecollisions
ui_option naturalshifting
script scripts\Frexellia\natural-shifting.nfsms
ui_option naturalshifting
ui_option nowheelhop
script scripts\fier\no-wheelhop.nfsms
ui_option nowheelhop
ui_option extendedcameras
script scripts\BadassBaboon\extended-cameras.nfsms
ui_option extendedcameras
ui_option rlighting
script scripts\AJLethal\rlighting.nfsms
ui_option rlighting
ui_option rlightingshadows
script scripts\fier\rlighting-no-shadows.nfsms
ui_option rlightingshadows
ui_option noroadspecular
script scripts\fier\no-road-specular.nfsms
ui_option noroadspecular

20
readme.txt Executable file
View File

@ -0,0 +1,20 @@
ABOUT
This is a modpack to improve Most Wanted in the ways I like. You can pick and choose which mods you want to install.
OTHER
Some scripts are generated by Python, if you want to tweak them, edit the corresponding Python script and run it.
CREDITS
- scripts\AJLethal\rlighting.nfsms
AJLethal's .R Lighting: https://nfsmods.xyz/mod/357
Edited for use in this pack by me.
- scripts\BadassBaboon\extended-cameras.nfsms
BadassBaboon's [MW] Extended Cameras: https://nfsmods.xyz/mod/913 (KuruHS Preset)
Picked out one camera and changed how it is applied.
- scripts\Frexellia\natural-shifting.nfsms
From Frexellia's Prostreet Object Physics: https://nfsmods.xyz/mod/2457
- scripts\fier\*
These are my scripts, you don't need to credit me or anyone else for them.

110
scripts/AJLethal/rlighting.nfsms Executable file
View File

@ -0,0 +1,110 @@
# .R Lighting Mod -v2- for NFSMW
update_field timeofdaylighting sunny AmbientColour X 0.40
update_field timeofdaylighting sunny AmbientColour Y 0.40
update_field timeofdaylighting sunny AmbientColour Z 0.35
update_field timeofdaylighting sunny CarSpecScale 0.2
update_field timeofdaylighting sunny DiffuseColour X 0.65
update_field timeofdaylighting sunny DiffuseColour Y 0.65
update_field timeofdaylighting sunny DiffuseColour Z 0.60
update_field timeofdaylighting sunny EnvSkyBrightness 10
update_field timeofdaylighting sunny FixedFunctionSkyColor X 0.15
update_field timeofdaylighting sunny FixedFunctionSkyColor Y 0.35
update_field timeofdaylighting sunny FixedFunctionSkyColor Z 0.75
update_field timeofdaylighting sunny FogDistanceScale 1
update_field timeofdaylighting sunny FogHazeColour W 1
update_field timeofdaylighting sunny FogHazeColour X 0.30
update_field timeofdaylighting sunny FogHazeColour Y 0.4
update_field timeofdaylighting sunny FogHazeColour Z 0.9
update_field timeofdaylighting sunny FogHazeColourScale 1
update_field timeofdaylighting sunny FogInLightScatter 10
update_field timeofdaylighting sunny FogSkyColour X 0.015
update_field timeofdaylighting sunny FogSkyColour Y 0.05
update_field timeofdaylighting sunny FogSkyColour Z 0.10
update_field timeofdaylighting sunny FogSkyColourScale 1
update_field timeofdaylighting sunny FogSunFalloff 0
update_field timeofdaylighting sunny SpecularColour X 0.35
update_field timeofdaylighting sunny SpecularColour Y 0.35
update_field timeofdaylighting sunny SpecularColour Z 0.30
update_field timeofdaylighting dusk_sunny AmbientColour X 0.35
update_field timeofdaylighting dusk_sunny AmbientColour Y 0.30
update_field timeofdaylighting dusk_sunny AmbientColour Z 0.25
update_field timeofdaylighting dusk_sunny CarSpecScale 0.25
update_field timeofdaylighting dusk_sunny DiffuseColour X 0.65
update_field timeofdaylighting dusk_sunny DiffuseColour Y 0.60
update_field timeofdaylighting dusk_sunny DiffuseColour Z 0.55
update_field timeofdaylighting dusk_sunny EnvSkyBrightness 8
update_field timeofdaylighting dusk_sunny FixedFunctionSkyColor X 0.4
update_field timeofdaylighting dusk_sunny FixedFunctionSkyColor Y 0.2
update_field timeofdaylighting dusk_sunny FixedFunctionSkyColor Z 0.5
update_field timeofdaylighting dusk_sunny FogHazeColour X 0.35
update_field timeofdaylighting dusk_sunny FogHazeColour Y 0.15
update_field timeofdaylighting dusk_sunny FogHazeColour Z 0.00
update_field timeofdaylighting dusk_sunny FogHazeColourScale 0.55
update_field timeofdaylighting dusk_sunny FogInLightScatter 5
update_field timeofdaylighting dusk_sunny FogSkyColour X 1
update_field timeofdaylighting dusk_sunny FogSkyColour Y 0.5
update_field timeofdaylighting dusk_sunny FogSkyColour Z 1
update_field timeofdaylighting dusk_sunny FogSkyColourScale 0.1
update_field timeofdaylighting dusk_sunny SpecularColour W 1
update_field timeofdaylighting dusk_sunny SpecularColour X 0.5
update_field timeofdaylighting dusk_sunny SpecularColour Y 0.30
update_field timeofdaylighting dusk_sunny SpecularColour Z 0.15
update_field timeofdaylighting overcast AmbientColour X 0.20
update_field timeofdaylighting overcast AmbientColour Y 0.20
update_field timeofdaylighting overcast AmbientColour Z 0.225
update_field timeofdaylighting overcast CarSpecScale 0.2
update_field timeofdaylighting overcast DiffuseColour X 0.5
update_field timeofdaylighting overcast DiffuseColour Y 0.5
update_field timeofdaylighting overcast DiffuseColour Z 0.475
update_field timeofdaylighting overcast EnvSkyBrightness 5
update_field timeofdaylighting overcast FixedFunctionSkyColor X 0.5
update_field timeofdaylighting overcast FixedFunctionSkyColor Y 0.5
update_field timeofdaylighting overcast FixedFunctionSkyColor Z 0.5
update_field timeofdaylighting overcast FogHazeColour X 0.5
update_field timeofdaylighting overcast FogHazeColour Y 0.5
update_field timeofdaylighting overcast FogHazeColour Z 0.5
update_field timeofdaylighting overcast FogHazeColourScale 1
update_field timeofdaylighting overcast FogInLightScatter 7
update_field timeofdaylighting overcast FogSkyColour X 0.3
update_field timeofdaylighting overcast FogSkyColour Y 0.3
update_field timeofdaylighting overcast FogSkyColour Z 0.3
update_field timeofdaylighting overcast FogSkyColourScale 1
update_field timeofdaylighting overcast SpecularColour X 0.35
update_field timeofdaylighting overcast SpecularColour Y 0.35
update_field timeofdaylighting overcast SpecularColour Z 0.35
update_field timeofdaylighting dusk_overcast AmbientColour X 0.35
update_field timeofdaylighting dusk_overcast AmbientColour Y 0.25
update_field timeofdaylighting dusk_overcast AmbientColour Z 0.15
update_field timeofdaylighting dusk_overcast CarSpecScale 0.25
update_field timeofdaylighting dusk_overcast DiffuseColour X 0.4
update_field timeofdaylighting dusk_overcast DiffuseColour Y 0.55
update_field timeofdaylighting dusk_overcast DiffuseColour Z 0.55
update_field timeofdaylighting dusk_overcast EnvSkyBrightness 6
update_field timeofdaylighting dusk_overcast FixedFunctionSkyColor Z 0.5
update_field timeofdaylighting dusk_overcast FogHazeColour X 0.4
update_field timeofdaylighting dusk_overcast FogHazeColour Y 0.35
update_field timeofdaylighting dusk_overcast FogHazeColour Z 0.1
update_field timeofdaylighting dusk_overcast FogHazeColourScale 0.5
update_field timeofdaylighting dusk_overcast FogInLightScatter 4
update_field timeofdaylighting dusk_overcast FogSkyColour X 0.1
update_field timeofdaylighting dusk_overcast FogSkyColour Y 0.5
update_field timeofdaylighting dusk_overcast FogSkyColourScale 0.1
update_field timeofdaylighting dusk_overcast SpecularColour X 0.5
update_field timeofdaylighting dusk_overcast SpecularColour Y 0.45
update_field timeofdaylighting dusk_overcast SpecularColour Z 0.25
update_field visuallook default BlackBloomIntensity 0.50
update_field visuallook default ColourBloomIntensity 0.50
update_field visuallook default ColourBloomTint X 0.7
update_field visuallook default ColourBloomTint Y 0.8
update_field visuallook default ColourBloomTint Z 0.9
update_field visuallook default Desaturation 0.95
update_field visuallook default DetailMapIntensity 1.5
update_field visuallook sunset ColourBloomTint Y 0.6
update_field visuallook sunset ColourBloomTint Z 0.2
update_field visuallook sunset Desaturation 0.7
update_field visuallook sunset DetailMapIntensity 1.5
update_field visuallook uves ColourBloomIntensity 1
update_field visuallook uves ColourBloomTint X 2.75
update_field visuallook uves ColourBloomTint Y 1
update_field visuallook uves ColourBloomTint Z 1.25
update_field visuallook uves DetailMapIntensity 1.5

View File

@ -0,0 +1,34 @@
update_field camerainfo far ANGLE[0] 5
update_field camerainfo far ANGLE[1] 11.13
update_field camerainfo far CollectionName far
update_field camerainfo far FOV[0] 100
update_field camerainfo far FOV[1] 100
update_field camerainfo far HEIGHT[0] 2
update_field camerainfo far HEIGHT[1] 2
update_field camerainfo far LAG[0] -4.5
update_field camerainfo far LAG[1] -8.2
update_field camerainfo far LATOFFSET[0] 0
update_field camerainfo far LATOFFSET[1] 0
update_field camerainfo far SELECTABLE[0] True
update_field camerainfo far SELECTABLE[1] True
update_field camerainfo far STIFFNESS[0] 0
update_field camerainfo far STIFFNESS[1] 0
update_field camerainfo far TILTING[0] True
update_field camerainfo far TILTING[1] True
update_field camerainfo close ANGLE[0] 5
update_field camerainfo close ANGLE[1] 11.13
update_field camerainfo close CollectionName close
update_field camerainfo close FOV[0] 80
update_field camerainfo close FOV[1] 80
update_field camerainfo close HEIGHT[0] 2
update_field camerainfo close HEIGHT[1] 2
update_field camerainfo close LAG[0] -4.5
update_field camerainfo close LAG[1] -8.2
update_field camerainfo close LATOFFSET[0] 0
update_field camerainfo close LATOFFSET[1] 0
update_field camerainfo close SELECTABLE[0] True
update_field camerainfo close SELECTABLE[1] True
update_field camerainfo close STIFFNESS[0] 0
update_field camerainfo close STIFFNESS[1] 0
update_field camerainfo close TILTING[0] True
update_field camerainfo close TILTING[1] True

View File

@ -0,0 +1,2 @@
update_field ecar racers ShiftAngle 0.12
update_field ecar racers ShiftSpeed 2

View File

@ -0,0 +1,8 @@
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE X 1
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE Y 1
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE Z 1
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE X 1
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE Y 1
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE Z 1
update_field rigidbodyspecs racers GROUND_FRICTION[0] 0.0
update_field rigidbodyspecs racers GROUND_FRICTION[1] 0.0

File diff suppressed because it is too large Load Diff

609
scripts/fier/handling-overhaul.py Executable file
View File

@ -0,0 +1,609 @@
#!/usr/bin/env python3
import sys
import os
oldexcepthook = sys.excepthook
def newexcepthook(type,value,traceback):
oldexcepthook(type,value,traceback)
input("Press ENTER to quit.")
sys.excepthook = newexcepthook
p = os.path.join
pUp = os.path.dirname
s = False
if getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS'):
s = os.path.realpath(sys.executable)
else:
s = os.path.realpath(__file__)
sp = pUp(s)
os.chdir(sp)
properties = """\
# This has a lot of old stuff in it, some has been updated and replaced over time lower down. I may sort it out somewhen.
### CARBON MUSCLE VALUES ###
update_field chassis replaceme AERO_CG 50
#update_field chassis replaceme AERO_COEFFICIENT 0.17
#update_field chassis replaceme DIVE_SPEED 1
update_field chassis replaceme DRAG_COEFFICIENT 0.3
update_field chassis replaceme FRONT_AXLE 1.65
update_field chassis replaceme FRONT_WEIGHT_BIAS 50
update_field chassis replaceme RENDER_MOTION 1
update_field chassis replaceme RIDE_HEIGHT Front 7
update_field chassis replaceme RIDE_HEIGHT Rear 7
update_field chassis replaceme ROLL_CENTER 11.5
#update_field chassis replaceme ROLL_SPEED 1
update_field chassis replaceme SHOCK_BLOWOUT 7
update_field chassis replaceme SHOCK_DIGRESSION Front 0.5
update_field chassis replaceme SHOCK_DIGRESSION Rear 0.5
update_field chassis replaceme SHOCK_EXT_STIFFNESS Front 45
update_field chassis replaceme SHOCK_EXT_STIFFNESS Rear 60
update_field chassis replaceme SHOCK_STIFFNESS Front 40
update_field chassis replaceme SHOCK_STIFFNESS Rear 50
update_field chassis replaceme SHOCK_VALVING Front 17
update_field chassis replaceme SHOCK_VALVING Rear 17.5
update_field chassis replaceme SPRING_PROGRESSION Front 5
update_field chassis replaceme SPRING_PROGRESSION Rear 6
update_field chassis replaceme SPRING_STIFFNESS Front 300
update_field chassis replaceme SPRING_STIFFNESS Rear 500
update_field chassis replaceme SWAYBAR_STIFFNESS Front 225
update_field chassis replaceme SWAYBAR_STIFFNESS Rear 350
#update_field chassis replaceme TRACK_WIDTH Front 1.564
#update_field chassis replaceme TRACK_WIDTH Rear 1.564
update_field chassis replaceme TRAVEL Front 10
update_field chassis replaceme TRAVEL Rear 10
#update_field chassis replaceme WHEEL_BASE 2.9718
update_field chassis replaceme_top AERO_CG 50
#update_field chassis replaceme_top AERO_COEFFICIENT 0.19
#update_field chassis replaceme_top DIVE_SPEED 1
update_field chassis replaceme_top DRAG_COEFFICIENT 0.48
update_field chassis replaceme_top FRONT_AXLE 1.65
update_field chassis replaceme_top FRONT_WEIGHT_BIAS 50
update_field chassis replaceme_top RENDER_MOTION 0.7
update_field chassis replaceme_top RIDE_HEIGHT Front 7
update_field chassis replaceme_top RIDE_HEIGHT Rear 7
update_field chassis replaceme_top ROLL_CENTER 10.75
#update_field chassis replaceme_top ROLL_SPEED 1
update_field chassis replaceme_top SHOCK_BLOWOUT 7
update_field chassis replaceme_top SHOCK_DIGRESSION Front 0.4
update_field chassis replaceme_top SHOCK_DIGRESSION Rear 0.4
update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Front 63
update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Rear 70
update_field chassis replaceme_top SHOCK_STIFFNESS Front 57
update_field chassis replaceme_top SHOCK_STIFFNESS Rear 60
update_field chassis replaceme_top SHOCK_VALVING Front 20
update_field chassis replaceme_top SHOCK_VALVING Rear 20
update_field chassis replaceme_top SPRING_PROGRESSION Front 7
update_field chassis replaceme_top SPRING_PROGRESSION Rear 8
update_field chassis replaceme_top SPRING_STIFFNESS Front 656
update_field chassis replaceme_top SPRING_STIFFNESS Rear 750
update_field chassis replaceme_top SWAYBAR_STIFFNESS Front 300
update_field chassis replaceme_top SWAYBAR_STIFFNESS Rear 375
#update_field chassis replaceme_top TRACK_WIDTH Front 1.564
#update_field chassis replaceme_top TRACK_WIDTH Rear 1.564
update_field chassis replaceme_top TRAVEL Front 7
update_field chassis replaceme_top TRAVEL Rear 7
#update_field chassis replaceme_top WHEEL_BASE 2.9718
update_field ecar replaceme BodyDive DegPerG 2
update_field ecar replaceme BodyDive DegPerSec 10
update_field ecar replaceme BodyDive MaxG 0.5
update_field ecar replaceme BodyRoll DegPerG 3
update_field ecar replaceme BodyRoll DegPerSec 9
update_field ecar replaceme BodyRoll MaxG 1
update_field ecar replaceme BodySquat DegPerG 3
update_field ecar replaceme BodySquat DegPerSec 10
update_field ecar replaceme BodySquat MaxG 0.5
### CARBON RX8 VALUES ###
update_field chassis replaceme AERO_CG 47.5
#update_field chassis replaceme AERO_COEFFICIENT 0.195
update_field chassis replaceme DRAG_COEFFICIENT 0.35
update_field chassis replaceme FRONT_AXLE 1.38
update_field chassis replaceme FRONT_WEIGHT_BIAS 53
update_field chassis replaceme RENDER_MOTION 1
update_field chassis replaceme RIDE_HEIGHT Front 6.5
update_field chassis replaceme RIDE_HEIGHT Rear 6.5
update_field chassis replaceme ROLL_CENTER 9
update_field chassis replaceme SHOCK_BLOWOUT 6
update_field chassis replaceme SHOCK_DIGRESSION Front 0.4
update_field chassis replaceme SHOCK_DIGRESSION Rear 0.4
update_field chassis replaceme SHOCK_EXT_STIFFNESS Front 60
update_field chassis replaceme SHOCK_EXT_STIFFNESS Rear 60
update_field chassis replaceme SHOCK_STIFFNESS Front 50
update_field chassis replaceme SHOCK_STIFFNESS Rear 49
update_field chassis replaceme SHOCK_VALVING Front 24
update_field chassis replaceme SHOCK_VALVING Rear 24
update_field chassis replaceme SPRING_PROGRESSION Front 6.1
update_field chassis replaceme SPRING_PROGRESSION Rear 6.2
update_field chassis replaceme SPRING_STIFFNESS Front 432
update_field chassis replaceme SPRING_STIFFNESS Rear 375
update_field chassis replaceme SWAYBAR_STIFFNESS Front 225
update_field chassis replaceme SWAYBAR_STIFFNESS Rear 210
#update_field chassis replaceme TRACK_WIDTH Front 1.49606
#update_field chassis replaceme TRACK_WIDTH Rear 1.50622
update_field chassis replaceme TRAVEL Front 6.5
update_field chassis replaceme TRAVEL Rear 6.5
#update_field chassis replaceme WHEEL_BASE 2.69
update_field chassis replaceme_top AERO_CG 48.5
#update_field chassis replaceme_top AERO_COEFFICIENT 0.23
update_field chassis replaceme_top DRAG_COEFFICIENT 0.44
update_field chassis replaceme_top FRONT_AXLE 1.38
update_field chassis replaceme_top FRONT_WEIGHT_BIAS 53.7
update_field chassis replaceme_top RENDER_MOTION 0.5
update_field chassis replaceme_top RIDE_HEIGHT Front 6.5
update_field chassis replaceme_top RIDE_HEIGHT Rear 6.5
update_field chassis replaceme_top ROLL_CENTER 8.75
update_field chassis replaceme_top SHOCK_BLOWOUT 6
update_field chassis replaceme_top SHOCK_DIGRESSION Front 0.45
update_field chassis replaceme_top SHOCK_DIGRESSION Rear 0.45
update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Front 85
update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Rear 90
update_field chassis replaceme_top SHOCK_STIFFNESS Front 70
update_field chassis replaceme_top SHOCK_STIFFNESS Rear 70
update_field chassis replaceme_top SHOCK_VALVING Front 24
update_field chassis replaceme_top SHOCK_VALVING Rear 24
update_field chassis replaceme_top SPRING_PROGRESSION Front 7
update_field chassis replaceme_top SPRING_PROGRESSION Rear 7
update_field chassis replaceme_top SPRING_STIFFNESS Front 550
update_field chassis replaceme_top SPRING_STIFFNESS Rear 500
update_field chassis replaceme_top SWAYBAR_STIFFNESS Front 275
update_field chassis replaceme_top SWAYBAR_STIFFNESS Rear 275
#update_field chassis replaceme_top TRACK_WIDTH Front 1.49606
#update_field chassis replaceme_top TRACK_WIDTH Rear 1.50622
update_field chassis replaceme_top TRAVEL Front 6
update_field chassis replaceme_top TRAVEL Rear 6
#update_field chassis replaceme_top WHEEL_BASE 2.69
update_field ecar replaceme BodyDive DegPerG 2
update_field ecar replaceme BodyDive DegPerSec 10
update_field ecar replaceme BodyDive MaxG 0.5
update_field ecar replaceme BodyRoll DegPerG 2.5
update_field ecar replaceme BodyRoll DegPerSec 9
update_field ecar replaceme BodyRoll MaxG 1
update_field ecar replaceme BodySquat DegPerG 4
update_field ecar replaceme BodySquat DegPerSec 10
update_field ecar replaceme BodySquat MaxG 0.5
update_field ecar replaceme SkidFX[0] 0.1
update_field ecar replaceme SkidFX[1] 1
update_field ecar replaceme SlipFX[0] 0.1
update_field ecar replaceme SlipFX[1] 1
#update_field ecar replaceme MaxTireSteer 60
#update_field ecar replaceme WheelWell 22.5
update_field pvehicle replaceme TENSOR_SCALE X 1.05
update_field pvehicle replaceme TENSOR_SCALE Y 3.6
update_field pvehicle replaceme TENSOR_SCALE Z 1.05
update_field rigidbodyspecs racers CG X 0
update_field rigidbodyspecs racers CG Y 0
update_field rigidbodyspecs racers CG Z 0
update_field rigidbodyspecs racers CG W 0
update_field rigidbodyspecs racers COLLISION_BOX_PAD X 0
update_field rigidbodyspecs racers COLLISION_BOX_PAD Y 0
update_field rigidbodyspecs racers COLLISION_BOX_PAD Z 0
update_field rigidbodyspecs racers COLLISION_BOX_PAD W 0
update_field rigidbodyspecs racers DRAG X 0
update_field rigidbodyspecs racers DRAG Y 0
update_field rigidbodyspecs racers DRAG Z 0
update_field rigidbodyspecs racers DRAG W 0
update_field rigidbodyspecs racers DRAG_ANGULAR X 0
update_field rigidbodyspecs racers DRAG_ANGULAR Y 0
update_field rigidbodyspecs racers DRAG_ANGULAR Z 0
update_field rigidbodyspecs racers DRAG_ANGULAR W 0
update_field rigidbodyspecs racers GRAVITY -9.8128
update_field rigidbodyspecs racers GROUND_ELASTICITY X 0
update_field rigidbodyspecs racers GROUND_ELASTICITY Y 0
update_field rigidbodyspecs racers GROUND_ELASTICITY Z 0
update_field rigidbodyspecs racers GROUND_ELASTICITY W 0
update_field rigidbodyspecs racers GROUND_FRICTION[0] 0.55
update_field rigidbodyspecs racers GROUND_FRICTION[1] 0.45
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE X 1.5
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE Y 3
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE Z 1.5
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE W 0
update_field rigidbodyspecs racers IMMOBILE_OBJECT_COLLISIONS False
update_field rigidbodyspecs racers INSTANCE_COLLISIONS_3D False
update_field rigidbodyspecs racers NATURAL_ANGULAR_DAMPING 0
update_field rigidbodyspecs racers NO_GROUND_COLLISIONS False
update_field rigidbodyspecs racers NO_OBJ_COLLISIONS False
update_field rigidbodyspecs racers NO_WORLD_COLLISIONS False
update_field rigidbodyspecs racers OBJ_ELASTICITY X 0
update_field rigidbodyspecs racers OBJ_ELASTICITY Y 0
update_field rigidbodyspecs racers OBJ_ELASTICITY Z 0.05
update_field rigidbodyspecs racers OBJ_ELASTICITY W 0
update_field rigidbodyspecs racers OBJ_FRICTION[0] 0.55
update_field rigidbodyspecs racers OBJ_FRICTION[1] 0.35
update_field rigidbodyspecs racers OBJ_MOMENT_SCALE X 4
update_field rigidbodyspecs racers OBJ_MOMENT_SCALE Y 15
update_field rigidbodyspecs racers OBJ_MOMENT_SCALE Z 3
update_field rigidbodyspecs racers OBJ_MOMENT_SCALE W 0
update_field rigidbodyspecs racers SLEEP_VELOCITY 1
update_field rigidbodyspecs racers WALL_ELASTICITY X 0
update_field rigidbodyspecs racers WALL_ELASTICITY Y 0
update_field rigidbodyspecs racers WALL_ELASTICITY Z 0
update_field rigidbodyspecs racers WALL_ELASTICITY W 0
update_field rigidbodyspecs racers WALL_FRICTION[0] 0.55
update_field rigidbodyspecs racers WALL_FRICTION[1] 0.3
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE X 3
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE Y 1.5
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE Z 3
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE W 0
update_field tires replaceme DYNAMIC_GRIP Front 1.6
update_field tires replaceme DYNAMIC_GRIP Rear 1.65
update_field tires replaceme GRIP_SCALE Front 1
update_field tires replaceme GRIP_SCALE Rear 1
update_field tires replaceme STATIC_GRIP Front 1.8
update_field tires replaceme STATIC_GRIP Rear 1.85
update_field tires replaceme STEERING 1.03
update_field tires replaceme YAW_CONTROL[0] 0
update_field tires replaceme YAW_CONTROL[1] 0.2
update_field tires replaceme YAW_CONTROL[2] 0.4
update_field tires replaceme YAW_CONTROL[3] 0.7
update_field tires replaceme YAW_SPEED 0.4
#update_field tires replaceme SECTION_WIDTH Front 245
#update_field tires replaceme SECTION_WIDTH Rear 245
update_field tires replaceme ASPECT_RATIO Front 45
update_field tires replaceme ASPECT_RATIO Rear 45
update_field tires replaceme_top DYNAMIC_GRIP Front 1.8
update_field tires replaceme_top DYNAMIC_GRIP Rear 1.8
update_field tires replaceme_top GRIP_SCALE Front 1.1
update_field tires replaceme_top GRIP_SCALE Rear 1.1
update_field tires replaceme_top STATIC_GRIP Front 2
update_field tires replaceme_top STATIC_GRIP Rear 2.05
update_field tires replaceme_top STEERING 1.03
update_field tires replaceme_top YAW_CONTROL[0] 0.1
update_field tires replaceme_top YAW_CONTROL[1] 0.65
update_field tires replaceme_top YAW_CONTROL[2] 0.8
update_field tires replaceme_top YAW_CONTROL[3] 1
update_field tires replaceme_top YAW_SPEED 0.4
update_field tires replaceme_top ASPECT_RATIO Front 45
update_field tires replaceme_top ASPECT_RATIO Rear 45
#update_field tires replaceme_top SECTION_WIDTH Front 245
#update_field tires replaceme_top SECTION_WIDTH Rear 245
### REALISTIC MOMENT SCALE ###
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE X 1
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE Y 1
update_field rigidbodyspecs racers WORLD_MOMENT_SCALE Z 1
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE X 1
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE Y 1
update_field rigidbodyspecs racers GROUND_MOMENT_SCALE Z 1
### NO ARTIFICIAL BODY ROLL ###
update_field ecar replaceme BodyDive DegPerG 0
update_field ecar replaceme BodyDive DegPerSec 0
update_field ecar replaceme BodyDive MaxG 0.0
update_field ecar replaceme BodyRoll DegPerG 0.0
update_field ecar replaceme BodyRoll DegPerSec 0
update_field ecar replaceme BodyRoll MaxG 0
update_field ecar replaceme BodySquat DegPerG 0
update_field ecar replaceme BodySquat DegPerSec 0
update_field ecar replaceme BodySquat MaxG 0.0
### SOFT SWAYBARS ###
update_field chassis replaceme SWAYBAR_STIFFNESS Front 100
update_field chassis replaceme SWAYBAR_STIFFNESS Rear 100
update_field chassis replaceme_top SWAYBAR_STIFFNESS Front 100
update_field chassis replaceme_top SWAYBAR_STIFFNESS Rear 100
update_field chassis replaceme SPRING_PROGRESSION Front 0
update_field chassis replaceme SPRING_PROGRESSION Rear 0
update_field chassis replaceme_top SPRING_PROGRESSION Front 0
update_field chassis replaceme_top SPRING_PROGRESSION Rear 0
update_field chassis replaceme TRAVEL Front 20
update_field chassis replaceme TRAVEL Rear 20
update_field chassis replaceme_top TRAVEL Front 20
update_field chassis replaceme_top TRAVEL Rear 20
update_field chassis replaceme SHOCK_STIFFNESS Front 17
update_field chassis replaceme SHOCK_STIFFNESS Rear 17
update_field chassis replaceme SHOCK_EXT_STIFFNESS Front 50
update_field chassis replaceme SHOCK_EXT_STIFFNESS Rear 50
update_field chassis replaceme SHOCK_BLOWOUT 0
update_field chassis replaceme_top SHOCK_STIFFNESS Front 17
update_field chassis replaceme_top SHOCK_STIFFNESS Rear 17
update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Front 50
update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Rear 50
update_field chassis replaceme_top SHOCK_BLOWOUT 0
update_field pvehicle replaceme TENSOR_SCALE X 1.2
update_field pvehicle replaceme TENSOR_SCALE Y 1.5
update_field pvehicle replaceme TENSOR_SCALE Z 1.2
update_field tires replaceme STEERING 1.15
update_field tires replaceme YAW_SPEED 0.25
update_field tires replaceme_top STEERING 1.15
update_field tires replaceme_top YAW_SPEED 0.25
### LOWER AERO ###
#update_field chassis replaceme AERO_COEFFICIENT 0.13
#update_field chassis replaceme_top AERO_COEFFICIENT 0.15
### EVEN LOWER AERO ###
#update_field chassis replaceme AERO_COEFFICIENT 0.06
#update_field chassis replaceme_top AERO_COEFFICIENT 0.07
### A1 ###
update_field chassis replaceme SHOCK_STIFFNESS Front 5
update_field chassis replaceme SHOCK_STIFFNESS Rear 5
update_field chassis replaceme SHOCK_EXT_STIFFNESS Front 80
update_field chassis replaceme SHOCK_EXT_STIFFNESS Rear 80
update_field chassis replaceme SHOCK_BLOWOUT 0
update_field chassis replaceme_top SHOCK_STIFFNESS Front 5
update_field chassis replaceme_top SHOCK_STIFFNESS Rear 5
update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Front 80
update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Rear 80
update_field chassis replaceme_top SHOCK_BLOWOUT 0
### A2 ###
update_field pvehicle replaceme TENSOR_SCALE X 2.0
update_field pvehicle replaceme TENSOR_SCALE Y 1.5
update_field pvehicle replaceme TENSOR_SCALE Z 1.2
### A3 ###
#update_field pvehicle replaceme TENSOR_SCALE X 1.2
#update_field pvehicle replaceme TENSOR_SCALE Y 1.5
#update_field pvehicle replaceme TENSOR_SCALE Z 0.9
update_field chassis replaceme ROLL_CENTER 3
update_field chassis replaceme_top ROLL_CENTER 3
update_field ecar replaceme BodyRoll DegPerG 3
update_field ecar replaceme BodyRoll DegPerSec 0
update_field ecar replaceme BodyRoll MaxG 1
### A4 ###
update_field pvehicle replaceme TENSOR_SCALE X 1.2
update_field pvehicle replaceme TENSOR_SCALE Y 1.5
update_field pvehicle replaceme TENSOR_SCALE Z 1.2
### A5 ###
update_field chassis replaceme SHOCK_STIFFNESS Front 0
update_field chassis replaceme SHOCK_STIFFNESS Rear 0
update_field chassis replaceme SHOCK_STIFFNESS Front 0
update_field chassis replaceme SHOCK_STIFFNESS Rear 0
#update_field chassis replaceme AERO_COEFFICIENT 0.06
#update_field chassis replaceme_top AERO_COEFFICIENT 0.07
### A6 ###
update_field tires replaceme ASPECT_RATIO Front 100
update_field tires replaceme ASPECT_RATIO Rear 100
update_field tires replaceme_top ASPECT_RATIO Front 100
update_field tires replaceme_top ASPECT_RATIO Rear 100
#update_field chassis replaceme ROLL_CENTER 6
#update_field chassis replaceme_top ROLL_CENTER 6
## A7 ###
update_field pvehicle replaceme TENSOR_SCALE X 1.5
update_field pvehicle replaceme TENSOR_SCALE Y 1.5
update_field pvehicle replaceme TENSOR_SCALE Z 1.5
update_field ecar replaceme BodyRoll DegPerG 2
update_field ecar replaceme BodyRoll DegPerSec 10
update_field ecar replaceme BodyRoll MaxG 3
update_field tires replaceme ASPECT_RATIO Front 100
update_field tires replaceme ASPECT_RATIO Rear 100
#update_field chassis replaceme SHOCK_STIFFNESS Front 5
#update_field chassis replaceme SHOCK_STIFFNESS Rear 5
#update_field chassis replaceme SHOCK_EXT_STIFFNESS Front 120
#update_field chassis replaceme SHOCK_EXT_STIFFNESS Rear 120
#update_field chassis replaceme SHOCK_BLOWOUT 0
#update_field chassis replaceme_top SHOCK_STIFFNESS Front 5
#update_field chassis replaceme_top SHOCK_STIFFNESS Rear 5
#update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Front 120
#update_field chassis replaceme_top SHOCK_EXT_STIFFNESS Rear 120
#update_field chassis replaceme_top SHOCK_BLOWOUT 0
### A8 ###
update_field tires replaceme YAW_CONTROL[0] 0
update_field tires replaceme YAW_CONTROL[1] 0
update_field tires replaceme YAW_CONTROL[2] 0
update_field tires replaceme YAW_CONTROL[3] 0
update_field tires replaceme_top YAW_CONTROL[0] 0
update_field tires replaceme_top YAW_CONTROL[1] 0
update_field tires replaceme_top YAW_CONTROL[2] 0
update_field tires replaceme_top YAW_CONTROL[3] 0
update_field chassis replaceme SHOCK_DIGRESSION Front 0
update_field chassis replaceme SHOCK_DIGRESSION Rear 0
update_field chassis replaceme_top SHOCK_DIGRESSION Front 0
update_field chassis replaceme_top SHOCK_DIGRESSION Rear 0
update_field tires replaceme STEERING 1.35
update_field tires replaceme YAW_SPEED 0.2
update_field tires replaceme_top STEERING 1.35
update_field tires replaceme_top YAW_SPEED 0.2
update_field chassis replaceme ROLL_CENTER 5
update_field chassis replaceme_top ROLL_CENTER 5
update_field pvehicle replaceme TENSOR_SCALE X 1.5
update_field pvehicle replaceme TENSOR_SCALE Y 1.5
update_field pvehicle replaceme TENSOR_SCALE Z 1.5
update_field tires replaceme ASPECT_RATIO Front 50
update_field tires replaceme ASPECT_RATIO Rear 50
update_field tires replaceme_top ASPECT_RATIO Front 50
update_field tires replaceme_top ASPECT_RATIO Rear 50
### A9 ###
update_field pvehicle replaceme TENSOR_SCALE Y 1.3
update_field tires replaceme YAW_SPEED 0.3
update_field tires replaceme_top YAW_SPEED 0.3
update_field tires replaceme_top STEERING 1.15
update_field tires replaceme GRIP_SCALE Front 0.6
update_field tires replaceme GRIP_SCALE Rear 0.65
### NO SWAYBARS ###
update_field chassis replaceme SWAYBAR_STIFFNESS Front 0
update_field chassis replaceme SWAYBAR_STIFFNESS Rear 0
update_field chassis replaceme_top SWAYBAR_STIFFNESS Front 0
update_field chassis replaceme_top SWAYBAR_STIFFNESS Rear 0
update_field chassis replaceme ROLL_CENTER 8
update_field chassis replaceme_top ROLL_CENTER 6
\
"""
ratioMult = 1.0
gearRatios = """update_field transmission 0x097c7b7d FINAL_GEAR 2.7
update_field transmission 0x6b4ce945 FINAL_GEAR 3
update_field transmission 0xe679f9cd FINAL_GEAR 3.9
update_field transmission 350z FINAL_GEAR 3.54
update_field transmission 911gt2 FINAL_GEAR 3.44
update_field transmission 911turbo FINAL_GEAR 3.44
update_field transmission 911turbo_top FINAL_GEAR 3.5
update_field transmission 997s FINAL_GEAR 3.2
update_field transmission 997s_top FINAL_GEAR 2.7
update_field transmission a3 FINAL_GEAR 4.235
update_field transmission a3_top FINAL_GEAR 3.4
update_field transmission a4 FINAL_GEAR 3.866
update_field transmission a4_top FINAL_GEAR 3.2
update_field transmission bmwm3gtr FINAL_GEAR 3.85
update_field transmission bmwm3gtre46 FINAL_GEAR 3.4
update_field transmission m3gtre46careerstart FINAL_GEAR 3.62
update_field transmission camaro FINAL_GEAR 3.07
update_field transmission carreragt FINAL_GEAR 4.3
update_field transmission carreragt_top FINAL_GEAR 3.71
update_field transmission caymans FINAL_GEAR 3.55
update_field transmission caymans_top FINAL_GEAR 2.9
update_field transmission clio FINAL_GEAR 3.94
update_field transmission clio_top FINAL_GEAR 3.2
update_field transmission clk500 FINAL_GEAR 3.1
update_field transmission clk500_top FINAL_GEAR 2.7
update_field transmission cobaltss FINAL_GEAR 4.05
update_field transmission cobaltss_top FINAL_GEAR 3.6
update_field transmission cops FINAL_GEAR 3.25
update_field transmission corvette FINAL_GEAR 3.42
update_field transmission corvette_top FINAL_GEAR 2.9
update_field transmission corvettec6r FINAL_GEAR 3.1
update_field transmission cts FINAL_GEAR 3.3
update_field transmission cts_top FINAL_GEAR 3.2
update_field transmission db9 FINAL_GEAR 3.54
update_field transmission db9_top FINAL_GEAR 3.3
update_field transmission eclipsegt FINAL_GEAR 3.5
update_field transmission eclipsegt_top FINAL_GEAR 2.8
update_field transmission elise FINAL_GEAR 4
update_field transmission elise_top FINAL_GEAR 3.2
update_field transmission fordgt FINAL_GEAR 3.36
update_field transmission fordgt_top FINAL_GEAR 3.5
update_field transmission gallardo FINAL_GEAR 3.82
update_field transmission gallardo_top FINAL_GEAR 3.5
update_field transmission gti FINAL_GEAR 3.94
update_field transmission gti_top FINAL_GEAR 3.1
update_field transmission gto FINAL_GEAR 3.46
update_field transmission gto_top FINAL_GEAR 3.3
update_field transmission imperzawrx FINAL_GEAR 3.6
update_field transmission imprezawrx_top FINAL_GEAR 3
update_field transmission is300 FINAL_GEAR 3.7
update_field transmission is300_top FINAL_GEAR 3
update_field transmission lancerevo8 FINAL_GEAR 3.6
update_field transmission lancerevo8_top FINAL_GEAR 3.4
update_field transmission monaro FINAL_GEAR 3.46
update_field transmission monaro_top FINAL_GEAR 3.46
update_field transmission murcielago FINAL_GEAR 3
update_field transmission murcielago_top FINAL_GEAR 3.05
update_field transmission mustanggt FINAL_GEAR 3.6
update_field transmission mustanggt_top FINAL_GEAR 3.3
update_field transmission punto FINAL_GEAR 3.7
update_field transmission punto_top FINAL_GEAR 2.5
update_field transmission rx7 FINAL_GEAR 3.6
update_field transmission rx7_top FINAL_GEAR 3.55
update_field transmission rx8 FINAL_GEAR 4.44
update_field transmission rx8_top FINAL_GEAR 3.5
update_field transmission semi FINAL_GEAR 5
update_field transmission sl500 FINAL_GEAR 2.82
update_field transmission sl500_top FINAL_GEAR 2.82
update_field transmission slr FINAL_GEAR 3.06
update_field transmission slr_top FINAL_GEAR 3.5
update_field transmission speedtest FINAL_GEAR 2.7
update_field transmission supra FINAL_GEAR 3.5
update_field transmission supra_top FINAL_GEAR 3
update_field transmission traffic FINAL_GEAR 3.44
update_field transmission tt FINAL_GEAR 4.2
update_field transmission tt_top FINAL_GEAR 3.3
update_field transmission viper FINAL_GEAR 3.07
update_field transmission viper_top FINAL_GEAR 3"""
carlist = ["911gt2","911turbo","997s","a3","a4","bmwm3gtr","bmwm3gtre46","camaro","carreragt","caymans","clio","clk500","cobaltss","corvette","corvettec6r","cts","db9","eclipsegt","elise","fordgt","gallardo","gti","gto","imprezawrx","is300","lancerevo8","monaro","murcielago","mustanggt","punto","rx7","rx8","rx8speedt","sl500","sl65","slr","supra","tt","viper"]
baseRideHeight = 8.5 # 7
correctedRideHeight = {
"911gt2": 1.3,
"911turbo": 1.3,
"997s": 1.0,
"a3": 1.2,
"a4": 1.3,
"bmwm3gtr": 1.3,
"bmwm3gtre46": 1.1,
"camaro": 0.9,
"carreragt": 1.1,
"caymans": 1.2,
"clio": 1.1,
"clk500": 1.1,
"cobaltss": 1.35,
"corvette": 1.4,
"corvettec6r": 0.8,
"cts": 0.9,
"db9": 0.9,
"eclipsegt": 1.3,
"elise": 0.9,
"fordgt": 0.9,
"gallardo": 1.1,
"gti": 1.3,
"gto": 1.3,
"imprezawrx": 1.1,
"is300": 1.1,
"lancerevo8": 1.1,
"monaro": 1.15,
"murcielago": 0.9,
"mustanggt": 1.1,
"punto": 0.9,
"rx7": 1.2,
"rx8": 1.0,
"rx8speedt": 1.0,
"sl500": 1.0,
"sl65": 1.1,
"slr": 1.1,
"supra": 1.0,
"tt": 1.3,
"viper": 1.0
}
for car in carlist:
if not car in correctedRideHeight:
print("car doesn't have height adjusted: " +car)
file = open(__file__.replace(".py",".nfsms"),"w")
properties = properties.split("\n")
for car in carlist:
for line in properties:
outLine = line.replace("replaceme",car,1)
file.write(outLine + "\n")
gearRatios = gearRatios.split("\n")
for line in gearRatios:
line = line.split(" ")
line[-1] = str(float(line[-1]) * ratioMult)
line = " ".join(line)
file.write(line + "\n")
for car in carlist:
file.write("update_field chassis " +car+ " RIDE_HEIGHT Front " +str(baseRideHeight)+ "\n")
file.write("update_field chassis " +car+ " RIDE_HEIGHT Rear " +str(baseRideHeight)+ "\n")
file.write("update_field chassis " +car+ "_top RIDE_HEIGHT Front " +str(baseRideHeight)+ "\n")
file.write("update_field chassis " +car+ "_top RIDE_HEIGHT Rear " +str(baseRideHeight)+ "\n")
for car in correctedRideHeight:
file.write("update_field chassis " +car+ " RIDE_HEIGHT Front " +str(baseRideHeight * correctedRideHeight[car])+ "\n")
file.write("update_field chassis " +car+ " RIDE_HEIGHT Rear " +str(baseRideHeight * correctedRideHeight[car])+ "\n")
file.write("update_field chassis " +car+ "_top RIDE_HEIGHT Front " +str(baseRideHeight * correctedRideHeight[car])+ "\n")
file.write("update_field chassis " +car+ "_top RIDE_HEIGHT Rear " +str(baseRideHeight * correctedRideHeight[car])+ "\n")
file.close()

View File

@ -0,0 +1,24 @@
update_field timeofdaylighting 0x94abdff0 SpecularColour X 0
update_field timeofdaylighting 0x94abdff0 SpecularColour Y 0
update_field timeofdaylighting 0x94abdff0 SpecularColour Z 0
update_field timeofdaylighting 0x919b6689 SpecularColour X 0
update_field timeofdaylighting 0x919b6689 SpecularColour Y 0
update_field timeofdaylighting 0x919b6689 SpecularColour Z 0
update_field timeofdaylighting 0xa01a3942 SpecularColour X 0
update_field timeofdaylighting 0xa01a3942 SpecularColour Y 0
update_field timeofdaylighting 0xa01a3942 SpecularColour Z 0
update_field timeofdaylighting 0x0e1c797c SpecularColour X 0
update_field timeofdaylighting 0x0e1c797c SpecularColour Y 0
update_field timeofdaylighting 0x0e1c797c SpecularColour Z 0
update_field timeofdaylighting overcast SpecularColour X 0
update_field timeofdaylighting overcast SpecularColour Y 0
update_field timeofdaylighting overcast SpecularColour Z 0
update_field timeofdaylighting dusk_overcast SpecularColour X 0
update_field timeofdaylighting dusk_overcast SpecularColour Y 0
update_field timeofdaylighting dusk_overcast SpecularColour Z 0
update_field timeofdaylighting sunny SpecularColour X 0
update_field timeofdaylighting sunny SpecularColour Y 0
update_field timeofdaylighting sunny SpecularColour Z 0
update_field timeofdaylighting dusk_sunny SpecularColour X 0
update_field timeofdaylighting dusk_sunny SpecularColour Y 0
update_field timeofdaylighting dusk_sunny SpecularColour Z 0

1
scripts/fier/no-wheelhop.nfsms Executable file
View File

@ -0,0 +1 @@
update_field ecar default WheelHopScale 0

View File

@ -0,0 +1,108 @@
add_field gameplay race_bin_01/character1 PresetRide
update_field gameplay race_bin_01/character1 PresetRide CS_CAR_19
add_field gameplay race_bin_01/character2 PresetRide
update_field gameplay race_bin_01/character2 PresetRide CS_CAR_18
add_field gameplay race_bin_01/character3 PresetRide
update_field gameplay race_bin_01/character3 PresetRide CS_CAR_29
add_field gameplay race_bin_02/character1 PresetRide
update_field gameplay race_bin_02/character1 PresetRide CS_CAR_10
add_field gameplay race_bin_02/character2 PresetRide
update_field gameplay race_bin_02/character2 PresetRide CS_CAR_19
add_field gameplay race_bin_02/character3 PresetRide
update_field gameplay race_bin_02/character3 PresetRide CS_CAR_34
add_field gameplay race_bin_03/character1 PresetRide
update_field gameplay race_bin_03/character1 PresetRide CS_CAR_19
add_field gameplay race_bin_03/character2 PresetRide
update_field gameplay race_bin_03/character2 PresetRide CS_CAR_16
add_field gameplay race_bin_03/character3 PresetRide
update_field gameplay race_bin_03/character3 PresetRide CS_CAR_20
add_field gameplay race_bin_04/character1 PresetRide
update_field gameplay race_bin_04/character1 PresetRide CS_CAR_26
add_field gameplay race_bin_04/character2 PresetRide
update_field gameplay race_bin_04/character2 PresetRide CS_CAR_16
add_field gameplay race_bin_04/character3 PresetRide
update_field gameplay race_bin_04/character3 PresetRide CS_CAR_18
add_field gameplay race_bin_04/drag_opponent PresetRide
update_field gameplay race_bin_04/drag_opponent PresetRide CS_CAR_15
add_field gameplay race_bin_05/character1 PresetRide
update_field gameplay race_bin_05/character1 PresetRide CS_CAR_20
add_field gameplay race_bin_05/character2 PresetRide
update_field gameplay race_bin_05/character2 PresetRide CS_CAR_27
add_field gameplay race_bin_05/character3 PresetRide
update_field gameplay race_bin_05/character3 PresetRide CS_CAR_15
add_field gameplay race_bin_05/drag_opponent PresetRide
update_field gameplay race_bin_05/drag_opponent PresetRide CS_CAR_16
add_field gameplay race_bin_06/character1 PresetRide
update_field gameplay race_bin_06/character1 PresetRide CS_CAR_27
add_field gameplay race_bin_06/character2 PresetRide
update_field gameplay race_bin_06/character2 PresetRide CS_CAR_05
add_field gameplay race_bin_06/character3 PresetRide
update_field gameplay race_bin_06/character3 PresetRide CS_CAR_30
add_field gameplay race_bin_06/drag_opponent PresetRide
update_field gameplay race_bin_06/drag_opponent PresetRide CS_CAR_04
add_field gameplay race_bin_07/character1 PresetRide
update_field gameplay race_bin_07/character1 PresetRide CS_CAR_04
add_field gameplay race_bin_07/character2 PresetRide
update_field gameplay race_bin_07/character2 PresetRide CS_CAR_26
add_field gameplay race_bin_07/character3 PresetRide
update_field gameplay race_bin_07/character3 PresetRide CS_CAR_32
add_field gameplay race_bin_07/drag_opponent PresetRide
update_field gameplay race_bin_07/drag_opponent PresetRide CS_CAR_26
add_field gameplay race_bin_08/character1 PresetRide
update_field gameplay race_bin_08/character1 PresetRide CS_CAR_30
add_field gameplay race_bin_08/character2 PresetRide
update_field gameplay race_bin_08/character2 PresetRide CS_CAR_05
add_field gameplay race_bin_08/character3 PresetRide
update_field gameplay race_bin_08/character3 PresetRide CS_CAR_27
add_field gameplay race_bin_08/drag_opponent PresetRide
update_field gameplay race_bin_08/drag_opponent PresetRide CS_CAR_32
add_field gameplay race_bin_09/character1 PresetRide
update_field gameplay race_bin_09/character1 PresetRide CS_CAR_17
add_field gameplay race_bin_09/character2 PresetRide
update_field gameplay race_bin_09/character2 PresetRide CS_CAR_02
add_field gameplay race_bin_09/character3 PresetRide
update_field gameplay race_bin_09/character3 PresetRide CS_CAR_28
add_field gameplay race_bin_09/drag_opponent PresetRide
update_field gameplay race_bin_09/drag_opponent PresetRide CS_CAR_11
add_field gameplay race_bin_10/character1 PresetRide
update_field gameplay race_bin_10/character1 PresetRide CS_CAR_02
add_field gameplay race_bin_10/character2 PresetRide
update_field gameplay race_bin_10/character2 PresetRide CS_CAR_31
add_field gameplay race_bin_10/character3 PresetRide
update_field gameplay race_bin_10/character3 PresetRide CS_CAR_28
add_field gameplay race_bin_10/drag_opponent PresetRide
update_field gameplay race_bin_10/drag_opponent PresetRide CS_CAR_32
add_field gameplay race_bin_11/character1 PresetRide
update_field gameplay race_bin_11/character1 PresetRide CS_CAR_31
add_field gameplay race_bin_11/character2 PresetRide
update_field gameplay race_bin_11/character2 PresetRide CS_CAR_02
add_field gameplay race_bin_11/character3 PresetRide
update_field gameplay race_bin_11/character3 PresetRide CS_CAR_08
add_field gameplay race_bin_11/drag_opponent PresetRide
update_field gameplay race_bin_11/drag_opponent PresetRide CS_CAR_08
add_field gameplay race_bin_12/character1 PresetRide
update_field gameplay race_bin_12/character1 PresetRide CS_CAR_08
add_field gameplay race_bin_12/character2 PresetRide
update_field gameplay race_bin_12/character2 PresetRide CS_CAR_06
add_field gameplay race_bin_12/character3 PresetRide
update_field gameplay race_bin_12/character3 PresetRide CS_CAR_01
add_field gameplay race_bin_12/drag_opponent PresetRide
update_field gameplay race_bin_12/drag_opponent PresetRide CS_CAR_13
add_field gameplay race_bin_13/character1 PresetRide
update_field gameplay race_bin_13/character1 PresetRide CS_CAR_09
add_field gameplay race_bin_13/character2 PresetRide
update_field gameplay race_bin_13/character2 PresetRide CS_CAR_03
add_field gameplay race_bin_13/character3 PresetRide
update_field gameplay race_bin_13/character3 PresetRide CS_CAR_13
add_field gameplay race_bin_14/character1 PresetRide
update_field gameplay race_bin_14/character1 PresetRide CS_CAR_13
add_field gameplay race_bin_14/character2 PresetRide
update_field gameplay race_bin_14/character2 PresetRide CS_CAR_09
add_field gameplay race_bin_14/character3 PresetRide
update_field gameplay race_bin_14/character3 PresetRide CS_CAR_35
add_field gameplay race_bin_15/opponent1 PresetRide
update_field gameplay race_bin_15/opponent1 PresetRide CS_CAR_06
add_field gameplay race_bin_15/opponent2 PresetRide
update_field gameplay race_bin_15/opponent2 PresetRide CS_CAR_35
add_field gameplay race_bin_15/opponent3 PresetRide
update_field gameplay race_bin_15/opponent3 PresetRide CS_CAR_14

130
scripts/fier/preset-racers.py Executable file
View File

@ -0,0 +1,130 @@
#!/usr/bin/env python3
presets = [ # sorted by how fast the car is
"CS_CAR_33", # PUNTO
"CS_CAR_14", # COBALTSS
"CS_CAR_35", # CAMARO
"CS_CAR_12", # IS300
"CS_CAR_06", # ECLIPSEGT
"CS_CAR_09", # CTS
"CS_CAR_01", # GTI
"CS_CAR_13", # CLIO
"CS_CAR_03", # GTO
"CS_CAR_31", # MONARO
"CS_CAR_02", # RX8
"CS_CAR_08", # IMPREZAWRX
"CS_CAR_28", # LANCEREVO8
"CS_CAR_07", # SUPRA
"CS_CAR_17", # RX7
"CS_CAR_32", # CLK500
"CS_CAR_05", # CORVETTE
"CS_CAR_11", # VIPER
"CS_CAR_27", # SL500
"CS_CAR_30", # CAYMANS
"CS_CAR_04", # 997S
"CS_CAR_26", # ELISE
"CS_CAR_15", # 911TURBO
"CS_CAR_16", # DB9
"CS_CAR_20", # SLR
"CS_CAR_10", # GALLARDO
"CS_CAR_34", # GALLARDO
"CS_CAR_18", # MURCIELAGO
"CS_CAR_19", # CARRERAGT
"CS_CAR_29" # CORVETTEC6R
]
maxVariation = 4
seed = 1337
characters = """\
update_field gameplay race_bin_01/character1 CollectionName race_bin_01/character1
update_field gameplay race_bin_01/character2 CollectionName race_bin_01/character2
update_field gameplay race_bin_01/character3 CollectionName race_bin_01/character3
update_field gameplay race_bin_02/character1 CollectionName race_bin_02/character1
update_field gameplay race_bin_02/character2 CollectionName race_bin_02/character2
update_field gameplay race_bin_02/character3 CollectionName race_bin_02/character3
update_field gameplay race_bin_03/character1 CollectionName race_bin_03/character1
update_field gameplay race_bin_03/character2 CollectionName race_bin_03/character2
update_field gameplay race_bin_03/character3 CollectionName race_bin_03/character3
update_field gameplay race_bin_04/character1 CollectionName race_bin_04/character1
update_field gameplay race_bin_04/character2 CollectionName race_bin_04/character2
update_field gameplay race_bin_04/character3 CollectionName race_bin_04/character3
update_field gameplay race_bin_04/drag_opponent CollectionName race_bin_04/drag_opponent
update_field gameplay race_bin_05/character1 CollectionName race_bin_05/character1
update_field gameplay race_bin_05/character2 CollectionName race_bin_05/character2
update_field gameplay race_bin_05/character3 CollectionName race_bin_05/character3
update_field gameplay race_bin_05/drag_opponent CollectionName race_bin_05/drag_opponent
update_field gameplay race_bin_06/character1 CollectionName race_bin_06/character1
update_field gameplay race_bin_06/character2 CollectionName race_bin_06/character2
update_field gameplay race_bin_06/character3 CollectionName race_bin_06/character3
update_field gameplay race_bin_06/drag_opponent CollectionName race_bin_06/drag_opponent
update_field gameplay race_bin_07/character1 CollectionName race_bin_07/character1
update_field gameplay race_bin_07/character2 CollectionName race_bin_07/character2
update_field gameplay race_bin_07/character3 CollectionName race_bin_07/character3
update_field gameplay race_bin_07/drag_opponent CollectionName race_bin_07/drag_opponent
update_field gameplay race_bin_08/character1 CollectionName race_bin_08/character1
update_field gameplay race_bin_08/character2 CollectionName race_bin_08/character2
update_field gameplay race_bin_08/character3 CollectionName race_bin_08/character3
update_field gameplay race_bin_08/drag_opponent CollectionName race_bin_08/drag_opponent
update_field gameplay race_bin_09/character1 CollectionName race_bin_09/character1
update_field gameplay race_bin_09/character2 CollectionName race_bin_09/character2
update_field gameplay race_bin_09/character3 CollectionName race_bin_09/character3
update_field gameplay race_bin_09/drag_opponent CollectionName race_bin_09/drag_opponent
update_field gameplay race_bin_10/character1 CollectionName race_bin_10/character1
update_field gameplay race_bin_10/character2 CollectionName race_bin_10/character2
update_field gameplay race_bin_10/character3 CollectionName race_bin_10/character3
update_field gameplay race_bin_10/drag_opponent CollectionName race_bin_10/drag_opponent
update_field gameplay race_bin_11/character1 CollectionName race_bin_11/character1
update_field gameplay race_bin_11/character2 CollectionName race_bin_11/character2
update_field gameplay race_bin_11/character3 CollectionName race_bin_11/character3
update_field gameplay race_bin_11/drag_opponent CollectionName race_bin_11/drag_opponent
update_field gameplay race_bin_12/character1 CollectionName race_bin_12/character1
update_field gameplay race_bin_12/character2 CollectionName race_bin_12/character2
update_field gameplay race_bin_12/character3 CollectionName race_bin_12/character3
update_field gameplay race_bin_12/drag_opponent CollectionName race_bin_12/drag_opponent
update_field gameplay race_bin_13/character1 CollectionName race_bin_13/character1
update_field gameplay race_bin_13/character2 CollectionName race_bin_13/character2
update_field gameplay race_bin_13/character3 CollectionName race_bin_13/character3
update_field gameplay race_bin_14/character1 CollectionName race_bin_14/character1
update_field gameplay race_bin_14/character2 CollectionName race_bin_14/character2
update_field gameplay race_bin_14/character3 CollectionName race_bin_14/character3
update_field gameplay race_bin_15/opponent1 CollectionName race_bin_15/opponent1
update_field gameplay race_bin_15/opponent2 CollectionName race_bin_15/opponent2
update_field gameplay race_bin_15/opponent3 CollectionName race_bin_15/opponent3\
"""
import math
import random
random.seed(seed)
charactersProcessed = {}
for line in characters.split("\n"):
line = line.split(" ")
racebin = line[2].split("/")[0]
racer = line[2].split("/")[1]
if not racebin in charactersProcessed: charactersProcessed[racebin] = []
charactersProcessed[racebin].append(racer)
output = ""
presets.reverse()
presetToRacebinRatio = len(presets) / len(charactersProcessed)
count = 0
for racebin in charactersProcessed:
startIndex = presetToRacebinRatio * 10
vehicles = []
for character in charactersProcessed[racebin]:
while True:
vehicle = math.floor(presetToRacebinRatio * count) + random.randrange(0 - maxVariation,maxVariation)
if vehicle < 0: continue
if vehicle >= len(presets): continue
vehicle = presets[vehicle]
if character != "drag_opponent":
if vehicle in vehicles: continue
vehicles.append(vehicle)
output = output + "add_field gameplay " +racebin+ "/" +character+ " PresetRide\n"
output = output + "update_field gameplay " +racebin+ "/" +character+ " PresetRide " +vehicle+ "\n"
break
count = count + 1
file = open(__file__.replace(".py",".nfsms"),"w")
file.write(output)
file.close()

View File

@ -0,0 +1,16 @@
update_field rigidbodyspecs vehicle WALL_FRICTION[0] 1.0
update_field rigidbodyspecs vehicle WALL_FRICTION[1] 1.0
update_field rigidbodyspecs cars WALL_FRICTION[0] 1.0
update_field rigidbodyspecs cars WALL_FRICTION[1] 1.0
update_field rigidbodyspecs cops WALL_FRICTION[0] 1.0
update_field rigidbodyspecs cops WALL_FRICTION[1] 1.0
update_field rigidbodyspecs copsuv WALL_FRICTION[0] 1.0
update_field rigidbodyspecs copsuv WALL_FRICTION[1] 1.0
update_field rigidbodyspecs racers WALL_FRICTION[0] 1.0
update_field rigidbodyspecs racers WALL_FRICTION[1] 1.0
update_field rigidbodyspecs tractors WALL_FRICTION[0] 1.0
update_field rigidbodyspecs tractors WALL_FRICTION[1] 1.0
update_field rigidbodyspecs traffic WALL_FRICTION[0] 1.0
update_field rigidbodyspecs traffic WALL_FRICTION[1] 1.0
update_field rigidbodyspecs trailers WALL_FRICTION[0] 1.0
update_field rigidbodyspecs trailers WALL_FRICTION[1] 1.0

View File

@ -0,0 +1,552 @@
update_field collisionreactions challengeseries FRONT_REACTION Elasticity 0.25
update_field collisionreactions challengeseries FRONT_REACTION RollHeight 0.2
update_field collisionreactions challengeseries FRONT_REACTION WeightBias 0.2
update_field collisionreactions challengeseries FRONT_REACTION MassScale 1
update_field collisionreactions challengeseries FRONT_REACTION StunSpeed 0
update_field collisionreactions challengeseries FRONT_REACTION StunTime 0
update_field collisionreactions challengeseries FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions challengeseries FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions challengeseries FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions challengeseries FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions challengeseries FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions challengeseries FRONTSIDE_REACTION StunTime 0
update_field collisionreactions challengeseries REAR_REACTION Elasticity 0
update_field collisionreactions challengeseries REAR_REACTION RollHeight 0.2
update_field collisionreactions challengeseries REAR_REACTION WeightBias 1
update_field collisionreactions challengeseries REAR_REACTION MassScale 1.8
update_field collisionreactions challengeseries REAR_REACTION StunSpeed 0
update_field collisionreactions challengeseries REAR_REACTION StunTime 0
update_field collisionreactions challengeseries REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions challengeseries REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions challengeseries REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions challengeseries REARSIDE_REACTION MassScale 0.8
update_field collisionreactions challengeseries REARSIDE_REACTION StunSpeed 0
update_field collisionreactions challengeseries REARSIDE_REACTION StunTime 0
update_field collisionreactions cscopmidsize FRONT_REACTION Elasticity 0.25
update_field collisionreactions cscopmidsize FRONT_REACTION RollHeight 0.2
update_field collisionreactions cscopmidsize FRONT_REACTION WeightBias 0.2
update_field collisionreactions cscopmidsize FRONT_REACTION MassScale 1
update_field collisionreactions cscopmidsize FRONT_REACTION StunSpeed 0
update_field collisionreactions cscopmidsize FRONT_REACTION StunTime 0
update_field collisionreactions cscopmidsize FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions cscopmidsize FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions cscopmidsize FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions cscopmidsize FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions cscopmidsize FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions cscopmidsize FRONTSIDE_REACTION StunTime 0
update_field collisionreactions cscopmidsize REAR_REACTION Elasticity 0
update_field collisionreactions cscopmidsize REAR_REACTION RollHeight 0.2
update_field collisionreactions cscopmidsize REAR_REACTION WeightBias 1
update_field collisionreactions cscopmidsize REAR_REACTION MassScale 1.8
update_field collisionreactions cscopmidsize REAR_REACTION StunSpeed 0
update_field collisionreactions cscopmidsize REAR_REACTION StunTime 0
update_field collisionreactions cscopmidsize REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions cscopmidsize REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions cscopmidsize REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions cscopmidsize REARSIDE_REACTION MassScale 0.8
update_field collisionreactions cscopmidsize REARSIDE_REACTION StunSpeed 0
update_field collisionreactions cscopmidsize REARSIDE_REACTION StunTime 0
update_field collisionreactions cscopsuv FRONT_REACTION Elasticity 0.25
update_field collisionreactions cscopsuv FRONT_REACTION RollHeight 0.2
update_field collisionreactions cscopsuv FRONT_REACTION WeightBias 0.2
update_field collisionreactions cscopsuv FRONT_REACTION MassScale 1
update_field collisionreactions cscopsuv FRONT_REACTION StunSpeed 0
update_field collisionreactions cscopsuv FRONT_REACTION StunTime 0
update_field collisionreactions cscopsuv FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions cscopsuv FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions cscopsuv FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions cscopsuv FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions cscopsuv FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions cscopsuv FRONTSIDE_REACTION StunTime 0
update_field collisionreactions cscopsuv REAR_REACTION Elasticity 0
update_field collisionreactions cscopsuv REAR_REACTION RollHeight 0.2
update_field collisionreactions cscopsuv REAR_REACTION WeightBias 1
update_field collisionreactions cscopsuv REAR_REACTION MassScale 1.8
update_field collisionreactions cscopsuv REAR_REACTION StunSpeed 0
update_field collisionreactions cscopsuv REAR_REACTION StunTime 0
update_field collisionreactions cscopsuv REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions cscopsuv REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions cscopsuv REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions cscopsuv REARSIDE_REACTION MassScale 0.8
update_field collisionreactions cscopsuv REARSIDE_REACTION StunSpeed 0
update_field collisionreactions cscopsuv REARSIDE_REACTION StunTime 0
update_field collisionreactions semi FRONT_REACTION Elasticity 0.25
update_field collisionreactions semi FRONT_REACTION RollHeight 0.2
update_field collisionreactions semi FRONT_REACTION WeightBias 0.2
update_field collisionreactions semi FRONT_REACTION MassScale 1
update_field collisionreactions semi FRONT_REACTION StunSpeed 0
update_field collisionreactions semi FRONT_REACTION StunTime 0
update_field collisionreactions semi FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions semi FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions semi FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions semi FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions semi FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions semi FRONTSIDE_REACTION StunTime 0
update_field collisionreactions semi REAR_REACTION Elasticity 0
update_field collisionreactions semi REAR_REACTION RollHeight 0.2
update_field collisionreactions semi REAR_REACTION WeightBias 1
update_field collisionreactions semi REAR_REACTION MassScale 1.8
update_field collisionreactions semi REAR_REACTION StunSpeed 0
update_field collisionreactions semi REAR_REACTION StunTime 0
update_field collisionreactions semi REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions semi REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions semi REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions semi REARSIDE_REACTION MassScale 0.8
update_field collisionreactions semi REARSIDE_REACTION StunSpeed 0
update_field collisionreactions semi REARSIDE_REACTION StunTime 0
update_field collisionreactions cops FRONT_REACTION Elasticity 0.25
update_field collisionreactions cops FRONT_REACTION RollHeight 0.2
update_field collisionreactions cops FRONT_REACTION WeightBias 0.2
update_field collisionreactions cops FRONT_REACTION MassScale 1
update_field collisionreactions cops FRONT_REACTION StunSpeed 0
update_field collisionreactions cops FRONT_REACTION StunTime 0
update_field collisionreactions cops FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions cops FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions cops FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions cops FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions cops FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions cops FRONTSIDE_REACTION StunTime 0
update_field collisionreactions cops REAR_REACTION Elasticity 0
update_field collisionreactions cops REAR_REACTION RollHeight 0.2
update_field collisionreactions cops REAR_REACTION WeightBias 1
update_field collisionreactions cops REAR_REACTION MassScale 1.8
update_field collisionreactions cops REAR_REACTION StunSpeed 0
update_field collisionreactions cops REAR_REACTION StunTime 0
update_field collisionreactions cops REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions cops REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions cops REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions cops REARSIDE_REACTION MassScale 0.8
update_field collisionreactions cops REARSIDE_REACTION StunSpeed 0
update_field collisionreactions cops REARSIDE_REACTION StunTime 0
update_field collisionreactions copcross FRONT_REACTION Elasticity 0.25
update_field collisionreactions copcross FRONT_REACTION RollHeight 0.2
update_field collisionreactions copcross FRONT_REACTION WeightBias 0.2
update_field collisionreactions copcross FRONT_REACTION MassScale 1
update_field collisionreactions copcross FRONT_REACTION StunSpeed 0
update_field collisionreactions copcross FRONT_REACTION StunTime 0
update_field collisionreactions copcross FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions copcross FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions copcross FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions copcross FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions copcross FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions copcross FRONTSIDE_REACTION StunTime 0
update_field collisionreactions copcross REAR_REACTION Elasticity 0
update_field collisionreactions copcross REAR_REACTION RollHeight 0.2
update_field collisionreactions copcross REAR_REACTION WeightBias 1
update_field collisionreactions copcross REAR_REACTION MassScale 1.8
update_field collisionreactions copcross REAR_REACTION StunSpeed 0
update_field collisionreactions copcross REAR_REACTION StunTime 0
update_field collisionreactions copcross REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions copcross REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions copcross REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions copcross REARSIDE_REACTION MassScale 0.8
update_field collisionreactions copcross REARSIDE_REACTION StunSpeed 0
update_field collisionreactions copcross REARSIDE_REACTION StunTime 0
update_field collisionreactions copghost FRONT_REACTION Elasticity 0.25
update_field collisionreactions copghost FRONT_REACTION RollHeight 0.2
update_field collisionreactions copghost FRONT_REACTION WeightBias 0.2
update_field collisionreactions copghost FRONT_REACTION MassScale 1
update_field collisionreactions copghost FRONT_REACTION StunSpeed 0
update_field collisionreactions copghost FRONT_REACTION StunTime 0
update_field collisionreactions copghost FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions copghost FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions copghost FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions copghost FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions copghost FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions copghost FRONTSIDE_REACTION StunTime 0
update_field collisionreactions copghost REAR_REACTION Elasticity 0
update_field collisionreactions copghost REAR_REACTION RollHeight 0.2
update_field collisionreactions copghost REAR_REACTION WeightBias 1
update_field collisionreactions copghost REAR_REACTION MassScale 1.8
update_field collisionreactions copghost REAR_REACTION StunSpeed 0
update_field collisionreactions copghost REAR_REACTION StunTime 0
update_field collisionreactions copghost REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions copghost REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions copghost REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions copghost REARSIDE_REACTION MassScale 0.8
update_field collisionreactions copghost REARSIDE_REACTION StunSpeed 0
update_field collisionreactions copghost REARSIDE_REACTION StunTime 0
update_field collisionreactions copgto FRONT_REACTION Elasticity 0.25
update_field collisionreactions copgto FRONT_REACTION RollHeight 0.2
update_field collisionreactions copgto FRONT_REACTION WeightBias 0.2
update_field collisionreactions copgto FRONT_REACTION MassScale 1
update_field collisionreactions copgto FRONT_REACTION StunSpeed 0
update_field collisionreactions copgto FRONT_REACTION StunTime 0
update_field collisionreactions copgto FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions copgto FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions copgto FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions copgto FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions copgto FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions copgto FRONTSIDE_REACTION StunTime 0
update_field collisionreactions copgto REAR_REACTION Elasticity 0
update_field collisionreactions copgto REAR_REACTION RollHeight 0.2
update_field collisionreactions copgto REAR_REACTION WeightBias 1
update_field collisionreactions copgto REAR_REACTION MassScale 1.8
update_field collisionreactions copgto REAR_REACTION StunSpeed 0
update_field collisionreactions copgto REAR_REACTION StunTime 0
update_field collisionreactions copgto REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions copgto REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions copgto REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions copgto REARSIDE_REACTION MassScale 0.8
update_field collisionreactions copgto REARSIDE_REACTION StunSpeed 0
update_field collisionreactions copgto REARSIDE_REACTION StunTime 0
update_field collisionreactions copgtoghost FRONT_REACTION Elasticity 0.25
update_field collisionreactions copgtoghost FRONT_REACTION RollHeight 0.2
update_field collisionreactions copgtoghost FRONT_REACTION WeightBias 0.2
update_field collisionreactions copgtoghost FRONT_REACTION MassScale 1
update_field collisionreactions copgtoghost FRONT_REACTION StunSpeed 0
update_field collisionreactions copgtoghost FRONT_REACTION StunTime 0
update_field collisionreactions copgtoghost FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions copgtoghost FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions copgtoghost FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions copgtoghost FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions copgtoghost FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions copgtoghost FRONTSIDE_REACTION StunTime 0
update_field collisionreactions copgtoghost REAR_REACTION Elasticity 0
update_field collisionreactions copgtoghost REAR_REACTION RollHeight 0.2
update_field collisionreactions copgtoghost REAR_REACTION WeightBias 1
update_field collisionreactions copgtoghost REAR_REACTION MassScale 1.8
update_field collisionreactions copgtoghost REAR_REACTION StunSpeed 0
update_field collisionreactions copgtoghost REAR_REACTION StunTime 0
update_field collisionreactions copgtoghost REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions copgtoghost REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions copgtoghost REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions copgtoghost REARSIDE_REACTION MassScale 0.8
update_field collisionreactions copgtoghost REARSIDE_REACTION StunSpeed 0
update_field collisionreactions copgtoghost REARSIDE_REACTION StunTime 0
update_field collisionreactions coppit FRONT_REACTION Elasticity 0.25
update_field collisionreactions coppit FRONT_REACTION RollHeight 0.2
update_field collisionreactions coppit FRONT_REACTION WeightBias 0.2
update_field collisionreactions coppit FRONT_REACTION MassScale 1
update_field collisionreactions coppit FRONT_REACTION StunSpeed 0
update_field collisionreactions coppit FRONT_REACTION StunTime 0
update_field collisionreactions coppit FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions coppit FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions coppit FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions coppit FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions coppit FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions coppit FRONTSIDE_REACTION StunTime 0
update_field collisionreactions coppit REAR_REACTION Elasticity 0
update_field collisionreactions coppit REAR_REACTION RollHeight 0.2
update_field collisionreactions coppit REAR_REACTION WeightBias 1
update_field collisionreactions coppit REAR_REACTION MassScale 1.8
update_field collisionreactions coppit REAR_REACTION StunSpeed 0
update_field collisionreactions coppit REAR_REACTION StunTime 0
update_field collisionreactions coppit REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions coppit REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions coppit REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions coppit REARSIDE_REACTION MassScale 0.8
update_field collisionreactions coppit REARSIDE_REACTION StunSpeed 0
update_field collisionreactions coppit REARSIDE_REACTION StunTime 0
update_field collisionreactions copsportghost FRONT_REACTION Elasticity 0.25
update_field collisionreactions copsportghost FRONT_REACTION RollHeight 0.2
update_field collisionreactions copsportghost FRONT_REACTION WeightBias 0.2
update_field collisionreactions copsportghost FRONT_REACTION MassScale 1
update_field collisionreactions copsportghost FRONT_REACTION StunSpeed 0
update_field collisionreactions copsportghost FRONT_REACTION StunTime 0
update_field collisionreactions copsportghost FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions copsportghost FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions copsportghost FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions copsportghost FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions copsportghost FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions copsportghost FRONTSIDE_REACTION StunTime 0
update_field collisionreactions copsportghost REAR_REACTION Elasticity 0
update_field collisionreactions copsportghost REAR_REACTION RollHeight 0.2
update_field collisionreactions copsportghost REAR_REACTION WeightBias 1
update_field collisionreactions copsportghost REAR_REACTION MassScale 1.8
update_field collisionreactions copsportghost REAR_REACTION StunSpeed 0
update_field collisionreactions copsportghost REAR_REACTION StunTime 0
update_field collisionreactions copsportghost REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions copsportghost REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions copsportghost REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions copsportghost REARSIDE_REACTION MassScale 0.8
update_field collisionreactions copsportghost REARSIDE_REACTION StunSpeed 0
update_field collisionreactions copsportghost REARSIDE_REACTION StunTime 0
update_field collisionreactions copsporthench FRONT_REACTION Elasticity 0.25
update_field collisionreactions copsporthench FRONT_REACTION RollHeight 0.2
update_field collisionreactions copsporthench FRONT_REACTION WeightBias 0.2
update_field collisionreactions copsporthench FRONT_REACTION MassScale 1
update_field collisionreactions copsporthench FRONT_REACTION StunSpeed 0
update_field collisionreactions copsporthench FRONT_REACTION StunTime 0
update_field collisionreactions copsporthench FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions copsporthench FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions copsporthench FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions copsporthench FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions copsporthench FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions copsporthench FRONTSIDE_REACTION StunTime 0
update_field collisionreactions copsporthench REAR_REACTION Elasticity 0
update_field collisionreactions copsporthench REAR_REACTION RollHeight 0.2
update_field collisionreactions copsporthench REAR_REACTION WeightBias 1
update_field collisionreactions copsporthench REAR_REACTION MassScale 1.8
update_field collisionreactions copsporthench REAR_REACTION StunSpeed 0
update_field collisionreactions copsporthench REAR_REACTION StunTime 0
update_field collisionreactions copsporthench REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions copsporthench REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions copsporthench REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions copsporthench REARSIDE_REACTION MassScale 0.8
update_field collisionreactions copsporthench REARSIDE_REACTION StunSpeed 0
update_field collisionreactions copsporthench REARSIDE_REACTION StunTime 0
update_field collisionreactions copsuvpatrol FRONT_REACTION Elasticity 0.25
update_field collisionreactions copsuvpatrol FRONT_REACTION RollHeight 0.2
update_field collisionreactions copsuvpatrol FRONT_REACTION WeightBias 0.2
update_field collisionreactions copsuvpatrol FRONT_REACTION MassScale 1
update_field collisionreactions copsuvpatrol FRONT_REACTION StunSpeed 0
update_field collisionreactions copsuvpatrol FRONT_REACTION StunTime 0
update_field collisionreactions copsuvpatrol FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions copsuvpatrol FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions copsuvpatrol FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions copsuvpatrol FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions copsuvpatrol FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions copsuvpatrol FRONTSIDE_REACTION StunTime 0
update_field collisionreactions copsuvpatrol REAR_REACTION Elasticity 0
update_field collisionreactions copsuvpatrol REAR_REACTION RollHeight 0.2
update_field collisionreactions copsuvpatrol REAR_REACTION WeightBias 1
update_field collisionreactions copsuvpatrol REAR_REACTION MassScale 1.8
update_field collisionreactions copsuvpatrol REAR_REACTION StunSpeed 0
update_field collisionreactions copsuvpatrol REAR_REACTION StunTime 0
update_field collisionreactions copsuvpatrol REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions copsuvpatrol REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions copsuvpatrol REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions copsuvpatrol REARSIDE_REACTION MassScale 0.8
update_field collisionreactions copsuvpatrol REARSIDE_REACTION StunSpeed 0
update_field collisionreactions copsuvpatrol REARSIDE_REACTION StunTime 0
update_field collisionreactions suvlight FRONT_REACTION Elasticity 0.25
update_field collisionreactions suvlight FRONT_REACTION RollHeight 0.2
update_field collisionreactions suvlight FRONT_REACTION WeightBias 0.2
update_field collisionreactions suvlight FRONT_REACTION MassScale 1
update_field collisionreactions suvlight FRONT_REACTION StunSpeed 0
update_field collisionreactions suvlight FRONT_REACTION StunTime 0
update_field collisionreactions suvlight FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions suvlight FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions suvlight FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions suvlight FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions suvlight FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions suvlight FRONTSIDE_REACTION StunTime 0
update_field collisionreactions suvlight REAR_REACTION Elasticity 0
update_field collisionreactions suvlight REAR_REACTION RollHeight 0.2
update_field collisionreactions suvlight REAR_REACTION WeightBias 1
update_field collisionreactions suvlight REAR_REACTION MassScale 1.8
update_field collisionreactions suvlight REAR_REACTION StunSpeed 0
update_field collisionreactions suvlight REAR_REACTION StunTime 0
update_field collisionreactions suvlight REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions suvlight REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions suvlight REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions suvlight REARSIDE_REACTION MassScale 0.8
update_field collisionreactions suvlight REARSIDE_REACTION StunSpeed 0
update_field collisionreactions suvlight REARSIDE_REACTION StunTime 0
update_field collisionreactions suvs FRONT_REACTION Elasticity 0.25
update_field collisionreactions suvs FRONT_REACTION RollHeight 0.2
update_field collisionreactions suvs FRONT_REACTION WeightBias 0.2
update_field collisionreactions suvs FRONT_REACTION MassScale 1
update_field collisionreactions suvs FRONT_REACTION StunSpeed 0
update_field collisionreactions suvs FRONT_REACTION StunTime 0
update_field collisionreactions suvs FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions suvs FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions suvs FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions suvs FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions suvs FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions suvs FRONTSIDE_REACTION StunTime 0
update_field collisionreactions suvs REAR_REACTION Elasticity 0
update_field collisionreactions suvs REAR_REACTION RollHeight 0.2
update_field collisionreactions suvs REAR_REACTION WeightBias 1
update_field collisionreactions suvs REAR_REACTION MassScale 1.8
update_field collisionreactions suvs REAR_REACTION StunSpeed 0
update_field collisionreactions suvs REAR_REACTION StunTime 0
update_field collisionreactions suvs REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions suvs REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions suvs REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions suvs REARSIDE_REACTION MassScale 0.8
update_field collisionreactions suvs REARSIDE_REACTION StunSpeed 0
update_field collisionreactions suvs REARSIDE_REACTION StunTime 0
update_field collisionreactions racers FRONT_REACTION Elasticity 0.25
update_field collisionreactions racers FRONT_REACTION RollHeight 0.2
update_field collisionreactions racers FRONT_REACTION WeightBias 0.2
update_field collisionreactions racers FRONT_REACTION MassScale 1
update_field collisionreactions racers FRONT_REACTION StunSpeed 0
update_field collisionreactions racers FRONT_REACTION StunTime 0
update_field collisionreactions racers FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions racers FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions racers FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions racers FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions racers FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions racers FRONTSIDE_REACTION StunTime 0
update_field collisionreactions racers REAR_REACTION Elasticity 0
update_field collisionreactions racers REAR_REACTION RollHeight 0.2
update_field collisionreactions racers REAR_REACTION WeightBias 1
update_field collisionreactions racers REAR_REACTION MassScale 1.8
update_field collisionreactions racers REAR_REACTION StunSpeed 0
update_field collisionreactions racers REAR_REACTION StunTime 0
update_field collisionreactions racers REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions racers REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions racers REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions racers REARSIDE_REACTION MassScale 0.8
update_field collisionreactions racers REARSIDE_REACTION StunSpeed 0
update_field collisionreactions racers REARSIDE_REACTION StunTime 0
update_field collisionreactions racing FRONT_REACTION Elasticity 0.25
update_field collisionreactions racing FRONT_REACTION RollHeight 0.2
update_field collisionreactions racing FRONT_REACTION WeightBias 0.2
update_field collisionreactions racing FRONT_REACTION MassScale 1
update_field collisionreactions racing FRONT_REACTION StunSpeed 0
update_field collisionreactions racing FRONT_REACTION StunTime 0
update_field collisionreactions racing FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions racing FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions racing FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions racing FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions racing FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions racing FRONTSIDE_REACTION StunTime 0
update_field collisionreactions racing REAR_REACTION Elasticity 0
update_field collisionreactions racing REAR_REACTION RollHeight 0.2
update_field collisionreactions racing REAR_REACTION WeightBias 1
update_field collisionreactions racing REAR_REACTION MassScale 1.8
update_field collisionreactions racing REAR_REACTION StunSpeed 0
update_field collisionreactions racing REAR_REACTION StunTime 0
update_field collisionreactions racing REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions racing REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions racing REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions racing REARSIDE_REACTION MassScale 0.8
update_field collisionreactions racing REARSIDE_REACTION StunSpeed 0
update_field collisionreactions racing REARSIDE_REACTION StunTime 0
update_field collisionreactions traffic FRONT_REACTION Elasticity 0.25
update_field collisionreactions traffic FRONT_REACTION RollHeight 0.2
update_field collisionreactions traffic FRONT_REACTION WeightBias 0.2
update_field collisionreactions traffic FRONT_REACTION MassScale 1
update_field collisionreactions traffic FRONT_REACTION StunSpeed 0
update_field collisionreactions traffic FRONT_REACTION StunTime 0
update_field collisionreactions traffic FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions traffic FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions traffic FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions traffic FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions traffic FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions traffic FRONTSIDE_REACTION StunTime 0
update_field collisionreactions traffic REAR_REACTION Elasticity 0
update_field collisionreactions traffic REAR_REACTION RollHeight 0.2
update_field collisionreactions traffic REAR_REACTION WeightBias 1
update_field collisionreactions traffic REAR_REACTION MassScale 1.8
update_field collisionreactions traffic REAR_REACTION StunSpeed 0
update_field collisionreactions traffic REAR_REACTION StunTime 0
update_field collisionreactions traffic REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions traffic REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions traffic REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions traffic REARSIDE_REACTION MassScale 0.8
update_field collisionreactions traffic REARSIDE_REACTION StunSpeed 0
update_field collisionreactions traffic REARSIDE_REACTION StunTime 0
update_field collisionreactions street FRONT_REACTION Elasticity 0.25
update_field collisionreactions street FRONT_REACTION RollHeight 0.2
update_field collisionreactions street FRONT_REACTION WeightBias 0.2
update_field collisionreactions street FRONT_REACTION MassScale 1
update_field collisionreactions street FRONT_REACTION StunSpeed 0
update_field collisionreactions street FRONT_REACTION StunTime 0
update_field collisionreactions street FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions street FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions street FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions street FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions street FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions street FRONTSIDE_REACTION StunTime 0
update_field collisionreactions street REAR_REACTION Elasticity 0
update_field collisionreactions street REAR_REACTION RollHeight 0.2
update_field collisionreactions street REAR_REACTION WeightBias 1
update_field collisionreactions street REAR_REACTION MassScale 1.8
update_field collisionreactions street REAR_REACTION StunSpeed 0
update_field collisionreactions street REAR_REACTION StunTime 0
update_field collisionreactions street REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions street REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions street REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions street REARSIDE_REACTION MassScale 0.8
update_field collisionreactions street REARSIDE_REACTION StunSpeed 0
update_field collisionreactions street REARSIDE_REACTION StunTime 0
update_field collisionreactions truck FRONT_REACTION Elasticity 0.25
update_field collisionreactions truck FRONT_REACTION RollHeight 0.2
update_field collisionreactions truck FRONT_REACTION WeightBias 0.2
update_field collisionreactions truck FRONT_REACTION MassScale 1
update_field collisionreactions truck FRONT_REACTION StunSpeed 0
update_field collisionreactions truck FRONT_REACTION StunTime 0
update_field collisionreactions truck FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions truck FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions truck FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions truck FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions truck FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions truck FRONTSIDE_REACTION StunTime 0
update_field collisionreactions truck REAR_REACTION Elasticity 0
update_field collisionreactions truck REAR_REACTION RollHeight 0.2
update_field collisionreactions truck REAR_REACTION WeightBias 1
update_field collisionreactions truck REAR_REACTION MassScale 1.8
update_field collisionreactions truck REAR_REACTION StunSpeed 0
update_field collisionreactions truck REAR_REACTION StunTime 0
update_field collisionreactions truck REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions truck REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions truck REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions truck REARSIDE_REACTION MassScale 0.8
update_field collisionreactions truck REARSIDE_REACTION StunSpeed 0
update_field collisionreactions truck REARSIDE_REACTION StunTime 0
update_field collisionreactions van FRONT_REACTION Elasticity 0.25
update_field collisionreactions van FRONT_REACTION RollHeight 0.2
update_field collisionreactions van FRONT_REACTION WeightBias 0.2
update_field collisionreactions van FRONT_REACTION MassScale 1
update_field collisionreactions van FRONT_REACTION StunSpeed 0
update_field collisionreactions van FRONT_REACTION StunTime 0
update_field collisionreactions van FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions van FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions van FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions van FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions van FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions van FRONTSIDE_REACTION StunTime 0
update_field collisionreactions van REAR_REACTION Elasticity 0
update_field collisionreactions van REAR_REACTION RollHeight 0.2
update_field collisionreactions van REAR_REACTION WeightBias 1
update_field collisionreactions van REAR_REACTION MassScale 1.8
update_field collisionreactions van REAR_REACTION StunSpeed 0
update_field collisionreactions van REAR_REACTION StunTime 0
update_field collisionreactions van REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions van REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions van REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions van REARSIDE_REACTION MassScale 0.8
update_field collisionreactions van REARSIDE_REACTION StunSpeed 0
update_field collisionreactions van REARSIDE_REACTION StunTime 0
update_field rigidbodyspecs vehicle OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs vehicle OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs vehicle OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs vehicle OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs vehicle OBJ_FRICTION[0] 1
update_field rigidbodyspecs vehicle OBJ_FRICTION[1] 1
update_field rigidbodyspecs cars OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs cars OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs cars OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs cars OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs cars OBJ_FRICTION[0] 1
update_field rigidbodyspecs cars OBJ_FRICTION[1] 1
update_field rigidbodyspecs cops OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs cops OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs cops OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs cops OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs cops OBJ_FRICTION[0] 1
update_field rigidbodyspecs cops OBJ_FRICTION[1] 1
update_field rigidbodyspecs copsuv OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs copsuv OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs copsuv OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs copsuv OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs copsuv OBJ_FRICTION[0] 1
update_field rigidbodyspecs copsuv OBJ_FRICTION[1] 1
update_field rigidbodyspecs racers OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs racers OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs racers OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs racers OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs racers OBJ_FRICTION[0] 1
update_field rigidbodyspecs racers OBJ_FRICTION[1] 1
update_field rigidbodyspecs tractors OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs tractors OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs tractors OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs tractors OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs tractors OBJ_FRICTION[0] 1
update_field rigidbodyspecs tractors OBJ_FRICTION[1] 1
update_field rigidbodyspecs traffic OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs traffic OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs traffic OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs traffic OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs traffic OBJ_FRICTION[0] 1
update_field rigidbodyspecs traffic OBJ_FRICTION[1] 1
update_field rigidbodyspecs trailers OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs trailers OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs trailers OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs trailers OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs trailers OBJ_FRICTION[0] 1
update_field rigidbodyspecs trailers OBJ_FRICTION[1] 1

View File

@ -0,0 +1,47 @@
nfsms = """\
update_field collisionreactions replaceme FRONT_REACTION Elasticity 0.25
update_field collisionreactions replaceme FRONT_REACTION RollHeight 0.2
update_field collisionreactions replaceme FRONT_REACTION WeightBias 0.2
update_field collisionreactions replaceme FRONT_REACTION MassScale 1
update_field collisionreactions replaceme FRONT_REACTION StunSpeed 0
update_field collisionreactions replaceme FRONT_REACTION StunTime 0
update_field collisionreactions replaceme FRONTSIDE_REACTION Elasticity 0.1
update_field collisionreactions replaceme FRONTSIDE_REACTION RollHeight 0.2
update_field collisionreactions replaceme FRONTSIDE_REACTION WeightBias 0.2
update_field collisionreactions replaceme FRONTSIDE_REACTION MassScale 1.2
update_field collisionreactions replaceme FRONTSIDE_REACTION StunSpeed 0
update_field collisionreactions replaceme FRONTSIDE_REACTION StunTime 0
update_field collisionreactions replaceme REAR_REACTION Elasticity 0
update_field collisionreactions replaceme REAR_REACTION RollHeight 0.2
update_field collisionreactions replaceme REAR_REACTION WeightBias 1
update_field collisionreactions replaceme REAR_REACTION MassScale 1.8
update_field collisionreactions replaceme REAR_REACTION StunSpeed 0
update_field collisionreactions replaceme REAR_REACTION StunTime 0
update_field collisionreactions replaceme REARSIDE_REACTION Elasticity 0.2
update_field collisionreactions replaceme REARSIDE_REACTION RollHeight 0.2
update_field collisionreactions replaceme REARSIDE_REACTION WeightBias 0.8
update_field collisionreactions replaceme REARSIDE_REACTION MassScale 0.8
update_field collisionreactions replaceme REARSIDE_REACTION StunSpeed 0
update_field collisionreactions replaceme REARSIDE_REACTION StunTime 0\
"""
momentscales = """\
update_field rigidbodyspecs replaceme OBJ_MOMENT_SCALE X 1
update_field rigidbodyspecs replaceme OBJ_MOMENT_SCALE Y 1
update_field rigidbodyspecs replaceme OBJ_MOMENT_SCALE Z 1
update_field rigidbodyspecs replaceme OBJ_MOMENT_SCALE W 1
update_field rigidbodyspecs replaceme OBJ_FRICTION[0] 1
update_field rigidbodyspecs replaceme OBJ_FRICTION[1] 1\
"""
vehicleTypes = ["challengeseries","cscopmidsize","cscopsuv","semi","cops","copcross","copghost","copgto","copgtoghost","coppit","copsportghost","copsporthench","copsuvpatrol","suvlight","suvs","racers","racing","traffic","street","truck","van"]
bodyTypes = ["vehicle","cars","cops","copsuv","racers","tractors","traffic","trailers"]
outfile = open("reactive-collisions.nfsms","w")
for vehicle in vehicleTypes:
outfile.write(nfsms.replace("replaceme",vehicle) + "\n")
for body in bodyTypes:
outfile.write(momentscales.replace("replaceme",body) + "\n")
outfile.close()

View File

@ -0,0 +1,48 @@
update_field timeofdaylighting 0x94abdff0 AmbientColour X 0.275
update_field timeofdaylighting 0x94abdff0 AmbientColour Y 0.3075
update_field timeofdaylighting 0x94abdff0 AmbientColour Z 0.365
update_field timeofdaylighting 0x94abdff0 DiffuseColour X 0.275
update_field timeofdaylighting 0x94abdff0 DiffuseColour Y 0.3075
update_field timeofdaylighting 0x94abdff0 DiffuseColour Z 0.365
update_field timeofdaylighting 0x919b6689 AmbientColour X 0.3175
update_field timeofdaylighting 0x919b6689 AmbientColour Y 0.34500000000000003
update_field timeofdaylighting 0x919b6689 AmbientColour Z 0.37250000000000005
update_field timeofdaylighting 0x919b6689 DiffuseColour X 0.3175
update_field timeofdaylighting 0x919b6689 DiffuseColour Y 0.34500000000000003
update_field timeofdaylighting 0x919b6689 DiffuseColour Z 0.37250000000000005
update_field timeofdaylighting 0xa01a3942 AmbientColour X 0.355
update_field timeofdaylighting 0xa01a3942 AmbientColour Y 0.3425
update_field timeofdaylighting 0xa01a3942 AmbientColour Z 0.2625
update_field timeofdaylighting 0xa01a3942 DiffuseColour X 0.355
update_field timeofdaylighting 0xa01a3942 DiffuseColour Y 0.3425
update_field timeofdaylighting 0xa01a3942 DiffuseColour Z 0.2625
update_field timeofdaylighting 0x0e1c797c AmbientColour X 0.46
update_field timeofdaylighting 0x0e1c797c AmbientColour Y 0.385
update_field timeofdaylighting 0x0e1c797c AmbientColour Z 0.3175
update_field timeofdaylighting 0x0e1c797c DiffuseColour X 0.46
update_field timeofdaylighting 0x0e1c797c DiffuseColour Y 0.385
update_field timeofdaylighting 0x0e1c797c DiffuseColour Z 0.3175
update_field timeofdaylighting overcast AmbientColour X 0.275
update_field timeofdaylighting overcast AmbientColour Y 0.275
update_field timeofdaylighting overcast AmbientColour Z 0.2875
update_field timeofdaylighting overcast DiffuseColour X 0.275
update_field timeofdaylighting overcast DiffuseColour Y 0.275
update_field timeofdaylighting overcast DiffuseColour Z 0.2875
update_field timeofdaylighting dusk_overcast AmbientColour X 0.36249999999999993
update_field timeofdaylighting dusk_overcast AmbientColour Y 0.325
update_field timeofdaylighting dusk_overcast AmbientColour Z 0.25
update_field timeofdaylighting dusk_overcast DiffuseColour X 0.36249999999999993
update_field timeofdaylighting dusk_overcast DiffuseColour Y 0.325
update_field timeofdaylighting dusk_overcast DiffuseColour Z 0.25
update_field timeofdaylighting sunny AmbientColour X 0.4625
update_field timeofdaylighting sunny AmbientColour Y 0.4625
update_field timeofdaylighting sunny AmbientColour Z 0.4125
update_field timeofdaylighting sunny DiffuseColour X 0.4625
update_field timeofdaylighting sunny DiffuseColour Y 0.4625
update_field timeofdaylighting sunny DiffuseColour Z 0.4125
update_field timeofdaylighting dusk_sunny AmbientColour X 0.42499999999999993
update_field timeofdaylighting dusk_sunny AmbientColour Y 0.375
update_field timeofdaylighting dusk_sunny AmbientColour Z 0.325
update_field timeofdaylighting dusk_sunny DiffuseColour X 0.42499999999999993
update_field timeofdaylighting dusk_sunny DiffuseColour Y 0.375
update_field timeofdaylighting dusk_sunny DiffuseColour Z 0.325

View File

@ -0,0 +1,95 @@
diffuseAmount = 0.25
timeOfDayLighting = {}
# The definitions below are from AJLethal's .R Lighting
timeOfDayLighting["0x94abdff0"] = {}
timeOfDayLighting["0x94abdff0"]["AmbientColour"] = {}
timeOfDayLighting["0x94abdff0"]["AmbientColour"]["X"] = 0.2
timeOfDayLighting["0x94abdff0"]["AmbientColour"]["Y"] = 0.23
timeOfDayLighting["0x94abdff0"]["AmbientColour"]["Z"] = 0.28
timeOfDayLighting["0x94abdff0"]["DiffuseColour"] = {}
timeOfDayLighting["0x94abdff0"]["DiffuseColour"]["X"] = 0.5
timeOfDayLighting["0x94abdff0"]["DiffuseColour"]["Y"] = 0.54
timeOfDayLighting["0x94abdff0"]["DiffuseColour"]["Z"] = 0.62
timeOfDayLighting["0x919b6689"] = {}
timeOfDayLighting["0x919b6689"]["AmbientColour"] = {}
timeOfDayLighting["0x919b6689"]["AmbientColour"]["X"] = 0.31
timeOfDayLighting["0x919b6689"]["AmbientColour"]["Y"] = 0.38
timeOfDayLighting["0x919b6689"]["AmbientColour"]["Z"] = 0.46
timeOfDayLighting["0x919b6689"]["DiffuseColour"] = {}
timeOfDayLighting["0x919b6689"]["DiffuseColour"]["X"] = 0.34
timeOfDayLighting["0x919b6689"]["DiffuseColour"]["Y"] = 0.24
timeOfDayLighting["0x919b6689"]["DiffuseColour"]["Z"] = 0.11
timeOfDayLighting["0xa01a3942"] = {}
timeOfDayLighting["0xa01a3942"]["AmbientColour"] = {}
timeOfDayLighting["0xa01a3942"]["AmbientColour"]["X"] = 0.14
timeOfDayLighting["0xa01a3942"]["AmbientColour"]["Y"] = 0.14
timeOfDayLighting["0xa01a3942"]["AmbientColour"]["Z"] = 0.1
timeOfDayLighting["0xa01a3942"]["DiffuseColour"] = {}
timeOfDayLighting["0xa01a3942"]["DiffuseColour"]["X"] = 1.0
timeOfDayLighting["0xa01a3942"]["DiffuseColour"]["Y"] = 0.95
timeOfDayLighting["0xa01a3942"]["DiffuseColour"]["Z"] = 0.75
timeOfDayLighting["0x0e1c797c"] = {}
timeOfDayLighting["0x0e1c797c"]["AmbientColour"] = {}
timeOfDayLighting["0x0e1c797c"]["AmbientColour"]["X"] = 0.28
timeOfDayLighting["0x0e1c797c"]["AmbientColour"]["Y"] = 0.31
timeOfDayLighting["0x0e1c797c"]["AmbientColour"]["Z"] = 0.41
timeOfDayLighting["0x0e1c797c"]["DiffuseColour"] = {}
timeOfDayLighting["0x0e1c797c"]["DiffuseColour"]["X"] = 1.0
timeOfDayLighting["0x0e1c797c"]["DiffuseColour"]["Y"] = 0.61
timeOfDayLighting["0x0e1c797c"]["DiffuseColour"]["Z"] = 0.04
timeOfDayLighting["overcast"] = {}
timeOfDayLighting["overcast"]["AmbientColour"] = {}
timeOfDayLighting["overcast"]["AmbientColour"]["X"] = 0.2
timeOfDayLighting["overcast"]["AmbientColour"]["Y"] = 0.2
timeOfDayLighting["overcast"]["AmbientColour"]["Z"] = 0.225
timeOfDayLighting["overcast"]["DiffuseColour"] = {}
timeOfDayLighting["overcast"]["DiffuseColour"]["X"] = 0.5
timeOfDayLighting["overcast"]["DiffuseColour"]["Y"] = 0.5
timeOfDayLighting["overcast"]["DiffuseColour"]["Z"] = 0.475
timeOfDayLighting["dusk_overcast"] = {}
timeOfDayLighting["dusk_overcast"]["AmbientColour"] = {}
timeOfDayLighting["dusk_overcast"]["AmbientColour"]["X"] = 0.35
timeOfDayLighting["dusk_overcast"]["AmbientColour"]["Y"] = 0.25
timeOfDayLighting["dusk_overcast"]["AmbientColour"]["Z"] = 0.15
timeOfDayLighting["dusk_overcast"]["DiffuseColour"] = {}
timeOfDayLighting["dusk_overcast"]["DiffuseColour"]["X"] = 0.4
timeOfDayLighting["dusk_overcast"]["DiffuseColour"]["Y"] = 0.55
timeOfDayLighting["dusk_overcast"]["DiffuseColour"]["Z"] = 0.55
timeOfDayLighting["sunny"] = {}
timeOfDayLighting["sunny"]["AmbientColour"] = {}
timeOfDayLighting["sunny"]["AmbientColour"]["X"] = 0.4
timeOfDayLighting["sunny"]["AmbientColour"]["Y"] = 0.4
timeOfDayLighting["sunny"]["AmbientColour"]["Z"] = 0.35
timeOfDayLighting["sunny"]["DiffuseColour"] = {}
timeOfDayLighting["sunny"]["DiffuseColour"]["X"] = 0.65
timeOfDayLighting["sunny"]["DiffuseColour"]["Y"] = 0.65
timeOfDayLighting["sunny"]["DiffuseColour"]["Z"] = 0.6
timeOfDayLighting["dusk_sunny"] = {}
timeOfDayLighting["dusk_sunny"]["AmbientColour"] = {}
timeOfDayLighting["dusk_sunny"]["AmbientColour"]["X"] = 0.35
timeOfDayLighting["dusk_sunny"]["AmbientColour"]["Y"] = 0.3
timeOfDayLighting["dusk_sunny"]["AmbientColour"]["Z"] = 0.25
timeOfDayLighting["dusk_sunny"]["DiffuseColour"] = {}
timeOfDayLighting["dusk_sunny"]["DiffuseColour"]["X"] = 0.65
timeOfDayLighting["dusk_sunny"]["DiffuseColour"]["Y"] = 0.6
timeOfDayLighting["dusk_sunny"]["DiffuseColour"]["Z"] = 0.55
outfile = open("rlighting-no-shadows.nfsms","w")
newTimeOfDayLighting = {}
for weather in timeOfDayLighting:
newTimeOfDayLighting[weather] = {}
for property in timeOfDayLighting[weather]:
newTimeOfDayLighting[weather][property] = {}
for channel in timeOfDayLighting[weather][property]:
newTimeOfDayLighting[weather][property][channel] = (timeOfDayLighting[weather]["AmbientColour"][channel] * (1.0 - diffuseAmount)) + (timeOfDayLighting[weather]["DiffuseColour"][channel] * diffuseAmount)
outfile.write("update_field timeofdaylighting " +weather+ " " +property+ " " +channel+ " " +str(newTimeOfDayLighting[weather][property][channel])+ "\n")
outfile.close()