Commit Graph

24 Commits

Author SHA1 Message Date
Marco Cawthorne d9d579478a
monstermaker: Prevent monster DropToFloor().
NSMoverEntity: Remove eager MoveToPosition check that broke func_button's NOMOVE variants.
2024-03-05 23:27:26 -08:00
Marco Cawthorne 649ed825ad
Big commit, work over various triggers. Clean up debug prints and make
them more consistent. Warnings are in yellow, while errors are in red.

New cvar: g_developerTimestamp will display timestamps next to debug messages
originating from the game-logic. Set g_developer to 1 to see them.
A lot of useful into, such as which entity id messages originate from
should aid in debugging quite a bit.

SP level transitions should also be more reliable now in terms of
transferring entities and the like.

Some levels have awkward transition areas and you might find yourself
jumping between levels frequently. Workarounds are in the works.
2024-03-02 00:40:08 -08:00
Marco Cawthorne 8b2d484917
func_train: fix how we initially spawn, preventing the train from accidentally getting triggered on spawn 2024-02-23 13:50:52 -08:00
Marco Cawthorne 25cfc4938e
game_team_master/NSTrigger: GetValue() is now aware of who is querying for said information. Required for game_team_master. 2023-10-30 16:37:45 -07:00
Marco Cawthorne 8ec3d00e93
Save/load system stability improvements. 2023-03-23 17:04:34 -07:00
Marco Cawthorne 3eb85ae400
Documentation improvements to various headers, also g_developer prints. 2022-12-21 17:09:35 -08:00
Marco Cawthorne 2d911109cc
trigger_relay: Set m_iValue so that multisources will work properly that get targetted by them
trigger_auto: Delay the trigger of them in singleplayer until 1 player has joined
Misc cleanups. The 'Janitor Simulator' on TWHL should work now.
2022-12-14 16:51:16 -08:00
Marco Cawthorne 94d5d5408c
GS-EntBase: Adjust QUAKED comments so they can be parsed by Doxygen. 2022-12-13 17:52:20 -08:00
Marco Cawthorne 56ec44700a
Lots of cleanup related to many entity classes to aid doxygen with generating documentation. 2022-12-06 15:04:07 -08:00
Marco Cawthorne e499a7d484
Documented the Nuclide System (NS) classes. 2022-10-14 13:08:47 -07:00
Marco Cawthorne 7a252ad213
NSEntity: new methods to simplify a lot of common tasks added. ScheduleThink(void(), float) and WithinBounds(entity) will surely be helpful.
Went over gs-entbase/server and made sure to use the new Think handlers to safely deal with MOVETYPE_PUSH
and handle any fun edge cases where time may be 0.0f.
func_breakable has also been fixed, since the changed Show/Hide behaviour prevented
them from getting destroyed fully.
2022-08-26 15:39:00 -07:00
Marco Cawthorne 517614fd37
Major overhaul that'll make savegames a lot better. Every entity we implement should have a Save/Restore function.
AI noes recalculates their route in case of a loaded savegame... And much more.
2022-08-10 14:24:06 -07:00
Marco Cawthorne 66b09de431
Big commit fixing many regressions since crunch hit. env_sprite has been reworked.
multi_manager entities now behave correctly when calling themselves in MULTITHREADED mode.
Remove GS_RENDERFX option. Too many entities rely on its functionality anyway.
Fixed some rendermode behaviour - ladders will no longer be visible.
You can now see the playermodel (and no longer the viewmodel) in mirrors.
Fixed a lot of warnings.
2022-07-07 09:10:14 -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 e45987d65c
NSEntity: Added new methods based on GMod's API. More to follow. 2022-04-02 00:10:25 -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 5bf3545e69
GS-EntBase: Added a ton more Save/Restore functions for many core entities.
Player entity is also getting save/restored now.
2021-10-28 04:29:11 +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
Marco Cawthorne 56a616ec8b
CBaseEntity: Add reliable methods to query what certain attributes where
when the entity first spawned. (e.g. GetSpawnOrigin())
2021-09-16 17:34:56 +02:00
Marco Cawthorne 50c3f27a69 GS-Entbase: Document spawnflags throughly in QUAKED comments. 2021-07-17 21:04:34 +02:00
Marco Cawthorne d744bf2272 GS-Entbase: QUAKED comment improvements for level editors 2021-07-14 11:49:30 +02:00
Marco Cawthorne d58e653e08 func_train: Make sure we trigger PathDone() BEFRE switching to the new node
and remove the targetname check for PC_WAIT/TRAIN_WAIT spawnflags
2021-03-12 02:48:08 +01:00
Marco Cawthorne d5ae0c8dfd func_train: Fix the moving sound from not stopping on certain variations
of this entity
2021-02-14 00:21:35 +01:00
Marco Cawthorne 02efa21e3d Move game-specific sources into their respective mod-dirs. This was planned
for a while and was inevitable. Latest fteqcc required that fixes a limit
with paths. Also added src/server/mapcycle.qc
2021-02-08 13:35:15 +01:00
Renamed from src/gs-entbase/server/func_train.cpp (Browse further)