Page 1 of 1

Problem with new weapon and icon. Solved!

Posted: Thu Jul 27, 2006 4:48 pm
by Moving_Target
Hey guys! I know this problem has been solved before, but at this moment i haven't found the topic. My problem is this...

Image

Anyone know how to fix this?

Model was made by: Moving Target
Model was put in-game: Murdocr

Thanks!

I found it! At...

http://www.gametoast.com/index.php?name ... pic&t=4770

But after reading Majin Revan said that it was only 50% complete.

RE: Problem with new weapon and icon. Solved! Sort of.

Posted: Thu Jul 27, 2006 5:06 pm
by Rekubot
I know you have to put hudtag= "hud" somewhere in an ODF file, but I'm not entirely sure where. I just stuck it in every part of the ODF and it worked fine for me ;). Penguin made a tutorial about it somewhere.

RE: Problem with new weapon and icon. Solved! Sort of.

Posted: Fri Jul 28, 2006 3:00 am
by Penguin
fix it with Hudtag = "<Anything here that isn't a .msh file>"

replace <Anything here that isn't a .msh file> with Anything that isn't a .msh file

RE: Problem with new weapon and icon. Solved! Sort of.

Posted: Fri Jul 28, 2006 8:43 am
by Moving_Target
Thanks! So what do i exactly change?
//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************

MuzzleFlash = "small_muzzle_flash"
FlashColor = "255 80 80 255"
FlashLength = 0.025
FlashColor = "255 100 100 255"
FlashLength = 0.025
FlashLightColor = "255 220 220 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"

RecoilLengthLight = "0.1"
RecoilLengthHeavy = "0.1"
RecoilStrengthLight = "1.0"
RecoilStrengthHeavy = "0.2"
RecoilDecayLight = "0.0"
RecoilDecayHeavy = "0.0"

FireSound = "rep_weap_inf_rifle_fire"
ReloadSound = "com_weap_inf_reload_med"
ChangeModeSound = "com_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
//ProneSound = "com_weap_inf_rifle_mvt_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"

Because i don't see a hudtag=

RE: Problem with new weapon and icon. Solved! Sort of.

Posted: Fri Jul 28, 2006 8:44 am
by Teancum
You add it.

RE: Problem with new weapon and icon. Solved! Sort of.

Posted: Fri Jul 28, 2006 8:44 am
by Penguin
you add it anywhere in the odf

if you want to understand what it does search for my tutorial on how to fix the hud

RE: Problem with new weapon and icon. Solved! Sort of.

Posted: Fri Jul 28, 2006 9:17 am
by Moving_Target
WEll that was simple. So if i add hugtag= rep_inf_default that will fix it? Thanks guys!

RE: Problem with new weapon and icon. Solved! Sort of.

Posted: Tue Aug 01, 2006 2:01 pm
by Qdin
hugtag? :P

haha - can't wait to see that code in action! :D :P :roll: :wink:

so it's fixed, or is there more problems? :wink:

RE: Problem with new weapon and icon. Solved! Sort of.

Posted: Tue Aug 01, 2006 2:12 pm
by Moving_Target
Sort of. Instead of typing rep_inf_default i typed the weapons names which failed because when i use the M24 i see teh M11-87 and vise-versa. So i'm now going to try the rep_inf_default. So i'll get a pic 4 you Qdin. Could someone tell me what name they use to make the icon go away? Or should i just type giberish?

Posted: Tue Aug 01, 2006 3:27 pm
by Moving_Target
Sorry Qdin no funny pic because it works. I typed in rep_inf_default and the icon disappears. If anyone can find out how to put the weapon back in teh correct icon please tell! Thanks everyone!

Posted: Wed Aug 02, 2006 2:47 am
by Penguin
you can't, theres no way at the moment, the only possibkle is 50% complete and complicated. my way just tells the game to go find a msh modle to display, but becouse the .msh model doesn't exist it doesn't display anything

say you have a custom weapon, and you do this in the odf

hudtag = "removehud"

the game will search for a msh in the msh folder of the side called "removehud" but doesn't find one so nothing is displayed


if youn had it like this

hudtag = "rep_inf_rifle"

then it would display the republic rifle next to the person again