Floating weapon and no sound?
Moderator: Moderators
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Floating weapon and no sound?
I put in a Naboo soldier in my map, And when I play as him, his gun does not have any sound, and beside him, another copy of the gun is floating right there. How do you fix this?
-
The_Emperor
- Supreme Galactic Ruler
- Posts: 2118
- Joined: Sat Dec 10, 2005 6:30 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Waaaaay over there.
RE: Floating weapon and no sound?
Put "HudTag = "hud" in the guns odf, the floating gun will dissapear. And there's a missing sound tutorial in the how to section, I'm too lazy to post a link right now 
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
The_Emperor
- Supreme Galactic Ruler
- Posts: 2118
- Joined: Sat Dec 10, 2005 6:30 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Waaaaay over there.
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Ok, I did what you told me to do, but there is still that floating gun problem. Here is my gun's odf:
WeaponClass]
ClassParent = "com_weap_inf_rifle"
[Properties]
ScoreForMedalsType = -1
MedalsTypeToLock = -1
GeometryName = "gar_weap_inf_rifle"
OrdnanceName = "gar_weap_inf_rifle_ord"
//***********************************************
//*********** SOUND *********
//***********************************************
FireSound = "gar_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_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
"HudTag = "hud"
Waht's wrong??
WeaponClass]
ClassParent = "com_weap_inf_rifle"
[Properties]
ScoreForMedalsType = -1
MedalsTypeToLock = -1
GeometryName = "gar_weap_inf_rifle"
OrdnanceName = "gar_weap_inf_rifle_ord"
//***********************************************
//*********** SOUND *********
//***********************************************
FireSound = "gar_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_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
"HudTag = "hud"
Waht's wrong??
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
WeaponClass]
ClassParent = "com_weap_inf_rifle"
[Properties]
HUDTag = "hud"
ScoreForMedalsType = -1
MedalsTypeToLock = -1
GeometryName = "gar_weap_inf_rifle"
OrdnanceName = "gar_weap_inf_rifle_ord"
//***********************************************
//*********** SOUND *********
//***********************************************
FireSound = "gar_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_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
a) You had it in the sound section and
b) You sorta typed it wrong.
ClassParent = "com_weap_inf_rifle"
[Properties]
HUDTag = "hud"
ScoreForMedalsType = -1
MedalsTypeToLock = -1
GeometryName = "gar_weap_inf_rifle"
OrdnanceName = "gar_weap_inf_rifle_ord"
//***********************************************
//*********** SOUND *********
//***********************************************
FireSound = "gar_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_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
a) You had it in the sound section and
b) You sorta typed it wrong.
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
This is CrAzY... Ok, Is the odf file for the Naboo soldier's blaster rifle called... gar_weap_inf_rifle? I need to know that... and here is my odf file now:
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
[Properties]
HUDTag = "hud"
ScoreForMedalsType = -1
MedalsTypeToLock = -1
GeometryName = "gar_weap_inf_rifle"
OrdnanceName = "gar_weap_inf_rifle_ord"
//***********************************************
//*********** SOUND *********
//***********************************************
FireSound = "gar_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_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
Is there something wrong? Because there is still that floating gun!
Edit: should I add this in my gun's ord odf file?
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
[Properties]
HUDTag = "hud"
ScoreForMedalsType = -1
MedalsTypeToLock = -1
GeometryName = "gar_weap_inf_rifle"
OrdnanceName = "gar_weap_inf_rifle_ord"
//***********************************************
//*********** SOUND *********
//***********************************************
FireSound = "gar_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_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
Is there something wrong? Because there is still that floating gun!
Edit: should I add this in my gun's ord odf file?
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
dang, cleaning doesn't work either. Anyone have any suggestions?
Here is my odf file...again:
Here is my odf file...again:
Any problems?[WeaponClass]
ClassParent = "com_weap_inf_rifle"
[Properties]
HUDTag = "rep_weap_inf_rifle"
ScoreForMedalsType = -1
MedalsTypeToLock = -1
GeometryName = "gar_weap_inf_rifle"
OrdnanceName = "gar_weap_inf_rifle_ord"
//***********************************************
//*********** SOUND *********
//***********************************************
FireSound = "gar_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_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
