Commit graph

826 commits

Author SHA1 Message Date
881e24905c Fixed that the weapon selection number was defined as being 255 instead of
256... go figure.
2019-09-15 15:49:05 +02:00
492cdfe8c5 Half-Life: Fixed ITEM_SUIT. This should not have happened. Sorry. 2019-09-15 10:52:49 +02:00
5956041ef7 Half-Life: WEAPON_PYTHON received some polish, fixes and idle
animation updates.
2019-09-15 10:20:50 +02:00
afe9e2b9d7 Half-Life: WEAPON_MP5 got some sweet more fixes as well. 2019-09-15 10:16:52 +02:00
52e1f6f5ff Half-Life: WEAPON_GLOCK received more polish also. 2019-09-15 10:15:18 +02:00
37a9e62273 Half-Life: WEAPON_CROSSBOW received more polish and fixes. 2019-09-15 10:13:56 +02:00
609031080e Call weapon.updateammo() from now on after each primary/secondary/reload
function.
2019-09-15 10:13:10 +02:00
aa5dac4e01 Half-Life: Bring WEAPON_GLOCK a bit more polished with more accurate
weapon idle animation timers.
2019-09-15 08:38:52 +02:00
493a1d01bb Half-Life: WEAPON_HORNETGUN's idle timer changed so that animations cycle
once we're done recharging. This makes it a whole lot easier to deal with.
2019-09-15 08:23:34 +02:00
da9dfdc0df Removing AMMO_ references. Those are unused. 2019-09-14 11:53:09 +02:00
9f86e70f2f Weapon Select: Fix precision issue with flawed bitfield check.
Otherwise we're only getting access to 23 bits of mantissa... this should
totally be classified as a compiler bug, by the way.
2019-09-14 11:52:22 +02:00
2489e4d872 Renamed client/*.cpp to .c files where appropriate 2019-09-13 09:58:35 +02:00
caf39bd2ef Renamed text.c to prints.c, as it is more appropriate 2019-09-13 09:55:27 +02:00
b27f060589 Moved non-entity specific code from gs-entbase/client/ to client/ 2019-09-13 09:43:34 +02:00
c46a49261c Redid weapon pickup logic for the weapon API. 2019-09-13 07:22:17 +02:00
3265f76fb2 Opposing Force: WEAPON_GRAPPLE prototype to play around with. 2019-09-12 13:15:04 +02:00
7c35269b79 Opposing Force: Fixed sniper ammo model and ammo counts. Someone was sleepy. 2019-09-12 12:13:26 +02:00
82fdf44402 Opposing Force: More polish to WEAPON_EAGLE. 2019-09-12 11:12:35 +02:00
fcc9643190 More tweaks for both Half-Life and Opposing Force weapons and behaviour.
Also added Gunman stubs.
2019-09-12 09:12:12 +02:00
0952fc197c Opposing Force: Tweak WEAPON_EAGLE firing rate for the laser mode, fix that the
laser is being reset upon walking over someone dirty ammo
2019-09-12 07:18:30 +02:00
bf5c78fab2 Opposing Force: Initial commit of weapons.
Includes some networking fixes so we can actually use 32bits of items.
That's what these mods are good for - testing the infrastructure.
2019-09-12 01:20:03 +02:00
a683994dc5 Team Fortress: Add item_healtkit from Half-Life 2019-09-11 14:37:02 +02:00
91cb97ab7d item_tfgoal: Set bounding box. 2019-09-11 14:36:47 +02:00
1fa05bee3a Team Fortress: Added link from i_t_g to info_tfgoal 2019-09-11 14:36:31 +02:00
6f7c7c7b1e Added env_message_single(), this will probably be merged/removed later. 2019-09-11 14:35:30 +02:00
4029e92713 Team Fortress: Add fancy class help upon spawn.
TODO: Make this optional, via setinfokeys
2019-09-11 13:33:32 +02:00
5132b28c49 Team Fortress: Basic Team/Class spawning. 2019-09-11 13:08:12 +02:00
dad17ab315 Added initial logging code... 2019-09-11 13:07:27 +02:00
57d513eae8 Half-Life: Make WEAPON_PYTHON play the reload sound. 2019-09-11 13:06:19 +02:00
47aa2ea12a Team Fortress: Tweak wrench animations to actually fit. 2019-09-11 09:08:19 +02:00
94b0b5acc5 Team Fortress: Initial commit. Rough framework for the weapons, build
scripts, etc.
2019-09-11 08:45:41 +02:00
1ebd5f6ced Scientist Hunt: Add default.cfg that I forgot to commit ages ago 2019-09-11 08:02:41 +02:00
637a311c3f func_train: Add support for TRAIN_WAIT (1), which is used by the first elevator
in the Hazard Course training. Fun stuff.
2019-09-10 09:53:36 +02:00
9a47c3d9b8 Half-Life: Added player gibbing because lul. 2019-09-09 22:43:43 +02:00
1e5feeaa79 func_door: Add support for the netname key, which fires a target upon
closing of the door.
2019-09-09 22:26:17 +02:00
38347acabb Improvements to all entities that make the gun-range at Hazard Course work,
this means correct behaviour of multisource, multimanager entities, as well
as func_guntarget and func_door_rotating so that they expose the right bits
of information as needed for the managers to work.
2019-09-09 22:05:32 +02:00
004f87dacc path_corner: Documentation improvements, PC_FIREONCE. 2019-09-09 19:12:18 +02:00
2278daf727 Remove ITEM_HEALTHKIT and ITEM_BATTERY g_items bitflags.
No point in allocating bits for one-time pickup items.
I must have been asleep or something.
2019-09-09 19:00:06 +02:00
8d4c6c086e Xen decor: Literally just some static xen decor. Doesn't do anything yet. 2019-09-09 18:59:13 +02:00
a8d2a64ef9 plugins/chatsounds: make it more readable for 80 columns 2019-09-09 18:58:40 +02:00
1f0ed248a5 Cleaned/optimised some obituary code. 2019-09-09 18:58:02 +02:00
9feedd1f04 Cleaned up some names used in prediction. 2019-09-09 18:57:46 +02:00
a802c3bf3e func_train: implement most (if not all used) functionality. Needs more
testing, but on the maps on which it does work, it seems to work well.
Keep in mind that the player physics don't take ground entities into
account yet - so you'll still bounce off the platforms when they're moving
down, etc. That's a problem with the physics, but not the entity itself.
2019-09-09 18:56:56 +02:00
e64bc2ca8e Networking: Make sure level transitions don't miss player entity setup
packets
2019-09-08 12:59:17 +02:00
b447628a97 Add 'gearbox' config and modinfo.txt 2019-09-08 12:58:38 +02:00
bca3a1f713 Prediction: Unbreak Weapons_Draw by setting the roll-back values of
predicted variables. This is because we're doing something that happens
outside the prediction... this should be more elegant but it works for now.
2019-09-08 12:19:27 +02:00
8d9b03f6ca monster_generic: call droptofloor(), as it seems that some of those float
mid-air otherwise.
2019-09-08 12:18:19 +02:00
875dc52c96 Networking: Add keepalive packet for players, so that prediction doesn't break. 2019-09-08 12:17:46 +02:00
4da3cf5079 Prediction: Roll back .viewzoom, as that was forgotten about before. 2019-09-08 12:16:27 +02:00
3112040047 old_viewofs should really be a float.
Made PlayerDisconnect SendFlag more explicit.
2019-09-07 21:09:18 +02:00