Commit Graph

23 Commits

Author SHA1 Message Date
mikota 1c45c48d05 recoil/gunplay rework intial 2023-07-04 14:49:06 +02: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 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 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 60696b42aa
Clear up some warnings 2022-04-25 10:37:07 -07:00
Marco Cawthorne e17ac08288
Weapons: Go over them all and adjust their bullet penetration properties. Only possible thanks to Xylemon's test map. 2022-04-24 17:24:01 -07:00
Marco Cawthorne ea1f3067ad
Weapons: Go over the bullet penetration details, I think we got that mostly figured out now.
Also fix some other CS specific entities and their touch functions.
2022-04-24 00:22:27 -07:00
Marco Cawthorne 90ff3b69b4
Rebased against the latest Nuclide commit. 2022-03-15 19:35:04 -07:00
Marco Cawthorne 290cb55bcf
Update copyright information
Remove pmodel attributes from the player class.
2022-03-13 16:59:12 -07:00
Marco Cawthorne fe0b9681d0
Fill in some more info to help botlib's AI (weapon types, gamemode team setting) 2022-03-10 19:01:08 -08:00
Marco Cawthorne 2dbf8e32c9
Make use of the new Enable/Disable model functions to hide/show sniper rifles
during zooming
2021-10-08 21:50:55 +02:00
Marco Cawthorne 6a24b29e3d Bots: Now following some basic objectives - don't look too deep into it
Weapons: We now have added weapon weights and isempty() functions to the
weapon structs
Spectator: Now integrated into the gamemodes proper. NEEDS MORE TESTING!
Radio: Fixed a bug in which the wrong player name would be displayed.
2021-05-12 15:47:34 +02:00
Marco Cawthorne a2f65f73d7 Shared: Inherit weapon_common and input from Nuclide's base game 2021-05-10 08:16:51 +02:00
Marco Cawthorne 133bf4fec2 Simplify prediction code with the help from upstream SDK changes. 2021-05-08 17:46:20 +02:00
Marco Cawthorne cc48c2c994 Handle player weapon model attachments for all the weapons! 2021-04-06 09:20:35 +02:00
Marco Cawthorne dee6ee1a73 Change pSeat references to pSeatLocal where applicable. 2021-03-31 13:42:36 +02:00
Marco Cawthorne acbdc62b14 Make sure we call View_AddEvent() _after_ Weapons_ViewAnimation() so the
cache hack in the upstream Nuclide repo works.
2021-03-30 07:31:33 +02:00
Marco Cawthorne 7bc7388125 Use the new View_AddEvent() for shell ejections 2021-03-29 21:54:53 +02:00
Marco Cawthorne 14c23b521f Client: Replace all calls from View_EjectShell to View_EjectShellAttachment 2021-03-17 14:36:39 +01:00
Marco Cawthorne 29009ffbb9 Client: Add shell ejection for pistols, smgs and rifles. 2021-03-17 13:26:12 +01:00
Marco Cawthorne 81d7630dd7 Add auto-reload when empty, clean up misc weapon code and add alpha to
the hudpic display functions that I missed.
2021-03-17 11:51:50 +01:00
Marco Cawthorne 6ff68fcc34 Initial commit, carried over from Nuclide's Git on March 8th 2021 2021-03-08 10:38:54 +01:00