hi all,
im a great fan of hayasdan (eb mod) but one thing bother me . hayasdan infantry does not have officers.
i just want to add hayasdan captain as an officer to the medium armenian swordsmen units.
do you know how to do it?
thx
hi all,
im a great fan of hayasdan (eb mod) but one thing bother me . hayasdan infantry does not have officers.
i just want to add hayasdan captain as an officer to the medium armenian swordsmen units.
do you know how to do it?
thx
The export_descr_unit.txt entry of units has one (or more) "officer" lines, where the name of officer model (as defined in descr_model_battle.txt) is defined. So, just see how otehr units with that officer are coded, and then add the appropriate line to the unit you want.
i copied the name of the officer model (ebofficer_dracones) from descr model .text to the export descr unit.text. the result is this:
type eastern infantry nakhararakan tiknapah
dictionary eastern_infantry_nakhararakan_tiknapah ; Nakhararakan Tiknapah
category infantry
class spearmen
voice_type General_1
soldier eastern_infantry_babylonian_nakhararakantiknapah, 30, 0, 1.22
officer ebofficer_dracones
mount_effect elephant -1
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1.2, 2.4, 4, 4, square
stat_health 1, 1
stat_pri 17, 8, no, 0, 0, melee, simple, piercing, spear, 0 ,0.13
stat_pri_attr light_spear
stat_sec 12, 8, no, 0, 0, melee, blade, slashing, sword, 0 ,0.225
stat_sec_attr no
stat_pri_armour 11, 11, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 0, 0, 0, -1
stat_mental 16, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 3081, 770, 70, 100, 3081
ownership romans_scipii
but when i do a custom battle i dont see the officer. i dont understand what is wrong
Following this line,is it possible to add officers,musicians or standard bearers to mounts????? I will experiment,but leave info here as idea for Oliver to use also.
Of course it is. I think just elephants and chariots can`t have them iirc.
If you don`t actually see the officer it probably means you`re editing the wrong unit entry in EDU. You also need to make sure the officer entry from DMB has texture(and maybe sprites) lines for the faction that the unit it is attached to belongs.but when i do a custom battle i dont see the officer. i dont understand what is wrong
i give an example:
i added hellenic officer to elite armenian spearmen:
i copied the hellenic officer from this file
type ebofficer_hellenic_officer
skeleton fs_fast_swordsman
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 romans_brutii, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_brutii.tga
texture romans_julii, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_julii.tga
texture numidia, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_numidia.tga
texture macedon, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_macedon.tga
texture greek_cities, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_greek.tga
texture thrace, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_thrace.tga
texture slave, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture carthage, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_carthage.tga
texture romans_scipii, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture britons, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture gauls, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture scythia, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture germans, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture pontus, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture armenia, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture egypt, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture saba, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture parthia, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture dacia, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture spain, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture seleucid, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
texture merc, eb/data/models_unit/textures/officers/ebofficer_hellenic_officer_sor_rebel.tga
model_flexi eb/data/models_unit/ebofficer_hellenic_officer_sor_high.cas, 15
model_flexi eb/data/models_unit/ebofficer_hellenic_officer_sor_high.cas, 30
model_flexi eb/data/models_unit/ebofficer_hellenic_officer_sor_high.cas, 40
model_flexi eb/data/models_unit/ebofficer_hellenic_officer_sor_high.cas, max
model_sprite 60.0, eb/data/sprites/officers/ebsprite_officer_all.spr
model_tri 400, 0.5f, 0.5f, 0.5
as u see the hellenic officer is available for hayasdan (roman scippi) and have a texture
then i pasted the hellenic officer to the edu towards elite armenian spearmen
we have this then
type eastern infantry aznavakan tiknapah
dictionary eastern_infantry_aznavakan_tiknapah ; aznavakan Tiknapah
category infantry
class spearmen
voice_type General_1
soldier eastern_infantry_babylonian_aznavakantiknapah, 30, 0, 1.22
officer ebofficer_hellenic_officer
mount_effect elephant -1
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1.2, 2.4, 4, 4, square
stat_health 1, 1
stat_pri 17, 8, no, 0, 0, melee, simple, piercing, spear, 0 ,0.13
stat_pri_attr light_spear
stat_sec 12, 8, no, 0, 0, melee, blade, slashing, sword, 0 ,0.225
stat_sec_attr no
stat_pri_armour 11, 11, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 0, 0, 0, -1
stat_mental 16, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 3081, 770, 70, 100, 3081
ownership romans_scipii
but i cant still see the officer in custom battle. im confused. what is wrong?
Last edited by OLIVIER; August 05, 2009 at 09:43 AM.
OK thanks Florin,I just wasn't sure...but will this weekend try. On Elephants you can't see an officer or any other well anyway so no probs there.
You may also be able to use the same DMB entry for both the mounted and dismounted officer if you don`t care that besides the mount, the officer looks identical. If you don`t, you just give skeletons to the officer in DMB for all types of situations, like it is set for the generals. And you don`t add any sprites. For the mounted standard bearer you`d have to use the eb animation because afaik it`s the only one that doesn`t require the model to be edited too.