gamemanual:gm_chassis_design
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
gamemanual:gm_chassis_design [2022/02/13 14:33] – admin | gamemanual:gm_chassis_design [2022/02/15 18:01] – [Finish Time] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Chassis Game Mechanics ====== | ||
- | |||
- | The Game Mechanics section of the manual details the internal formula used in the game's calculations. | ||
- | |||
- | The Game Mechanics part of the manual is mainly designed to be a reference for the frequently asked question, "Why do I get this rating when I do X, Y, Z?!" Usually, this answer involves many different variables, which this section of the manual demonstrates. | ||
- | |||
- | **The game mechanics section of the manual shows [[https:// | ||
- | |||
- | |||
- | |||
- | ===== Variables ===== | ||
- | |||
- | This is a table of variables and their descriptions used in the formulas. | ||
- | |||
- | ==== Sliders ==== | ||
- | |||
- | ^ Variable ^ Description ^ ^ Variable ^ Description ^ | ||
- | | **Slider_FD_Length** | Slider: Frame Dimensions => Wheelbase (Length) | | **Slider_FD_Width** | Slider: Frame Dimensions => Track (Width) | | ||
- | | **Slider_FD_Height** | Slider: Frame Dimensions => Frame Height | | **Slider_FD_Weight** | Slider: Frame Dimensions => Frame Weight | | ||
- | | **Slider_FD_ENG_Width** | Slider: Frame Dimensions => Maximum Supported Engine Width | | **Slider_FD_ENG_Length** | Slider: Frame Dimensions => Maximum Supported Engine Length | | ||
- | | **Slider_SUS_Stability** | Slider: Suspension => Stability | | **Slider_SUS_Comfort** | Slider: Suspension => Ride Comfort | | ||
- | | **Slider_SUS_Performance** | Slider: Suspension => Performance | | **Slider_SUS_Braking** | Slider: Suspension => Braking | | ||
- | | **Slider_SUS_Durability** | Slider: Suspension => Durability | | **Slider_DE_Performance** | Slider: Design Focus => Design Performance | | ||
- | | **Slider_DE_Control** | Slider: Design Focus => Design Control | | **Slider_DE_Str** | Slider: Design Focus => Design Strength | | ||
- | | **Slider_DE_Depend** | Slider: Design Focus => Design Dependability | | **Slider_DesignPace** | Slider: Design Focus => Development Pace | | ||
- | | **Slider_TECH_Materials** | Slider: Component Quality => Material Quality | | **Slider_TECH_Compoenents** | Slider: Component Quality => Component Quality | | ||
- | | **Slider_TECH_Techniques** | Slider: Component Quality => Manufacturing Techniques | | **Slider_TECH_Tech** | Slider: Component Quality => Technology | | ||
- | |||
- | ==== Sub-Components ==== | ||
- | |||
- | ^ Variable ^ Description ^ ^ Variable ^ Description ^ | ||
- | | **SubComponent_Frame_Str** | Frame Strength Value | | **SubComponent_Frame_Safety** | Frame Safety Value | | ||
- | | **SubComponent_Frame_Durability** | Frame Durability Value | | **SubComponent_Frame_Weight** | Frame Weight Value | | ||
- | | **SubComponent_Frame_Design** | Frame Design Requirements Value | | **SubComponent_Frame_Manu** | Frame Manufacturing Requirements Value | | ||
- | | **SubComponent_Frame_Cost** | Frame Cost Requirements Value | | **SubComponent_Frame_Performance** | Frame Performance Value | | ||
- | | **SubComponent_FrSus_Steering** | Front Suspension Handling Value | | **SubComponent_FrSus_Braking** | Front Suspension Braking Value | | ||
- | | **SubComponent_FrSus_Comfort** | Front Suspension Comfort Value | | **SubComponent_FrSus_Performance** | Front Suspension Performance Value | | ||
- | | **SubComponent_FrSus_Durability** | Front Suspension Durability Value | | **SubComponent_FrSus_Manu** | Front Suspension Manufacturing Requirements Value | | ||
- | | **SubComponent_FrSus_Design** | Front Suspension Design Requirements Value | | **SubComponent_FrSus_Cost** | Front Suspension Costs Requirements Value | | ||
- | | **SubComponent_RrSus_Braking** | Rear Suspension Braking Value | | **SubComponent_RrSus_Steering** | Rear Suspension Handling Value | | ||
- | | **SubComponent_RrSus_Performance** | Rear Suspension Performance Value | | **SubComponent_RrSus_Comfort** | Rear Suspension Comfort Value | | ||
- | | **SubComponent_RrSus_Manu** | Rear Suspension Manufacturing Requirements Value | | **SubComponent_RrSus_Durability** | Rear Suspension Durability Value | | ||
- | | **SubComponent_RrSus_Cost** | Front Suspension Costs Requirements Value | | **SubComponent_RrSus_Design** | Front Suspension Design Requirements Value | | ||
- | | **SubComponent_Drive_rideSteering** | Drivetrain Driveability Value | | **SubComponent_Drive_ridePerformance** | Performance Handling Value | | ||
- | | **SubComponent_Drive_Duriblity** | Drivetrain Durability Value | | **SubComponent_Drive_Weight** | Drivetrain Weight Value | | ||
- | | **SubComponent_Drive_carPerformance** | Drivetrain Performance Value | | **SubComponent_Drive_Manu** | Drivetrain Manufacturing Requirements Value | | ||
- | | **SubComponent_Drive_Design** | Drivetrain Design Requirements Value | | **SubComponent_Drive_Cost** | Drivetrain Costs Requirements Value | | ||
- | | **SubComponent_Drivetain_Engine_Width** | Drivetrain Maximum Supported Engine Width Value | | **SubComponent_Drivetain_Engine_Length** | Drivetrain Maximum Supported Engine Length Value | | ||
- | |||
- | |||
- | ==== Global ==== | ||
- | |||
- | |||
- | ^ Variable ^ Description ^ ^ Variable ^ Description ^ | ||
- | | **Year** | FIXME | | **Marq_DesignChassisSkill** | FIXME | | ||
- | | **Global_Lengths** | FIXME | | **Global_Weight** | FIXME | | ||
- | | **PreResearchChassisAmountEffect** | FIXME | | **designRandomVal** | FIXME | | ||
- | | **carPriceRate** | FIXME | | **FIXME** | FIXME | | ||
- | | **ex_0d9962p_year99** | 0.9962%%^%%(year-1899) | | **ex_1d015p_year99** | 1.015%%^%%(year-1899) | | ||
- | | **ex_1d02p_year99** | 1.02%%^%%(year-1899) | | **ex_1d045p_year99** | 1.045%%^%%(year-1899) | | ||
- | |||
- | |||
- | ===== Specs ===== | ||
- | |||
- | ==== Chassis Length ==== | ||
- | |||
- | Chassis length in cm. | ||
- | |||
- | <code cpp> | ||
- | Chassis_Length = (145 + Global_Lengths * (2.3*Slider_FD_Length)) - ((Global_Lengths * 0.5)/5) | ||
- | </ | ||
- | |||
- | |||
- | ==== Chassis Width ==== | ||
- | |||
- | Chassis width in cm. | ||
- | |||
- | <code cpp> | ||
- | Chassis_Width = (100 + Global_Width * Slider_FD_Width + 20 * Slider_FD_Length) | ||
- | </ | ||
- | |||
- | ==== Chassis Weight ==== | ||
- | |||
- | Chassis width in kg. | ||
- | |||
- | <code cpp> | ||
- | Chassis_Weight = 40 + ((Global_Weight) * (1.25*Slider_FD_Weight+0.1) + ((Global_Weight*.5)*(6*Slider_FD_Length+0.1)) + | ||
- | ((Global_Weight/ | ||
- | ((Global_Weight/ | ||
- | ((Global_Weight/ | ||
- | ((Global_Weight/ | ||
- | |||
- | if year is less than 1981) | ||
- | Chassis_Weight /= (2.0 * ex_0d9962p_year99) | ||
- | else | ||
- | Chassis_Weight /= (1.469262941607760500229789005264 ) | ||
- | |||
- | </ | ||
- | |||
- | |||
- | ==== Max Engine Length ==== | ||
- | |||
- | Maximum engine length in inches. | ||
- | |||
- | <code cpp> | ||
- | Max_Engine_Length = (8 + ((((Global_Lengths*2.25) / 24) * ((Slider_FD_Length+.1)*2.5)) + | ||
- | | ||
- | </ | ||
- | |||
- | |||
- | ==== Max Engine Width ==== | ||
- | |||
- | Maximum engine width in inches. | ||
- | |||
- | <code cpp> | ||
- | Max_Engine_Width = (8 + ((12 * ((Slider_FD_Width+0.1))*2.5) + 13 * | ||
- | | ||
- | </ | ||
- | |||
- | ===== Ratings ===== | ||
- | |||
- | |||
- | ==== Comfort Rating ==== | ||
- | |||
- | Value limited between 0 to 100. | ||
- | |||
- | <code cpp> | ||
- | Comfort_Rating = ((Slider_DE_Control ) + (SubComponent_Drive_rideSteering) + (Slider_FD_Weight ) + | ||
- | (SubComponent_FrSus_Braking + SubComponent_RrSus_Braking + Slider_SUS_Braking * 4.5) + | ||
- | (SubComponent_FrSus_Comfort + SubComponent_RrSus_Comfort + Slider_SUS_Comfort * 6 ) + | ||
- | (SubComponent_FrSus_Steering + SubComponent_RrSus_Steering + Slider_SUS_Stability * 4.5) + | ||
- | ((Slider_TECH_Compoenents + Slider_TECH_Materials + Slider_TECH_Tech + Slider_TECH_Techniques)/ | ||
- | |||
- | |||
- | Comfort_Rating /= 2.6 | ||
- | |||
- | Comfort_Rating *= 10 | ||
- | |||
- | Comfort_Rating += (10 * (Marq_DesignChassisSkill/ | ||
- | |||
- | if Comfort_Rating is greater than 100 | ||
- | Comfort_Rating = 100 | ||
- | | ||
- | </ | ||
- | |||
- | |||
- | ==== Performance Rating ==== | ||
- | |||
- | Value limited between 0 to 100. | ||
- | |||
- | <code cpp> | ||
- | Performance_Rating = Slider_SUS_Braking*2 +(Slider_DE_Performance) - (Slider_FD_Weight*2)+ | ||
- | (Slider_SUS_Performance*4)+(SubComponent_FrSus_Steering)+(SubComponent_RrSus_Steering)+ | ||
- | ((Slider_TECH_Compoenents+Slider_TECH_Materials*2+Slider_TECH_Tech+Slider_TECH_Techniques)/ | ||
- | SubComponent_FrSus_Performance + SubComponent_RrSus_Performance + | ||
- | SubComponent_Frame_Performance + SubComponent_Drive_carPerformance*2 - | ||
- | (Slider_FD_Length+Slider_FD_Width)+(1.0-Slider_SUS_Stability) | ||
- | |||
- | Performance_Rating /= 2.0 | ||
- | |||
- | Performance_Rating *= 10 | ||
- | |||
- | Performance_Rating += (10 * (Marq_DesignChassisSkill/ | ||
- | |||
- | if Performance_Rating is greater than 100 | ||
- | Performance_Rating = 100 | ||
- | </ | ||
- | |||
- | |||
- | ==== Strength Rating ==== | ||
- | |||
- | Value limited between 0 to 100. | ||
- | |||
- | <code cpp> | ||
- | Strength_Rating = (((SubComponent_Drive_Weight + SubComponent_Frame_Weight)/ | ||
- | Slider_FD_Weight*2 + ((SubComponent_Drive_Duriblity | ||
- | SubComponent_RrSus_Durability + SubComponent_FrSus_Durability )/6) + | ||
- | Slider_FD_Height * 5 + SubComponent_Frame_Str*8 + Slider_DE_Str + | ||
- | ((Slider_TECH_Compoenents*2 + Slider_TECH_Materials*2 + | ||
- | Slider_TECH_Tech*2 + Slider_TECH_Techniques*2)/ | ||
- | |||
- | Strength_Rating /= 2.6 | ||
- | |||
- | Strength_Rating *= 10 | ||
- | |||
- | Strength_Rating += (10 * (Marq_DesignChassisSkill/ | ||
- | |||
- | if Strength_Rating is greater than 100 | ||
- | Strength_Rating = 100 | ||
- | |||
- | </ | ||
- | |||
- | |||
- | |||
- | ==== Durability Rating ==== | ||
- | |||
- | Value limited between 0 to 100. | ||
- | |||
- | <code cpp> | ||
- | Durability_Rating = Slider_DE_Depend*0.5 + SubComponent_Drive_Duriblity*1.5 + | ||
- | SubComponent_Frame_Durability*1.5 + ((SubComponent_FrSus_Durability + | ||
- | SubComponent_RrSus_Durability)/ | ||
- | ((Slider_TECH_Compoenents + Slider_TECH_Materials + Slider_TECH_Techniques - Slider_TECH_Tech)) | ||
- | |||
- | Durability_Rating *= 10 | ||
- | |||
- | Durability_Rating += (10 * (Marq_DesignChassisSkill/ | ||
- | |||
- | if Durability_Rating is greater than 100 | ||
- | Durability_Rating = 100 | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ==== Overall Rating ==== | ||
- | |||
- | Value limited between 0 to 100. | ||
- | |||
- | <code cpp> | ||
- | Overall_Rating = (Comfort_Rating + Performance_Rating + Strength_Rating + Durability_Rating + Marq_DesignChassisSkill)/ | ||
- | |||
- | Overall_Rating += (5*PreResearchChassisAmountEffect) | ||
- | |||
- | if Overall_Rating is greater than 100 | ||
- | Overall_Rating = 100 | ||
- | </ | ||
- | |||
- | |||
- | ==== Design Requirements ==== | ||
- | |||
- | Value limited between 0 to 100. | ||
- | |||
- | <code cpp> | ||
- | Design_Req = (Slider_DE_Control + Slider_DE_Depend + Slider_DE_Performance | ||
- | + Slider_DE_Str + SubComponent_Drive_Design + SubComponent_Frame_Design | ||
- | + SubComponent_FrSus_Design + SubComponent_RrSus_Design) | ||
- | |||
- | Design_Req += ((Slider_FD_ENG_Length + Slider_FD_ENG_Width + (1- Slider_FD_Weight) | ||
- | + Slider_SUS_Braking + Slider_SUS_Comfort + Slider_SUS_Durability | ||
- | + Slider_SUS_Performance + Slider_TECH_Tech)/ | ||
- | |||
- | Design_Req = (Design_Req - Slider_TECH_Techniques) * 10 | ||
- | |||
- | </ | ||
- | |||
- | |||
- | ==== Manufacturing Requirements ==== | ||
- | |||
- | <code cpp> | ||
- | Manufacturing_Req = ((SubComponent_Frame_Weight/ | ||
- | + Slider_TECH_Compoenents + Slider_TECH_Materials + Slider_TECH_Tech | ||
- | + (Slider_TECH_Techniques * 1.5) + SubComponent_Frame_Manu + SubComponent_Drive_Manu | ||
- | + SubComponent_FrSus_Manu + SubComponent_RrSus_Manu); | ||
- | |||
- | Manufacturing_Req = Manufacturing_Req * 10 + 0.01; | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Miscellaneous ===== | ||
- | |||
- | |||
- | ==== Employees Required ==== | ||
- | |||
- | <code cpp> | ||
- | if year after 2020 | ||
- | Engineers_Required = Design_Req * (0.08833*(year-1899)+0.275); | ||
- | else | ||
- | Engineers_Required = Design_Req * (0.08833*(121)+0.275); | ||
- | |||
- | |||
- | Engineers_Required = Engineers_Required/ | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ==== Manufacturing Costs ==== | ||
- | |||
- | |||
- | <code cpp> | ||
- | Costs_Dimension_Sliders = (Slider_FD_Height * Slider_FD_Height) | ||
- | (Slider_FD_Length * Slider_FD_Length*1.2) | ||
- | (Slider_FD_Width*Slider_FD_Width) + ((1-Slider_FD_Weight) * | ||
- | (1-Slider_FD_Weight)) + | ||
- | (Slider_FD_ENG_Length * Slider_FD_ENG_Length*0.8) + | ||
- | (Slider_FD_ENG_Width *Slider_FD_ENG_Width *0.8) | ||
- | |||
- | Costs_Frame = ((Costs_Dimension_Sliders * (25* ex_1d015p_year99) * | ||
- | SubComponent_Drive_Cost) | ||
- | * SubComponent_Frame_Cost) * ex_1d015p_year99 * (carPriceRate) | ||
- | |||
- | |||
- | Costs_Frame = 15 * ex_1d02p_year99+ Costs_Frame + 1 + (.04 * Costs_Frame) + | ||
- | (15 * ex_1d015p_year99 * SubComponent_Drive_Cost) + | ||
- | (15 * ex_1d015p_year99 * SubComponent_Frame_Cost) | ||
- | |||
- | |||
- | |||
- | Costs_Suspensions_Sliders = (Slider_SUS_Braking * Slider_SUS_Braking * 0.75) + | ||
- | (Slider_SUS_Comfort * Slider_SUS_Comfort *1.25 ) + | ||
- | (Slider_SUS_Performance * Slider_SUS_Performance *1.2 )+ | ||
- | (Slider_SUS_Durability * Slider_SUS_Durability *1.35 ) + | ||
- | (Slider_SUS_Stability * Slider_SUS_Stability ) | ||
- | |||
- | Costs_Suspension = (( Costs_Suspensions_Sliders | ||
- | SubComponent_FrSus_Cost) * SubComponent_RrSus_Cost) * | ||
- | ex_1d015p_year99 * (carPriceRate) | ||
- | |||
- | Costs_Suspension = 15 * ex_1d02p_year99+ Costs_Suspension + | ||
- | 1 + (.04 * Costs_Suspension) + | ||
- | (15 * ex_1d015p_year99 * SubComponent_FrSus_Cost) + | ||
- | (15 * ex_1d015p_year99 * SubComponent_RrSus_Cost) | ||
- | |||
- | |||
- | Costs_Tech_Sliders = (Slider_TECH_Compoenents * Slider_TECH_Compoenents * 1.15) + | ||
- | (Slider_TECH_Materials * Slider_TECH_Materials * 1.25) + | ||
- | (Slider_TECH_Tech * Slider_TECH_Tech * 1.25) + | ||
- | (Slider_TECH_Techniques * Slider_TECH_Techniques * 0.75) | ||
- | |||
- | |||
- | Costs_Tech = Costs_Tech_Sliders * (30 * ex_1d015p_year99) | ||
- | |||
- | Costs_Tech = 15 * ex_1d015p_year99+ Costs_Tech + 1 + (.04 * Costs_Tech) | ||
- | |||
- | |||
- | Costs_Hyper_Sliders = ((Slider_DE_Control + Slider_DE_Depend + | ||
- | Slider_DE_Performance + Slider_DE_Str) + | ||
- | (Slider_FD_Length+ Slider_FD_Width+ Slider_FD_Height + | ||
- | (1-Slider_FD_Weight)+ Slider_FD_ENG_Width + Slider_FD_ENG_Length) + | ||
- | (Slider_SUS_Stability + Slider_SUS_Comfort + Slider_SUS_Performance + | ||
- | Slider_SUS_Braking+Slider_SUS_Durability) + | ||
- | (Slider_TECH_Materials+ Slider_TECH_Compoenents + | ||
- | Slider_TECH_Techniques + Slider_TECH_Tech))/ | ||
- | |||
- | |||
- | Costs_Hyper = 450 * ex_1d045p_year99 * (Costs_Hyper_Sliders^4) | ||
- | |||
- | Manufacturing_Costs = ((Costs_Frame + Costs_Suspension + Costs_Tech) * | ||
- | (carPriceRate)) * designRandomVal | ||
- | |||
- | Manufacturing_Costs += Manufacturing_Costs-((Manufacturing_Costs/ | ||
- | * (Marq_DesignChassisSkill/ | ||
- | </ |
gamemanual/gm_chassis_design.txt · Last modified: 2022/07/04 13:56 by admin