Commit Graph

115 Commits

Author SHA1 Message Date
Marco Cawthorne 81e27e8502
TFCGameRules: populate serverinfo with teams actually detected to be playable on a given map. 2023-01-19 16:53:51 -08:00
Marco Cawthorne 83304cc7a5
Add team HUD icon for when you pick up a TF goal item of said team. 2023-01-19 14:47:50 -08:00
Marco Cawthorne c12743cfc9
i_t_g: Hide the brush model upon spawning. 2023-01-18 21:05:22 -08:00
Marco Cawthorne c9869626cc
Sentry and Dispenser will sanitize the angles it inherits from the player now. 2023-01-18 21:04:56 -08:00
Marco Cawthorne c1d8d69a77
WEAPON_SNIPER: shooting more or less handles or how it supposed to, with the holding down + laser and all that. Still needs more accurate movement restrictions. 2023-01-18 21:04:25 -08:00
Xylemon c401ab9828 WEAPON_MEDKIT: Almost feature complete, lacking poison and just damages once 2023-01-18 20:41:25 -08:00
Xylemon 8628cd5f4c WEAPON_KNIFE: Implemented backstab 2023-01-18 20:34:02 -08:00
Marco Cawthorne a164607f06
Fix that NOBUILDZONE and NOGRENADEZONE flags don't get unset. 2023-01-18 18:03:00 -08:00
Marco Cawthorne 8cf8cab514
Go over all the weapons, make sure the crosshairs are consistent - fix some sound issues with WEAPON_ASSCAN and set the muzzleflashes to something sensible.
Depending on which TFC version you grew up with, you may remember different muzzleflashes - don't file reports about this sort of thing yet.
2023-01-18 17:04:46 -08:00
Xylemon 5c08ab38c4 WEAPON_AUTORIFLE: Specify correct world/player models 2023-01-18 14:16:30 -08:00
Xylemon 6adad7195e WEAPON_SNIPER: Basic implementation 2023-01-18 14:16:09 -08:00
Xylemon dd918f106c WEAPON_RAILGUN: Should use this sound call 2023-01-18 14:13:51 -08:00
Xylemon 425d1d503e WEAPON_KNIFE: Basic implementation 2023-01-18 14:04:53 -08:00
Xylemon 2ecc2f77eb WEAPON_AUTORIFLE: Bringing some functions up to modern spec 2023-01-18 14:03:53 -08:00
Xylemon 8432bbfd0e Add missing sounds for RPG, Incendiary Cannon, and Tranq 2023-01-18 14:00:13 -08:00
Marco Cawthorne 5bd24517c3
Added basic sounds to WEAPON_DBS and WEAPON_SBS 2023-01-18 00:05:19 -08:00
Marco Cawthorne 1697f318cd
Player movement speeds are now specified by classtype. 2023-01-18 00:04:49 -08:00
Marco Cawthorne 99c8ce8787
Client: attempt to set g_hud_color according to the team the client is on 2023-01-17 21:53:14 -08:00
Marco Cawthorne 0d0a91c2df
WEAPON_FLAMER: migrate the code over from They Hunger real quick 2023-01-17 21:53:12 -08:00
Xylemon 87b84272e3 WEAPON_INCENDIARY: Basic functionality and renamed Railgun function to standard 2023-01-17 21:49:54 -08:00
Marco Cawthorne dee41eeffc
WEAPON_ASSCAN: early implementation of the assault cannon. 2023-01-17 17:09:06 -08:00
Xylemon 2db9152e1b Railgun now fully works, just needs visual fluff. Nailgun now uses modern crosshair approach 2023-01-17 16:44:48 -08:00
Marco Cawthorne dc9ac96279
WEAPON_PIPEBOMB: apparently the pipebomb launcher shares the magazine field with the glauncher, so fixed that. 2023-01-17 16:37:13 -08:00
Marco Cawthorne d2d3f54592
WEAPON_PIPEBOMB: now the pipebomb launcher is here too, although you can't explode the nades yet. 2023-01-17 16:32:53 -08:00
Marco Cawthorne 14843ee5fd
WEAPON_GLAUNCHER: initial implementation... mostly done 2023-01-17 16:12:59 -08:00
Marco Cawthorne 4f065e08f6
WEAPON_TRANQUIL: made that work more too. 2023-01-17 14:03:52 -08:00
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
Marco Cawthorne 03e0002a92
Merge pull request #3 from preston-thompson/master
Implement autorifle primary fire
2023-01-01 13:21:44 -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
Marco Cawthorne 5312044640
Merge pull request #2 from preston-thompson/master
Nailgun fixes, class selection fix
2022-12-31 13:46:27 -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 3e47775ccb
Add manifest file 2022-12-31 12:09: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