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

Tracer networking #116

Closed rakiru closed 9 years ago

rakiru commented 9 years ago

A lot of the gun code needs reworking, but a quick fix can be applied to this. I'm making a note here in case I forget. Tracer creation packets currently only send the player ID and create tracers facing where that player is looking. This doesn't work when you considering spread is a thing. Also, because of the weird way guns currently work, it plays a rifle shot sound when a tracer packet is received. At the very least, this needs to use the user's current gun as a quick fix, although a better solution is needed for guns with more than one fire mode (e.g. shotgun has a different sound when alt-firing).

rakiru commented 9 years ago

Implemented in 3b627f5c4e6b1579ae25dfbefd6d671b83663f74