Tình hình ntn. Đang tính thay 1 mấy unit của ô phânnhtom vô (cái link ở post 1)
Lấy vd DV archer
Trong cái descr_model_battle như vầy. Nghi ngờ là sai 2 cái này. Mà nếu sai 2 cái đấy thật thì tui pó tay vì chỉnh mấy cái unit của cha modder cũng 0 cần 2 cái .spr đó
type viet_archer
skeleton fs_s1_semi_fast_archer, fs_semi_fast_dagger
indiv_range 40
texture greek_cities, xgm/Data/models_unit/nvn/textures/DaiVietArchers.tga
texture slave, xgm/Data/models_unit/nvn/textures/DaiVietArchers.tga
model_flexi xgm/data/models_unit/nvn/VietnameseArcher_cw.cas, max
model_sprite slave, 60.0, data/sprites/seleucid_greek_archer_sprite.spr
model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_archer_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
descr_unit thì như vầy
type viet archer
dictionary viet_archer ; Archers
category infantry
class missile
voice_type Light_1
soldier greek_archer, 40, 0, 0.8
attributes sea_faring, hide_forest, can_sap
formation 1.6, 2, 3.2, 4, 4, square
stat_health 1, 0
stat_pri 7, 1, arrow, 120, 25, missile, archery, piercing, none, 25 ,1.0 ; Ranged
stat_pri_attr no
stat_sec 5, 1, no, 0, 0, melee, simple, piercing, knife, 25 ,1.0 ; Dagger
stat_sec_attr no
stat_pri_armour 0, 4, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 2, 0, 3, 0
stat_mental 8, normal, highly_trained
stat_charge_dist 30 ; Foot
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 710, 350, 50, 100, 710
ownership greek_cities
0 hiểu sao khi vô game thì nó hiện ra hình thằng cung của greek =.=. Sai chỗ nào chỉ dùm tui cái