Commit graph

42 commits

Author SHA1 Message Date
0909b91703 last weeks work, read plan 2024-09-17 12:46:31 -07:00
a7edfdf5d0 NSSurfacePropEntity: load surfacedata from propdata when not set 2024-09-09 22:05:09 -07:00
bf567da9ba
* spawn/speed optimisation for NSPhysicsEntity
* pick a better dmgDir for hitscan NSProjectiles so physics ent feedback is accurate

* fix NSPhysicsEntities not becoming invulnerable after breaking
2024-09-03 12:15:16 -07:00
b60d420692 Push all the latest commits from this week's worklog, changes for RT2 2024-09-01 23:57:51 -07:00
37f5c907b4
NSWeapon: rename some methods to be more verbose, add WeaponStartedFiring(), WeaponStoppedFiring()
NSDict: add InitWithSpawnData(string)
2024-07-30 20:15:43 -07:00
f9dd7362b4
NSSurfacePropEntity: change string damageDef to NSDict damageDecl in Damage() 2024-07-18 16:32:05 -07:00
e9145091fd
Clear warnings. 2024-07-18 13:04:42 -07:00
a852f887e2
More fixes. 2024-07-11 15:24:33 -07:00
8ace54224c
The mother of experimental commits. 2024-06-22 00:24:13 -07:00
822a7221b2
WIP pmove, AI, etc. changes 2024-04-22 15:11:12 -07:00
e2239a236f
Minor cleanups to some point entities and replace various usage of whichpack(). 2024-03-04 18:51:07 -08:00
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
31b88f63f2
Fixes for DAMAGE_AIM, so we can respect the sv_aim cvar. 2024-01-29 23:47:36 -08:00
4b69949385
Server: Ensure r_meshpitch gets set to 1 on init. 2023-11-18 21:16:52 -08:00
73bec53034
PropData: read info from Source Engine .phy files 2023-10-22 23:30:31 -07:00
f96b41bc2e
NSSurfacePropEntity: Ignore view_ofs in GetEyePos() when we're a spectator. 2023-10-11 01:05:37 -07:00
19d6f22dc4
NSIO: add TransitionComplete() method for easier handling of entities post level-transition.
NSRenderableEntity: Default renderamt to 0.
Also use Read*() methods within all of the base classes their SpawnKey() methods.
2023-10-03 11:02:47 -07:00
4f699aae6e
Monster spawning position and scripted sequence fixes. Also leave movetype of LEAVECORPSE scripted sequence entities alone or else it breaks of1a1's G-Man 2023-09-20 22:42:11 -07:00
d9d3220833
NSRenderableEntity: various tweaks to networking, env_glow 2023-09-20 15:09:23 -07:00
bd470605a3
Exterminate FX_Explosion, FX_Spark and FX_Impact references. 2023-07-24 14:14:20 -07:00
159756889f
New PropData API function: BreakModel_Entity(NSSurfacePropEntity target, vector dir, float speed); 2023-07-17 11:33:44 -07:00
e27518b672
NSSurfacePropEntity: network 'axialscale' rendering tweak 2023-07-08 23:37:34 -07:00
9e6a203a02
Shared: Go over the various base classes and bring Save/Restore methods up to date. 2023-07-07 23:34:58 -07:00
d5bb5f933d
NSRenderableEntity: Increase network precision of body field, add new methods 'SetBodyInGroup(int, int)' and 'GetBodyInGroup(int)' 2023-06-28 14:19:47 -07:00
31774ce3f1
EntityDef work on NSMonster, NSTalkMonster, NSProjectile etc. 2023-06-20 21:19:00 -07:00
1bb1fe705d
NSSurfacePropEntity: add SetBloodColor/GetBloodColor methods 2023-06-01 10:30:51 -07:00
6078d31f12
NSMonster: add methods SetEyePos, and cvar r_showViewCone. 2023-05-17 08:59:26 -07:00
09a0e2de52
func_breakable: Fix entities not playing break sounds/models when no 'material' key is set. 2023-05-01 06:16:28 -07:00
cd3023eeba
Server: add MapTweaks. A new feature that allows tinkerers to rewrite entity classnames under certain conditions (RFC) 2023-04-22 02:45:58 -07:00
3a755aaba7
NSSurfacePropEntity: add SetCanBleed() and CanBleed() methods to abstract the old iBleeds field. 2023-04-22 01:05:27 -07:00
19d7f30cc4 Replace some Hide calls with Disappear and we don't need this check in TalkMonster anymore 2023-01-17 13:37:03 -08:00
1069468be1
Client: add cvar net_debugUpdates, to show which entity updates.
NSSurfacePropEntity: Add method: TimeSinceDeath()
Also further improvements to consistency of cvars, etc.
2023-01-08 13:18:57 -08:00
56ec44700a
Lots of cleanup related to many entity classes to aid doxygen with generating documentation. 2022-12-06 15:04:07 -08:00
e499a7d484
Documented the Nuclide System (NS) classes. 2022-10-14 13:08:47 -07:00
146051dd67
Proper nonvirtual declarations for class methods. 2022-08-24 15:11:04 -07:00
7228c0d43a
NS{Entity,RenderableEntity,SurfacePropEntity}: network avelocity in a separate check 2022-08-11 14:19:10 -07:00
bc2f56b6d1
NSView: Don't run stair smoothing code when we're going up on elevators/platforms.
Change some type names around for consistency.
2022-08-10 16:51:26 -07:00
2526751db1
Clean up some areas where float logic happens to prepare for the compiler flag 'assumeint' 2022-08-10 16:15:44 -07:00
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
5ca96bbcd9
Add helpers across the codebase to deal with networking ents. I tried prototyped a more elegant solution the compiler didn't like - the language should really deal with this. 2022-08-07 14:12:55 -07:00
baab5c931c
NSView: Take over some duties 2022-07-29 16:25:02 -07:00
2a220fb331
Move base classes out of gs-entbase. This evolution only happened because classes such as CBaseMonster that once existed were replaced and it grew from there.
Tweak g_developer prints for scripted_sequences.
2022-07-19 15:22:15 -07:00
Renamed from src/gs-entbase/shared/NSSurfacePropEntity.qc (Browse further)