speedvoltage

Results 69 issues of speedvoltage

**Issue**: In `pOwner->ViewPunch( QAngle( SharedRandomInt( "ar2pax", -8, -12 ), SharedRandomInt( "ar2pay", 1, 2 ), 0 ) );`, it looks like the values were inverted for the AR2. **Fix**: Set to...

**Issue**: If we use signed integers, we end up holding negative numbers and this leads to certain number of issues, like incorrect handling of large values, as the sign bit...

**Issue**: The `V_swap` function faced a problem where it struggled to swap values of different types or handle edge cases, which could cause issues down the road. This might result...

Original fix authored by Tony Sergi [here](https://github.com/ValveSoftware/source-sdk-2013/commit/2cea82d834a04207ac585cfd4864ae07292bfd30). **Issue**: Bitflags weren't being managed properly because of missing or incorrect bitwise operations. This led to unexpected behavior when trying to set, check,...

**Issue**: When breaking a `func_breakable_surf`, it lacks all of its breaking sounds when first impacted i.e. shatter. **Fix**: Re-added all of its missing sounds.

**Issue**: When switching to spectators, some actions are not cleared. **Fix**: Properly unzoom, detonate tripmines, turn off flashlight, and exit vehicle when applicable.

**Issue**: Not really an issue, but conveyors don't have a way to have their speed changed. **Fix**: Added a way to change conveyor belt speed in real time!

**Issue**: The player model doesn't have a reload animation for the crossbow. **Fix**: Updated the reload animation to use the AR2's one.

**Issue**: The bolt bounces on static geometry and props, but they are deleted when the collide with a brush entity. **Fix**: Detect those brush entities and let the bolt bounce...

**Issue**: When the crossbow is being reloaded, whenever the bolt is attached, it is missing its spark effect. **Fix**: Add it back with `data.m_vOrigin = GetAbsOrigin();`.