Author Topic: Editing in-game physics such as gravity. Is this possible?  (Read 1054 times)

Axarator

  • *
  • Posts: 372
I want to edit the in-game physics. All I could find was the car physics but I want to edit things like gravity and things like that.
Gravity mod would be great for doing flips, or doing races and staying on the ground. Moon gravity destruction sounds awesome.
Post here of any finds of physics editing, also post how you did it or what you've found.
OS: 64x Windows 7 Home Premium
Processor: Intel Core i4130 @ 3.40GHz 3.40GHz
Ram: 8Gb
HHD (Where Steam is installed): 2TB HHD
SSD(Where browser and poop is): 111GB
Graphics: ASUS GeForce GTX 960 OC Strix edition

Heddly

  • *
  • Posts: 643
In FlatOut 2 I used the car physics file (car.bed in FOJ Mod) to create a bouncing soccer ball for one of Purple44's tracks. I edited the cd.Mass and cd.MassFudgeFactor settings. Mass = less, MassFudgeFactor = more, to get it to work. Hope this helps in some way.

Code: [Select]
cd.Mass                             = {25.000, 15.000}
cd.MassFudgeFactor                  = 7.500

Skip video to 55 seconds to see the results.
http://youtu.be/d8M1LaijRms?t=55s
« Last Edit: August 24, 2015, 10:12:51 AM by Heddly »
I7-2.9 Ghz 8GB, Radeon R9 200 4GB   http://www.moddb.com/mods/foj-community-mod/addons

sam223

  • *
  • Posts: 3141
Just speculating but i assume world physics are stored within the engine (00__wreckfest__ maybe). Im interested to see what individual chassis physics variables.

Heres a sample of a nascar heat physics file. Im hoping wreckfest has something similar somewhere

Quote
table Chassis                                                         
   cm_height 1.0
   cp_height 18.0
   cp_long 51.0
   drag 0.30
   front_lift -0.025
   frontal_area 19.0
   fspoiler_drag .075, 0.06
   fspoiler_lift -.31, -.36
   ftrack 57.5
   fuel_capacity 22.0
   fuel_gauge 123,199
   fuel_gauge1 0  103,215
   fuel_gauge2 3  95,199
   fuel_gauge3 6  107,177
   fuel_gauge4 12 149,190
   fuel_gauge5 20 144,214
   head_pitch 0.0
   head_pos 13.5, 39.0, -3.154
   height 51.0
   lat_drag .90
   lite_fuel 1.00
   lite_grip 1.65
   lite_power 1.40
   mass 4500
   model_offset 0.0, 1.0, 4.0
   mx 41889
   my 49665
   mz 18509
   oil_pressure_gauge 52,132
   oil_pressure_gauge1 0  30,149
   oil_pressure_gauge2 20 26,132
   oil_pressure_gauge3 60 62,108
   oil_pressure_gauge4 100 73,149
   oil_temp_gauge 137,133
   oil_temp_gauge1 0  117,149
   oil_temp_gauge2 140 115,146
   oil_temp_gauge3 180 111,129
   oil_temp_gauge4 200 117,117
   oil_temp_gauge5 240 147,108
   oil_temp_gauge6 260 158,150
   rear_lift 0.1
   rspoiler_angle 40.0, 70.0
   rspoiler_drag .038, .080
   rspoiler_lift -.19, -.40
   rtrack 57.5
   shifter_throw 10.0, 15.0, 0.0
   tachometer 65, 64
   tachometer1 0000  21,93
   tachometer2 3000  26,28
   tachometer3 5000  65,10
   tachometer4 8000  114,46
   tachometer5 10000 109,89
   vert_drag 2.0
   volt_gauge 166,146
   volt_gauge1 0  144,131
   volt_gauge2 10 153,123
   volt_gauge3 16 181,122
   volt_gauge4 18 183,126
   water_temp_gauge 80, 133
   water_temp_gauge1 0  59,150
   water_temp_gauge2 140 57,147
   water_temp_gauge3 180 52,129
   water_temp_gauge4 200 57,117
   water_temp_gauge5 240 89,108
   water_temp_gauge6 260 106,123
   water_temp_gauge7 280 101,149
   wheel_lock 0, 35.0
   wheelbase 115
   width 75.0
end
 
table EngineNormal                                                   
   cold_idle_speed 1500
   displacement 8.0
   drag .045
   engine_temp 180
   fuel_consumption .04
   idle_speed 800
   inertia 15
   mass 360
   oil_pressure 15, 10, 60
   power_max 280
   power_rpm 6600
   redline 8600
   sound eng1
   torque_max 300
   torque_rpm 4400
end
 
table Transmission                                                   
   clutch_rpm 400
   clutch_torque 1600
   cstiff 0.0
   drag .0001
   fstiff 0.0
   inertia 5
   num_gears 4
   ratio 3.73
   rstiff 10.0
   torque_balance 1.0
end
 
table Front                                                           
   anti_pitch .10
   aspect 40
   brake_force 0,800
   bump 60,840
   bump_camber -.20
   bump_toe -.40
   camber -10, 10
   camber_grip .09
   camber_peak 5
   camber_stiff .05
   caster 16.0
   compliance_camber .60
   compliance_steer .09
   damage_impulse 20
   diameter 20
   frict_k1 1.46
   frict_k2 1.25
   frict_load1 800
   frict_load2 2000
   friction 10
   long_frict 1.4
   long_stiff 1.1
   magic_b .714
   magic_c 1.40
   magic_d 1.0
   magic_e -.20
   mass 20
   model 240rim
   moment 350
   rate 200,600
   rc_height 0
   rebound 60,840
   ref_width 305
   removal_impulse 20
   resistance .110
   ride 5, 9
   rubber_height 1.0
   rubber_rate 400
   solid_axle yes
   stiff_c1 410
   stiff_c2 633
   stiff_load1 800
   stiff_load2 2000
   sway 0,800
   tire_diameter 26
   toe -4, 4
   torque_steer 1.0
   width 190
end
 
table Rear                                                           
   anti_pitch .30
   aspect 40
   brake_force 0,000
   bump 60,840
   bump_camber -1.0
   bump_toe .05
   camber -1.5, 1.5
   camber_grip .09
   camber_peak 5
   camber_stiff .05
   caster 0.0
   compliance_camber .01
   compliance_steer .09
   damage_impulse 2
   diameter 20
   frict_k1 1.46
   frict_k2 1.25
   frict_load1 800
   frict_load2 2000
   friction 10
   long_frict 1.4
   long_stiff 1.1
   magic_b .714
   magic_c 1.40
   magic_d 1.0
   magic_e -.20
   mass 24
   model 240rim
   moment 350
   rate 200,600
   rc_height 4
   rebound 60,840
   ref_width 305
   removal_impulse 1
   resistance .110
   ride 5, 9
   rubber_height 1.0
   rubber_rate 400
   solid_axle yes
   stiff_c1 418.2
   stiff_c2 645.7
   stiff_load1 800
   stiff_load2 2000
   sway 0,50
   tire_diameter 26
   toe -.5, .5
   torque_steer 0.2
   width 195
end
Dell U2515H 25",  i5-4690k @4.0ghz, 8gb ram, MSI GTX 1060 6GB, 120gb SSD, 1tb HHD, win 7, G25/Ps3 pad
Online Bangers:Wreckfest - https://goo.gl/AjDHU2