Commit Graph

133 Commits

Author SHA1 Message Date
Marco Cawthorne 1b0de737e1
WEAPON_SUPERNAIL: make it work or whatever 2023-01-17 14:03:21 -08:00
Marco Cawthorne f83568c5ef
Add a cheat command to make it easier for developers to try the weapons. 2023-01-17 12:50:50 -08:00
Marco Cawthorne 7f848a6fde
Add isempty weapon functions to stop the hud selection from crashing. 2023-01-17 11:58:35 -08:00
Marco Cawthorne b43aa239d1
Removal of Game_Input which has been made obsolete. 2023-01-11 17:45:41 -08:00
Marco Cawthorne fb27e32a1f
Merge github.com:eukara/freetfc 2023-01-08 13:43:55 -08:00
Marco Cawthorne f290161fbd
Import the weapon_base* files that were once in base/, but have since then been deleted. 2023-01-08 13:43:00 -08:00
Preston Thompson 187035c186 w_autorifle: add primary fire functionality
default.cfg: rename FreeTF hostname to FreeTFC
2022-12-31 16:52:00 -08:00
Preston Thompson 938d67443d w_nailgun: add primary sound, add hit effects and decal, adjust missile start position and velocity
weapons_tfc.sndshd: add nailgun fire sound

vgui_chooseteam.qc: fix bug where class selection menu doesn't hide after picking a class

mark install_patches.sh as executable
2022-12-31 13:43:37 -08:00
Marco Cawthorne 937d3f1ba5
Compilation fixes. 2022-12-31 12:07:11 -08:00
Marco Cawthorne 131228db92
Clean up think calls and fix various linking issues with upstream Nuclide. 2022-12-22 16:11:13 -08:00
Marco Cawthorne 269d16eac6
Remove references to client/player.qc. 2022-11-30 14:31:14 -08:00
Marco Cawthorne 9c6e414e0b
Set pragma target fte_5768 2022-08-22 23:25:37 -07:00
Marco Cawthorne 2d8bfa42df
player class: Use parent method OptimiseChangedFlags() to cull some fields from being networked to players other than yourself 2022-08-09 09:31:37 -07:00
Marco Cawthorne 365276affe
Clean up our player enumflags. 2022-08-07 14:13:46 -07:00
Marco Cawthorne e3c7d8a1a2
Make our sentry class use soundDefs 2022-08-05 14:25:01 -07:00
Marco Cawthorne ddaf0f533a
Cleanup: Some CGameRules methods are now of type 'bool'
Remove rules.qc
2022-07-16 15:08:28 -07:00
Xylemon 25a70fb2d2 Wrench now detects sentries, has commented code in place for other buildings.
Also fixed up the damage code/squibs code, left in a duplicate function when updating, my bad.
2022-07-14 22:56:58 -07:00
Marco Cawthorne 7512619a06
Commit some of this WiP stuff so Xylemon can merge his changes. 2022-07-14 22:35:45 -07:00
Xylemon de3ced89cf Wrench now has cells, and will display it in the HUD
Some code cleanup
2022-07-14 21:08:17 -07:00
Marco Cawthorne 7fc6f85cbc
item_tfgoal: add RFX_GLOWSHELL rendering mode 2022-07-10 17:21:35 -07:00
Marco Cawthorne b559904a53
sentry: will now look around. no idea why bone controller 2 isn't responding. 2022-07-10 16:40:22 -07:00
Marco Cawthorne 3865075e18
sentry: apply correct color to the head of the sentry 2022-07-10 15:56:44 -07:00
Marco Cawthorne 369db33689
item_armor: remove unnecessary .skin assignment 2022-07-10 15:55:10 -07:00
Marco Cawthorne cc9868b27b
item_healthkit: basic implementation 2022-07-10 15:54:25 -07:00
Marco Cawthorne 4f5fbd81ef
item_armor: use different colors for the different armor types 2022-07-10 15:54:10 -07:00
Marco Cawthorne 5af3b4409b
item_armor: Get the right bbox value, drop to floor upon spawn. 2022-07-10 15:15:20 -07:00
Marco Cawthorne e0cc5959c9
item_armor: correct point values for the different types 2022-07-10 14:52:43 -07:00
Marco Cawthorne ba883ac321
item_armor: add soundDef for pickup sound 2022-07-10 14:46:53 -07:00
Marco Cawthorne 49f9eec643
item_armor: Initial implementation. Gives armor points and metal (to engineers) 2022-07-10 14:18:43 -07:00
Marco Cawthorne e2299d8d22
Minor cleanup around some well deserved warnings 2022-07-10 13:21:16 -07:00
Marco Cawthorne e78ae3cf86
item_tfgoal: proper drop & return code, add support for 'pausetime', 'noise3' and 'noise4' spawn keys 2022-07-10 13:07:35 -07:00
Marco Cawthorne d375315027
info_areadef: Add primitive entity.
dispenser: add Death() method
2022-07-10 11:24:40 -07:00
Marco Cawthorne 22b968c6e6
dispenser: clamp armor and do some extra bound checks before registering as a valid pickup 2022-07-10 09:15:43 -07:00
Marco Cawthorne 1dce4e12b1
Add func_nobuild, func_nogrenades. 2022-07-10 09:06:53 -07:00
Marco Cawthorne ece04dda38
dispenser: refine touch logic to check for changes, play appropriate sound 2022-07-10 08:33:56 -07:00
Marco Cawthorne 5a0f20f86f
item_tfgoal: add QUAKED comment documenting implemented behaviour 2022-07-10 07:42:36 -07:00
Marco Cawthorne 67b9d02132
Little bit more work on the Dispenser, documenting mainly the limits. Still gotta research the exact ammo refresh timings and go implement the spanner functionality. 2022-07-09 23:51:21 -07:00
Marco Cawthorne 5d37d48c23
Slight cleanup to the build/dismantle sendevents 2022-07-09 23:06:44 -07:00
Marco Cawthorne 54d2fe4e0b
Now we're warning the player when they want to build another (insert structure here) 2022-07-09 22:04:41 -07:00
Marco Cawthorne 36e2dc43b6
Add 'no metal' message when trying to build. 2022-07-09 21:55:09 -07:00
Marco Cawthorne fad9e10a95
Added some primitive building commands for the engineer... 2022-07-09 21:51:31 -07:00
Marco Cawthorne 38b5fc6cc3
Server: Gamerules now marked as teamplay, which will fix some doors and friendly fire 2022-07-09 17:36:23 -07:00
Marco Cawthorne ffc68d32c4
Server: Add jumping sound to the players 2022-07-09 17:29:07 -07:00
Marco Cawthorne 69381dcc32
Server: Brush based info_tfgoal now uses TRIGGER rendermode. 2022-07-09 17:20:42 -07:00
Marco Cawthorne 5657cba1cc
Added class TFCVox, which will now handle all your fancy VOX message requests. 2022-07-09 17:15:54 -07:00
Marco Cawthorne a40ae10035
Server: Add the missing player death sounds we all know and love. 2022-07-09 16:53:51 -07:00
Marco Cawthorne cacc015ae0
Server: Make it so you can't walk around after you die. 2022-07-09 16:46:55 -07:00
Marco Cawthorne 722a6ac5cd
Server: Implemented basic respawning. 2022-07-09 16:45:52 -07:00
Marco Cawthorne dcca77320e
Remove usage of GS_RENDERFX 2022-07-07 09:11:19 -07:00
Marco Cawthorne 95bd976b58
Adjust naming against upstream. 2022-05-11 12:50:59 -07:00
Marco Cawthorne fa69bd0d83
Convert all classes to use the new parent names. The old ones were marked for deprecation long ago. 2022-05-10 14:59:40 -07:00
Marco Cawthorne 281b50d69d
Improve player networking-culling. 2022-05-01 17:02:44 -07:00
Marco Cawthorne f6bd4d8eb2
Server: unreference player.h 2022-04-25 13:34:51 -07:00
Marco Cawthorne 7684fdbeb1
Rebased against the latest Nuclide commit. 2022-03-15 19:34:02 -07:00
Marco Cawthorne dedc13e178
Update copyright information 2022-03-13 16:56:32 -07:00
Marco Cawthorne 2bcea26be7
Remove inclusion of gs-entbase/server/defs.h 2022-01-20 16:25:00 -08:00
Marco Cawthorne e501dbe814
Client: Enable the damage/item notifications from Half-Life. 2021-12-17 18:23:33 -08:00
Marco Cawthorne 7a91fda437
Client: Include ammo notify routines. 2021-12-16 17:21:21 -08:00
Marco Cawthorne bcbbcc70d8
Client: Include FreeHL's damage.qc. 2021-10-21 23:33:02 +02:00
Marco Cawthorne 399d33a701
Add stub functions for the Vox sentence functions, which have been
taken out of upstream Nuclide.
2021-10-20 01:21:23 +02:00
Marco Cawthorne c6616fe18f
Insert muzzleflash precaches from Nuclide into ClientGame_RendererRestart 2021-10-06 22:02:18 +02:00
Marco Cawthorne 6035e11627
Use GetSpawnX() methods instead of peeking into some attribute that
may change.
2021-09-16 18:43:50 +02:00
Marco Cawthorne d8be29928d
Remove input_sequence definition. 2021-09-15 22:46:13 +02:00
Marco Cawthorne d84e161e2e Remove VALVE define from client/progs.src, add TFC define 2021-08-29 21:48:32 +02:00
Marco Cawthorne 21430f6fb5 Update include.src against valve/src 2021-08-29 17:46:33 +02:00
Marco Cawthorne a7d95b8800 Inherit valve/src's viewmodel effects 2021-08-01 08:56:05 +02:00
Marco Cawthorne a441ba4349 Remove usage of printf 2021-06-18 09:27:58 +02:00
Marco Cawthorne b7dab86f17 Server: Gone over info_tfgoal and item_tfgoal's speak and broadcast
code. It gets really confusing as to why non-owner messages get played
on 2fort but I think those are just fallback cases. This is very much
undocumented territory we're entering here.
2021-05-25 10:28:09 +02:00
Marco Cawthorne a0a65b9843 Major work on item_tfgoal and info_tfgoal. We now got 2fort style maps
working functionally. A lot is still missing however. Especially visual
fluff.
2021-05-25 08:32:11 +02:00
Marco Cawthorne cd750cd5d8 Client: Add yellow/green team join buttons in vgui_chooseteam 2021-05-25 08:30:11 +02:00
Marco Cawthorne f7d14b97dd Force team colors onto a player when spawning. We still gotta suppress
canges to them
2021-05-24 12:47:33 +02:00
Marco Cawthorne 0ab75f83bf Change the unspawned classname to 'unspawned' to prevent spectator logic
from taking place
2021-05-24 12:46:58 +02:00
Marco Cawthorne 833e2813af Re-enable the VGUI team choose menu. 2021-05-24 12:46:39 +02:00
Marco Cawthorne 650b24b020 Include flashlight.qc from FreeHL 2021-05-22 20:43:11 +02:00
Marco Cawthorne 04404673b8 Just some indentation guff changed. 2021-05-20 16:06:03 +02:00
Marco Cawthorne 3f22159607 Don't set view_ofs here. 2021-05-16 23:13:52 +02:00
Marco Cawthorne 3af0b7247d Use Base its damage.qc instead of FreeHL its. 2021-05-10 11:37:01 +02:00
Marco Cawthorne ad4c75ac7e Shared: Inherit weapon_common from Nuclide's base game. 2021-05-10 08:18:53 +02:00
Marco Cawthorne 1013cd9d1d Fix the code to compile against the latest Nuclide SDK 2021-05-07 13:35:42 +02:00
Marco Cawthorne 21d6eadbd9 Change pSeat references to pSeatLocal where applicable. 2021-03-31 13:44:10 +02:00
Marco Cawthorne 38372459a0 Include draw.qc from Nuclide's base game 2021-03-17 06:27:41 +01:00
Marco Cawthorne c227b5e717 Merge client/input.qc and server/input.qc into shared/input.qc 2021-03-13 15:33:13 +01:00
Marco Cawthorne 67487d30cb Initial commit, carried over from Nuclide's Git on March 8th 2021 2021-03-08 12:08:54 +01:00