Originally posted by unbirthday
View Post
Originally posted by unbirthday
View Post
Because you seem to be lazy, here is the fix:
Original quake code that doesnt take the player view into account when aiming up/down:
org = self.origin + '0 0 16';
Fix:
org = self.origin + self.view_ofs + v_forward*8 + v_up * -6.5;
Play with the values to place the starting point for the beam wherever you want, when cl_beams_quakepositionhack is disabled.
Originally posted by unbirthday
View Post
Originally posted by unbirthday
View Post
10 fps is equal to 0.1 second. So change it according to your needs.
Just keep in mind that all the sub functions that get called each frame, will also be called more often... sometimes it is not what you want.
Originally posted by unbirthday
View Post
You can use this to update the beam very fast (maybe 4 times faster), but only deal damage or reduce ammo every 4th or so loop if you want to keep the original Quake lightning gun behaviour.
Originally posted by unbirthday
View Post
Good luck.
Seven
Leave a comment: