11d52abec3
Server: Disable 'best-weapon' switch when sv_forceweapondraw is 1.
2020-11-19 10:46:09 +01:00
df1388f9fc
Server: Add sv_forceweapondraw 0/1, which lets mods override whether or not
...
the first weapon the player picks up will be deployed automatically.
2020-11-18 13:17:43 +01:00
1cbd41f66b
Documentation: Comment some of the prediction code more, as some may be
...
reading it as we speak
2020-11-08 04:45:52 +01:00
678d7bf124
Plugins: Change Plugin_ParseClientCommand to manipulate command strings
...
and passing them onto the next plugin. Also added a chatfilter plugin!
2020-11-06 13:04:22 +01:00
422741a295
GS-Entbase: Add Input/Output methods for func_conveyor, func_guntarget,
...
func_wall_toggle
2020-10-31 14:32:23 +01:00
69fa528822
Server: Move footstep precaches into Footsteps_Init
2020-10-30 13:29:37 +01:00
97d19c1b37
Add shared/include.src, so we touch gamename/include.src less for global
...
changes.
2020-10-30 12:21:00 +01:00
c100554dcc
Gamerules: Make sure player is always passed as type 'base_player' via
...
parameters instead of just 'entity'.
2020-10-30 11:28:59 +01:00
6502eeddc0
Server: Added sv_levelexec, which when enabled reads a map-specific config
...
on boot.
2020-10-28 08:29:24 +01:00
8cbbeaae24
Platform: Add gl_stipplealpha support to models.
2020-10-25 11:50:15 +01:00
d9dababe65
Moved all possibly game-specific flags (such as FL_FLASHLIGHT) into gflags,
...
this affects mods. Please check the diff to see what you'll need to adjust.
2020-10-22 16:30:37 +02:00
6038c04591
Fix preset lightstyles for Q3BSP, added examples to test_lightstyles.
2020-10-18 15:19:56 +02:00
2afba74a86
Added test_areaportal, to debug openportal()
2020-10-18 01:10:21 +02:00
f4ade524fe
Client: Fixed some warnings and some added some paranoid free() calls.
2020-10-16 02:26:45 +02:00
4208bd8c9a
Server: added server command trigger_ent
2020-10-06 14:42:46 +02:00
57cc661c86
Menu/Client/Server: Background map support for menus. This should be handled differently in that SV_ShouldPause ought to control Singleplayer as well. Engine hardcodes suck
2020-09-27 14:25:10 +02:00
54f0c5d24c
Half-Life: Add I/O ability to ITEM_LONGJUMP
2020-09-26 12:46:40 +02:00
8bde44b01c
CBaseTrigger: Merge UseTargets and UseTargets_Delay... to be continued.
2020-09-21 18:10:31 +02:00
dc47146e99
CBaseTrigger: Added CBaseOutput, in preparation to support Source styled input/output mechanisms
2020-09-20 10:43:13 +02:00
868b9d1b04
Fix some misc warnings the new fteqcc brought up, along with some other tiny changes.
2020-09-13 19:14:28 +02:00
ac31455dd5
Nodes: Add fancy debug textures for nodes and sequences.
2020-09-13 19:11:41 +02:00
44b6a3d10a
Sentences: Force them to be read in uppercased.
2020-09-10 19:28:36 +02:00
f4d4e86400
CBaseEntity/CBaseMonster: Add support for server-side model events. This enables models, as they sometimes do, to actually trigger entities in the world and much more. There's seperation between client-side and server-side events as well.
2020-09-10 10:34:14 +02:00
ca5a7feede
Cleaned up misc warnings.
2020-09-09 08:05:34 +02:00
fd826a226d
CBaseEntity: Added support for the 'scale' field in the rendering, also made the codebase use the builtin target/targetname
2020-09-08 22:49:35 +02:00
7680521379
Server: Add support for game_playerspawn triggers. Basically upon any player spawning into the world, all entities named 'game_playerspawn' will be triggered with the player being set as the activator. Nifty
2020-09-08 03:29:10 +02:00
50ccbf4b9a
Add func_tank, func_tankmortar and generally faff about with input code.
2020-09-04 21:28:06 +02:00
3ca223b673
PMove: Added a bit of a punchangle when falling/falldamage hits
2020-09-02 04:09:33 +02:00
5e821a5651
Removed obsolete parameter from Death() and Pain(), as those are now residing in globals.
2020-08-31 10:56:31 +02:00
b7ac9ade38
Counter-Strike: Fixed hostage-rescue zone generation check. Exposed by trying to play bhd_cs by Nipper
2020-08-27 06:35:01 +02:00
308a529244
Counter-Strike: Make sure the ITEM_C4BOMB is unset whenever clients spawn...
2020-08-17 05:55:10 +02:00
aab8ff9572
Counter-Strike: Fix not being able to buy ammo for WEAPON_AUG
2020-08-17 05:42:09 +02:00
d61afb0b63
Counter-Strike: Added client-side LED glow to WEAPON_C4BOMB
2020-08-17 05:38:39 +02:00
f1954cdb33
Plugins: Added hooks for InitEnts and cleaned up some plugins that would benefit from it.
2020-08-16 01:04:20 +02:00
a79ead4197
Half-Life: Moved the silly Vox announcer for MP games into its own little plugin
2020-08-14 23:51:59 +02:00
a00a574b4a
Plugins: Added ClientConnect and ClientDisconnect hooks
2020-08-14 22:13:03 +02:00
96c3590a08
Plugins: Use our own plugins.txt listing to decide which plugins get loaded...
2020-08-14 21:16:47 +02:00
d3b488b7bf
CBaseTrigger/s: Overhauled the system to keep proper track of its activators. This was important in some mods who'd e.g. call a trigger_camera over longer periods of time and expected to target the same player as before as part of a multi_manager.
2020-08-10 12:32:18 +02:00
d324259e72
CBaseTrigger: Massive change that allows us to finally set states. This affected every entity that can be triggered. Things like the airlock check in c1a0d work now.
2020-08-07 14:07:38 +02:00
9e13854dbe
Half-Life: Remove redundant target health check in monster_zombie.
2020-08-03 23:43:18 +02:00
654c3d370f
Half-Life: Added melee and ranged attacks to monster_human_grunt and marked him as an enemy to players.
2020-08-03 23:42:45 +02:00
59d13f7103
Half-Life: Added basic monster_houndeye ranged blast attack code. This still needs further reverse engineering as I think the dmg value varies.
2020-08-03 23:42:14 +02:00
6dbfff0b68
Half-Life: Mark monster_barney as friend to avoid confusion. Make it so his pain animation interrupts firing time.
2020-08-03 23:41:25 +02:00
eecb76ebc7
Half-Life: Worked on the melee/ranged attacks of monster_alien_slave.
2020-08-03 23:37:52 +02:00
3c4a518b8e
Counter-Strike: Fixed some warnings.
2020-08-03 18:49:30 +02:00
743d7a33d0
Half-Life: Add support for player respawns when coop is 1, as well as custom player model support in coop.
2020-08-02 15:21:35 +02:00
b9f4da2494
Half-Life: monster_zombie and monster_headcrab are attacking somewhat properly now and chase you around. Currently still working out the whole vision logic.
2020-08-02 12:55:03 +02:00
690d390e79
Counter-Strike: Added various pain animations to hostage_entity and proper pain and death penalties.
2020-08-02 11:40:41 +02:00
73597af3c0
Some basic Attack functions for CBaseMonster. monster_barney in Half-Life will draw, holster his weapon against targets and shoot. Shows there's some use in our pathfinding already.
2020-07-27 01:19:53 +02:00
da7c5a27e2
Server: Use the undocumented (but handy) readcmd instead of localcmd to parse skill files instantly. This will avoid the bug of delayed config loading. That's the theory.
2020-07-25 01:58:12 +02:00
abe97ebe43
Half-Life: Add a silly announcer to spice things up when players get killed.
2020-07-18 01:56:28 +02:00
c0f97524ce
Change 'impulse 240' for adding bots to 'sv bot_add', which is game-mode
...
oriented and more flexible to mod authors.
2020-07-09 10:42:34 +02:00
7611796555
Counter-Strike: Mark hostage_entity as MULTIPLAYER available.
2020-06-25 11:06:02 +02:00
66aef13819
Purge cstrike.old from the src tree.
2020-06-12 17:14:05 +02:00
12c26958e1
CBaseMonster: Add MSF_MULTIPLAYER flag, so monsters can be made available in multiplayer on a per-class basis.
2020-06-12 17:02:30 +02:00
9cde95495d
monster_scientist: Fix the model/character selection using the new SetBody system
2020-06-12 16:41:21 +02:00
5b34579e9b
Server: Exec skill_[gamename].cfg as a fallback for skills
2020-06-12 10:20:17 +02:00
bdfb040bc2
player_weaponstrip: Initial implementation; func_breakable: warn when key 'spawnobject' defines an out-of-bounds spawn id.
2020-06-12 09:46:24 +02:00
dc43e5f3a9
Counter-Strike: Prevent the player defusing the bomb from moving.
2020-06-09 00:52:12 +02:00
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
591f878d55
Counter-Strike: Defusing the bomb is now handled outside the player input logic, working.
2020-06-08 23:46:44 +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
4d201c281b
Fix armor indirection bug. The compiler ought to warn about name conflicts like these.
2020-05-28 19:53:24 +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
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
bfa3412277
Cleaned up some warnings.
2020-05-02 05:28:21 +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
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
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
82d14b46d8
CGameRules: Allow different MaxItemPerSlot limits per slot type.
2020-04-24 05:37:54 +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
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
d8b832041c
Counter-Strike: Fixed being able to buy ammo outside of the buy-time...
2020-04-23 05:19:38 +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
65a2018b6d
Counter-Strike: Force Weapons_SwitchBest() in CSMultiplayerRules upon
...
respawning.
2020-04-22 19:58:37 +02:00