當前位置:編程學習大全網 - 源碼下載 - 羅馬全面戰爭怎麽修改部隊數量

羅馬全面戰爭怎麽修改部隊數量

在視頻設置裏的部隊規模這壹欄裏,超大規模的話農民是240人,其余的比如羅馬步兵,就是161人,是160人+1個百夫長。另外可以修改源代碼,不過修改前切記要備份!!!在遊戲根目錄下DATA目錄下的export_descr_unit這個文件裏修改的時候,以成年步兵為例,其源碼是這樣的:type roman princeps

dictionary roman_principes ; Principes

category infantry

class heavy

voice_type Heavy_1

soldier roman_principes, 40, 0, 1.3

officer roman_early_standard

attributes sea_faring, hide_forest, can_sap

formation 1, 2, 2, 3, 4, square

stat_health 1, 0

stat_pri 11, 2, pilum, 35, 2, thrown, blade, piercing, spear, 25 ,1

stat_pri_attr prec, thrown ap

stat_sec 7, 2, no, 0, 0, melee, simple, piercing, sword, 25 ,1

stat_sec_attr no

stat_pri_armour 7, 4, 5, metal

stat_sec_armour 0, 1, flesh

stat_heat 4

stat_ground 2, 0, 0, 0

stat_mental 6, disciplined, highly_trained

stat_charge_dist 30

stat_fire_delay 0

stat_food 60, 300

stat_cost 0, 490, 170, 50, 80, 490

ownership romans_julii,romans_brutii,romans_scipii,romans_senate其中soldier roman_principes, 40, 0, 1.3這壹行裏的40就是在普通規模下時,這個單位人數。當選擇大規模時,就是80人,超大規模就是160人。修改的時候註意,這個數字是有上限的。超大規模時,人數最多是240人,這是部隊上限,所有部隊修改後在超大規模下都不可能超過這個數,也就是說這裏的40最多只能修改成60,這樣大規模下是120人,超大規模是240人,正好。另外還有壹點要補充的,就是修改比如弩炮的門數與人數的時候,這時候是有壹個對應關系的。妳看源碼:type roman onager

dictionary roman_onager ; Onagers

category siege

class missile

voice_type Light_1

soldier roman_crew, 16, 2, 0.8這種對應關系是8個士兵對應壹門炮,不管妳要怎麽改,如果妳要修改弩炮的數量,妳必須對應的修改這個部隊的總人數,使他能夠滿足8個士兵對應壹門炮的要求,否則就會修改失敗,進不了遊戲了。

  • 上一篇:曼德拉效應究竟是什麽呢?
  • 下一篇:反浪基金盤
  • copyright 2024編程學習大全網