Fixing the crossbow, how is it done?

C++ Got ya down? Half-Life 2 Coding Related.
Forum rules
StrikerTheHedgefox
Pixel
Posts: 2
Joined: Sun Apr 17, 2016 7:05 am

Fixing the crossbow, how is it done?

Postby StrikerTheHedgefox » Sun Apr 17, 2016 7:09 am

Hello, I'm new here. I'm currently working on a mod that has the goal of completely fixing Half-Life 2: Deathmatch, and adding some additional features, such as support for the maps from Adrenaline Gamer 2 (which has unfortunately died, and the source never released).

In stock HL2DM and the SDK Base, the crossbow doesn't have it's loading sound and sparks. However, I noticed Obsidian Conflict fixes this. I was wondering, could one of the Obsidian Conflict devs, or someone more experienced with the Source SDK, shed some light on how I may implement a fix as well? Thanks.

I've already tried to fix this myself, but frankly the SDK is a confusing mess at times.

StrikerTheHedgefox
Pixel
Posts: 2
Joined: Sun Apr 17, 2016 7:05 am

Re: Fixing the crossbow, how is it done?

Postby StrikerTheHedgefox » Tue Apr 26, 2016 9:54 pm

I found out the solution on my own finally... it was tricky.

Here's a post I've written explaining how it was done:
https://facepunch.com/showthread.php?t= ... st50207080