View Full Version : Unit changes not showing
Twichy_boy
01-09-2007, 05:50
:help: hello this is my first post, Yesterday i DL'ed a bunch of required items for skinning, and that whole X pak thing i went through 3 different skinning tatorials and finally changed a Skin, but after i saved, And tested it on my game, the changes didnt work, i dont know what is wrong, can anyone help?
wlesmana
01-09-2007, 06:45
If you named the changed skin the same name as the original, then it would not work since the game would look in the pack file first, found the original and uses that instead. You'll need to use a different name for your new skin, then change the skin name in descr_models_battle.txt for that unit also.
Twichy_boy
01-09-2007, 08:19
ohh I so my changed skin has to be a different name, that makes sence, but when i tried it in my game the game just quited out here is what is what i put in the descr_models_battle.txt
type carthaginian_infantry ; combat spear
skeleton fs_swordsman
indiv_range 40
texture carthage, data/Packs/Data/Models_Unit/Textures/unit_carthage_infantryreskinned.tga
texture spain, data/models_unit/textures/unit_carthage_infantry_spain.tga
texture slave, data/models_unit/textures/unit_carthage_infantry_rebel.tga
model_flexi data/models_unit/unit_carthage_infantry_high.cas, 15
model_flexi data/models_unit/unit_carthage_infantry_med.cas, 30
model_flexi data/models_unit/unit_carthage_infantry_low.cas, 40
model_flexi data/models_unit/unit_carthage_infantry_lowest.cas, max
model_sprite slave, 60.0, data/sprites/slave_carthaginian_infantry_sprite.spr
model_sprite spain, 60.0, data/sprites/spain_carthaginian_infantry_sprite.spr
model_sprite carthage, 60.0, data/sprites/carthage_carthaginian_infantry_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
I didnt change anything besides the texture for carthage
wlesmana
01-09-2007, 16:52
Put the new skin into Data/models_unit/textures
If there is no such folder, you must make them.
Then the entry should be:
type carthaginian_infantry ; combat spear
skeleton fs_swordsman
indiv_range 40
texture carthage, data/models_unit/textures/unit_carthage_infantryreskinned.tga
texture spain, data/models_unit/textures/unit_carthage_infantry_spain.tga
texture slave, data/models_unit/textures/unit_carthage_infantry_rebel.tga
model_flexi data/models_unit/unit_carthage_infantry_high.cas, 15
model_flexi data/models_unit/unit_carthage_infantry_med.cas, 30
model_flexi data/models_unit/unit_carthage_infantry_low.cas, 40
model_flexi data/models_unit/unit_carthage_infantry_lowest.cas, max
model_sprite slave, 60.0, data/sprites/slave_carthaginian_infantry_sprite.spr
model_sprite spain, 60.0, data/sprites/spain_carthaginian_infantry_sprite.spr
model_sprite carthage, 60.0, data/sprites/carthage_carthaginian_infantry_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
Twichy_boy
01-10-2007, 01:33
Ok so far ive got it so it wont quit the game during a load, but the changes ive made to the skin arnt showing up,
type carthaginian_infantry ; combat spear
skeleton fs_swordsman
indiv_range 40
texture texture carthage, data/models_unit/textures/unit_carthage_infantryreskinned.tga
texture spain, data/models_unit/textures/unit_carthage_infantry_spain.tga
texture slave, data/models_unit/textures/unit_carthage_infantry_rebel.tga
model_flexi data/models_unit/unit_carthage_infantry_high.cas, 15
model_flexi data/models_unit/unit_carthage_infantry_med.cas, 30
model_flexi data/models_unit/unit_carthage_infantry_low.cas, 40
model_flexi data/models_unit/unit_carthage_infantry_lowest.cas, max
model_sprite slave, 60.0, data/sprites/slave_carthaginian_infantry_sprite.spr
model_sprite spain, 60.0, data/sprites/spain_carthaginian_infantry_sprite.spr
model_sprite carthage, 60.0, data/sprites/carthage_carthaginian_infantry_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
Am i supposed to repack the xpack files or somthing, cuz dispite everything ive tried the changes dont show up
Makanyane
01-10-2007, 01:51
If that's your current version you've got texture written twice
on same line:
texture texture carthage,
otherwise it looks like it should work but its a long time since I did stuff in RTW.
Twichy_boy
01-10-2007, 02:39
That was...odd after i got rid of the second "texture" line it went back to closing the game on me,
could it have to do with the Pak files i never repacked?
SSJVegetaTrunks
01-10-2007, 03:12
Perhaps since it couldn't read it the first time, it decided to ignore it so that it didn't show up in the game. Then, when you fixed it, it is reading it but there is another problem.
Are you using -show_err?
Twichy_boy
01-10-2007, 03:37
What is show_err?
Always use it! Here's a link (http://www.twcenter.net/forums/showthread.php?t=23398) to a TWC post that explains a bunch of command line switches, including show_err.
Twichy_boy
01-10-2007, 15:57
I think i just forgot to save it as
unit_carthage_infantryreskinned.tga.dds
cuz i reskinned another unit and now he works
Thx for the help,
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.