Commit graph

1110 commits

Author SHA1 Message Date
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
cc0e7edec0 Counter-Strike: Went over the kill icons for all the weapons. 2020-04-24 05:37:25 +02:00
876468fc29 Fixed a bug in which self wasn't reset in Weapons_AddItem() 2020-04-23 22:42:09 +02:00
7c0315d56f Added CGameRules::MaxItemPerSlot to let gamemodes/rules allow how many
items we allow per inventory/HUD slot. CS's is 1 in multiplayer.
2020-04-23 21:02:38 +02:00
b95f7c37eb FX: Moved all the particle descriptions into the appropriate places. 2020-04-23 14:26:43 +02:00
090461860e Added cmd "lastinv" and "drop". 2020-04-23 07:36:19 +02:00
051d07fbcf TraceAttack: Added support for weapon-specific penetration values.
Counter-Strike now uses those, values are those from CS:S's 2011 weapon
scripts.
2020-04-23 06:51:39 +02:00
ae7da17d0f Counter-Strike: Made '0' work in text-based menus. 2020-04-23 05:25:51 +02:00
747639af4d Counter-Strike: Fixed the buyammo1/primammo and buyammo2/secammo commands. 2020-04-23 05:20:35 +02:00
d8b832041c Counter-Strike: Fixed being able to buy ammo outside of the buy-time... 2020-04-23 05:19:38 +02:00
4794f45cb1 Added the 'getpos' command that people in Source are familar with.
Requested by Xylemon!
2020-04-23 04:56:23 +02:00
f79863d3c1 Counter-Strike: WEAPON_FLASHBANG now does some fancy calculation for
flashing players.
2020-04-23 04:33:11 +02:00
8b57b74637 env_fade: Worked a lot on how fades are meant to run. 2020-04-23 04:32:44 +02:00
a31b3b0e47 Counter-Strike: Updated the WEAPON_SMOKEGRENADE smoke particle effect. 2020-04-23 03:41:56 +02:00
b44ea3320f FX: Moved particle definitions into the respective FX init functions. 2020-04-23 03:22:45 +02:00
d72fc4d17c FX: Cleaned up inits and organized everything into the relevant game
specific directories, so mods can now inherit/override effects easier.
2020-04-23 03:13:29 +02:00
781d896bfd Counter-Strike: Simplified CSMultiplayerRules::PlayerFindSpawn by making it
non-random.
2020-04-23 01:55:23 +02:00
b688738320 Counter-Strike: Fix armoury_entity from selecting the wrong model for some
items.
2020-04-23 01:45:56 +02:00
7c19a62aaf Counter-Strike: Went over the player-model selection code. 2020-04-23 01:40:31 +02:00
8905fa98bc Counter-Strike: play sound when successfully buying ammo. 2020-04-23 01:28:28 +02:00
d0ec99b5b1 CBaseEntity: Got rid of all the net_ attributes (except origin, angles)
which should give us a lil boost since we no longer need to save that
much mem.
2020-04-22 23:33:18 +02:00
61ea2dfe6c Add get/set methods for rendermodes so we can issue network-updates
directly instead of wasting attributes to keep track of changes.
2020-04-22 20:33:15 +02:00