Thay office là dễ nhất. Vào file descr_model_battle, tìm phần
"GENERALS, OFFICERS, MUSICIANS AND STANDARD BEARERS", chen giữa 2 phần model bạn làm model của office bạn cần. VD với
Spartan Officer:
giữa 2 phần:
type barb_standard
skeleton fs_standard_bearer
indiv_range 40
texture gauls, data/models_unit/textures/officer_barb_standard_gaul.tga
texture britons, data/models_unit/textures/officer_barb_standard_briton.tga
texture germans, data/models_unit/textures/officer_barb_standard_german.tga
texture dacia, data/models_unit/textures/officer_barb_standard_dacia.tga
texture scythia, data/models_unit/textures/officer_barb_standard_scythia.tga
model_flexi data/models_unit/officer_barb_standard_400.cas, 8
model_flexi data/models_unit/officer_barb_standard_300.cas, 15
model_flexi data/models_unit/officer_barb_standard_200.cas, 30
model_flexi data/models_unit/officer_barb_standard_100.cas, 40
model_flexi data/models_unit/officer_barb_standard_70.cas, max
model_sprite 60.0, data/sprites/warband_woad_sprite.spr
model_sprite britons, 60.0, data/sprites/britons_warband_woad_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5
type celt_general
skeleton fs_dagger
skeleton_horse fs_hc_swordsman
skeleton_elephant fs_forest_elephant_rider
skeleton_chariot fs_chariot_sword
skeleton_camel fs_hc_swordsman
indiv_range 40
texture gauls, data/models_unit/textures/officer_barb_general_gaul.tga
texture britons, data/models_unit/textures/officer_barb_general_briton.tga
;texture spain, data/models_unit/textures/officer_celt_general_spain.tga ;SHOULD USE CARTHAGINIAN NOW?
model_flexi data/models_unit/officer_barb_general_high.CAS, 8
model_flexi data/models_unit/officer_barb_general_med.CAS, 15
model_flexi data/models_unit/officer_barb_general_low.CAS, 30
model_flexi data/models_unit/officer_barb_general_lowest.CAS, max
model_sprite 60.0, data/sprites/celt_general_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5
thì ghi đè vào giữa như sau:
type barb_standard
skeleton fs_standard_bearer
indiv_range 40
texture gauls, data/models_unit/textures/officer_barb_standard_gaul.tga
texture britons, data/models_unit/textures/officer_barb_standard_briton.tga
texture germans, data/models_unit/textures/officer_barb_standard_german.tga
texture dacia, data/models_unit/textures/officer_barb_standard_dacia.tga
texture scythia, data/models_unit/textures/officer_barb_standard_scythia.tga
model_flexi data/models_unit/officer_barb_standard_400.cas, 8
model_flexi data/models_unit/officer_barb_standard_300.cas, 15
model_flexi data/models_unit/officer_barb_standard_200.cas, 30
model_flexi data/models_unit/officer_barb_standard_100.cas, 40
model_flexi data/models_unit/officer_barb_standard_70.cas, max
model_sprite 60.0, data/sprites/warband_woad_sprite.spr
model_sprite britons, 60.0, data/sprites/britons_warband_woad_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5
type Spartan_Office_Hoplite
skeleton fs_s1_hoplite, fs_fast_swordsman
indiv_range 40
texture greek_cities, data/models_unit/textures/Spartan_Officer_Hoplite.tga
model_flexi_m data/models_unit/Spartan_Officer_Hoplite.cas, 8
model_flexi_m data/models_unit/Spartan_Officer_Hoplite.cas, 15
model_flexi data/models_unit/Spartan_Officer_Hoplite.cas, 30
model_flexi data/models_unit/Spartan_Officer_Hoplite.cas, 40
model_flexi data/models_unit/Spartan_Officer_Hoplite.cas, max
model_sprite 60.0, data/sprites/greek_hoplite_spartan_pylos_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5
type celt_general
skeleton fs_dagger
skeleton_horse fs_hc_swordsman
skeleton_elephant fs_forest_elephant_rider
skeleton_chariot fs_chariot_sword
skeleton_camel fs_hc_swordsman
indiv_range 40
texture gauls, data/models_unit/textures/officer_barb_general_gaul.tga
texture britons, data/models_unit/textures/officer_barb_general_briton.tga
;texture spain, data/models_unit/textures/officer_celt_general_spain.tga ;SHOULD USE CARTHAGINIAN NOW?
model_flexi data/models_unit/officer_barb_general_high.CAS, 8
model_flexi data/models_unit/officer_barb_general_med.CAS, 15
model_flexi data/models_unit/officer_barb_general_low.CAS, 30
model_flexi data/models_unit/officer_barb_general_lowest.CAS, max
model_sprite 60.0, data/sprites/celt_general_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5
Sau đó bạn vào phần
Spartan Office Hoplite trong Skin pack, copy file
.cas vào
Data/models_unit và
.tga(.dds) vào
data/models_unit/texture
Cuối cùng là vào file
export_descr_unit trong data, tìm unit mà bạn muốn add office, ví dụ là Spartan Hoplites, ở dưới phần soldier thìghi thêm dòng officer, sau đó là tên officer bạn muốn add trong file descr_model_battle. VD:
type greek hoplite spartan
dictionary greek_hoplite_spartan ; Spartan Hoplites
category infantry
class spearmen
voice_type Medium_1
soldier greek_hoplite_spartan_pylos, 40, 0, 1.3
attributes sea_faring, hide_forest, can_sap, very_hardy
formation 1, 1, 2, 2, 5, square, phalanx
stat_health 2, 0
stat_pri 16, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr spear, spear_bonus_8
stat_sec 13, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 9, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 2, 0, 0, 0
stat_mental 99, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 1190, 30, 120, 180, 1190
ownership greek_cities
sẽ thành:
type greek hoplite spartan
dictionary greek_hoplite_spartan ; Spartan Hoplites
category infantry
class spearmen
voice_type Medium_1
soldier greek_hoplite_spartan_pylos, 40, 0, 1.3
officer Spartan_Office_Hoplite
attributes sea_faring, hide_forest, can_sap, very_hardy
formation 1, 1, 2, 2, 5, square, phalanx
stat_health 2, 0
stat_pri 16, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr spear, spear_bonus_8
stat_sec 13, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 9, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 2, 0, 0, 0
stat_mental 99, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 1190, 30, 120, 180, 1190
ownership greek_cities
Thế là xong. Dùng tương tự với các officer khác.

---------- Post added at 13:54 ---------- Previous post was at 12:41 ----------
mà tiện thể hỏi về variag mod, bác VA chỉ em cách cài đặt được không:S
Em down về ko biết cài như thế nào chỉ dám lấy lính trong mod vứt vào vanilla chơi thôi :(