Commit graph

1224 commits

Author SHA1 Message Date
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
e578ffc808 Get rid of those ancient decal precaches. 2020-04-19 12:01:31 +02:00
8ac5ac7c77 Support for Q3-based BSP material flags - for footsteps anyway 2020-04-19 12:01:20 +02:00
ce87662850 Changing local from snd to sfx to avoid conflicts with a certain
global.
2020-04-18 02:05:41 +02:00
23011d42e6 Unbreak Scientist Hunt's gamerules. 2020-04-15 12:28:11 +02:00
ad62ddc574 Moved gamerule definitions at a higher scope, this will make it easier
to call GameRule events from other parts of the codebase.
2020-04-15 01:18:19 +02:00
3e4a67367b Counter-Strike: Hostage Rescue works, Buymenu for weapons works, cleaned
up some gamemode code.
2020-04-14 16:19:25 +02:00
992add7dfd Gamemodes: Moved the level transition stuff outside of the _singleplayer
logic as lots of mods want to inherit that of HL anyway.
2020-04-14 12:35:55 +02:00
594ba56f02 Started moving gamerule logic into classes, so we can manage seperate
modes of play better. This will be much appreciated too by anyone modding
CS to add additional gamemodes later for example.
2020-04-14 03:12:09 +02:00
142e6c9cf3 Possible memalloc corruption mititagions. 2020-04-12 19:40:09 +02:00