Marco Cawthorne
6982043380
Added NSInteractiveSurface. Make voting display which bindings to press for yes/no.
2022-06-04 14:09:50 -07:00
Marco Cawthorne
a463498f60
Huge cleanup. Add initial code for the revamped material definition system.
2022-06-01 17:38:52 -07:00
Marco Cawthorne
bb2b7dbddf
NSClient: add method UpdateAliveCam()
...
UITextbox: Misc polish regarding text entry
GLSL: Detail pass support for some materials
2022-05-15 13:32:53 -07:00
Marco Cawthorne
06efd9495d
func_door: Add some useful inputs.
...
VGUI: Some misc changes related to classic mode.
2022-05-13 14:10:07 -07:00
Marco Cawthorne
25c54af62c
Spring cleaning part one.
2022-05-11 12:49:04 -07:00
Marco Cawthorne
a039a69dd3
Ultimately remove the deprecated old class names for base entities.
2022-05-10 15:01:40 -07:00
Marco Cawthorne
a474b820e2
momentary_rot_button: Fix DOORHACK, it's spawnflag is apparently set by the affected and not the ent controlling it.
2022-05-07 21:02:49 -07:00
Marco Cawthorne
299b2eed72
scripted_sequence & multi_manager: Mark both their return values as positive once they've triggered their targets only.
2022-05-04 13:59:10 -07:00
Marco Cawthorne
7d780118ae
func_tracktrain: Implement support for TRAIN_NOPITCH
2022-05-02 11:04:26 -07:00
Marco Cawthorne
978cf8e1fc
env_message: When spawnflags EMF_ALLPLAYERS isn't set and our activator is NOT a client then broadcast to all players anyway.
...
This is a hack to make the credits in c0a0 etc. work. Hack.
2022-05-02 10:50:10 -07:00
Marco Cawthorne
e64e72d155
env_bubbles: Implementation. Should be complete.
...
NSIO: Add methods ReadBool(), SaveBool(), and PREDICTED_BOOL macro.
2022-04-30 20:18:56 -07:00
Marco Cawthorne
d562e4d742
func_tracktrain: Do avelocity rotation a bit better. Still need to figure out turning faster.
2022-04-30 15:26:46 -07:00
Marco Cawthorne
2d403202b9
Avoid use of infokeys to communicate whether or not a client is spectating.
2022-04-25 15:25:35 -07:00
Marco Cawthorne
607194957e
Player: Move UseUp/Down into the base_player class. Should now universally handle un-presses for all games.
2022-04-25 10:19:17 -07:00
Marco Cawthorne
87d9614b23
GS-EntBase: Convert more entities to the new Touch() method.
2022-04-24 22:10:35 -07:00
Marco Cawthorne
a28caedf40
trigger_one: Fix it up to bring it up to standards.
...
func_pushable: Ditto, simplify Touch()
2022-04-23 22:03:51 -07:00
Marco Cawthorne
767fdd0913
func_door_rotating: Apparently spawnflags 32 (TOGGLE) does not remove player touch. Odd.
2022-04-23 21:35:49 -07:00
Marco Cawthorne
0c89cd31ec
func_door_rotating: Redid the way how one-way-doors swing. This should avoid them swinging into your face constantly
2022-04-23 18:32:29 -07:00
Marco Cawthorne
f83b6b6725
func_door_rotating: Go over the code that handles touching. Stop assigning the .touch field as it's off-limits now.
2022-04-23 17:34:22 -07:00
Marco Cawthorne
8e15f04c38
prop_physics_multiplayer: Initial implementation. Developed with the ODE plugin in mind.
2022-04-20 10:44:59 -07:00
Marco Cawthorne
069c59628d
Mapcycle: Disable sanity check until the engine fixes whichpack
...
Gamerules: Intermission will now call 'nextmap' instead of 'restart'.
func_button: Basic support for 'message' field.
env_cubemap: default to saving .ktx
2022-04-17 13:50:14 -07:00
Marco Cawthorne
a34c9a8059
env_sprite: Hack to accept materials instead of models
...
func_breakable: Some minor fixes
prop_physics/func_physbox: Add PHYSICS_STATIC ifdef for when a game does not want fakephysics either
NSSurfacePropEntity: max_health will now be set along with health in SpawnKey()
2022-04-16 18:42:38 -07:00
Marco Cawthorne
9cdcb3a321
trigger_hurt: Fix broken touch(), regression with the overhaul of Touch recently.
2022-04-15 10:19:50 -07:00
Marco Cawthorne
1b2f587599
Shared: Deprecate ClientRemove() over OnRemoveEntity, which will work on both Client and Server.
...
prop_vehicle_drivable: Add minor collision boxes to aid player physics
Fix some warnings.
2022-04-12 23:48:31 -07:00
Marco Cawthorne
05f6af510a
NSSurfacePropEntity: put rendering for when an entity is burning into the new
...
method RenderFire().
Also some minor non-ODE physics tweak.
2022-04-10 07:21:44 -07:00
Marco Cawthorne
1dd3fe0eff
Client: Add cvar: v_muzzledlight
2022-04-08 14:20:49 -07:00
Marco Cawthorne
0a75c64fb1
infodecal: Allow usage outside of HL BSP. Just not Quake 1/2 BSP.
2022-04-04 21:34:00 -07:00
Marco Cawthorne
0d93a22b58
Clean up misc warnings.
2022-04-04 09:40:35 -07:00
Marco Cawthorne
75a1c8ce6c
NSEntity: .touch being assigned is being deprecated in favor of our internal Touch(entity).
...
This is so we can support StartTouch(entity) as well as EndTouch(entity) which are implemented
with this commit. Update your entities touch() function overrides for NSEntity sub-classes!
2022-04-03 14:04:34 -07:00
Marco Cawthorne
e45987d65c
NSEntity: Added new methods based on GMod's API. More to follow.
2022-04-02 00:10:25 -07:00
Marco Cawthorne
6802d907f7
NSPhysicsEntity: Handle collision with players differently when no physics simulator is present.
2022-04-01 12:16:14 -07:00
Marco Cawthorne
1c102a7e76
NSEntity: Add RestoreComplete() method, so after loading/changelevel we can
...
interpret the data we just loaded better for each entity.
2022-03-31 00:30:15 -07:00
Marco Cawthorne
95c2b8225a
func_door: Add 'snd_move' attribute.
...
Platform: Misc minor GLSL updates. You can use the #TINT parm on program fade materials now.
2022-03-28 03:32:02 -07:00
Marco Cawthorne
1ca716d4fe
func_door: Add Save/Restore methods to aid save-games.
2022-03-26 18:15:43 -07:00
Marco Cawthorne
c87837f583
func_door: Add 'forceclosed' key from Source
2022-03-26 18:03:22 -07:00
Marco Cawthorne
ed3c821175
logic_auto: Initial implementation.
...
NSEntity: Add support for 'SetParentAttachment', which currently supports
the keyword 'origin'. Will be extended to look for model attachments in the future.
NSEntity: Attachments now take the spawn offset into account instead of
attaching to an entity's origin. Use SetParentAttachment to override this.
2022-03-24 17:59:30 -07:00
Marco Cawthorne
9e9d5b1832
env_fog_controller: Initial implementation. Fully shared entity, tested on
...
d2_coast_XX maps in Half-Life 2.
2022-03-23 11:05:35 -07:00
Marco Cawthorne
6fb067eed3
My name has changed, so an update to the copyright to reflect it.
2022-03-11 11:40:43 -08:00
Marco Cawthorne
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
Marco Cawthorne
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
Marco Cawthorne
bef8dfb117
Base: Some minor edits to facilitate the TW akimbo weapons (clean this later...)
2022-02-04 15:24:43 -08:00
Marco Cawthorne
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
Marco Cawthorne
bcf9e2e758
Cleaning up some warnings.
2022-02-01 13:37:21 -08:00
Marco Cawthorne
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
Marco Cawthorne
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
Marco Cawthorne
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
Marco Cawthorne
709f0a2297
scripted_sequence: More work to make c1a3 and t0a0a work properly
2022-01-21 17:24:39 -08:00
Marco Cawthorne
82b1cb68fa
Improvements to some GoldSrc rendermode code, better teleporting behaviour
...
for scripted_sequences.
2022-01-21 12:24:25 -08:00
Marco Cawthorne
fbb53d62f4
prop_dynamic: Filter the 'solid' field by its 3 supported collision types.
2022-01-20 14:27:39 -08:00
Marco Cawthorne
8bf7315253
prop_dynamic: Now solid by default, unless spawnflags bit 256 is set.
2022-01-20 12:57:17 -08:00