Inside3D!
     

"Stored" sound glitch?

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Wed Jun 30, 2010 5:30 am    Post subject: "Stored" sound glitch? Reply with quote

Ok so i got added melee to my mod(bots can melee too) and if the melee kills a player it wont play the hit sound, it'll play the player death sound which is ok i guess. But the next time i get shot by anything nail, or trace attack the melee punch sound gets carried over. So when i get shot it actually sounds like i got punched. This happens to the one who died from the melee btw. If you die from melee, the next hurt sound after you spawn is the melee hit.
Back to top
View user's profile Send private message
leileilol



Joined: 15 Oct 2004
Posts: 1321

PostPosted: Wed Jun 30, 2010 5:46 am    Post subject: Reply with quote

other.axhitme = 0; // you'd better set that
_________________
Back to top
View user's profile Send private message
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Wed Jun 30, 2010 6:06 am    Post subject: Reply with quote

hmm it was a copied fireaxe code so i know its not that. But since you mentioned it, i took a different approach. i deleted trace_ent.axehitme = 1. and instead if it hits the player it makes the sound. almost like gunfire, but only if trace_ent.takedamage is true. So now i get the melee hit AND the player death sound and it doesnt carry over. Thanks for mentioning that leileilol, even though i ran the other way with it lol.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group