Problem with new weapon and icon. Solved!

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Moving_Target
Master Bounty Hunter
Master Bounty Hunter
Posts: 1670
Joined: Sat Oct 22, 2005 10:16 pm
Location: Here

Problem with new weapon and icon. Solved!

Post 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.
Last edited by Moving_Target on Tue Aug 01, 2006 3:32 pm, edited 1 time in total.
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

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

Post 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.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

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

Post 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
Moving_Target
Master Bounty Hunter
Master Bounty Hunter
Posts: 1670
Joined: Sat Oct 22, 2005 10:16 pm
Location: Here

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

Post 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=
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

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

Post by Teancum »

You add it.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

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

Post 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
Moving_Target
Master Bounty Hunter
Master Bounty Hunter
Posts: 1670
Joined: Sat Oct 22, 2005 10:16 pm
Location: Here

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

Post by Moving_Target »

WEll that was simple. So if i add hugtag= rep_inf_default that will fix it? Thanks guys!
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

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

Post 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:
Moving_Target
Master Bounty Hunter
Master Bounty Hunter
Posts: 1670
Joined: Sat Oct 22, 2005 10:16 pm
Location: Here

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

Post 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?
Moving_Target
Master Bounty Hunter
Master Bounty Hunter
Posts: 1670
Joined: Sat Oct 22, 2005 10:16 pm
Location: Here

Post 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!
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Post 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
Post Reply