hlsdk-portable icon indicating copy to clipboard operation
hlsdk-portable copied to clipboard

A branch without client weapons

Open FreeSlave opened this issue 3 years ago • 4 comments

Old mods didn't use a prediction code. It would be nice to have a branch that could serve as a base for such mods. It also could be a good demonstration (by using diff) of what needs to be changed to have server-only weapons in the mod.

FreeSlave avatar Jul 18 '22 19:07 FreeSlave

  1. We can fix weapons behavior without CLIENT_WEAPONS definition in master branch.
  2. Mods which based on HLSDK 2.0-2.2 has playback events for guns.
  3. Mods which based on HLSDK 1.0 requires to rebase all codebase.

nekonomicon avatar Jul 18 '22 20:07 nekonomicon

We can fix weapons behavior without CLIENT_WEAPONS macro in master branch.

That would be a good start. Also should do this for Opposing Force weapons (and check them with cl_lw 0 when CLIENT_WEAPONS is enabled).

FreeSlave avatar Jul 18 '22 21:07 FreeSlave

AFAIR, Opposing Force has special cvar sv_serverweapons or something like that.

nekonomicon avatar Jul 19 '22 02:07 nekonomicon

Opfor has sv_oldweapons, but we don't keep a compatibility with original opfor dlls anyway.

FreeSlave avatar Jul 19 '22 10:07 FreeSlave