Epistolary Richard
02-26-2005, 02:39
Sorry if this has been asked and answered already, but here's my issue:
I'm trying to put a German peasant within a Gaul warband.
There is no separate German peasant model in descr_model_battle, instead there is:
type barb_peasant
skeleton fs_dagger
indiv_range 40
texture gauls, data/models_unit/textures/unit_barb_infantry_gaul.tga
texture britons, data/models_unit/textures/unit_barb_infantry_briton.tga
texture germans, data/models_unit/textures/unit_barb_infantry_german.tga
texture dacia, data/models_unit/textures/unit_barb_infantry_dacia.tga
texture scythia, data/models_unit/textures/unit_barb_infantry_scythia.tga
texture slave, data/models_unit/textures/unit_barb_infantry_slave.tga
model_flexi data/models_unit/unit_barb_peasant_high.cas, 8
model_flexi data/models_unit/unit_barb_peasant_med.cas, 15
model_flexi data/models_unit/unit_barb_peasant_low.cas, 30
model_flexi data/models_unit/unit_barb_peasant_lowest.cas, max
model_sprite 60.0, data/sprites/barb_peasant_sprite.spr
model_sprite slave, 60.0, data/sprites/slave_barb_peasant_sprite.spr
model_sprite scythia, 60.0, data/sprites/scythia_barb_peasant_sprite.spr
model_sprite dacia, 60.0, data/sprites/dacia_barb_peasant_sprite.spr
model_sprite britons, 60.0, data/sprites/britons_barb_peasant_sprite.spr
model_sprite germans, 60.0, data/sprites/germans_barb_peasant_sprite.spr
model_sprite gauls, 60.0, data/sprites/gauls_barb_peasant_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
So if I add the barb_peasant type to the Gaul warband I get a Gaul peasant.
I've therefore tried to define a new type for this purpose:
type barb_peasant_germ
skeleton fs_dagger
indiv_range 40
texture gauls, data/models_unit/textures/unit_barb_infantry_german.tga
model_flexi data/models_unit/unit_barb_peasant_high.cas, 8
model_flexi data/models_unit/unit_barb_peasant_med.cas, 15
model_flexi data/models_unit/unit_barb_peasant_low.cas, 30
model_flexi data/models_unit/unit_barb_peasant_lowest.cas, max
model_sprite gauls, 60.0, data/sprites/germans_barb_peasant_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
And added barb_peasant_germ to the first officer slot in the Gaul warband. But the game now does not load.
I can leave barb_peasant_germ in descr_model_battle okay, but any reference to it in export_descr_unit causes a failure on loading.
Can anyone tell me what I'm doing wrong?
Many thanks.
I'm trying to put a German peasant within a Gaul warband.
There is no separate German peasant model in descr_model_battle, instead there is:
type barb_peasant
skeleton fs_dagger
indiv_range 40
texture gauls, data/models_unit/textures/unit_barb_infantry_gaul.tga
texture britons, data/models_unit/textures/unit_barb_infantry_briton.tga
texture germans, data/models_unit/textures/unit_barb_infantry_german.tga
texture dacia, data/models_unit/textures/unit_barb_infantry_dacia.tga
texture scythia, data/models_unit/textures/unit_barb_infantry_scythia.tga
texture slave, data/models_unit/textures/unit_barb_infantry_slave.tga
model_flexi data/models_unit/unit_barb_peasant_high.cas, 8
model_flexi data/models_unit/unit_barb_peasant_med.cas, 15
model_flexi data/models_unit/unit_barb_peasant_low.cas, 30
model_flexi data/models_unit/unit_barb_peasant_lowest.cas, max
model_sprite 60.0, data/sprites/barb_peasant_sprite.spr
model_sprite slave, 60.0, data/sprites/slave_barb_peasant_sprite.spr
model_sprite scythia, 60.0, data/sprites/scythia_barb_peasant_sprite.spr
model_sprite dacia, 60.0, data/sprites/dacia_barb_peasant_sprite.spr
model_sprite britons, 60.0, data/sprites/britons_barb_peasant_sprite.spr
model_sprite germans, 60.0, data/sprites/germans_barb_peasant_sprite.spr
model_sprite gauls, 60.0, data/sprites/gauls_barb_peasant_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
So if I add the barb_peasant type to the Gaul warband I get a Gaul peasant.
I've therefore tried to define a new type for this purpose:
type barb_peasant_germ
skeleton fs_dagger
indiv_range 40
texture gauls, data/models_unit/textures/unit_barb_infantry_german.tga
model_flexi data/models_unit/unit_barb_peasant_high.cas, 8
model_flexi data/models_unit/unit_barb_peasant_med.cas, 15
model_flexi data/models_unit/unit_barb_peasant_low.cas, 30
model_flexi data/models_unit/unit_barb_peasant_lowest.cas, max
model_sprite gauls, 60.0, data/sprites/germans_barb_peasant_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
And added barb_peasant_germ to the first officer slot in the Gaul warband. But the game now does not load.
I can leave barb_peasant_germ in descr_model_battle okay, but any reference to it in export_descr_unit causes a failure on loading.
Can anyone tell me what I'm doing wrong?
Many thanks.