Screen shake when shooting
Screen shake when shooting
Where can i change the value?
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).
-
- Posts: 68
- Joined: Mon Oct 04, 2010 9:08 pm
- Location: Lincoln, California
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
That would be very framerate dependant.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.