Commit graph

1081 commits

Author SHA1 Message Date
70451433b8 Counter-Strike: Reset progressbar upon round restart. 2020-06-09 00:30:06 +02:00
61983ec2d8 Counter-Strike: Add progress bar for defusal and other tasks. 2020-06-09 00:23:18 +02:00
8aa66987e5 Counter-Strike: Fix Defusal-Kit icon source offset on the HUD. 2020-06-08 23:50:25 +02:00
ae394e9703 Counter-Strike: Make the ammo counter display 1 for WEAPON_C4BOMB (as it's currently a single use item). 2020-06-08 23:48:03 +02:00
591f878d55 Counter-Strike: Defusing the bomb is now handled outside the player input logic, working. 2020-06-08 23:46:44 +02:00
e1ba466917 trigger_changelevel: Check if the activating is in fact, a client. 2020-06-08 15:00:40 +02:00
76b5ff1879 Fix env_sprite from networking using MSG_ENTITY instead of MSG_MULTICAST when networking once. 2020-05-31 22:41:57 +02:00
680725f050 Obituaries now use spriteframe() for caching. 2020-05-31 21:20:36 +02:00
cef8ba0443 Make cstrike use spriteframe() for HUD gfx 2020-05-31 13:20:04 +02:00
c709117209 Switch to using spriteframe() for HUD sprites in valve, scihunt 2020-05-31 12:54:04 +02:00
828a41eff8 Fix new compiler warnings. 2020-05-30 23:08:11 +02:00
fcb99ad427 Add support for func_breakable its spawnobject key. 2020-05-30 14:57:01 +02:00
c036ccc318 More work towards documentation in the tree. 2020-05-30 12:03:55 +02:00
4d201c281b Fix armor indirection bug. The compiler ought to warn about name conflicts like these. 2020-05-28 19:53:24 +02:00
Marco Hladik
68669fb701 Added a 'doc' sub-dir, starting with minor documentation regarding building, FAQ 2020-05-27 10:12:09 +02:00
fe251faf81 Physics: define stand-in values for non CSTRIKE and VALVE defined games 2020-05-08 07:44:40 +02:00
674206349a Half-Life: Fix crash with obituaries and invalid weapons. 2020-05-04 05:48:19 +02:00
cca1e646c2 Counter-Strike: Changed WEAPON_USP45 firing rate to be closer to 1.5's.
It was based on the values of CS:S before (as those are not hard-coded...)
2020-05-03 23:50:11 +02:00
2db9d5bf31 Gunman Chronicles: Unstuck secondary option menus. 2020-05-03 05:39:34 +02:00
fc3f124d24 Progs.src for server-side codebases are much simpler now, player class now
inherits the base_player class, which is a new addition.
2020-05-03 05:26:06 +02:00
a025a41e73 Simplified the client progs.src file for each game massively. 2020-05-02 23:57:25 +02:00
d4c97c639b Unbreak env_sprite rendermodes. 2020-05-02 06:38:02 +02:00
c1e4070b61 Made obituary code game-specific. 2020-05-02 05:57:36 +02:00
bfa3412277 Cleaned up some warnings. 2020-05-02 05:28:21 +02:00
b7c2c61a88 Obituaries: We now read hud.txt for the icons, so we no longer have to
define them inside the code. This should automate quite a bit of legwork
2020-05-02 02:36:37 +02:00
af7820def4 Moved class item_pickup definition to a higher scope, so the weapons
can manipulate pickup related things within their own source file.
2020-05-02 01:00:27 +02:00
9fec86e295 Half-Life: Add SetFloating to class item_pickup. 2020-05-02 00:38:07 +02:00
02606bafe9 Counter-Strike: Precache item pickup sound shaders in advance, also
add sound shader for weapon.pickup
2020-05-02 00:24:54 +02:00
9ea07752f8 Scientist Hunt: Add some basic logic for the insanity mode. This adds
sh_insanity (cvar). Also fixed some shared Half-Life ish stuff with
blood, trigger_hurt entities... too tired to list
2020-04-30 05:58:17 +02:00
5ce957bb20 BaseMonster: Went over various monsters to fix gibbing since that had
regressed with the way we do damage now.
Replaced all 'frame=' assignments with SetFrame calls so it gets networked.
2020-04-28 17:49:32 +02:00
2a6ff3babd Added Rendermode: RM_FULLBRIGHT 2020-04-28 10:27:20 +02:00
94947c89e1 Cleaned up client inits by pushing hud related precached into HUD_Init,
where they belong
2020-04-28 10:25:13 +02:00
e697fd8fc5 Counter-Strike: Fix the hostage from becoming unresponsive when hurt. 2020-04-28 06:14:30 +02:00
a1f2a78800 Scientist Hunt: Fix the scientist by making it use the new methods to
control CBaseEntity based objects.
2020-04-28 06:14:07 +02:00
cf34e1d678 Half-Life: Make player death-flatline a sound shader 2020-04-28 06:13:22 +02:00
7c1921ae05 Opposing Force: Added stubs for the upcoming CTF logic. 2020-04-28 06:11:44 +02:00
70ddc6a150 Counter-Strike: Cleaned up the weapon-table 2020-04-28 06:09:57 +02:00
12328e2d08 Tell Poke646 and They Hunger to build with CLASSIC_VGUI 2020-04-28 06:09:19 +02:00
92aac3489f Counter-Strike: Added intermission logic. 2020-04-26 20:57:13 +02:00
9ace996ada Counter-Strike: Make sure we drop our current weapon, as well as the C4
bomb if we do happen to carry it.
2020-04-26 13:40:03 +02:00
3b0d7b7fdc Weapons: Make sure dropped items get purged between rounds. 2020-04-26 13:23:18 +02:00
0c0b9938b7 Went over weapon-drop logic to handle ammo, undroppable weapons.
Added basic intermission logic to HL:DM for fraglimit/timelimit being hit.
Cleaned up WeaponAPI to get rid of killicons, which should be handled
elsewhere.
2020-04-26 13:17:19 +02:00
46f720d562 Counter-Strike: Handle level-transitions for weapon information, purge
said information when dying in MP games as well.
2020-04-26 03:28:42 +02:00
da7f06b835 Counter-Strike: Hostage interaction rewards. 150 dollars! Grab one now for
big big boni!
2020-04-26 00:12:33 +02:00
5c74aa99ab Counter-Strike: Disallow terrorists from interacting with the hostages.
Must have been really tired one night.
2020-04-26 00:04:39 +02:00
321256c009 Counter-Strike: Tweak the punchangle/recoil to feel closer to 1.5. It was
a bit too low before I feel.
2020-04-25 22:29:35 +02:00
ece32f1c51 Counter-Strike: Tweak the kill-icon for WEAPON_C4BOMB so it's the generic
death one.
2020-04-25 22:29:00 +02:00
dae9080d57 Client CBaseEntity: RM_ADDITIVE implies the entity is also rendered with
a fullbright effect.
2020-04-24 05:39:06 +02:00
c41eedb593 Base Scoreboard: Simple team scoreboard. It tracks certain infokeys, look
at server/cstrike/gamerules_multiplayer.cpp for an example.
2020-04-24 05:38:38 +02:00
82d14b46d8 CGameRules: Allow different MaxItemPerSlot limits per slot type. 2020-04-24 05:37:54 +02:00