View Full Version : Weapon keeps locking up
8th Oct 2001, 10:04 AM
I have a problem with my weapon, the railgun.
Some folks don't want the altfire to be anything, and some want a sniperzoom.
To satisfy both sides, I'm gonna make this an option.
The problem is that the weapon locks up if i don't have any altfire functions or if they dont do anything (don't return anything)
I've note encountered this problem when using then zoom for altfire, but when I remove the altfire function altogether.
The locking happens when someone fires, then holds down altfire while the fire animation is played.
Then it's stuck, (don't use the Idla anim or anything) and you must toss the weapon and pick it up again to make it work (you can't even switch weapons...)
8th Oct 2001, 10:44 AM
try making it so the alt fire is the same as primary when the scope option is not enabled. That should reduce, if not eliminate the lockups
function AltFire(float Blah);
..locks up the weapon? Somehow I doubt it...seems like there must be an error elsewhere in your weapon to be causing this kind of problem.
9th Oct 2001, 08:01 PM
ive gotten the same problem. I think it has to do with animations and stuff like that... try putting Ignores Fire, Altfire; in the AltFiring state... that usually fixed things for me... i think? i cant really remember, but its something really stupid like that.
9th Oct 2001, 08:55 PM
Hmm, could you describe this a bit more, it sounds interesting.
What would I use to ignore altfire until the firing animation is over?
10th Oct 2001, 03:12 AM
We need more people that can help us.
Sound+Voices And Map Designers.
It's a very big project and i'm busy with the website.
e-mail is (email@example.com)
26th Oct 2001, 11:33 PM
#1 There is a section to advertising, so post your help wanted there. (to the last post before this)
#2 The altfire needs to do -something-. it has to do with states. if you are clever with states you can make a blank altfire quite easily, if not, the weapon enters the do nothing state and never leaves it. a simple fix is to make it like the normal fire, but instead of shooting, simply make it paly a 'click' sound and a slight animtion. From my experience, the sound and animation are key, (well animation at least) as otherwise the weapon locks up as before. To make the weapon use normal fire for altfire, simply make it go:
function AltFire(Float Value)
#3 I am willing to trade material of a finished nature. I have a full railgun weapon that was eventually going to become a mutator type object (instagib) for our updcoming project, but i would be more than willing to trade the weapon, and a very pretty particle spiral (QII style, non cheesy mesh based (:P to the UE4T one), and framerate friendly). Heck, it even comes with a choice of three scrapped 'railgun models' if you want, so if you are interested in a trade (of any sort, code, models, mapping, etc) then you can reach me at: firstname.lastname@example.org
vBulletin® v3.8.7, Copyright ©2000-2015, vBulletin Solutions, Inc.