i try to put some new units to the game and i donīt know what about sprites and CAS files. i heard that game generate them automaticly but must i add them before or what?
sorry if it is in no correct forum.
i try to put some new units to the game and i donīt know what about sprites and CAS files. i heard that game generate them automaticly but must i add them before or what?
sorry if it is in no correct forum.
Cas files are 3D models for units. Sprites are 2D images for units that will be used while looking unit at long distances. Sprites are used to reduce image calculations for making game faster since 2D images requires less calculations than 3Ds.
Hope this helps.
thanks. but must i create sprites, or only make folder, named it and the picture will be automaticly generate?
visitor, there is a program called Sprite Generator but I never used it before. Here, Sebulba's answer expalains how to make sprites for units.
Hope it helps
thanks, boys. the program seems good. iīll try it.
when i add new units to descr_model_battle.txt must be there for new unit be _sprite.spr or without? like: saxons_BI_saxon_general_sprite.spr
or: saxons_BI_saxon_general
and if i do any little changes on textures of existing units, must i generate new sprites for it too?
Last edited by Keyser Soze; December 21, 2008 at 03:29 AM.
If you change very little I think you dont need to generate sprite again. However, every new unit need sprites.otherwise it will be invisible at some distance.
o.k. but you wrote me that units have usually 1-4 sprites.tga
and for me it generate only one 000.tga, no 001.tga, no 002. tga. will it be problem in game to have only 000.tga?
sorry if i canīt explain exactly my problem.
Hi,
I have followed the instructions that KLA and Sebulba wrote, but the sprites donīt work. I mean, once i have obtained the sprites, put the new sprite line in descr_model_battle.txt and started a new battle with the unit that suppose to have the new sprites, they simply donīt appear: when zoom the image, the unit turns invisible.
are there common errors in this process? what I should have to do?
Please help me.
Hi again, it doesnīt work. I replaced the file but nothing. The only tga file that is generated is empty, it doesnīt have any model inside. Iīm trying to generate a sprite for a mercenary unit, so in the sprite_script.txt file I write: "gallic_heavy_infantry merc".
Gallic_heavy_infantry is the "type" in my descr_model_battle.txt and there is just a texture for that model.
Any suggestion?
So, i have to write "gallic_heavy_infantry no_faction iirc" or
"gallic_heavy_infantry no_faction"?
Thank you very much Aradan.
lol, iirc is the acronym for If I Recall Correctly.
You need to replace "merc" with "no_faction".
Here, read this: http://www.twcenter.net/forums/showt...45#post4065345