jesseryoung / drinkinggame

4 stars 4 forks source link

Add [DG] bottles death effect, various refactoring #7

Closed lucaspenney closed 9 years ago

lucaspenney commented 9 years ago

Rearranged some code and fixed all indentation warnings. Also added an effect of spawning bottles when [DG] players die where the number of bottles is how many drinks they were given. Can be disabled by dg_bottledeath cvar.

scantics commented 9 years ago

As in 3D models of bottles?

lucaspenney commented 9 years ago

They're prop_physics_overrides, so yeah. You don't collide with them and they're simulated client side, so there shouldn't be any performance overhead. You only really notice them when someone's killed and given a lot of drinks.

jesseryoung commented 9 years ago

Holy Crap, this is awesome. I'll build and get this deployed tonight