Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]Kar98k error while building mod
#11
Shouldnt texture file be .iwi iinstead .dds ?
[Image: lQDUjba.jpg]
Reply

#12
(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.
[Image: asgas.png]


(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?
[Image: asgasgas.png]
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
Reply

#13
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.
Reply

#14
(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.


I could be wrong, but I always use tga files for colormap in asset manager.
Bingo!!! Thanks.
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

[Image: asgags.png]

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
Reply

#15
go to the console (hit ~)
type /g_logsync 1
type /logfile 1
restart mod
check the games_mp.log in your mod directory
Reply

#16
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...

[Image: kar98.png]
Reply

#17
Finally i have my kar98k Big Grin, the problem was a setting at xmodel exporter to make the models bigger
[Image: sagasg.png]

[Image: asashash.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help error when run mod mr.apple 9 6,125 09-24-2013, 21:49
Last Post: Nekochan
  Help [C#] WebClient how to know real url [solved] narkos 21 11,878 09-09-2013, 15:21
Last Post: surtek
Information Help How to edit new derived entry? (Solved) SSonic70 1 2,488 08-20-2013, 15:29
Last Post: Nekochan
  Help COD mw3 Error Couln't load image 3_cursor3:s Paylgs 2 13,576 07-18-2013, 18:46
Last Post: Nekochan
  Mod Error! help please Brandeeno 2 3,787 07-11-2013, 21:06
Last Post: Brandeeno
  Help xkmod error Domino29 2 4,210 07-11-2013, 20:07
Last Post: Brandeeno
  Help mw3 addon error [HARD] Tony. 2 4,141 06-08-2013, 00:32
Last Post: master131
  Help Freaking weird error when starting server!!!! Misterio 5 4,483 04-23-2013, 01:47
Last Post: Misterio
  d3d9 error magnuze 3 4,029 04-09-2013, 14:26
Last Post: NyZzE
  Help Server Script Compile Error when loading ExtremeBunkerMaker lolmoon 3 3,673 04-09-2013, 03:11
Last Post: lolmoon

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.