Commit graph

883 commits

Author SHA1 Message Date
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
fa8304f70d CBaseEntity: Reset rendermode attributes upon Respawn() 2020-04-22 20:04:01 +02:00
ab9bea1bd8 env_render: Added dprint info upon trigger. 2020-04-22 19:59:07 +02:00
65a2018b6d Counter-Strike: Force Weapons_SwitchBest() in CSMultiplayerRules upon
respawning.
2020-04-22 19:58:37 +02:00
5521c44b72 PMove: Added phy_wateraccelerate. Some mods have such a low phy_accelerate
that clients can't escape a swimming pool.
2020-04-22 18:37:28 +02:00
db39b7171e Counter-Strike: added CSEv_AmmoBuyPrimary and CSEv_AmmoBuySecondary. 2020-04-22 14:12:57 +02:00
bfacfc5e71 Half-Life: Added more verbose assignments for readability. 2020-04-22 12:47:01 +02:00
0d3f271b21 Half-Life: Convert item_battery and item_healthkit to use sound shader
definitions instead of using sound() directly.
2020-04-22 12:45:45 +02:00
7793d52d3f GS-Entbase: undef GS_BULLET_PHYSICS for WASTES, this should be defined at
the progs.src level anyway.
2020-04-22 12:34:50 +02:00
b3de732e03 BotLib: Added initial files to the project. 2020-04-22 12:31:28 +02:00
ed31788de3 Updated fteextensions.qc 2020-04-22 05:58:11 +02:00
816f34ef23 Half-Life: Move animation/punchangle code for WEAPON_MP5 into the shared
code-path for better prediction.
2020-04-22 05:57:39 +02:00
6ceca5839c TraceAttack: Let game progs.src files themselves decide whether they want
BULLETPENETRATION enabled.
2020-04-22 05:56:21 +02:00
1891e974d0 Counter-Strike: Handle player animation code in its own files, update
weapons to use the newly defined sequences.
2020-04-22 05:32:58 +02:00
b4fffe8858 Half-Life: Build the client-game with the VGUI_CLASSIC define. 2020-04-22 04:39:08 +02:00
78a0f976ed Decals: Increase decal init count to 128. 2020-04-22 04:11:33 +02:00
eca4d0668c Coutner-Strike: Added item sound shader that I forgot to include 2020-04-21 00:31:10 +02:00
922b6f4c55 Added sub-directory makefile to ease the building of specific games/mods. 2020-04-21 00:30:54 +02:00
877e5e1699 Counter-Strike: Doing bound checks with armoury_entity so that maps like
cs_huehnerklau work.
2020-04-21 00:13:42 +02:00
bb7522f971 Counter-Strike: Fix the money team rewards not being given out when a new
round hits.
2020-04-20 23:21:02 +02:00
00b4fb9557 Flashlight: Shift source origin down by 8 units so that the cubemap light
has some more obvious effects from the first person view.
2020-04-20 23:20:36 +02:00
6294a41efe Counter-Strike: Made WEAPON_SCOUT zoom like WEAPON_AWP and changed the
timings on the zoom action to be close to what it's like in 1.5
2020-04-20 19:35:56 +02:00
a3ff75a4da Moved Player_Death into the Gamerule logic.
Counter-Strike's zones have been shoved into .flags, where we desperately
need some more bits.
Counter-Strike's WEAPON_C4BOMB now only works in a func_bomb_target zone.
2020-04-20 19:25:15 +02:00
1eda0ab5d4 Counter-Strike: Added CSEv_BuyEquipment_f 2020-04-20 15:59:42 +02:00
e643ab58a7 Rewrote parts of HUD_SlotSelect to be no longer recursive. 2020-04-20 11:47:22 +02:00
2cee375ce5 Lots of commits bundled into one:
- Added GamePMove_Fall and GamePMove_Jump for controlling either.
- Tweaked maxspeed for Counter-Strike heavily.
- Worked on the Counter-Strike WEAPON_KNIFE (fully functional!).
- Worked on the Counter-Strike WEAPON_AWP (mainly zoom).
- The WEAPON_C4 in Counter-Strike will no longer unfreeze you during warmup
- Added cl_showtriggers for displaying brush-based triggers.
- Removed muzzleflash dynamic light, as it seems GoldSrc doesn't have any.
- Fixed bug in which the server-list would run into an infinite loop error.
- Fixed weapon pricing in Counter-Strike.
- To rescue hostages means to earn $$$
2020-04-20 06:45:14 +02:00
d7e818410c Added game-specific maxspeed overrides. 2020-04-19 13:01:47 +02:00
51cce26fd8 Added some init messages. 2020-04-19 12:02:05 +02:00