07-29-2011, 21:37
Pages: 1 2
07-29-2011, 21:48
(07-29-2011, 21:31)deadcrayon Wrote: [ -> ]Looks like its not making the material, shouldn't you be using .tga files for colormap?What do u mean? convert the .dds to .tga. Here are the materials at hypershade.
(07-29-2011, 21:37)OrangePL Wrote: [ -> ]Shouldnt texture file be .iwi iinstead .dds ?
Dunno i when i exported the model i got only the lod01 and also the .dds file.
I forgot to ask if someone knows what's that generated .html page for?
Thanks!!
More information relating to materials at the generated weapon_ger_kar98_rifle_LOD01.mtl. Any idea?
newmtl mtl_weapon_kar98
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd ../images/weapon_kar98_c.dds
Ni 1.00
newmtl mtl_weapon_kar98_wood
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd ../images/weapon_kar98_c.dds
Ni 1.00
07-29-2011, 22:32
When you create the material in asset manager, it has to be tga for colormap because tga is r8g8b8 and dds is not.
I could be wrong, but I always use tga files for colormap in asset manager.
I could be wrong, but I always use tga files for colormap in asset manager.
07-29-2011, 22:41
(07-29-2011, 22:32)deadcrayon Wrote: [ -> ]When you create the material in asset manager, it has to be tga for colormap because tga is r8g8b8 and dds is not.Bingo!!! Thanks.
I could be wrong, but I always use tga files for colormap in asset manager.
Code:
Updating timestamps...done
Converting 1 assets, reason: 'missing cache entry'
Converting pc specific 'mtl_weapon_kar98_wood1' (material 1 of 1)...
Converting 1 assets, reason: 'entry changed'
Converting 'mtl_weapon_kar98_wood1' (material 1 of 1)...
Conversion done. Hit key to continue.
I put this on my mod.csv, no compiling errors but when loading the mod in game it crash.
Code:
sound,default_mymod
xmodel,weapon_kar98k_mp
xmodel,viewmodel_kar98k_mp
weapon,mp\mosin_sp
weapon,mp\kar98k_mp
weapon,mp\tokarevtt30_sp
rawfile,myWhitelist.cfg
Got it, i can see now at asset viewer correctly, but game is crashing when loading the mod. Can someone explain please? Thanks
Also there is any form to read the crash error? i got blackscreen
07-30-2011, 07:22
go to the console (hit ~)
type /g_logsync 1
type /logfile 1
restart mod
check the games_mp.log in your mod directory
type /g_logsync 1
type /logfile 1
restart mod
check the games_mp.log in your mod directory
07-30-2011, 11:12
Got it working, but not as expected xD. I created an images folder inside the main folder of my mod and then it didnt give any problem loading the mod. Hope i can fix the scale of the gun because is too small...
07-30-2011, 14:39
Finally i have my kar98k , the problem was a setting at xmodel exporter to make the models bigger
Pages: 1 2