garrysmod icon indicating copy to clipboard operation
garrysmod copied to clipboard

Add HL1 skill cfgs

Open Kefta opened this issue 7 years ago • 1 comments

This PR is reliant on https://github.com/Facepunch/garrysmod-requests/issues/1148 and https://github.com/Facepunch/garrysmod-requests/issues/1151 for functionality.

Setting these convars fixes a number of HL1 NPC issues with having incorrect health or doing no damage.

skill#.cfg will first exec hl1_skill#.cfg to set HL1 skill values, then run skill.cfg to set HL2 skill values, giving precedent to HL2 while still setting necessary HL1-specific convars. skill_manifest.cfg is no longer used with this new setup but is still called by the engine. Convars for non-existing NPCs and weapons have been commented out.

https://github.com/Facepunch/garrysmod-requests/issues/1149 can allow hl1_skill#.cfg to be exec'd again at the very end of a skill level change, giving priority to HL1 values for HL1 campaign addons.

Kefta avatar May 31 '18 09:05 Kefta

A Lua implementation of this PR, as well as fixes for the aforementioned issues can be found here: https://github.com/Kefta/gs_skilllevel

Kefta avatar Jun 11 '18 08:06 Kefta