Commit Graph

89 Commits

Author SHA1 Message Date
Marco Cawthorne 0e8be2560b
WEAPON_PARA: Fix recoil. 2024-03-06 21:07:29 -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 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 c082c5e772
WEAPON_C4: cleanups and fixes 2024-01-03 14:16:34 -08:00
Marco Cawthorne 61e68af73c
Remove view.qc and modelevent.qc 2023-10-12 14:49:33 -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 e23e3eb02b
item_c4bomb: Trigger the func_bomb_target entities properly. 2023-09-29 15:55:16 -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 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
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 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 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 c7d4f3631a
WEAPON_P228: fix bug where you can reload the gun indefinitely. thanks /alpha/ 2023-03-01 21:54:18 -08:00
Marco Cawthorne 125550e4c3
CSMultiplayerRules: When players die, they'll always drop their primary weapon if they have one. Thanks /alpha/ 2023-03-01 21:48:18 -08:00
Marco Cawthorne c89b95d98d
Guns now have damage values defined within skill cvars as well. 2023-03-01 14:47:20 -08:00
Marco Cawthorne 6d6b3fc5d0
WEAPON_KNIFE: damage values are now editable via skill cvars as well. 2023-03-01 13:01:58 -08:00
Marco Cawthorne e5ec5afa67
Create new file skill_cstrike.cfg, so users can tweak weapon and damage how they like! 2023-03-01 12:42:30 -08:00
Marco Cawthorne dfdc2f66e0
WEAPON_KNIFE: skill cvar sk_plr_knife_range can now be used to set the knife range. 2023-03-01 12:35:55 -08:00
Marco Cawthorne 982d2cfd21
Fix compiler warnings. 2023-02-14 12:54:59 -08:00
Marco Cawthorne 620756cf4d
Remove base/src dependency and use valve/src's versions instead. 2023-02-12 12:56:26 -08:00
Marco Cawthorne bc793e217b
Client: add IMPACT_SLOSH effect for water based impacts. 2023-02-07 17:35:04 -08:00
Marco Cawthorne bb7ac9ebee
WEAPON_KNIFE: more accurate damage values thanks to the CS wiki. Also added the ability to back-stab! 2023-02-07 17:23:48 -08:00
Marco Cawthorne d0ebfb8205
Fix the zone triggers from not activating. 2023-01-19 19:28:55 -08:00
Marco Cawthorne f14648a7f4
Removal of Game_Input which has been made obsolete. 2023-01-11 17:44:47 -08:00
Marco Cawthorne 89c50dd85c
player: Call super::ServerInputFrame() inside ServerInputFrame. 2023-01-06 16:09:47 -08:00
Marco Cawthorne a5f2ee0174
Player: RunClientCommand() was renamed to ServerInputFrame() for consistency. 2022-12-28 17:25:56 -08:00
Marco Cawthorne 2f9791b39e
Get rid of obsolete routines, move the code handling buy/rescue/bomb zone triggers into the new RunClientCommand() player method. 2022-12-28 16:51:52 -08:00
Marco Cawthorne 8ce747c212
Replace calls to TraceAttack_FireBullets() with the new TraceAttack_FireBulletsWithDecal(), thus fixing missing bullet decals. 2022-12-28 15:00:18 -08:00
Marco Cawthorne 56b2d4259d
Fix tree against the latest Nuclide code upstream. 2022-11-30 14:27:11 -08:00
Marco Cawthorne 8b4a444387
player class: Use parent method OptimiseChangedFlags() to cull some fields from being networked to players other than yourself
Use the new helper macros to simplify network code and make it more reliable.
2022-08-09 09:32:45 -07:00
Marco Cawthorne f67729df5b
Clean up our player enumflags. 2022-08-07 14:14:42 -07:00
Marco Cawthorne 91c05a3bad
Removing more of pmove_water.qc in here too. 2022-07-14 21:29:10 -07:00
Marco Cawthorne edf5c19e05
Make use of env_sprite APIs for FX_Impact. Remove mention of GS_RENDERFX 2022-07-07 09:14:17 -07:00
Marco Cawthorne 7b3a98fdb1
Adjust naming against upstream. 2022-05-11 12:51:39 -07:00
Marco Cawthorne e7e8550c82
Convert all classes to use the new parent names. The old ones were marked for deprecation long ago. 2022-05-10 15:00:44 -07:00
Marco Cawthorne 39f77bee60
Fix license header in w_aug.qc, fixing issue #5 2022-04-28 11:45:51 -07:00
Marco Cawthorne 8a15293808
Clean up 'self' references in the weapon code that needed purging and set some sensible defaults for accurate lightmap settings. 2022-04-26 13:04:20 -07:00
Marco Cawthorne a875dae71e
Weapons: Go over all the reload functions to make sure our finalized reload call is delayed and people can't quick-switch abuse. 2022-04-26 09:57:03 -07:00
Marco Cawthorne b47f922424
Server: Reference weapons.h's MAX AMMO defines for the calibers, also fixing the 9mm having the wrong max ammo count by doing so. 2022-04-26 08:55:23 -07:00
Marco Cawthorne 60696b42aa
Clear up some warnings 2022-04-25 10:37:07 -07:00