Commit Graph

20 Commits

Author SHA1 Message Date
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 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 a8c8938408
NSEntity: New method CreatedByMap(). Additional work towards more vehicle related
code in preparation for WASTES.
2022-04-06 16:21:07 -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 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 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 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 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
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 54cf7f8273
GS-EntBase: Add SetScale(), SetOwner(), SetVelocity() and SetTouch() methods
to NSEntity.
2022-02-02 10:23:31 -08:00
Marco Cawthorne 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
Marco Cawthorne 9e2b89e386
NSEntity: BBox will now account for rotation whenever SetModel() is used. 2022-01-20 12:30:53 -08:00
Marco Cawthorne e4b7d55b3c
NSEntity: Add Destroy() which makes sure a sub-class is cleanly removed
from the game when possible.
2022-01-10 13:17:36 -08:00
Marco Cawthorne d3dcb3a12b
GS-EntBase: Cleanup and fixes regarding which func_ entities support the
'angles' key for visuals. trigger_hurt damagetype tweaks (needs more tests)
as well as monstermaker fixes and SF_ROT_TOGGLE func_door_rotatings no
longer auto-return...
2022-01-03 00:23:20 -08:00
Marco Cawthorne a8e4cd5748
NSEntity: Make sure .scale affects SetSize() calls and is updated with
SetModel() calls. Also keep track of original .mins/.maxs in case scale
changes.
2021-11-10 02:33:31 +01:00
Marco Cawthorne fa5cdd5a80
Initial commit of the Save/Restore system, this is the first reference
implementation of QuakeC controlled save-files and SV_PerformLoad() and
SV_PerformSave that Spoike added into FTEQW for Nuclide.
2021-10-22 20:51:51 +02:00
Marco Cawthorne ac8eefc313
NSEntity: Fix a very bad bug that caused Client entities to not parse
any fields through SpawnKey.
2021-10-21 00:36:15 +02:00
Marco Cawthorne 249e4bc612
Massive revamp of the Nuclide system classes, more efficient networking
and memory usage thanks to intelligent boxing of fields.
Added Util_TimeToString, removed old VOX code, added lots of new helper
classes...
2021-10-20 01:19:10 +02:00