935c0fd543
NSItem: handle health/armor/ammo drops outside Touch.
...
New cmds: giveInventoryItem, removeInventoryItem, removeAllInventoryItems
2024-07-26 12:53:57 -07:00
c829d0453e
Fixes in base/, move hud weapon selection references out
2024-07-23 18:08:33 -07:00
8b4b7f0a26
Reserve the id
keyword, fix some struct members to comply
2024-07-18 13:44:52 -07:00
e9145091fd
Clear warnings.
2024-07-18 13:04:42 -07:00
965d9e96d6
NSEntity: add SetOriginUnstick(), SetBotTag()
...
NSWeapon: basic inventory management functions
2024-07-17 14:21:44 -07:00
8ace54224c
The mother of experimental commits.
2024-06-22 00:24:13 -07:00
bab74ba6fd
Change the inheritance graph of NSBot, NSClient etc.
2024-04-22 22:47:54 -07:00
822a7221b2
WIP pmove, AI, etc. changes
2024-04-22 15:11:12 -07:00
d31a3b65fd
NSView: fix some warnings.
2024-03-06 19:38:39 -08:00
d697f53ca5
NSView: when we switch between dead/alive state, reset damage display/shake variables.
2024-03-06 19:31:26 -08:00
3d32e75e88
NSClientSpectator: add new method SpectatorDeathcam()
2024-03-06 19:13:11 -08:00
f0034cb03a
SEND/READENTITY_ANGLE: use WriteAngle()/readangle()
2024-03-04 19:37:51 -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
0147278359
Client View: Ensure modelindex of the viewmodels get set to 0 when
...
we've got no valid weapon set.
2024-02-23 14:26:55 -08:00
c44bf11e3b
View: helper function to prepare for weapon changes on the client-side
2024-02-23 14:01:43 -08:00
06d959ef02
func_tracktrain: Lots of improvements across the board. Enjoy c0a0-c0a0e!
...
func_trackchange/autochange: Initial implementation.
2024-02-13 22:51:36 -08:00
4a8f4a6082
Add a whole bunch of new bot features, including bot profiles.
...
Developers: the internal class `bot` is now `NSBot`, and an entityDef
of the old name will be instantiated instead.
Override defs/bot.def in your mod and make it use any custom spawnclass
you wish. Now games don't have to override `addbot` or `bot_add` inside
the multiplayer game rules.
There's also more console commands. Clients now have access to:
addBot, killAllBots, killClass [classname], killMovables, trigger [targetname], input [entnum] [input] [data], listBotProfiles, listTargets, teleport [targetname], teleportToClass [classname], respawnEntities, spawn
2024-01-26 19:27:50 -08:00
fea60cd435
Client: add return to exit early when skyPath isn't set, solely to avoid an unnecessary print.
2024-01-15 15:44:46 -08:00
40aee258ce
NSClientSpectator: new mode: overview which is work in progress.
...
Various misc fixes to code routines that negatively affect splitscreen.
We also set frametime/clframetime to 0.0 after the first player view has been drawn as to not run
predraw math more than once per frame. This should not cause any issues but if you are experiencing issues let us know.
2024-01-08 14:58:45 -08:00
0c7fc9abc6
NSRadar: add method InitEmpty()
2024-01-02 15:41:25 -08:00
4600a03165
NSRadar: checking in initial work on the class
2024-01-01 21:23:09 -08:00
2530608b1f
NSInteractiveSurface: fix typo
2023-12-15 16:59:19 -08:00
32f9d974bb
New commands: listClientSoundDef, listServerSoundDef
...
Merge various trigger fields from Source entities into NSTrigger
Rename default player related sounds to the Source Engine style for more parity with Half-Life 2 and later games
Various player physics code fixes, such as being unable to jump higher when pushing against solids and faster noclip speed
2023-11-17 18:54:46 -08:00
bf705a9e31
speaker: now shared between client/server game
...
NSTalkMonster: Remove game specific PREDISASTER flag from the code, implement GAG instead
New entities: env_cascade_light (wip), logic_achievement, env_instructor_hint (wip)
2023-11-15 09:52:11 -08:00
97c2fdd778
env_smoker: Initial implementation.
2023-10-24 00:30:42 -07:00
73bec53034
PropData: read info from Source Engine .phy files
2023-10-22 23:30:31 -07:00
11deea5b3d
Add the following physics entities from Source: phys_ballsocket, phys_constraint, phys_constraintsystem, phys_convert, phys_hinge, phys_keepupright, phys_slideconstraint & env_physexplosion
...
Add new class phys_rope, which will handle move_rope and keyframe_rope from Source.
2023-10-17 16:49:01 -07:00
81a498d49e
Client: update viewmodel bone count directly after switching models, needed for getting the right attachment positions
2023-10-13 08:23:12 -07:00
900cf43bd0
!!! Mods/games should now remove modelevent.qc and view.qc from their csprogs !!!
...
env_muzzleflash: Initial implementation of this Half-Life 2 entity
Client: model events are for viewmodels are now handled by NSRenderableEntity.
2023-10-12 14:45:27 -07:00
9602d5eac8
Client: add new cheat cvar: r_skipWorld
2023-10-11 01:05:19 -07:00
9896b652c8
env_shockwave: Initial implementation of this SoHL entity
2023-10-06 00:20:48 -07:00
b37893e660
Client: fix the typewriter text effect timing, where fadein controls the time for each character to fade in.
2023-10-04 07:55:55 -07:00
6298688e05
worldspawn: Change the way worldspawn keys are read, and shared with the client.
...
Avoiding the need to read the world on the client-side altogether.
2023-09-22 14:39:45 -07:00
b7126fbadb
env_glow: from client-side only entity to shared. also support other rendermodes (accurate to GoldSrc)
2023-09-19 23:01:59 -07:00
5db3db539a
Client/Server: Handle 'skyname' universally and guess on the client whether we're using a Source Engine style skybox path
2023-09-13 07:56:11 -07:00
b77ec906f6
env_steam: initial implementation of this Half-Life 2 entity.
2023-09-13 00:29:31 -07:00
5f070fa8c9
point_spotlight: give it a better texture (thanks Maxwell) and optimize some bits
2023-09-12 19:39:51 -07:00
59748adf86
point_spotlight: initial implementation of this Half-Life 2 entity; also fix env_projectedtexture, func_dustmotes and func_smokevolume not rendering
2023-09-12 15:00:56 -07:00
bd470605a3
Exterminate FX_Explosion, FX_Spark and FX_Impact references.
2023-07-24 14:14:20 -07:00
a8f454dd2c
Clean up some warnings
2023-07-16 22:46:26 -07:00
c65c33ef13
Client: add new command 'listFramegroups [model path]'
2023-07-16 13:04:23 -07:00
f877b1620f
Add the constants loader, to allow entityDefs and other scripts to reference constants defined within scripts/constants.txt
2023-07-15 11:34:58 -07:00
b847316ec0
DecalGroups: precache decal groups up front to avoid loading and frames where decals are white/invisible.
2023-07-14 18:08:29 -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
dd492c7822
Add new cvar com_showTracers
to aid in debugging tracelines.
2023-07-04 08:42:32 -07:00
373e844305
Client: add new Util_ functons Util_GetTime, Util_GetTimeLeft and Util_GetAddress for the current server.
2023-06-15 11:40:46 -07:00
12bb472abc
add class NSPortal (initial work, plus custom pmove changes).
...
Work on NSProjectile expansion has begun.
Support for skill cvar referencing within entityDef values.
2023-05-27 11:58:34 -07:00
6078d31f12
NSMonster: add methods SetEyePos, and cvar r_showViewCone.
2023-05-17 08:59:26 -07:00
ff78e34c16
Move Route_GetJumpVelocity() into shared/defs.h for now.
2023-05-10 16:12:59 -07:00
3a755aaba7
NSSurfacePropEntity: add SetCanBleed() and CanBleed() methods to abstract the old iBleeds field.
2023-04-22 01:05:27 -07:00