Commit Graph

2481 Commits

Author SHA1 Message Date
Marco Cawthorne 73bec53034
PropData: read info from Source Engine .phy files 2023-10-22 23:30:31 -07:00
Marco Cawthorne 8cd6d3967d
Shared: sanity check for when decalgroups are attempted to be placed, but not available. 2023-10-18 07:47:24 -07:00
Marco Cawthorne b7167a553e
Shared: don't mess with sound def names when precaching them. 2023-10-17 18:27:59 -07:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne ab9d66b2e4
BotLib: for goals and goalitem route search, use WorldSpaceCenter() and not their origin to deal with brush triggers and non-existant origins properly 2023-10-13 08:22:31 -07:00
Marco Cawthorne 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
Marco Cawthorne 05ed789f9a
trigger_camera: Hacks that'll make it work (for now) 2023-10-11 01:05:40 -07:00
Marco Cawthorne baa22e732c
Base: small cleanups of old unused code. 2023-10-11 01:05:38 -07:00
Marco Cawthorne f96b41bc2e
NSSurfacePropEntity: Ignore view_ofs in GetEyePos() when we're a spectator. 2023-10-11 01:05:37 -07:00
Marco Cawthorne b37afb1362
BotLib: break func_breakable entities within their path. 2023-10-11 01:05:35 -07:00
Marco Cawthorne 1bf829920f
NSRenderableEntity: Simplify RM_SOLID in RenderFXPass() 2023-10-11 01:05:34 -07:00
Marco Cawthorne 37eceb3677
vertexlit.glsl: add cvar r_showEnvCubemap from Source 2023-10-11 01:05:32 -07:00
Marco Cawthorne d75f5ec43b
Platform: textures named 'TRIGGER' are always invisible. 2023-10-11 01:05:31 -07:00
Marco Cawthorne 444d611068
defaultwall.glsl: Remove SCROLL permutation ifdef. 2023-10-11 01:05:29 -07:00
Marco Cawthorne a623b1e301
NSTalkMonster: pathfinding fixes that benefit following players around the maps. More failsafes. 2023-10-11 01:05:28 -07:00
Marco Cawthorne 7d9de3a2cc
NSEntity: new method GetNearbySpot() which will return a free position close to the entity. 2023-10-11 01:05:26 -07:00
Marco Cawthorne 9602d5eac8
Client: add new cheat cvar: r_skipWorld 2023-10-11 01:05:19 -07:00
Marco Cawthorne 1d7b6fe25f
PMove: added pm_noclipSpeed and pm_noclipAccelerate cvars which serve an obvious purpose. 2023-10-11 00:39:31 -07:00
Marco Cawthorne f183bfc571
ambient_generic: fix regression in the old style sound mechanism 2023-10-06 21:19:46 -07:00
Marco Cawthorne a5ecd18047
env_model: Initial implementation of this SoHL entity 2023-10-06 00:21:17 -07:00
Marco Cawthorne 9896b652c8
env_shockwave: Initial implementation of this SoHL entity 2023-10-06 00:20:48 -07:00
Marco Cawthorne 818a1a2155
scripted_sequence: support for 'killtarget' key 2023-10-04 14:55:02 -07:00
Marco Cawthorne 662e01c84d
monster_generic: Set alliance to neutral. 2023-10-04 08:56:46 -07:00
Marco Cawthorne 6f3b07ed34
NSNavAI: ensure everything is properly nulled when an empty chase path target is set. 2023-10-04 08:56:21 -07:00
Marco Cawthorne 07e70aa4c4
NSMonster: disable yaw interpolation for now. 2023-10-04 08:55:53 -07:00
Marco Cawthorne 47eb4fb88f
func_tracktrain: fixes to the way the angle delta is calculated, and restore the train to a position relative to its last target post level transition. 2023-10-04 08:55:03 -07:00
Marco Cawthorne 40adc77d66
scripted_sequence: Don't call FreeStateMoved() when SS_NO is set. 2023-10-04 08:53:07 -07:00
Marco Cawthorne 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
Marco Cawthorne 11797717ef
scripted_sentence: Use targets when triggered (fixes city2a in Gunman) 2023-10-04 07:55:18 -07:00
Marco Cawthorne aadc23356d
trigger_transition: Call method TransitionComplete() onto entities when applicable. 2023-10-04 07:54:43 -07:00
Marco Cawthorne 31553d9b5c
scripted_sequence: Fix the angles being overriden when move mode NO is set. 2023-10-03 23:33:09 -07:00
Marco Cawthorne 3f0f6b2d0f
NSMonster: add new alliance type: MAL_NEUTRAL 2023-10-03 20:18:10 -07:00
Marco Cawthorne a48498e5cf
env_glow: Fix warning. 2023-10-03 11:05:38 -07:00
Marco Cawthorne c59a76a53d
NSMonster: add the ability to chase path_corners and things. 2023-10-03 11:05:14 -07:00
Marco Cawthorne 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
Marco Cawthorne 9110da2cec
trigger_once/multiple/teleport/camera, prop_rope: Save/Restore fixes 2023-10-03 11:00:28 -07:00
Marco Cawthorne 367289df84
scripted_sequence: Play animation immediately when movetype is SS_NO. 2023-10-03 10:59:25 -07:00
Marco Cawthorne ae1f768689
path_corner: Only fire its targets when a message is actually set... 2023-10-03 10:57:20 -07:00
Marco Cawthorne 51f572378f
func_pushable: Save/Restore naming fixes 2023-10-03 10:56:36 -07:00
Marco Cawthorne 7d69ab96fc
func_door: Save m_waterType 2023-10-03 10:56:05 -07:00
Marco Cawthorne 6f2115c45f
GS-EntBase: Fix formatting in a few class definitions 2023-10-03 10:54:49 -07:00
Marco Cawthorne 530f25667b
func_smokevolume: fix warning in predraw. 2023-10-03 10:52:22 -07:00
Marco Cawthorne c531efaaf9
func_dustcloud: Fix warning in predraw. 2023-10-03 10:52:08 -07:00
Marco Cawthorne c1d6324153
VGUI: Redo the way input is handled, address focus changes between Windows etc. 2023-10-01 01:19:20 -07:00
Marco Cawthorne 5c5eedb665
NSGameRules: add method 'Title' which returns the print name for a given gamerule. 2023-09-29 16:10:21 -07:00
Marco Cawthorne 70bb77d2bb
trigger_changelevel/logic_auto: avoid use of the 'readcmd' builtin. 2023-09-28 23:25:26 -07:00
Marco Cawthorne 2fb002aab1
NSPhysicsEntity: Create identifier .isPhysics unique to physics based entities 2023-09-28 18:43:22 -07:00
Marco Cawthorne ee820f3ed1
logic_case: Initial implementation, missing from last commit. 2023-09-28 18:41:15 -07:00
Marco Cawthorne 4b36ec3bb0
trigger_transition: Handle the carrying-over of entity information based on 'globalname'. 2023-09-28 18:40:06 -07:00