japanesemanual:ja_gm_branches
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
japanesemanual:ja_gm_branches [2023/02/22 07:42] – nichirinmotor | japanesemanual:ja_gm_branches [2023/02/27 07:49] (current) – nichirinmotor | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 支店ゲームメカニクス ====== | ||
+ | |||
+ | マニュアルのゲームメカニクスセクションは、ゲームの計算で使用される内部式の詳細を説明します。マニュアルのこのセクションは疑似コードを使用しており、ゲーム内のコードと100%同じとは限りません。 | ||
+ | |||
+ | マニュアルのゲームメカニクスパートは、主に " | ||
+ | |||
+ | **マニュアルのゲームメカニクスセクションは、[[https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== 変数 ===== | ||
+ | |||
+ | 計算式で使用する変数とその説明の表です。 | ||
+ | |||
+ | ^ 変数 ^ 説明 ^ ^ 変数 ^ 説明 ^ | ||
+ | | **Focus** | 以前のフォーカススライダー、現在は( (販売リソーススライダー×2) + ディーラーのリソーススライダー) ÷ 3 | | **Personal** | 以前のパーソナルスライダー、現在は ( (販売リソーススライダー × 2) + ディーラーのリソーススライダー)÷3 | | ||
+ | | **year** | 現在のゲーム年 | | **Build_Year** | 支店が建設または再設計された年。 | | ||
+ | | **City_Infrastructure** | 選択した都市のインフラ評価 | | **City_Labor_Skill** | 選択された都市の労働者のスキル。 | | ||
+ | | **City_Population** | 選択された都市の人口。 | | **City_PerCapita** | 選択した都市の一人当たりの所得。 | | ||
+ | | **Branch_Map_Adjustment** | マップのMapFileForGame.xmlファイルに記載されている支店の調整値です | | **DynamicBranchCosts** | ゲーム開始時のオプション「支店コストの増加」です。 | | ||
+ | | **Wear_Level** | 支店の損耗度合いを0〜100の間で設定します。100が最大損耗量です。 | | **Distance_Between** | 支店から工場までの距離(km)です。 | | ||
+ | | **Branch_City_Infrastructure_Rate** | 支店の都市のインフラ評価です。 | | **Branch_City_Gas_Rate** | 支店の都市の燃料価格です。 | | ||
+ | | **Factory_City_Infrastructure_Rate** | 工場の都市のインフラ評価です。 | | **Factory_City_Gas_Rate** | 工場の都市の燃料価格です。 | | ||
+ | | **Global_Gas** | これは、TurnEvents.xmlファイルで定義されている国際燃料価格です。 | | **Dealer_Count** | これは、支店がサービスを提供しているディーラーの数です。 | | ||
+ | | **Admin_Skill** | これは、あなたの会社の管理能力です | | **Add_Dealership_Attempts** | この数値は、この拠点でディーラーへの補助を行うたびに0.5ずつ増加します。 | | ||
+ | | **Max_Supported_Dealers** | この支店がサービスを提供できるディーラーの最大数です。 | | **ex_1d01p_year99** | 1.01%%^%%(year-1899) | | ||
+ | | **ex_1d012p_year99** | 1.012%%^%%(year-1899) | | **ex_1d025p_year99** | 1.025%%^%%(year-1899) | | ||
+ | | **ex_1d03p_year99** | 1.03%%^%%(year-1899) | | **ex_1d035p_year99** | 1.035%%^%%(year-1899) | | ||
+ | | **ex_1d04p_year99** | 1.04%%^%%(year-1899) | | **ex_1d05p_year99** | 1.05%%^%%(year-1899) | | ||
+ | |||
+ | |||
+ | ==== スライダー ==== | ||
+ | |||
+ | ^ 変数 ^ 説明 ^ ^ 変数 ^ 説明 ^ | ||
+ | | **Slider_Dealership_Resources** | ディーラーのリソーススライダー | | **Slider_Sales_Resources** | 販売リソーススライダー | | ||
+ | |||
+ | |||
+ | |||
+ | ===== 支店の評価 ===== | ||
+ | |||
+ | ==== ディーラー拡大レート ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Dealer_Growth = (Slider_Dealership_Resources*30000 + (City_Infrastructure*City_Labor_Skill))/ | ||
+ | </ | ||
+ | |||
+ | ==== 販売効率 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Sales_Efficiency = (200*Slider_Sales_Resources+100*Personal+City_Labor_Skill)/ | ||
+ | </ | ||
+ | |||
+ | ==== ディーラーの最大数 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | Maximum_Dealers = ((City_Infrastructure/ | ||
+ | (City_Population/ | ||
+ | |||
+ | if(Branch_Map_Adjustment > 3) | ||
+ | Maximum_Dealers = Maximum_Dealers * 3 | ||
+ | else | ||
+ | Maximum_Dealers = Maximum_Dealers * Branch_Map_Adjustment | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 建設費 ==== | ||
+ | |||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | if(Year < 2021) | ||
+ | { | ||
+ | Costs = ((15000*ex_1d05p_year99 * 50) + (City_PerCapita*50*(year-1899)))/ | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | Costs = ((15000*ex_1d05p_year99*50) + (City_PerCapita*50*121))/ | ||
+ | } | ||
+ | |||
+ | if(DynamicBranchCosts) | ||
+ | { | ||
+ | Costs = Costs * (City_Population / (1000000 * ex_1d012p_year99) + 0.9) | ||
+ | } | ||
+ | |||
+ | Costs = Costs * Branch_Map_Adjustment | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 月次費用 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Monthly_Costs = ((3000*(ex_1d04p_year99)* Dealer_Growth+ | ||
+ | 2500*(ex_1d03p_year99)*Sales_Efficiency+10000* | ||
+ | (ex_1d035p_year99)*Personal)) + (5000*(ex_1d025p_year99) * | ||
+ | ((100-City_Infrastructure)/ | ||
+ | | ||
+ | if(DynamicBranchCosts) | ||
+ | { | ||
+ | Monthly_Costs = Monthly_Costs * (City_Population / (5000000*ex_1d01p_year99) + 0.9) | ||
+ | } | ||
+ | |||
+ | Monthly_Costs = Monthly_Costs * Branch_Map_Adjustment | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 従業員数 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | if(Year < 2021) | ||
+ | { | ||
+ | Max_Employees = 5 + ((year-1899)/ | ||
+ | (3*(year-1899)*Slider_Dealership_Resources)+ | ||
+ | (2*(year-1899)*Slider_Sales_Resources) | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | Max_Employees = 5 + (100.833)+ (3*(year-1899)*Slider_Dealership_Resources)+ | ||
+ | (2*121*Slider_Sales_Resources) | ||
+ | } | ||
+ | |||
+ | Max_Employees = Max_Employees * Branch_Map_Adjustment | ||
+ | |||
+ | Max_Employees = Max_Employees + Monthly_Costs/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ===== 修繕 ===== | ||
+ | |||
+ | ==== 費用 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | Recondition_Costs = Wear_Level * (5 * (year - (Build_Year-1)) +100 ) | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== 出荷 ===== | ||
+ | |||
+ | |||
+ | ==== 費用 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | costs = (Distance_Between^1.03/ | ||
+ | (Factory_City_Infrastructure_Rate/ | ||
+ | ((0.7 / (7.0+(Branch_City_Infrastructure_Rate/ | ||
+ | (Factory_City_Infrastructure_Rate/ | ||
+ | ((Branch_City_Gas_Rate+Factory_City_Gas_Rate)/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ===== ディーラー ===== | ||
+ | |||
+ | |||
+ | ==== 新しいディーラー ==== | ||
+ | |||
+ | <code cpp> | ||
+ | |||
+ | |||
+ | Dealer_Percent = Dealer_Count/ | ||
+ | |||
+ | if((0.1+Slider_Dealership_Resources) > Random_Number Between 0 and (1.2+Dealer_Percent) ) | ||
+ | Dealer_Count = Dealer_Count + 1 + (5 * Slider_Dealership_Resources) | ||
+ | else if(Dealer_Percent > 0.5 AND (0.1+Dealer_Percent) > Random_Number Between 0 and 5 ) | ||
+ | Dealer_Count = Dealer_Count - (1 + (3*Dealer_Percent)) | ||
+ | |||
+ | |||
+ | |||
+ | if(Slider_Dealership_Resources * 100 > Random_Number Between 0 and 200) | ||
+ | { | ||
+ | | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ==== ディーラーへの補助金 ==== | ||
+ | |||
+ | <code cpp> | ||
+ | | ||
+ | |||
+ | Costs = 5000 * ex_1d035p_year99 * Add_New_Dealerships * (Add_Dealership_Attempts+1); | ||
+ | </ |