iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

Weapon kickback #119

Open dany-on-demand opened 9 years ago

dany-on-demand commented 9 years ago

Would be nice to have kickback for really powerful weapons, like the shotgun or lee rifle.

rakiru commented 9 years ago

What do you mean? I know what kickback is, but how would you suggest this was implemented? Adding backwards momentum to the player? Moving the camera back then forwards again (basically, enhanced recoil)?

icecream42 commented 9 years ago

At least for the shotgun I'd like real backwards movement, not just recoil.

dany-on-demand commented 9 years ago

obj_player has velocity, so yes backward velocity

that's how other FPS do it, it also adds to game mechanics that you have to take in mind the kickback, for example not to fall off a wall etc.

rakiru commented 9 years ago

I was considering adding it for the shotgun, at least/especially for alt-fire. It feels like an odd mechanic to me though, since in real life, unless you're holding a fucking cannon or something, you automatically deal with the kickback. If we did add it though, then I'd want to implement knockback from explosions too (rocket jumping anyone?).

dany-on-demand commented 9 years ago

rocket jumping 'yes', finally we'd have our voxel quake 3

rakiru commented 9 years ago

Well, I'm doing #117 so I could implement this while I'm at it if everyone wants it.

Chameleonhider commented 9 years ago

Please don't make kickback like in Assault-Cube. I can understand getting velocity from hand-held cannons, but not from simple rifles.