Log in

View Full Version : model_flexi problem



MButcher
04-04-2010, 21:41
I've made Hypaspistai recruitable for the Ptolemaioi. I've done the usual things, tweaking the EDU, EDB and descr_model_battle. But when I go to play a battle with them I get the following error:

"Script error in eb/data/descr_model_battle.txt, at line 5765, column 1.

Must add at least one flexi skin model to a declared model group."


Here is my entry for the Hypaspistai:

; Hellenistic infantry - Hypaspistai / Massiloi Hoplitai

type hellenistic_infantry_hypaspistai_massiloi_hoplitai
skeleton fs_swordsman_barb_slash, fs_o_f_spearman ; combat spear
indiv_range 40
texture macedon,
eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hypaspistai_agart_macedon.tga
texture romans_julii, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hypaspistai_agart_julii.tga
texture numidia,
eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hypaspistai_agart_julii.tga
texture thrace, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hypaspistai_antiochus_epiphanes_thrace.tga
texture slave, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_massiloi_hoplitai_forgus_regional.tga
texture greek_cities, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_massiloi_hoplitai_forgus_regional.tga
texture scythia, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_massiloi_hoplitai_forgus_regional.tga
texture gauls, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_massiloi_hoplitai_forgus_regional.tga
texture merc, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_massiloi_hoplitai_forgus_regional.tga
model_flexi eb/data/models_unit/ebhellenic_infantry_massiloi_hoplitai_hypaspistai_agart_high.cas, 15
model_flexi eb/data/models_unit/ebhellenic_infantry_massiloi_hoplitai_hypaspistai_agart_med.cas, 30
model_flexi eb/data/models_unit/ebhellenic_infantry_massiloi_hoplitai_hypaspistai_agart_low.cas, 40
model_flexi eb/data/models_unit/ebhellenic_infantry_massiloi_hoplitai_hypaspistai_agart_lowest.cas, max
model_sprite romans_julii, 60.0, eb/data/sprites/greek/ebsprite_greek_infantry_hypaspistai_julii.spr
model_sprite numidia, 60.0, eb/data/sprites/greek/ebsprite_greek_infantry_hypaspistai_julii.spr
model_sprite macedon, 60.0, eb/data/sprites/greek/ebsprite_greek_infantry_hypaspistai_all.spr
model_sprite thrace, 60.0, eb/data/sprites/greek/ebsprite_greek_infantry_hypaspistai_all.spr
model_sprite slave, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_massiloi_hoplitai_all.spr
model_sprite greek_cities, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_massiloi_hoplitai_all.spr
model_sprite scythia, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_massiloi_hoplitai_all.spr
model_sprite gauls, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_massiloi_hoplitai_all.spr
model_sprite merc, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_massiloi_hoplitai_all.spr
model_tri 400, 0.5f, 0.5f, 0.5f


Does anyone know how to solve this?

XSamatan
04-06-2010, 16:10
Are you starting EB with the Trivial Script? Then you have to change the edu found in "sp game edu backup" too.
You've got some spelling mistakes in your post, are they too in your descr_model_battle.txt? (there is a space between re and gional and _al and l.spr
Are you using notepad to edit the files?

XSamatan

MButcher
04-07-2010, 01:41
I've checked the descr_model_battle entry and the typos aren't there. I don't know why they appeared in my post. Yes I am using Notepad, should I use something else?

XSamatan
04-07-2010, 11:56
Notepad has its problems to get the format right in txt-files, so yes I would advice to use a free-ware alternative like Notepad++.
If the typos aren't in your file, I'll have at the moment no clue for you, I'll check the steps on my build.

XSamatan