Novellus
03-01-2009, 04:54
Greetings Modding Community,
I am Novellus. Today, I have spent several hours attempting to take a Vanilla RTW unit and change it into a unit from another mod (a Thorakitai Hoplitai unit from the Europa Barbarorum mod). It did not work.
So I then attempted to create a new unit, by modifying the EDU file and following the process that was in "Tutorial: Adding new units for beginners" (https://forums.totalwar.org/vb/showthread.php?t=51750) post, which was very useful.
In the end, I was able to have a recruitable Thorakite Hoplite, but it was not playable. By this, I mean that there was a CTD whenever it loaded up for a custom battle. Everything else was fine.
Here are the file names of the Europa Barbarorum models and textures:
MODELS:
ebhellenic_infantry_basilikon_agema_epikletoi_spw_high.CAS
ebhellenic_infantry_basilikon_agema_epikletoi_spw_med.CAS
ebhellenic_infantry_basilikon_agema_epikletoi_spw_low.CAS
ebhellenic_infantry_basilikon_agema_epikletoi_spw_lowest.CAS
TEXTURES:
ebhellenistic_infantry_epikletoi_hoplitai_spw_greek.tga
As for sprites, these were all I could locate:
ebsprite_greek_infantry_epikletoi_hoplitai_all.spr
ebsprite_greek_infantry_epikletoi_hoplitai_all_000.tga
ebsprite_greek_infantry_epikletoi_hoplitai_all_001.tga
ebsprite_greek_infantry_epikletoi_hoplitai_all_002.tga
ebsprite_greek_infantry_epikletoi_hoplitai_all_003.tga
My EDU currently looks like this:
type greek infantry epikletoi hoplitai
dictionary greek_infantry_epikletoi_hoplitai ; Thorakitai Hoplitai
category infantry
class spearmen
voice_type Medium_1
soldier hellenistic_infantry_basilikonagema_epikletoihoplitai_easternauxilia, 40, 0, 1.22
mount_effect elephant -1
attributes sea_faring, hide_forest
formation 0.76, 1, 2, 2.4, 4, square, phalanx
stat_health 1, 1
stat_pri 15, 6, no, 0, 0, melee, simple, piercing, spear, 0 ,0.13
stat_pri_attr light_spear
stat_sec 10, 6, no, 0, 0, melee, simple, slashing, sword, 0 ,0.11
stat_sec_attr ap
stat_pri_armour 12, 9, 3, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 0, 0, -3, -3
stat_mental 15, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1902, 478, 60, 90, 1902
ownership greek_cities
As for my DMB, it looks like this:
type hellenistic_infantry_basilikonagema_epikletoihoplitai_easternauxilia
skeleton fs_spearman, fs_swordsman ; combat spear
indiv_range 40
texture greek_cities, data/models_unit/textures/ebhellenistic_infantry_epikletoi_hoplitai_spw_greek.tga
model_flexi data/models_unit/ebhellenic_infantry_basilikon_agema_epikletoi_spw_high.cas, 15
model_flexi data/models_unit/ebhellenic_infantry_basilikon_agema_epikletoi_spw_med.cas, 30
model_flexi data/models_unit/ebhellenic_infantry_basilikon_agema_epikletoi_spw_low.cas, 40
model_flexi data/models_unit/ebhellenic_infantry_basilikon_agema_epikletoi_spw_lowest.cas, max
model_sprite greek_cities, data/sprites/ebsprite_hellenistic_infantry_epikletoi_hoplitai_greek_cities.spr
model_tri 400, 0.5f, 0.5f, 0.5f
Anyway, I have browsed the forums, hoping that I wouldn't have to resort to posting and wasting the valuable time of modders who actually know what they're doing. It is just bothering me at the moment how the EB Team is able to have the unit function properly when in the game, and I cannot get it to work outside of it in Vanilla RTW.
Thank you. I hope I have enough information here for someone to see any errors that can be fixed on the spot.
I am Novellus. Today, I have spent several hours attempting to take a Vanilla RTW unit and change it into a unit from another mod (a Thorakitai Hoplitai unit from the Europa Barbarorum mod). It did not work.
So I then attempted to create a new unit, by modifying the EDU file and following the process that was in "Tutorial: Adding new units for beginners" (https://forums.totalwar.org/vb/showthread.php?t=51750) post, which was very useful.
In the end, I was able to have a recruitable Thorakite Hoplite, but it was not playable. By this, I mean that there was a CTD whenever it loaded up for a custom battle. Everything else was fine.
Here are the file names of the Europa Barbarorum models and textures:
MODELS:
ebhellenic_infantry_basilikon_agema_epikletoi_spw_high.CAS
ebhellenic_infantry_basilikon_agema_epikletoi_spw_med.CAS
ebhellenic_infantry_basilikon_agema_epikletoi_spw_low.CAS
ebhellenic_infantry_basilikon_agema_epikletoi_spw_lowest.CAS
TEXTURES:
ebhellenistic_infantry_epikletoi_hoplitai_spw_greek.tga
As for sprites, these were all I could locate:
ebsprite_greek_infantry_epikletoi_hoplitai_all.spr
ebsprite_greek_infantry_epikletoi_hoplitai_all_000.tga
ebsprite_greek_infantry_epikletoi_hoplitai_all_001.tga
ebsprite_greek_infantry_epikletoi_hoplitai_all_002.tga
ebsprite_greek_infantry_epikletoi_hoplitai_all_003.tga
My EDU currently looks like this:
type greek infantry epikletoi hoplitai
dictionary greek_infantry_epikletoi_hoplitai ; Thorakitai Hoplitai
category infantry
class spearmen
voice_type Medium_1
soldier hellenistic_infantry_basilikonagema_epikletoihoplitai_easternauxilia, 40, 0, 1.22
mount_effect elephant -1
attributes sea_faring, hide_forest
formation 0.76, 1, 2, 2.4, 4, square, phalanx
stat_health 1, 1
stat_pri 15, 6, no, 0, 0, melee, simple, piercing, spear, 0 ,0.13
stat_pri_attr light_spear
stat_sec 10, 6, no, 0, 0, melee, simple, slashing, sword, 0 ,0.11
stat_sec_attr ap
stat_pri_armour 12, 9, 3, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 0, 0, -3, -3
stat_mental 15, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 1902, 478, 60, 90, 1902
ownership greek_cities
As for my DMB, it looks like this:
type hellenistic_infantry_basilikonagema_epikletoihoplitai_easternauxilia
skeleton fs_spearman, fs_swordsman ; combat spear
indiv_range 40
texture greek_cities, data/models_unit/textures/ebhellenistic_infantry_epikletoi_hoplitai_spw_greek.tga
model_flexi data/models_unit/ebhellenic_infantry_basilikon_agema_epikletoi_spw_high.cas, 15
model_flexi data/models_unit/ebhellenic_infantry_basilikon_agema_epikletoi_spw_med.cas, 30
model_flexi data/models_unit/ebhellenic_infantry_basilikon_agema_epikletoi_spw_low.cas, 40
model_flexi data/models_unit/ebhellenic_infantry_basilikon_agema_epikletoi_spw_lowest.cas, max
model_sprite greek_cities, data/sprites/ebsprite_hellenistic_infantry_epikletoi_hoplitai_greek_cities.spr
model_tri 400, 0.5f, 0.5f, 0.5f
Anyway, I have browsed the forums, hoping that I wouldn't have to resort to posting and wasting the valuable time of modders who actually know what they're doing. It is just bothering me at the moment how the EB Team is able to have the unit function properly when in the game, and I cannot get it to work outside of it in Vanilla RTW.
Thank you. I hope I have enough information here for someone to see any errors that can be fixed on the spot.