Commit graph

1772 commits

Author SHA1 Message Date
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
63d7b04852
NSMonster: Do some basic interpolation between new/old frames. HLMDL are
currently not supported however (engine needs a fix)
2022-01-24 17:29:58 -08:00
7963b11a7d
NSMonster: Add MeleeMaxDistance() and MeleeCondition(), so classes can
easily override condition and distance of their melee attacks.
2022-01-24 12:29:06 -08:00
f1ab2201fb
build_editor.sh: build latest WS with WAD/PAK support 2022-01-23 12:16:05 -08:00
709f0a2297
scripted_sequence: More work to make c1a3 and t0a0a work properly 2022-01-21 17:24:39 -08:00
82b1cb68fa
Improvements to some GoldSrc rendermode code, better teleporting behaviour
for scripted_sequences.
2022-01-21 12:24:25 -08:00
1bd7d1a68c
Add platform/base_scripts.pk3dir/particles/burn.cfg. 2022-01-20 16:38:49 -08:00
06d07738b6
Clean up the base classes, get rid of having to manually include the entbase
defs.h for the respective progs.
2022-01-20 16:23:29 -08:00
fbb53d62f4
prop_dynamic: Filter the 'solid' field by its 3 supported collision types. 2022-01-20 14:27:39 -08:00
8bf7315253
prop_dynamic: Now solid by default, unless spawnflags bit 256 is set. 2022-01-20 12:57:17 -08:00
24b00565e3
Make it easier to parse Input/Output entity data by adding PrepareOutput()
to the NSIO class
2022-01-20 12:47:59 -08:00
9e2b89e386
NSEntity: BBox will now account for rotation whenever SetModel() is used. 2022-01-20 12:30:53 -08:00
d41c770393
func_physbox and prop_physics now respect the 'start asleep' spawnflags
they have.
2022-01-20 10:37:17 -08:00
1716e740cf
Go over the vertexlit shader again. 2022-01-13 10:47:51 -08:00
33795822a9
Rework env_global, entities communicating with it as well as support for
changetarget/changedelay in trigger_changelevel, which will make Hazard
Course its last level work in terms of elevator shenanigans.
2022-01-10 23:48:14 -08:00
ec9432fe73
NSRenderableEntity: Save/Restore tracking for 'frame' field. 2022-01-10 23:46:28 -08:00