Just a quick one today, first blog post in almost six months! We’ve been a little busy finishing Jailbreak: Source 0.6! One of bugs we had for absolutely ages was finally fixed last week after Lodle from Golden Eye: Source helped us out. So I thought I’d repost this here in case anyone else developing [...]
Quick one: ever notice that weapon view bob, that is the weapon moving in time with the player as they walk, doesn’t work on certain weapons?
Me either, but weapons that derive from CHL2MPMachineGun don’t exhibit this behaviour.
It turns out that this is because CHL2MPMachineGun inherits directly from CWeaponHL2MPBase, instead of CBaseHL2MPCombatWeapon like all the other [...]
Just a really quick snippet today.
Jailbreak has reworked the weapon selection HUD, and as part of this there are two special weapons that have special keys; the Grav Gun and the Medi-Gun.
As some of our testers use non-standard key configurations, they’ve been whinging at me to make sure that the key that’s overlaid on top [...]
One of the issues I ran accross when first implementing Jailbreak was finding that even though players had a flag in the CHL2MP_Player class to mark them as in or out of jail and it was setup as a network var, this wasn’t always being sent down to all clients.
I later discovered this was due [...]
Playing sounds is great, but occasionally you may want to stop a sound that is currently being played. For example there is an execution countdown in Jailbreak that can be averted mid way through, and it was easiest to have this as a single sound that can be stopped as needed.
To do that we can [...]
While doing some work on Jailbreak I’ve just noticed that my post on using SendAudio to send sounds to be played on clients is out of date.
In the orangebox sdk there is a new event named teamplay_broadcast_audio which is already set up to allow you to play announcement like sounds on the client (i.e. sounds [...]