Screen shake when shooting
Moderator: InsideQC Admins
7 posts
• Page 1 of 1
Screen shake when shooting
Where can i change the value?
- JasonX
- Posts: 411
- Joined: Tue Apr 21, 2009 2:08 pm
Yes. Punchangle is a field that is added to the player angles and gradually faded back to '0 0 0' by the engine. Very large punchangles look very silly since they can reveal bits of the viewmodel that are not supposed to be seen.
Also, you can't alter the rate punchangle fades back in QC (well... without re-implementing it in QC).
Also, you can't alter the rate punchangle fades back in QC (well... without re-implementing it in QC).
-

lth - Posts: 144
- Joined: Thu Nov 11, 2004 1:15 pm
I'm wondering if the way it slowly fades punchangles back to '0 0 0' can be used to fade fog values from one to another...
perhaps, if (fog_r < desired_fog_r)
fog_r = fog_r +1
probably not how punchangles work, just going a bit off topic haha, sorry.
perhaps, if (fog_r < desired_fog_r)
fog_r = fog_r +1
probably not how punchangles work, just going a bit off topic haha, sorry.
A truly rewarding experience for an AI coder: watching your ai navigate the map... makes all the time invested in the code worth it 
-

blubswillrule - Posts: 68
- Joined: Mon Oct 04, 2010 9:08 pm
- Location: Lincoln, California
blubswillrule wrote:I'm wondering if the way it slowly fades punchangles back to '0 0 0' can be used to fade fog values from one to another...
perhaps, if (fog_r < desired_fog_r)
fog_r = fog_r +1
probably not how punchangles work, just going a bit off topic haha, sorry.
That would be very framerate dependant.
- metlslime
- Posts: 316
- Joined: Tue Feb 05, 2008 11:03 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest