I really, really need help!! How to use new units?
I have maked a unit in 3ds max. And tryes to get in BI. But the game always ctd :(
Here is the model description in descr_model_battle:
type n_landsmen ;
;--------------------------------------
skeleton fs_spearman
indiv_range 40
texture celts, BI/data/models_unit/textures/SCTW/norse/n_landsmen
model_flexi bi/data/models_unit/n_landsmen
model_flexi bi/data/models_unit/n_landsmen
model_flexi bi/data/models_unit/n_landsmen
model_flexi bi/data/models_unit/n_landsmen
;model_sprite 60.0, data/sprites/romans_julii_roman_peasant_sprite.spr
model_sprite celts, 60.0, bi/data/sprites/slave_steppe_spearmen_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
I always get message about that the file doesn't exist :(
Here is a screen shot of the error message:
https://img68.imageshack.us/img68/8759/utennavney8.png
Plz help me!!!!
Re: I really, really need help!! How to use new units?
You don't seem to have enough of the file name in the DMB entries
the texture line should end .tga (even though the file should be .tga.dds)
and the model line should end .cas
have a closer look at the other existing entries and you should see what I mean.
Re: I really, really need help!! How to use new units?
Still getting a error. Created copys of the main CAS file and named them as lod 1- 4
The new model_battle
type n_landsmen ;
;--------------------------------------
skeleton fs_spearman
indiv_range 40
texture celts, BI/data/models_unit/textures/SCTW/norse/n_landsmen.tga
model_flexi bi/data/models_unit/n_landsmen_lod1.cas, 15
model_flexi bi/data/models_unit/n_landsmen_lod2.cas, 30
model_flexi bi/data/models_unit/n_landsmen_lod3.cas, 40
model_flexi bi/data/models_unit/n_landsmen_lod4.cas, max
;model_sprite 60.0, data/sprites/romans_julii_roman_peasant_sprite.spr
model_sprite celts, 60.0, bi/data/sprites/slave_steppe_spearmen_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
Re: I really, really need help!! How to use new units?
Well first of all the entry you are looking at doesn't seem to be the problem as the texture it's refering to isn't the one in the entry. Also to make things easier for us to look at make sure you enclose any code in a code tag (['code][/code] without the quote).
Re: I really, really need help!! How to use new units?
Thanks, got it done :D
It only shows the cloacks, but that is another problem ;)
I think that is some bones errors :(
Re: I really, really need help!! How to use new units?
Quote:
model_flexi bi/data/models_unit/n_landsmen_lod1.cas, 15
model_flexi bi/data/models_unit/n_landsmen_lod2.cas, 30
model_flexi bi/data/models_unit/n_landsmen_lod3.cas, 40
model_flexi bi/data/models_unit/n_landsmen_lod4.cas, max
Do you actually have four Lods? This seems to be your error perhaps.