i want to mae a melee sniper rifle but there is a lightsaber fire sticking out the end of it when i use it how do i get ride of that???
here is the odf
[WeaponClass]
ClassLabel = "melee"
[Properties]
IconTexture = "IMP_sniperrifle_icon"
GeometryName = "rep_weap_inf_sniperrifle"
HighResGeometry = "rep_1st_weap_inf_sniperrifle"
AnimationBank = "lightsabre"
MuzzleFlash = ""
Discharge = ""
RoundsPerClip = "0"
ReloadTime = "0.0"
HeatPerShot = "0.0"
HeatRecoverRate = "0.0"
HeatThreshold = "0.0"
//ReloadSound = "laserreload"
//ChangeModeSound = "com_weap_inf_blaster_rifle_modechange"
HitSound = "imp_weap_lightsabre_hit"
//DeflectSound = "imp_weap_lightsabre_deflect"
//WeaponChangeSound = "com_weap_inf_laser_weaponchange"
LockOnRange = "60.0"
LockTime = "0.4"
AutoAimSize = "1.0"
Damage = "250.0"
MinRange = "0"
OptimalRange = "2.0"
MaxRange = "4"
FirePointName = "hp_fire"
SwingTime = "0.7 0.5 imp_weap_lightsabre"
Texture = "yellowlightsabre"
Add // before the line "Texture = "yellowlightsabre"
Yup, what JK said.
Explanation:
The lightsaber that's coming out is the texture in this situation. Now that you've taken it out, your sniperrifle will be a lightsaber (which looks exactly like a melee attack) :D
Using // makes it a comment (useful for documentation). So you can put stuff like this anywhere:
//I AM THE GREATEST MODDER EVAR!!1!!!1!
When it munges, it will just ignore these comments.
It's better than deleting a whole line because if you ever make a mistake, you can re-enable it by deleting the //
thanks that works great aso is there a way to make it have kinda a sheeew sorta sound insted of the lightsaber sound i know how to change it i just want suggustions.
making a SMACK sound? :mad: :whip:
um sorta more like a swooshing sound
What ever troop or ship that has a sound you like might contain in odfs associated what you are looking for.
(https://www.swbfgamers.com/proxy.php?request=http%3A%2F%2Fvideo.xfire.com%2F6f01b-4.jpg&hash=68019c19d9c54effbf7e2d4d8934b208038488a0) (http://www.xfire.com/video/6f01b/)
That almost looked like BF1 to me, does the make your making have AI hero support?
That was BF1.