twhl-community / halflife-updated

Half-Life SDK updated to compile under VS2019 and 2022. Check README.md for more information.
Other
372 stars 147 forks source link

Weapon Switching #218

Closed P38TaKjYzY closed 1 year ago

P38TaKjYzY commented 1 year ago

Unable to manually switch weapons with the hud but I can with picking them up can you fix this as I redownloaded it too and rebuilt it and replaced the files.

SamVanheer commented 1 year ago

You need to include the updated delta.lst included in the network directory with your mod. It tells the engine how to send data between the client and the server and the weapon switching code now relies on a new variable that requires this.

I'll update the instructions to mention this and i'll see what i can do about automating it.

SamVanheer commented 1 year ago

I've automated the copying of this file on Windows and the instructions in the TWHL tutorial now instructs you to copy it.