Conversation
9e86f3a to
b5dbf76
Compare
- Detect HL:Arena via game directory (`arena`) in CheckSubMod(), taking priority over description-based detection since HL:Arena returns "Half-Life" from MDLL_GetGameDescription() - Add weapon definitions for 3 new HL:Arena weapons: silenced Glock (weapon_9mmsilenced), auto shotgun (weapon_autoshotgun), and burst rifle (weapon_burstrifle) - Enable 7 of 10 OP4 weapons that HL:Arena includes (eagle, pipewrench, M249, displacer, sporelauncher, sniperrifle, knife); grapple, shockrifle, and penguin are absent from HL:Arena - Mark silenced 9mm as weak weapon so bots avoid combat with only that
b5dbf76 to
0fc2906
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #43.
arena) inCheckSubMod(), taking priority over description-based detection since HL:Arena returns "Half-Life" fromMDLL_GetGameDescription()weapon_9mmsilenced), auto shotgun (weapon_autoshotgun), and burst rifle (weapon_burstrifle)SUBMOD_ARENA/WEAPON_SUBMOD_ARENAconstants and wire them throughSubmodToSubmodWeaponFlag()andInitWeaponSelect()weapon_9mmsilenced) as weak weapon so bots avoid combat when only carrying itTest plan
test_bot_weapons: HL:Arena weapons valid in HL:Arena, excluded in HLDM/OP4; 7 OP4 weapons valid in HL:Arena; grapple/shockrifle excluded in HL:Arena; silenced 9mm is weak, autoshotgun/burstrifle are nottest_dll: HL:Arena detected via game_dir; game_dir check overrides description-based detection