Quake 1, the father of true 3D First Person Shooter games. One of the fastest gameplay titles ever, which see's you bouncing around levels be you bunny hopping or rocket jumping.Been such as awesome early game, the mod supply is endless and full of awesome titles such as Requiem, nothing hasn't been done to the Quake engine so be sure to check out it's bountiful mod supply
Ever wanted to have a good and realistic kickback effect in the Quake weapons? This tutorial shows you how to add it to the normal shotgun, but the code can be easily modded for other weapons as well.
Posted by Baart on Sep 25th, 2004 digg this super bookmark
Basic Server Side Coding.
Ever wanted to have a good and realistic kickback effect in the Quake weapons? This tutorial shows you how to add it to the normal shotgun, but the code can be easily modded for usage with other weapons as well.
I assume that you've already got the Frikqcc compiler with the quakec source code, and you've got some basic experience with coding at all, so lets go straight to the beggining:
Open up the weapons.qc file and add this function just under the prototypes:
As you may have noticed, it isn't possible to modify the player viewangles using .v_angle and the .angles variables, so I've thought of an alternative solution for the problem.
Scroll down to the W_FireShotgun function, and add this code at bottom of it:
Basically that's everything, compile the code and observe the effect in Quake :)
Thanks to:
Macvek - my cousin, the original author of the first (buggy) kickback code, which was modified and posted in here by me
Only registered members can share their thoughts. So come on! Join the Mod DB community today (totally free) and do things you never thought possible.
hehe
nice :-)