Commit Graph

164 Commits

Author SHA1 Message Date
Marco Cawthorne 9893e8bc3e
CSMultiplayerRules: Remove temp items after respawning everything else to avoid phantom pickups. 2024-03-06 22:24:44 -08:00
Marco Cawthorne 0e8be2560b
WEAPON_PARA: Fix recoil. 2024-03-06 21:07:29 -08:00
Marco Cawthorne f013035ffc
CSMultiplayerRules: Fix warnings. 2024-03-06 19:40:02 -08:00
Marco Cawthorne 8e3f5f2752
Move the weapon freeze logic into Physics_InputPostMove() to work better with bots. 2024-03-06 19:28:55 -08:00
Marco Cawthorne 7994088423
CSGameRules: Make use of SpectatorDeathcam(). Support player death animation variations again. Also fix the death sound not having played. 2024-03-06 18:58:03 -08:00
Marco Cawthorne 0f445d8e2b
VGUI Buy-Menu: Fix not being able to buy SG-550 as CT.
Set the skull icon next to the player names in the scoreboard.
2024-03-02 00:46:12 -08:00
Marco Cawthorne a8250fd244
Fixes against upstream Nuclide. Added zpak001.pk3dir/def/bot.def and make use of it. 2024-01-26 19:08:48 -08:00
Marco Cawthorne bc4bd883b4
Integrate various in-progress spectating improvements from Nuclide 2024-01-08 15:31:12 -08:00
Marco Cawthorne 1c3fc2c32d
Bot improvements contributed by CYBERDEViL:
- Bots will choose a random Bomb Site / Escape Zone / VIP Safety Zone.
 - T-bots: fetch bomb backpack when it has been droppen.
 - T-bots: plant the bomb.
 - T-bots: roam the planted bomb.
 - CT-bots: random buy defusal kit.
 - CT-bots: defuse bomb.
 - CT-bots: roam the defuser.
 - Small waypoint adjustments for `de_dust2` which enables bots to
   successfully jump on the big boxes to B, and they jump more easy over the
   ridge from T spawn to B.
2024-01-04 14:23:39 -08:00
Marco Cawthorne d2e841d964
CSMultiplayerRules: no more DeathChecks when the round is already over 2024-01-04 14:13:49 -08:00
Marco Cawthorne c33d084a0c
Client: more accurate C4 HUD indicator (always visible when in inventory, flash when in zone) 2024-01-03 14:52:43 -08:00
Marco Cawthorne c082c5e772
WEAPON_C4: cleanups and fixes 2024-01-03 14:16:34 -08:00
Marco Cawthorne cb9f360dd4
Bot: buying fix (thanks CYBERDEViL) 2024-01-03 14:14:32 -08:00
Marco Cawthorne e21b0e8d3a
Server: Remove mp_friendlyfire cvar registration from the code, as that will be aliases elsewhere 2023-11-17 19:48:18 -08:00
Marco Cawthorne 61e68af73c
Remove view.qc and modelevent.qc 2023-10-12 14:49:33 -07:00
Marco Cawthorne c3bcb95b95
Merge branch 'master' of ssh://git.vera-visions.com:1997/nuclide-ports/cstrike 2023-10-11 13:46:26 -07:00
Marco Cawthorne e973a1b134
Client: spectator bars on top/bottom should stretch to fill the screen, even with cl_hudaspect set 2023-10-11 13:40:19 -07:00
Xylemon e04d882d22 Rest of official escape map (ES) waypoints, bots now respect Escape and VIP entities 2023-10-11 11:38:15 -07:00
Marco Cawthorne 7a0890caf1
func_escapezone: increment g_cs_escapezones in constructor
func_vip_safetyzone: increment g_cs_vipzones in constructor
2023-10-11 02:15:17 -07:00
Marco Cawthorne 219e00ec69
CSMultiplayerRules: choose an info_player_start when info_vip_start is unavailable (fixes as_riverside and older maps like it) 2023-10-10 19:13:25 -07:00
Marco Cawthorne 0a283c5282
Add bomb site text hint for T's and add the base for an upcoming, built-in DM gamemode. 2023-09-29 16:12:44 -07:00
Marco Cawthorne 1736b85824
CSMultiplayerRules: Ensure the VIP model is set when making somebody VIP. 2023-09-29 15:59:59 -07:00
Marco Cawthorne e23e3eb02b
item_c4bomb: Trigger the func_bomb_target entities properly. 2023-09-29 15:55:16 -07:00
Marco Cawthorne 0a73ca690f
Server: fix 'free buy' check in Ammo_BuyCaliber 2023-09-29 12:38:33 -07:00
mikota ab4b1922a2 add FCS prefix to guns cvars 2023-09-23 17:37:54 +02:00
mikota f7c6f68c1d
Merge branch 'eukara:master' into recoil-rework 2023-09-23 17:15:59 +02:00
mikota f905511d93 Recoil rework v2 2023-09-23 17:05:57 +02:00
Marco Cawthorne ac56cfd8f2
Client: Explicit precache of the muzzleflash models. 2023-09-18 18:48:26 -07:00
Marco Cawthorne 7409ef7d6a
Rebuild against FreeHL Develop 2023-07-27 23:15:56 -07:00
Marco Cawthorne be6fd77592
Shared: Reset shotcounters cleanly when weapons are finished reloading. 2023-07-11 13:36:04 -07:00
mikota c7711beca9 Brought punchangle into cstrike codebase and adjusted. Fixed console errors due to g_cstrikebulletrecoil. Recoil system tweaks.w 2023-07-10 01:50:37 +02:00
mikota fe57af3876 Tweaked SMG values(+acc), added cvars guns_recoil_strength, guns_random_recoil_direction, guns_movement_inaccuracy, guns_firing_inaccuracy 2023-07-05 07:52:55 +02:00
mikota 1c45c48d05 recoil/gunplay rework intial 2023-07-04 14:49:06 +02:00
tijon 414ee599d7
Fix radio command sound. 2023-05-05 21:17:41 +03:00
Marco Cawthorne 400c7b79db
Client: Only allow buymenu to open when we're in a buyzone (accurate to 1.5) 2023-04-19 10:01:16 -07:00
Marco Cawthorne 9dafd11530
Client: Clear some text and images on the buy menu when switching categories. 2023-04-19 10:00:55 -07:00
Marco Cawthorne de81ff9280
Starting to forget about pressing CTRL+S 2023-04-18 19:59:40 -07:00
Marco Cawthorne 3858bfb4b7
Client: Add auto-skin selection buttons that were missing in team menus. 2023-04-18 19:51:59 -07:00
Marco Cawthorne 1c3d2656d3
Client: btnCancel in vgui_buypages.qc should not have been a CSBuyItemButton, oops. 2023-04-18 19:32:45 -07:00
Marco Cawthorne ca17bdd697
Client: VGUI based buy menus have been implemented. 2023-04-18 19:28:51 -07:00
Marco Cawthorne c4969943b8
Bomb Defusal: fix the bomb not being removed from the game properly upon round ends. Requires a .customphysics fix in upstream Nuclide as well (so update!) 2023-04-18 14:48:39 -07:00
Marco Cawthorne aad8d044e4
Client: add support for the infokey 'vgui_menus', so if that's set you'll now use VGUI based menus for team selection 2023-04-18 14:27:48 -07:00
Marco Cawthorne a22c33bb9f
Gamerules: add the titles.txt messages for having spotted a friend, enemy and hostage rescue instructions 2023-03-28 18:15:23 -07:00
Marco Cawthorne 123814e707
Gamerules: send titles.txt messages to the client for when they're the VIP/Bomb-guy, now that we have a message queue 2023-03-28 16:37:11 -07:00
Marco Cawthorne 3c3966fc33
hostage_entity: add message for T's for when they attempt to +use on them 2023-03-28 15:35:24 -07:00
Marco Cawthorne 92497583a1
func_buyzone: Now print the titles.txt message hint for telling you to buy stuff. 2023-03-28 15:28:24 -07:00
Marco Cawthorne 0704d3e7fd
Multiplayer: Load and display a server message of the day if present. 2023-03-25 17:34:47 -07:00
Marco Cawthorne b64bdc049a
func_escapezone/func_vip_safetyzone: deactivate flashlight upon entering 2023-03-01 23:09:25 -08:00
Marco Cawthorne 2d51a765b7
func_escapezone: balance tweak via new cvar fcs_escapepenalty. Suggested by Xylemon 2023-03-01 23:07:02 -08:00
Marco Cawthorne f74e44ef4e
CSMultiplayerRules: be explicit about calling NSGameRules::PlayerDisconnect() to handle player de-init 2023-03-01 23:06:06 -08:00