Commit graph

1787 commits

Author SHA1 Message Date
0fc52f726d
BotLib now responds to 'alert' flagged sounds as well. Also added a cooldown
timer so we don't call alerts too often.
2022-03-11 14:00:44 -08:00
6fb067eed3
My name has changed, so an update to the copyright to reflect it. 2022-03-11 11:40:43 -08:00
d63f838a86
info_particle_system: Default .angles to point upward. 2022-03-10 13:50:53 -08:00
d885e2e643
BotLib: lot of work done on recognizing weapon types, making proper use of
Weapons_IsEmpty() checks - more fixes for pathfinding; the ability to set
walk and movespeed externally via method overrides; several bugfixes in
relation to firing (and getting stuck on pressing other keys.
2022-03-08 21:50:30 -08:00
f1f12623d1
Client: add r_skipFlares cvar. 2022-03-03 23:32:51 -08:00
ce02de7eff
Physics_InputPostMove: Unset FROZEN _after_ physics frame... 2022-03-03 23:32:33 -08:00
d8a8f07432
Client: make sure customphysics is set 'Empty' on monsters, clients 2022-03-03 23:31:59 -08:00
9765f4662b
Organize cmd.qc and fix centerprints from being 'font ambigious'. Use
the console font for now (like GoldSrc would, for example)
2022-03-03 16:13:30 -08:00
b0254199da
build.cfg: update BUILD_ENGINEREVISION to 6202 2022-03-03 14:17:57 -08:00
7ba2bee8e2
light_dynamic: Add r_showDlights, which will visually highlight active
dynamic lights that are active in-game.
2022-03-03 14:16:46 -08:00
53f5780ac0
Improvements to console output to make debugging easier, simplified
entry.qc by pushing more code into external functions. Add support
for mods to override networked events (after we added support for
ent update overrides the other week).
2022-03-03 14:16:02 -08:00
93124fa6de
base_player: Add Death() method that'll let the client know when to render
the 'Deathcam'. Also add the mentioned UpdateDeathcam().
2022-03-02 20:37:40 -08:00
3882611087
Server: Make sure we forceinfokey the '*team' field to 0 upon ClientConnect
to avoid having players show up in teams after map-change.
2022-03-02 09:19:05 -08:00
6db98c88aa
BotLib: Add support for goalitems. These may include objectives for things
like CTF - flag your game-mode entities as either .botinfo BOTINFO_TEAM_GOALITEM
or BOTINFO_TEAM_GOALCAPTURE and BotLib will try to figure out what to do.
2022-03-02 09:17:57 -08:00
390f127898
NSRenderableEntity: Run Math_FixDelta() on our angles before networking
anything to make sure we're within the network constraints of the protocol.
2022-03-02 09:15:41 -08:00
169bd80fc8
GameRules: Add 'IsTeamPlay()' method to the gamerules class. Use this
instead of the soon to be removed Rules_IsTeamPlay()!
2022-03-02 09:14:58 -08:00
ee2d3f6b3f
SoundDef: add 'pitch' support to Sound_PlayAt(), the pointsound builtin does
support pitch on FTEQW but it's not advertised in the extensions .qc
2022-03-02 09:14:02 -08:00
c8ea9f3e3f
Move platform/test_maps.pk3dir to base/test_maps.pk3dir 2022-02-23 01:56:43 -08:00
d4de286086
Menu-FN: Add 'menumap' to the liblist.gam extended specification. 2022-02-23 01:41:43 -08:00
a687d7b330
Various tweaks to documentation inside the codebase, more verbose general
information prints to console to aid non-devs in sending bug reports and
finding other issues. Updates to some of the GLSL. Minor material fixes.
2022-02-23 01:17:05 -08:00
084414db40
Client: Fix bug where muzzleflashes wouldn't show up in FreeHL. 2022-02-22 12:01:31 -08:00
8cb4c35e23
Remove SendFlags with constants from NSEntity and peers, make full use
of EvaluateEntity() to decide which attributes to send network updates of.
2022-02-18 00:30:24 -08:00
af04bc5e4c
GLSL: Add FOGGED permutation option to each of the skybox glsl.
Remove skybox_fogged.glsl.
2022-02-17 22:22:31 -08:00
1d9ade7319
NSEntity: Add ClientRemove() method so sub-classes can control what happens
when a SSQC ent representation is removed from the client.
prop_vehicle_drivable: All sorts of tweaks, lots subject to change.
VGUI elements now get a callback when the resolution gets resized, so they
get a chance to reposition themselves.
Deprecate function ClientGame_EntityRemove().
2022-02-17 22:16:35 -08:00
47a37af545
Client: Allow mods to override entity updates of gs-entbase.
prop_vehicle_drivable: Initial work towards suspension.
2022-02-11 17:09:08 -08:00
22ab20a7b4
Server: TraceAttack will now track range across bullet penetration, as well
as handle water volume impacts.
2022-02-10 16:17:24 -08:00
f118e34792
Client: Verify our pSeat player entity directly, don't assume 'self' is the
player in CSQC_Parse_Event and CSQC_Input_Frame.
2022-02-10 13:31:57 -08:00
bef8dfb117
Base: Some minor edits to facilitate the TW akimbo weapons (clean this later...) 2022-02-04 15:24:43 -08:00
82e1f2e044
GS-EntBase: Move prop_static fully to the client-side. 2022-02-04 10:52:37 -08:00
c4a5070027
NSProjectile: Fix small compiler warning. 2022-02-04 10:22:01 -08:00
4c6800aa4f
Some fixes/checks for prop_dynamic that I forgot to revert while testing.
Also added some changes to NSVehicle/prop_vehicle_drivable.
2022-02-03 21:18:31 -08:00
54cf7f8273
GS-EntBase: Add SetScale(), SetOwner(), SetVelocity() and SetTouch() methods
to NSEntity.
2022-02-02 10:23:31 -08:00
bcf9e2e758
Cleaning up some warnings. 2022-02-01 13:37:21 -08:00
1beb466b81
Base: .pitch reference fix. 2022-02-01 10:10:29 -08:00
eb3eb567ca
Shared: nil out the base_client predraw. Get rid of the .pitch attribute of
base_player. Fix some angle networking typos.
2022-02-01 09:33:28 -08:00
04fe9ae215
Menu-FN: Make this progs aware of DRAWFLAG_ADDITIVE 2022-01-31 18:26:34 -08:00
a3a5f9d626
Client: Some fixes for handling player/spectator classes, both share now the
same parent class on both client and server. Fix crash with spectators and
input-frame overrides. Add 'additive' command to fontdefs.
2022-01-31 17:38:01 -08:00
eb01a1d8d2
Client: Add helper functions for right-aligned text drawing. 2022-01-31 17:04:08 -08:00
155b8c343b
Font_StringWidth: Fix me being tired and not returning anything valid in this 2022-01-31 16:21:09 -08:00
5a3f59a24c
BotLib: Add checks to validate the result of Way_FintClosestNode() 2022-01-31 16:07:04 -08:00
7bcd03c05e
Client: Change Font_GetStringWidth() to Font_StringWidth(). 2022-01-31 15:39:08 -08:00
e11465018f
Client: Allow base_player and spectator classes to override CSQC_Input_Frame
with a new method: ClientInputFrame.
2022-01-31 15:31:07 -08:00
419e89e861
Client: Some minor work towards making the textmenu/game_text code respect
actual font data handled by Nuclide via external fontdef files.
2022-01-31 13:57:30 -08:00
7ce222007c
NSMonster: Fix oversight where targets would get overriden by AlertNearby()
Make it so Pain() has a random chance to change targets.
2022-01-31 10:12:41 -08:00
3fc7c477f0
info_particle_system: Fix the emitting speed/angle. Apparently that's
specified in the particle config itself.
2022-01-28 17:55:45 -08:00
578da4a779
Add VGUI_Active() which returns whether or not we're drawing VGUI elements,
add SNDFL_ALERTS to sound shaders, which will alert enemy AI of suspicious
behaviour, fix a health-setting bug in NSSurfacePropEntity and remove
playerslot check in item_pickup from base/
2022-01-28 16:02:00 -08:00
abdce0b61d
NSMonster: Improve 'seeing', don't target just anything with takedamage set to YES.
Add 'AlertNearby()' which is called when a monster sees a new enemy,
gets hit or dies.
2022-01-28 12:31:24 -08:00
2c80a9f9ff NSSurfaceProp/PropData: Add support for breakable_skin. When a prop 'dies'
it doesn't necessarily have to disappear, it can change its material to one
of your choosing.
2022-01-28 06:53:32 +01:00
92bb821ad9
NSMonster: Add GetWalk/Run/ChaseSpeed methods to override movement speeds
of each monster class that's based upon it.
2022-01-25 20:07:25 -08:00
f0a8fa0889
Client: Games can now override base-Nuclide commands. 2022-01-25 20:06:40 -08:00