japanesemanual:ja_gm_vehicles_design
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
japanesemanual:ja_gm_vehicles_design [2023/01/29 02:05] – nichirinmotor | japanesemanual:ja_gm_vehicles_design [2023/08/27 00:12] (current) – nichirinmotor | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 車両ゲームメカニクス ====== | ||
+ | |||
+ | マニュアルのゲームメカニクスセクションは、ゲームの計算で使用される内部式の詳細を説明します。マニュアルのこのセクションは疑似コードを使用しており、ゲーム内のコードと100%同じとは限りません。 | ||
+ | |||
+ | マニュアルのゲームメカニクスパートは、主に " | ||
+ | |||
+ | **マニュアルのゲームメカニクスセクションは、[[https:// | ||
+ | |||
+ | |||
+ | |||
+ | ===== 変数 ===== | ||
+ | |||
+ | 計算式で使用する変数とその説明の表です。 | ||
+ | |||
+ | ==== スライダー ==== | ||
+ | |||
+ | === 車両スライダー === | ||
+ | |||
+ | ^ 変数 ^ 説明 ^ ^ 変数 ^ 説明 ^ | ||
+ | | **Slider_Interior_Style** | インテリア ⇒ スタイルスライダー | | **Slider_Interior_Innovation** | インテリア ⇒ 革新性スライダー | | ||
+ | | **Slider_Interior_Luxury** | インテリア ⇒ 高級感スライダー | | **Slider_Interior_Comfort** | インテリア ⇒ 快適性スライダー | | ||
+ | | **Slider_Interior_Safety** | インテリア ⇒ 安全性スライダー | | **Slider_Interior_Technology** | インテリア ⇒ 技術スライダー | | ||
+ | | **Slider_Materials_MaterialQuality** | 材料 ⇒ 材料品質スライダー | | **Slider_Materials_Interior** | 材料 ⇒ インテリア品質スライダー | | ||
+ | | **Slider_Materials_Paint** | 材料 ⇒ 塗装品質スライダー | | **Slider_Materials_Techniques** | 材料 ⇒ 製造技術スライダー | | ||
+ | | **Slider_Design_Style** | デザインフォーカス ⇒ スタイルフォーカススライダー | | **Slider_Design_Luxury** | デザインフォーカス ⇒高級感フォーカススライダー | | ||
+ | | **Slider_Design_Safety** | デザインフォーカス ⇒ 安全性フォーカススライダー | | **Slider_Design_Cargo** | デザインフォーカス ⇒ 積載量フォーカススライダー | | ||
+ | | **Slider_Design_Dependability** | デザインフォーカス ⇒ ディペンダビリティスライダー | | **Slider_Design_DesignPace** | デザインフォーカス ⇒ 開発ペーススライダー | | ||
+ | | **Slider_Demographics_Gender** | デザインフォーカス ⇒ 性別ターゲットスライダー | | **Slider_Demographics_Wealth** | デザインフォーカス ⇒ 裕福ドロップダウン | | ||
+ | | **Slider_Demographics_Age ** | デザインフォーカス ⇒ 年齢ドロップダウン | | **Slider_Testing_Demographics** | 試験 ⇒ マーケットの購買層動態調査スライダー | | ||
+ | | **Slider_Testing_Performance** | 試験 ⇒ パフォーマンス試験スライダー | | **Slider_Testing_FuelEconomy** | 試験 ⇒ 燃費試験スライダー | | ||
+ | | **Slider_Testing_Comfort** | 試験 ⇒ 快適性試験スライダー | | **Slider_Testing_Utility** | 試験 ⇒ ユーティリティ試験スライダー | | ||
+ | | **Slider_Testing_Reliability** | 試験 ⇒ 信頼性試験スライダー | | ||
+ | |||
+ | |||
+ | |||
+ | === シャーシスライダー === | ||
+ | |||
+ | [[gamemanual: | ||
+ | |||
+ | === エンジンスライダー === | ||
+ | |||
+ | [[gamemanual: | ||
+ | |||
+ | |||
+ | === ギアボックススライダー === | ||
+ | |||
+ | [[gamemanual: | ||
+ | |||
+ | |||
+ | ==== コンポーネント ==== | ||
+ | |||
+ | |||
+ | === シャーシスライダー === | ||
+ | |||
+ | [[gamemanual: | ||
+ | |||
+ | === エンジンスライダー === | ||
+ | |||
+ | [[gamemanual: | ||
+ | |||
+ | |||
+ | === ギアボックススライダー === | ||
+ | |||
+ | [[gamemanual: | ||
+ | |||
+ | |||
+ | ==== 統計的なターゲット層 ==== | ||
+ | |||
+ | === 性別 === | ||
+ | |||
+ | ^ 選択 ^ ボーナス ^ ペナルティ ^ | ||
+ | | 男性 | < | ||
+ | * **パフォーマンス: | ||
+ | * **パワー: | ||
+ | * **運転性: | ||
+ | </ | ||
+ | * **燃費:** -0.05 | ||
+ | * **安全性: | ||
+ | * **積載量: | ||
+ | </ | ||
+ | | 女性 | < | ||
+ | * **燃費:** +0.05 | ||
+ | * **安全性: | ||
+ | * **積載量: | ||
+ | </ | ||
+ | * **パフォーマンス: | ||
+ | * **パワー: | ||
+ | * **運転性: | ||
+ | </ | ||
+ | | 中性 | 中性 | 中性 | | ||
+ | |||
+ | === 年齢 === | ||
+ | |||
+ | ^ 選択 ^ ボーナス ^ ペナルティ ^ | ||
+ | | 25歳以下 | < | ||
+ | * **パフォーマンス: | ||
+ | * **燃費:** +0.05 | ||
+ | * **ディペンダビリティ: | ||
+ | </ | ||
+ | * **高級感: | ||
+ | * **安全性: | ||
+ | * **品質:** -0.05 | ||
+ | </ | ||
+ | | 25-35 | < | ||
+ | * **安全性: | ||
+ | * **ディペンダビリティ: | ||
+ | * **積載量: | ||
+ | </ | ||
+ | * **パフォーマンス: | ||
+ | * **パワー: | ||
+ | * **運転性: | ||
+ | </ | ||
+ | | 35-55 | < | ||
+ | * **パフォーマンス: | ||
+ | * **パワー: | ||
+ | * **高級感: | ||
+ | * **品質:** +0.05 | ||
+ | </ | ||
+ | * **燃費:** -0.05 | ||
+ | * **ディペンダビリティ: | ||
+ | * **安全性: | ||
+ | * **積載量: | ||
+ | </ | ||
+ | | 55歳以上 | < | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | * **品質:** +0.05 | ||
+ | * **ディペンダビリティ: | ||
+ | </ | ||
+ | * **パフォーマンス: | ||
+ | * **パワー: | ||
+ | * **運転性: | ||
+ | * **燃費:** -0.05 | ||
+ | </ | ||
+ | |||
+ | === 裕福度 === | ||
+ | |||
+ | この層の「数値」は、このページの下の方にある他の評価にも影響します。 | ||
+ | |||
+ | ^ 選択 ^ 調整 ^ 数値 ^ | ||
+ | | 最下級 | < | ||
+ | * **パフォーマンス: | ||
+ | * **運転性: | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | </ | ||
+ | | 低い | < | ||
+ | * **パフォーマンス: | ||
+ | * **運転性: | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | </ | ||
+ | | 中の下 | < | ||
+ | * **パフォーマンス: | ||
+ | * **運転性: | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | </ | ||
+ | | 中流 | < | ||
+ | * **パフォーマンス: | ||
+ | * **運転性: | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | </ | ||
+ | | 中の上 | < | ||
+ | * **パフォーマンス: | ||
+ | * **運転性: | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | </ | ||
+ | | 上流 | < | ||
+ | * **パフォーマンス: | ||
+ | * **運転性: | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | </ | ||
+ | | 裕福 | < | ||
+ | * **パフォーマンス: | ||
+ | * **運転性: | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | </ | ||
+ | | 超裕福 | < | ||
+ | * **パフォーマンス: | ||
+ | * **運転性: | ||
+ | * **安全性: | ||
+ | * **高級感: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== グローバル ==== | ||
+ | |||
+ | ^ 変数 ^ 説明 ^ ^ 変数 ^ 説明 ^ | ||
+ | |||
+ | year | ||
+ | designBodySkill | ||
+ | Car_Type.Wealth_Index | ||
+ | global_interestrate | ||
+ | carPriceRate | ||
+ | designRandomVal | ||
+ | ex_0d99p_year50R | ||
+ | ex_1d0035p_year99 | ||
+ | ex_1d005p_year99 | ||
+ | ex_1d02p_year99 | ||
+ | ex_1d03p_year99 | ||
+ | ex_1d04p_year99 | ||
+ | ex_1d05p_year99 | ||
+ | FactOverallVAL | ||
+ | |||
+ | ===== 仕様 ===== | ||
+ | |||
+ | ==== 長さ ==== | ||
+ | |||
+ | < | ||
+ | Max_Z = Largest Z coordinate value of the vehicle body. | ||
+ | Min_Z = Smallest Z coordinate value of the vehicle body. This value is a negative number. | ||
+ | |||
+ | Length = ( Max_Z + Absolute Value of Min_Z ) / 2.5 | ||
+ | |||
+ | If (Length < Selected_Chassis_Length) | ||
+ | Length = (Selected_Chassis_Length / 7.51) + ( Max_Z + Absolute Value of Min_Z )/3.0 | ||
+ | |||
+ | ###### | ||
+ | Secondary Calculations | ||
+ | ###### | ||
+ | |||
+ | if( Length > Selected_Chassis.Length*1.7 ) | ||
+ | { | ||
+ | AdjustValue = Length / (Selected_Chassis.Length*1.7) | ||
+ | Length = Selected_Chassis.Length*1.7 | ||
+ | NeedToScale = true | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 幅 ==== | ||
+ | |||
+ | < | ||
+ | Max_X = Largest X coordinate value of the vehicle body. | ||
+ | Min_X = Smallest X coordinate value of the vehicle body. This value is a negative number. | ||
+ | |||
+ | Width = ( Max_X + Absolute Value of Min_X ) / 3.0 | ||
+ | |||
+ | if(Width < Selected_Chassis.Width) | ||
+ | { | ||
+ | Old_Width = Width | ||
+ | Width = (Selected_Chassis.Width / 2.54) + ( Max_X + Absolute Value of Min_X )/15.5 | ||
+ | Height_Scale = ((Width/ | ||
+ | } | ||
+ | |||
+ | |||
+ | ###### | ||
+ | Secondary Calculations | ||
+ | See Length for possible variables | ||
+ | ###### | ||
+ | |||
+ | if(Width> | ||
+ | { | ||
+ | if(Width / (Selected_Chassis.Width*1.2) > AdjustValue) | ||
+ | AdjustValue = Width / (Selected_Chassis.Width*1.2) | ||
+ | |||
+ | Width = Selected_Chassis.Width*1.2 | ||
+ | NeedToScale = true | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 高さ ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | Max_Y = Largest Y coordinate value of the vehicle body. | ||
+ | Min_Y = Smallest Y coordinate value of the vehicle body. This value is a negative number. | ||
+ | |||
+ | Height = ( Max_Y + Absolute Value of Min_Y ) / 2.1 | ||
+ | |||
+ | |||
+ | ###### | ||
+ | See Width for this variable | ||
+ | ###### | ||
+ | |||
+ | if( Height_Scale > 1 ) | ||
+ | { | ||
+ | Height_Scale = ((Height_Scale - 1) / 2.5) + 1 | ||
+ | Height = Height * Height_Scale | ||
+ | } | ||
+ | |||
+ | ###### | ||
+ | Secondary Calculations | ||
+ | See Length And Width for these variables | ||
+ | ###### | ||
+ | |||
+ | if( NeedToAdjust) | ||
+ | Height = Height / AdjustValue | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 予想表面積 ==== | ||
+ | |||
+ | 抗力係数の高速計算に使用します。ゲームにはもっと正確なものがありますが、高速処理には使いません。 | ||
+ | <code cpp> | ||
+ | Surface_Area = ( (Width/2.5) * (Height/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== 抗力係数 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | // | ||
+ | |||
+ | DragArea = 0.029 * CombinedAngles + 0.000513 * (CombinedAngles^2) | ||
+ | |||
+ | Drag_Coefficient = 0.08 + (((Surface_Area/ | ||
+ | |||
+ | if(year < 1923 AND year != 1800) | ||
+ | { | ||
+ | Drag_Coefficient = Drag_Coefficient | ||
+ | } | ||
+ | |||
+ | if(year > 1990) | ||
+ | { | ||
+ | if(year < 2021) | ||
+ | Drag_Coefficient = Drag_Coefficient | ||
+ | else | ||
+ | Drag_Coefficient = Drag_Coefficient | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 重量 ==== | ||
+ | |||
+ | 重量の単位はKGです | ||
+ | |||
+ | <code cpp> | ||
+ | Weight = Selected_Chassis.Weight + (Selected_Engine.Weight*0.4536) + (Selected_Gearbox.Weight*0.4536) + | ||
+ | Absolute Value Of((1.0+Slider_Materials_MaterialQuality*0.35 + Slider_Design_Safety*(1.3-(0.3 * ex_0d99p_year50R)) + | ||
+ | Slider_Design_Luxury*(0.5+(0.2 * ex_1d0035p_year99)) + Slider_Interior_Comfort*0.6 + | ||
+ | Slider_Interior_Luxury*0.7 + Slider_Interior_Safety*1.25 + Slider_Materials_Interior*0.35 - | ||
+ | (Slider_Materials_Techniques*0.4 + Slider_Testing_FuelEconomy*0.4 + Slider_Testing_Performance*0.4)) * | ||
+ | (50*(Car_Type.Weight_Value+0.15)*fastpow(1.0135, | ||
+ | (Length*1.525 + Width*1.525 + Height*1.525)*(Car_Type.Weight_Value+0.1) | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== 積載量 ==== | ||
+ | |||
+ | 積載量の単位はLです | ||
+ | |||
+ | <code cpp> | ||
+ | Cargo_Volume = ((Length * Width * Height -(Selected_Engine.width * Selected_Engine.length))/ | ||
+ | (((Length * Width * Height -(Selected_Engine.width * Selected_Engine.length))/ | ||
+ | (Car_Type.Cargo_Value +(0.25 * Slider_Design_Cargo)+(0.1 * Slider_Testing_Utility)))) / 800.0 | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== 燃費 ==== | ||
+ | |||
+ | 数値はMPG(mile/ | ||
+ | |||
+ | <code cpp> | ||
+ | Fuel_WeightMod = (((Weight*2.205) * 4.076055) * 0.00134102209) + | ||
+ | ((0.7 * (Surface_Area*0.092903) * Drag_Coefficient * 21253.933) * 0.00134102209) | ||
+ | |||
+ | |||
+ | if(Weight > 0 && ((((Weight) * 2.015955) * 0.00134102209) + | ||
+ | (( 0.7 * (Surface_Area*0.092903) *Drag_Coefficient * 2571.353) * 0.00134102209)) > 0 ) | ||
+ | { | ||
+ | Fuel_Mileage = ((((Selected_Gearbox.LowGear_Ratio + 0.01) / 2.0) * | ||
+ | ((Selected_Engine.Torque*1.05)/ | ||
+ | ((Selected_Engine.HP*1.05)/ | ||
+ | ((0.7 * (Surface_Area*0.092903) * Drag_Coefficient * 2571.353) * 0.00134102209))) ) | ||
+ | } | ||
+ | |||
+ | |||
+ | Fuel_Mileage = Fuel_Mileage + (Selected_Engine.Torque / | ||
+ | (Fuel_WeightMod*(3.0 + ((1.0-Selected_Gearbox.LowGear_Ratio))))) | ||
+ | |||
+ | Fuel_Mileage = Fuel_Mileage * Selected_Engine.FuelMileage | ||
+ | |||
+ | |||
+ | Fuel_Mileage = 1 + Fuel_Mileage + ((3* Selected_Gearbox.Number_Of_Gears/ | ||
+ | (1.9*((Selected_Gearbox.FuelEconomy_Rating/ | ||
+ | (0.7*Slider_Testing_FuelEconomy) + (0.2*(1-Slider_Testing_Performance)))) | ||
+ | |||
+ | |||
+ | if(Fuel_Mileage > (Selected_Engine.FuelMileage * 1.5)) | ||
+ | Fuel_Mileage = (Selected_Engine.FuelMileage * 1.5) | ||
+ | else if(Fuel_Mileage < (Selected_Engine.FuelMileage * 0.4)) | ||
+ | Fuel_Mileage = (Selected_Engine.FuelMileage * 0.4) | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 最高速度 ==== | ||
+ | |||
+ | 数値はmph単位です。 | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | friction = 1 | ||
+ | |||
+ | if((Drag_Coefficient * 0.6461 * (Surface_Area * 0.1)) != 0) | ||
+ | { | ||
+ | friction = ((Weight*0.14715)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | friction = ((Weight*0.14715)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | } | ||
+ | |||
+ | sqFriction = friction^0.5 | ||
+ | |||
+ | Top_Speed = 1 | ||
+ | |||
+ | if((Drag_Coefficient * 1.2922 * (Surface_Area *0.1 )) != 0 && Selected_Engine.HP * 745.699872 != 0) | ||
+ | { | ||
+ | if(((Selected_Engine.HP*745.699872)/ | ||
+ | { | ||
+ | sqFriction++ | ||
+ | |||
+ | Top_Speed = ((Selected_Engine.HP*745.699872)/ | ||
+ | (Drag_Coefficient*1.2922*(Surface_Area/ | ||
+ | (Selected_Engine.HP*745.699872)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | Top_Speed = ((Selected_Engine.HP*745.699872)/ | ||
+ | (Drag_Coefficient*1.2922*(Surface_Area/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | } | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | Top_Speed = ((Selected_Engine.HP*745.699872)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | ((Selected_Engine.HP*745.699872)/ | ||
+ | } | ||
+ | |||
+ | limitedGears = 1 | ||
+ | |||
+ | if(Selected_Gearbox.Number_Of_Gears < 4) | ||
+ | limitedGears = Selected_Gearbox.Number_Of_Gears / 8.0 | ||
+ | |||
+ | |||
+ | Top_Speed = Top_Speed * (2.3 + (0.45*(limitedGears+(0.02*Selected_Gearbox.Number_Of_Gears)))+ | ||
+ | (1.0*(Selected_Gearbox.HighGear_Ratio))) | ||
+ | |||
+ | HP_MaxSpeed = 1 | ||
+ | |||
+ | Speed_Weight_Multiplier = 0 | ||
+ | |||
+ | if(Weight/ | ||
+ | Speed_Weight_Multiplier = 0 | ||
+ | else if(Weight/ | ||
+ | { | ||
+ | Speed_Weight_Multiplier = ((Weight/ | ||
+ | (((1.0-Selected_Gearbox.LowGear_Ratio)+(1.0-Selected_Gearbox.HighGear_Ratio))/ | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | Speed_Weight_Multiplier = 1.5 - (((1.0-Selected_Gearbox.LowGear_Ratio)+ | ||
+ | (1.0-Selected_Gearbox.HighGear_Ratio))/ | ||
+ | } | ||
+ | |||
+ | |||
+ | if(Speed_Weight_Multiplier < 0) | ||
+ | Speed_Weight_Multiplier = 0 | ||
+ | |||
+ | HP_MaxSpeed = ((Selected_Engine.HP*745.7) / | ||
+ | (Drag_Coefficient * 1.25 * (Surface_Area*0.092903)))^(1.0/ | ||
+ | |||
+ | if(Top_Speed > HP_MaxSpeed) | ||
+ | { | ||
+ | if(Weight/ | ||
+ | { | ||
+ | Top_Speed = HP_MaxSpeed + 1 + | ||
+ | (10 * ((1.0-Selected_Gearbox.LowGear_Ratio)+(0.2*(1.0-Selected_Gearbox.HighGear_Ratio)))) | ||
+ | } | ||
+ | else if(Selected_Engine.HP < 15) | ||
+ | { | ||
+ | Top_Speed = HP_MaxSpeed + (Selected_Engine.HP *0.4) + | ||
+ | (9 * ((0.02*Selected_Gearbox.Number_Of_Gears)+(1.0*(Selected_Gearbox.HighGear_Ratio)))) | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | Top_Speed = HP_MaxSpeed + 6 + | ||
+ | (18 * ((0.02*Selected_Gearbox.Number_Of_Gears)+(1.0*(Selected_Gearbox.HighGear_Ratio)))) | ||
+ | } | ||
+ | } | ||
+ | else if(Top_Speed < HP_MaxSpeed + 6 + | ||
+ | (9 * ((0.02*Selected_Gearbox.Number_Of_Gears)+(1.0*(Selected_Gearbox.HighGear_Ratio))))) | ||
+ | { | ||
+ | if(Weight/ | ||
+ | { | ||
+ | Top_Speed = Top_Speed + 1 + (10 * ((1.0-Selected_Gearbox.LowGear_Ratio)+ | ||
+ | (0.2*(1.0-Selected_Gearbox.HighGear_Ratio)))) | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | Top_Speed = Top_Speed + 6 + (9 * ((0.02*Selected_Gearbox.Number_Of_Gears)+ | ||
+ | (1.0*(Selected_Gearbox.HighGear_Ratio)))) | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 加速度 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | if((Selected_Engine.HP*745.699872) Does Not Equal 0 AND | ||
+ | ((Selected_Engine.HP*745.699872)^0.5*(Selected_Engine.Torque * 1.35581795)^0.5) Does Not Equal 0) | ||
+ | { | ||
+ | Acceleration_MPH = 6 * Drag_Coefficient + 0.35 * | ||
+ | ((( Weight * 2.2046) * 719.44114176) / (Selected_Engine.HP*745.699872)) + | ||
+ | 0.4 * ((( Weight * 2.2046)^0.5 * 719.44114176)/ | ||
+ | (Selected_Engine.Torque * 1.35581795)^0.5)) * ((Selected_Gearbox.LowGear_Ratio) + 1.5 - | ||
+ | (Selected_Gearbox.Number_Of_Gears/ | ||
+ | |||
+ | Acceleration_KPH = 6*Drag_Coefficient + 0.35 * ((( Weight * 2.2046) * 771.60617284) / | ||
+ | (Selected_Engine.HP*745.699872)) + 0.4 * ((( Weight * 2.2046)^0.5 * 771.60617284) / | ||
+ | ((Selected_Engine.HP*745.699872)^0.5 * (Selected_Engine.Torque * 1.35581795)^0.5)) * | ||
+ | ((Selected_Gearbox.LowGear_Ratio) + 1.5 - (Selected_Gearbox.Number_Of_Gears/ | ||
+ | (0.2*(1.1-(Selected_Gearbox.StaticPerformanceRate/ | ||
+ | } | ||
+ | |||
+ | if(Acceleration_MPH < 0.5) | ||
+ | { | ||
+ | Acceleration_MPH = 0.5 | ||
+ | Acceleration_KPH = 0.5 | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== ブレーキ力 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Braking_60_to_0 = (((100 * ex_0d99p_year99) * (1.01-Slider_Design_Safety)) + 130.16667 + | ||
+ | ((Weight/ | ||
+ | (30*(1-Selected_Chassis.RrSus_Braking)) + (50*(1.0-Selected_Chassis.Slider_SUS_Braking)) + | ||
+ | (50-(Selected_Chassis.StaticPerform/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 牽引重量 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Tow_Weight = Selected_Engine.Torque * (1.25 + (4 * ((1-Selected_Gearbox.LowGear_Ratio) + | ||
+ | (0.5*(1-Selected_Gearbox.HighGear_Ratio))))) * 7.5 + | ||
+ | (100.0 *(static_cast< | ||
+ | |||
+ | Tow_Weight = Tow_Weight * 0.454 - Weight | ||
+ | |||
+ | if(Tow_Weight < 10) | ||
+ | Tow_Weight = 10 | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 接地力 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Roadhoad_LateralG = 0.4 +(0.5*(42475269.9 - (Length * Width * Height))/ | ||
+ | (0.5*(Selected_Chassis.Original_Performance_Rating/ | ||
+ | (0.2 * ((1300.0-Weight)/ | ||
+ | </ | ||
+ | ===== 評価 ===== | ||
+ | |||
+ | |||
+ | ==== 設計要件 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Design_Requirements = ( 5 * Slider_Design_Cargo + 15 * Slider_Design_Dependability + | ||
+ | 6 * Slider_Design_Luxury + 10 * Slider_Design_Safety + 10 * Slider_Design_Style + | ||
+ | 6 * Slider_Interior_Innovation + 10 * Slider_Interior_Safety + 4 * Slider_Interior_Comfort + | ||
+ | 4* Slider_Testing_Comfort + 4* Slider_Testing_Demographics + 4* Slider_Testing_FuelEconomy + | ||
+ | 4* Slider_Testing_Performance + 4* Slider_Testing_Reliability + 4* Slider_Testing_Utility) + | ||
+ | Slider_Materials_Techniques + Slider_Materials_Interior + Slider_Materials_MaterialQuality + | ||
+ | Slider_Materials_Interior + Slider_Materials_Paint | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 製造要件 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Manufacturing_Requirements = ((Selected_Chassis.Manufacturing_Requirements + | ||
+ | Selected_Engine.Manufacturing_Requirements + Selected_Gearbox.Manufacturing_Requirements)/ | ||
+ | ( 3 * Slider_Interior_Comfort + 3 * Slider_Interior_Luxury + 3 * Slider_Interior_Safety + | ||
+ | 3 * Slider_Interior_Style + 3 * Slider_Interior_Technology+ 7 * Slider_Materials_Techniques + | ||
+ | 4 * Slider_Materials_Interior + 4 * Slider_Materials_MaterialQuality | ||
+ | (5*(1-(RnD_Skills/ | ||
+ | Slider_Design_Luxury + Slider_Design_Safety + Slider_Design_Style + Slider_Testing_Comfort + | ||
+ | Slider_Testing_Demographics + Slider_Testing_FuelEconomy + Slider_Testing_Performance + | ||
+ | Slider_Testing_Reliability + Slider_Testing_Utility)/ | ||
+ | (10*(Slider_Demographics_Wealth/ | ||
+ | |||
+ | if(Manufacturing_Requirements > 100) | ||
+ | Manufacturing_Requirements = 100 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== パフォーマンス評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Power_To_Weight_Ratio = 1; | ||
+ | |||
+ | if(Weight != 0) | ||
+ | Power_To_Weight_Ratio = (Selected_Engine.HP / ((Weight*2.205)/ | ||
+ | else | ||
+ | Power_To_Weight_Ratio = (Selected_Engine.HP / ((1+Weight*2.205)/ | ||
+ | |||
+ | Power_To_Weight_Ratio = -.024 + .003 * Power_To_Weight_Ratio | ||
+ | |||
+ | if(Power_To_Weight_Ratio> | ||
+ | Power_To_Weight_Ratio = 1 | ||
+ | else if(Power_To_Weight_Ratio< | ||
+ | Power_To_Weight_Ratio=0.01 | ||
+ | |||
+ | |||
+ | |||
+ | Temp_Acceleration = Acceleration_KPH | ||
+ | Temp_Brake = Braking_60_to_0 | ||
+ | |||
+ | if(Temp_Brake <= 0) | ||
+ | Temp_Brake = 1 | ||
+ | |||
+ | |||
+ | if(Temp_Acceleration = 0) | ||
+ | { | ||
+ | Temp_Acceleration = 60 | ||
+ | Temp_Brake = 10000 | ||
+ | } | ||
+ | else if (Temp_Acceleration > 60) | ||
+ | { | ||
+ | Temp_Acceleration = 60 | ||
+ | } | ||
+ | |||
+ | Rating_Performance = 10.0 * (Selected_Chassis.Performance_Rating/ | ||
+ | 45.0 * Power_To_Weight_Ratio + (15* Slider_Testing_Performance) + | ||
+ | 5 * Roadhoad_LateralG + (5 * (Top_Speed/ | ||
+ | (5* (Selected_Gearbox.Performance_Rating/ | ||
+ | (10 * ((60.0-Temp_Acceleration)/ | ||
+ | |||
+ | if(Rating_Performance > 100) | ||
+ | Rating_Performance = 100 | ||
+ | else if(Rating_Performance < 0 ) | ||
+ | Rating_Performance = 1 | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 運転性 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | Rating_Drivability = (27 * (Selected_Chassis.Performance_Rating/ | ||
+ | (6 * Selected_Chassis.RrSus_Steering) - (5 * (Selected_Gearbox.Comfort_Rating)) + | ||
+ | (41*(Roadhoad_LateralG/ | ||
+ | (12 * Slider_Testing_Performance) - (2 * Slider_Testing_Comfort) + (75*demoDrive*Slider_Testing_Demographics) | ||
+ | |||
+ | if(Rating_Drivability > 100) | ||
+ | { | ||
+ | Rating_Drivability = 100; | ||
+ | } | ||
+ | else if(Rating_Drivability < 0 ) | ||
+ | { | ||
+ | Rating_Drivability = 1; | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 安全性評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | //See Performance Rating for value of Temp_Brake | ||
+ | |||
+ | Rating_Safety = (10 * Slider_Design_Safety) + (10 * Slider_Interior_Safety) + | ||
+ | (15 * Selected_Chassis.SubComponent_Frame_Safety) + (2 * Slider_Interior_Technology) + | ||
+ | (2*Slider_Materials_Techniques) + (2*Slider_Materials_Interior) + | ||
+ | (2 * Slider_Materials_MaterialQuality) + (2 * Slider_Testing_Reliability) + | ||
+ | (20 * (Weight/ | ||
+ | (5 * (50.0/ | ||
+ | (75*Demographics_Safety*Slider_Testing_Demographics) | ||
+ | |||
+ | if(Rating_Safety > 100) | ||
+ | Rating_Safety = 100 | ||
+ | else if(Rating_Safety < 0 ) | ||
+ | Rating_Safety = 1 | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 燃費評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Rating_Fuel_Economy = Fuel_Mileage*2 | ||
+ | |||
+ | if(Rating_Fuel_Economy > 100) | ||
+ | Rating_Fuel_Economy = 100 | ||
+ | else if (Rating_Fuel_Economy < 1) | ||
+ | Rating_Fuel_Economy = 1 | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== パワー評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Rating_Power = 20 * (Tow_Weight/ | ||
+ | |||
+ | if(Rating_Power> | ||
+ | Rating_Power=50 | ||
+ | |||
+ | Rating_Power = Rating_Power + (70 * (Selected_Engine.Torque/ | ||
+ | (10 * (Selected_Gearbox.Power_Rating/ | ||
+ | (20*Demographics_Power*Slider_Testing_Demographics) | ||
+ | |||
+ | if(Rating_Power> | ||
+ | Rating_Power=100 | ||
+ | else if(Rating_Power < 0) | ||
+ | Rating_Power=0 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 積載評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | Rating_Cargo = 85 * (Cargo_Volume / 3200.0) | ||
+ | if(Rating_Cargo > 85) | ||
+ | Rating_Cargo = 85 | ||
+ | |||
+ | Rating_Cargo = Rating_Cargo + (10 * Slider_Design_Cargo) + | ||
+ | (5 * Slider_Testing_Utility)+(30*Demographics_Cargo*Slider_Testing_Demographics) | ||
+ | |||
+ | if(Rating_Cargo> | ||
+ | Rating_Cargo=100 | ||
+ | else if(Rating_Cargo < 0) | ||
+ | Rating_Cargo=0 | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== 高級感評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Rating_Luxury = (7 * Slider_Design_Luxury) + (7 * Slider_Design_Style) + | ||
+ | (4 * Slider_Interior_Comfort) + (4*Slider_Interior_Innovation) + | ||
+ | (8 * Slider_Interior_Luxury) + (4*Slider_Interior_Style) + | ||
+ | (3*Slider_Interior_Technology) + (5*Slider_Materials_Interior) + | ||
+ | (5* Slider_Testing_Comfort) + (3*Slider_Testing_Utility) + | ||
+ | (15 * (Selected_Chassis.Comfort_Rating/ | ||
+ | (8 * (Selected_Gearbox.Comfort_Rating/ | ||
+ | (10 * (Selected_Engine.Smoothness_Rating/ | ||
+ | (5 * (Rating_Cargo/ | ||
+ | (7*(designLuxurySkill/ | ||
+ | |||
+ | |||
+ | if(Rating_Luxury> | ||
+ | Rating_Luxury=100 | ||
+ | else if(Rating_Luxury < 0) | ||
+ | Rating_Luxury=0 | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 品質評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | Rating_Quality = (10*Slider_Design_Dependability) + (5*Slider_Design_Luxury) + | ||
+ | (5*Slider_Design_Style) + (5*Slider_Materials_Techniques) + (15*Slider_Materials_Interior) + | ||
+ | (10*Slider_Materials_Paint) + (10*Slider_Testing_Reliability) + (5*Slider_Testing_Utility) + | ||
+ | (5* (Selected_Gearbox.Reliability_Rating/ | ||
+ | (5* (Selected_Chassis.Durability_Rating/ | ||
+ | (5* (Selected_Engine.Reliability_Rating/ | ||
+ | (20 * (designBodySkill/ | ||
+ | (75*(Slider_Demographics_Wealth/ | ||
+ | |||
+ | if(Rating_Quality> | ||
+ | Rating_Quality=100 | ||
+ | else if(Rating_Quality < 0) | ||
+ | Rating_Quality=0 | ||
+ | |||
+ | |||
+ | if(Selected_Gearbox.Max_Torque_Support < Selected_Engine.Torque) | ||
+ | { | ||
+ | Rating_Quality = (Rating_Quality*0.7) + | ||
+ | ( (Rating_Quality*0.25) *(Selected_Gearbox.Max_Torque_Support / Selected_Engine.Torque)) | ||
+ | |||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== ディペンダビリティ評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Rating_Dependability = (20*Slider_Design_Dependability) + (5*Slider_Materials_MaterialQuality) + | ||
+ | (15*Slider_Testing_Reliability) + (5*Slider_Testing_Utility) + | ||
+ | (15*(Selected_Chassis.Durability_Rating/ | ||
+ | (10*(Selected_Gearbox.Reliability_Rating/ | ||
+ | (5*(Selected_Engine.Smoothness_Rating/ | ||
+ | |||
+ | if(Rating_Dependability> | ||
+ | Rating_Dependability=100 | ||
+ | else if(Rating_Dependability < 0) | ||
+ | Rating_Dependability=0 | ||
+ | |||
+ | |||
+ | if(Selected_Gearbox.Max_Torque_Support < Selected_Engine.Torque) | ||
+ | { | ||
+ | Rating_Dependability = Rating_Dependability * (Selected_Gearbox.Max_Torque_Support / Selected_Engine.Torque) | ||
+ | Rating_Dependability = Rating_Dependability * 0.95 | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 総合評価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Rating_Overall = (Rating_Performance + Rating_Drivability + Rating_Luxury + Rating_Safety + | ||
+ | Rating_Fuel_Economy + Rating_Power + Rating_Cargo + Rating_Quality + | ||
+ | Rating_Dependability + Selected_Chassis.Overall + Selected_Engine.Overall + | ||
+ | Selected_Gearbox.OverallRate + designBodySkill) / 13.0 | ||
+ | |||
+ | Rating_Overall = Rating_Overall + (5*PreResearchcarAmountEffect) | ||
+ | |||
+ | if(Rating_Overall > 100) | ||
+ | Rating_Overall = 100; | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 車種別重視する評価 ==== | ||
+ | |||
+ | 車種別重視する評価については、[[gamemanual: | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | Rating_CarType = (Rating_Cargo*Car_Type.Rating_Cargo * 3) + | ||
+ | (Rating_Dependability * Car_Type.Rating_Dependability * 3) + | ||
+ | (Rating_Drivability * Car_Type.Rating_Drivability * 3) + | ||
+ | (Rating_Fuel_Economy * Car_Type.Rating_Fuel * 3) + | ||
+ | (Rating_Luxury * Car_Type.Rating_Luxury * 3) + | ||
+ | (Rating_Performance * Car_Type.Rating_Performance * 3) + | ||
+ | (Rating_Power * Car_Type.Rating_Power* 3) + | ||
+ | (Rating_Safety * Car_Type.Rating_Safety* 3) | ||
+ | |||
+ | |||
+ | maxRating_CarType = (100*Car_Type.Rating_Cargo * 3) + | ||
+ | (100 * Car_Type.Rating_Dependability * 3) + | ||
+ | (100 * Car_Type.Rating_Drivability * 3) + | ||
+ | (100 * Car_Type.Rating_Fuel * 3) + | ||
+ | (100 * Car_Type.Rating_Luxury * 3) + | ||
+ | (100 * Car_Type.Rating_Performance * 3) + | ||
+ | (100 * Car_Type.Rating_Power * 3) + | ||
+ | (100 * Car_Type.Rating_Safety * 3) | ||
+ | |||
+ | if(maxRating_CarType < 1) | ||
+ | maxRating_CarType = 1; | ||
+ | |||
+ | Rating_CarType = 100 * (Rating_CarType / maxRating_CarType) | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 車両のイメージ ==== | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | VehicleImg = (Rating_CarType/ | ||
+ | IMAGE_WORK + (IMAGE_RACING/ | ||
+ | |||
+ | //If making a trim | ||
+ | if(BaseModelImg> | ||
+ | { | ||
+ | VehicleImg = BaseModelImg + ((Rating_CarType-BaseModelImg)/ | ||
+ | |||
+ | BaseModelImg =0; | ||
+ | } | ||
+ | else //If Making New Generation | ||
+ | { | ||
+ | tmpVImage = Get_Most_Recent_Vehicle_Image_By_Name() | ||
+ | |||
+ | if(tmpVImage > 0) | ||
+ | VehicleImg= tmpVImage + ((Rating_CarType-tmpVImage)/ | ||
+ | } | ||
+ | |||
+ | if(VehicleImg> | ||
+ | VehicleImg = 100 | ||
+ | else if(VehicleImg< | ||
+ | VehicleImg = 0 | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ===== その他 ===== | ||
+ | |||
+ | |||
+ | |||
+ | ==== 単価 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Unit_Costs = ((((200*ex_1d02p_year99*((((Slider_Interior_Comfort^2 )+ | ||
+ | (Slider_Interior_Luxury^2) + (Slider_Interior_Safety^2) + (Slider_Interior_Technology^2) + | ||
+ | (((Slider_Interior_Innovation^2) + (Slider_Interior_Style^2))/ | ||
+ | ((Slider_Design_Cargo^2 + Slider_Design_Dependability^2 + | ||
+ | Slider_Design_Safety^2 + Slider_Design_Style^2 +Slider_Design_Luxury^2)/ | ||
+ | (( (Slider_Testing_Demographics^2 )+ (Slider_Testing_Performance^2 ) + | ||
+ | (Slider_Testing_FuelEconomy^2) + (Slider_Testing_Comfort^2) + (Slider_Testing_Utility^2)+ | ||
+ | (Slider_Testing_Reliability^2))/ | ||
+ | (Slider_Materials_Techniques^2)+ (Slider_Materials_Interior^2) + | ||
+ | (Slider_Materials_Paint^2))/ | ||
+ | (global_interestrate/ | ||
+ | (130*ex_1d02p_year99*(Slider_Demographics_Wealth/ | ||
+ | (150*ex_1d02p_year99*(Slider_Demographics_Wealth/ | ||
+ | |||
+ | |||
+ | hyperSliders = ((Slider_Interior_Style + Slider_Interior_Innovation + Slider_Interior_Luxury + | ||
+ | Slider_Interior_Comfort + Slider_Interior_Safety + Slider_Interior_Technology) + | ||
+ | ( Slider_Materials_MaterialQuality + Slider_Materials_Interior + | ||
+ | Slider_Materials_Paint + Slider_Materials_Techniques) + ( Slider_Design_Style + | ||
+ | Slider_Design_Luxury + Slider_Design_Safety + Slider_Design_Cargo + | ||
+ | Slider_Design_Dependability) + ( Slider_Testing_Demographics + | ||
+ | Slider_Testing_Performance + Slider_Testing_FuelEconomy + | ||
+ | Slider_Testing_Comfort + Slider_Testing_Utility + Slider_Testing_Reliability))/ | ||
+ | |||
+ | hyperCosts = 450 * ex_1d04p_year99 * (hyperSliders^4) | ||
+ | |||
+ | |||
+ | Unit_Costs = Selected_Chassis.Unit_Costs + Selected_Engine.Unit_Costs + Selected_Gearbox.Unit_Costs + | ||
+ | Unit_Costs + hyperCosts - ((Unit_Costs/ | ||
+ | | ||
+ | if( Game Difficult is set to Easy ) | ||
+ | Unit_Costs = Unit_Costs * 0.9 | ||
+ | else if( Game Difficult is set to Hard or Nightmare ) | ||
+ | Unit_Costs = Unit_Costs * 1.1 | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 設計コスト ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | Design_Costs = (hyperCosts * (400*ex_1d03p_year99)) + (Selected_Chassis.Unit_Costs*400 * ex_1d03p_year99 + | ||
+ | Selected_Engine.Unit_Costs*400 * ex_1d03p_year99+Selected_Gearbox.Unit_Costs * 400*ex_1d03p_year99 + | ||
+ | 20000*ex_1d05p_year99 * ((Slider_Design_Cargo^2) + (Slider_Design_Dependability^2) + | ||
+ | (Slider_Design_Luxury^2) + (Slider_Design_Safety^2) + (Slider_Design_Style^2 ) + | ||
+ | (Slider_Interior_Innovation^2 ) + (Slider_Interior_Safety^2 ) + (Slider_Interior_Style^2) + | ||
+ | (Slider_Testing_Comfort^2 *2 ) + (Slider_Testing_Demographics^2 * 2 )+ (Slider_Testing_FuelEconomy^2 * 2) + | ||
+ | (Slider_Testing_Performance^2 * 2 )+ (Slider_Testing_Reliability^2 * 2) + (Slider_Testing_Utility^2 * 2))) + | ||
+ | (40000*ex_1d03p_year99*(Slider_Demographics_Wealth/ | ||
+ | |||
+ | | ||
+ | If creating a New Trim or New Generation, If this design' | ||
+ | higher than the Base Model' | ||
+ | Otherwise, only a fraction of the design costs at this stage is charged. | ||
+ | The fractions break down like this: 15% for base, 5% for a gearbox change, | ||
+ | 5% for an engine change, 75% for chassis change. | ||
+ | |||
+ | |||
+ | |||
+ | Design_Costs = (Design_Costs/ | ||
+ | |||
+ | |||
+ | if( Game Difficult is set to Easy ) | ||
+ | Design_Costs = Design_Costs * 0.9 | ||
+ | else if( Game Difficult is set to Hard or Nightmare ) | ||
+ | Design_Costs = Design_Costs * 1.1 | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 開発期間 ==== | ||
+ | |||
+ | < | ||
+ | |||
+ | Finish_Time = ((0.7*(Slider_Interior_Innovation+Slider_Interior_Style+Slider_Interior_Safety)) + | ||
+ | (0.9*(Slider_Design_Cargo+(Slider_Design_Dependability*2) + Slider_Design_Cargo + | ||
+ | Slider_Design_Luxury + Slider_Design_Safety + Slider_Design_Style)) + | ||
+ | (1.5* (Slider_Testing_Comfort + Slider_Testing_Demographics + | ||
+ | Slider_Testing_FuelEconomy + Slider_Testing_Performance + Slider_Testing_Reliability + | ||
+ | Slider_Testing_Utility))) + 2*ex_1d005p_year99- | ||
+ | (3*ex_1d005p_year99*(RnD_Skills/ | ||
+ | (2*(FactOverallVAL/ | ||
+ | |||
+ | Finish_Time = Finish_Time + ((year-1870)/ | ||
+ | |||
+ | | ||
+ | |||
+ | If creating a New Trim or New Generation, If this design' | ||
+ | higher than the Base Model' | ||
+ | Otherwise, only a fraction of design time is charged. | ||
+ | The fractions break down like this: 15% for base, 5% for a gearbox change, | ||
+ | 5% for an engine change, 75% for chassis change. | ||
+ | |||
+ | |||
+ | |||
+ | if(Year < 2021) | ||
+ | { | ||
+ | if(( Slider_Design_DesignPace + 0.05) > 0) | ||
+ | additionalTime = ( ((year-1840)/ | ||
+ | else | ||
+ | additionalTime = ( ((year-1840)/ | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | if(( Slider_Design_DesignPace+0.05) > 0) | ||
+ | additionalTime = ( ((2020-1840)/ | ||
+ | else | ||
+ | additionalTime = ( ((2020-1840)/ | ||
+ | } | ||
+ | |||
+ | if( Creating a trim and base model is completed ) | ||
+ | { | ||
+ | if(Slider_Design_DesignPace < 0.5) | ||
+ | Finish_Time = Finish_Time + additionalTime | ||
+ | else if(additionalTime > 0) | ||
+ | { | ||
+ | turnsOff = (Slider_Design_DesignPace - 0.5)/0.2 | ||
+ | Finish_Time = Finish_Time + (additionalTime - TurnsOff) | ||
+ | } | ||
+ | } | ||
+ | |||
+ | if(Finish_Time < 1) | ||
+ | Finish_Time = 1 | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== 必要な従業員 ==== | ||
+ | |||
+ | |||
+ | <code cpp> | ||
+ | if(year < 2021) | ||
+ | Employees_Required = Design_Requirements * (0.07833*(year-1899)+0.295) | ||
+ | else | ||
+ | Employees_Required = Design_Requirements * (0.07833*(121)+0.295) | ||
+ | |||
+ | |||
+ | |||
+ | Employees_Required = Employees_Required/ | ||
+ | </ |