Blixibon
435b84f96b
Merge branch 'develop' of https://github.com/mapbase-source/source-sdk-2013 into develop
2021-11-06 00:03:07 -05:00
Blixibon
17d8accd69
Fixed a few small issues with NPCs, etc.
2021-11-06 00:02:05 -05:00
Blixibon
03da4d6b58
Added cvar to ignore timestamps when checking whether or not to rebuild nodegraph, relying on internal map versions instead
2021-11-05 23:59:46 -05:00
Blixibon
49cb43d6e7
Added prop_dynamic I/O/KV and misc. prop code changes from the Alien Swarm SDK
2021-11-05 23:53:23 -05:00
Blixibon
0f3fd075c2
Implemented an OverrideMove VScript hook for NPCs
2021-11-05 23:41:19 -05:00
Blixibon
a6d5c079d3
For now, made unhidden npc_sniper translate idle to proper gun-holding activity
2021-11-05 22:18:20 -05:00
Blixibon
447c185079
Fixed metrocops not moving to attack
2021-11-05 22:14:29 -05:00
Blixibon
67d5d8b20c
Added proper NPC melee activities
2021-11-05 22:13:53 -05:00
Blixibon
276d9ff24f
Misc. fixes from prior NPC changes
2021-11-04 12:04:31 -05:00
Blixibon
c3176b34d0
Integrated Reload_NPC into more animation events and changed weapon_crossbow to be able to use a bodygroup instead of a skin for the empty bolt
2021-11-04 09:30:28 -05:00
Blixibon
0ce4251ba3
Added support for NPC door opening activities and adjustable open distance
2021-11-04 09:27:30 -05:00
Blixibon
97a6934061
Changed Combine soldier code to reflect the new activity alias overhaul and standoff behavior changes
2021-11-04 08:48:55 -05:00
Blixibon
a2c2fe09d5
Added sequence check and backup activity fallback to companion NPC readiness activities
2021-11-04 08:45:10 -05:00
Blixibon
2c55c6cea7
Added a cvar to toggle companion NPCs being able to pick up weapons they couldn't use prior to Mapbase's animation changes
2021-11-04 08:44:18 -05:00
Blixibon
440c8b5121
Fixed an oversight with new weapon activities preventing NPC weapon pickup
2021-11-04 08:26:39 -05:00
Blixibon
847db9c3e3
Added AI hint radius from the Alien Swarm SDK as well as an all-new "hint weight" keyvalue
2021-10-28 00:01:29 -05:00
Blixibon
ece1a612ce
Integrated custom cover hints into base AI movement code
2021-10-27 23:59:27 -05:00
Blixibon
dfa7e6c0c2
Added "fake sequence gestures" for NPCs, which play certain activities as gestures instead when the current animation needs to be preserved
2021-10-27 23:55:55 -05:00
Blixibon
26c05ee685
Integrated medium cover activities into standoffs and beyond
2021-10-27 23:49:22 -05:00
Blixibon
833f0b0823
Added a bajillion new activities
2021-10-27 17:10:31 -05:00
Blixibon
0e8b870e7d
Re-enabled NPC gesture turning with a cvar to toggle it
2021-10-27 17:05:19 -05:00
Blixibon
65478e754d
Added func_tank behavior to vortigaunts and Barney
2021-10-27 17:02:49 -05:00
Blixibon
a5c0091588
Fixed metrocop unholster behavior
2021-10-18 11:37:06 -05:00
Blixibon
3cd6f2e581
Allowed Alyx to fly properly
2021-10-18 11:33:01 -05:00
Blixibon
ade8fe0d02
Added yaw locking to climbing navigation
2021-10-18 11:27:20 -05:00
Alexander 'z33ky' Hirsch
c53070b322
Fix gcc build errors & warnings
2021-10-18 00:13:06 +02:00
Blixibon
1c6b0679f8
Fixed various NPC holster-related issues
2021-10-14 02:16:38 -05:00
Blixibon
3d5f73b8be
Added new NPC climbing activities and improved climbing navigation AI
2021-10-13 16:17:46 -05:00
Blixibon
2638dd1d1c
Added ThrowGrenadeGestureAtTarget input
2021-10-11 13:23:37 -05:00
Blixibon
a8f0af7925
Implemented misc. new activities
2021-10-10 20:09:32 -05:00
Blixibon
fcc815512f
Implemented new activities on RPG, crowbar, stunstick, and citizen accessories
2021-10-10 20:07:55 -05:00
Blixibon
6490e89256
Implemented new pistol, 357, and crossbow activities
2021-10-10 20:06:30 -05:00
Blixibon
4cfa6dd22c
Revisited Mapbase's custom shared activities and expanded HL2 weapon activities
2021-10-10 20:02:50 -05:00
Blixibon
b9f3ac03fa
Redid the backup activity system so that individual weapons can choose which activity tables to fall back to
2021-10-10 19:56:40 -05:00
Blixibon
3431f21f4d
Misc. NPC fixes
2021-10-10 19:51:49 -05:00
Blixibon
f63213afc3
Exposed npc_citizen to VScript and fixed SelectModel() arrangement oversights
2021-10-10 19:49:47 -05:00
Blixibon
046296569d
Exposed CBaseAnimatingOverlay to VScript
2021-10-10 19:47:10 -05:00
Blixibon
138d6c52aa
Ported some minor fixes from the Alien Swarm SDK
2021-10-10 19:41:42 -05:00
Blixibon
525e3214f2
Added global VScript hooks for entity creation/deletion
2021-10-10 19:35:04 -05:00
Blixibon
35f941d6d0
Fixed issues with hand viewmodels not working upon weapon holster + Added a way to set the hand viewmodel bodygroup
2021-10-09 15:09:48 -05:00
Blixibon
f880e95e47
Encapsulated m_bDrawPlayerModelExternally
2021-10-09 15:06:36 -05:00
Blixibon
495d534307
Fixed trigger_fall not doing anything when landing in water
2021-10-09 15:04:10 -05:00
samisalreadytaken
7894c8ad87
Eliminate redundant code
2021-10-04 20:26:46 +03:00
Blixibon
6d04c46dc0
Added speed modifier to scanners and rollermines
2021-09-28 12:09:29 -05:00
Blixibon
15f4d582f2
Added SetScale input to func_fake_worldportal
2021-09-28 11:06:34 -05:00
Blixibon
f638009797
Exposed developer commentary nodes to VScript
2021-09-28 11:06:14 -05:00
Blixibon
78f7ae6b8d
Added I/O to allow commentary nodes to change view control parameters mid-commentary
2021-09-28 11:04:27 -05:00
Blixibon
da68635013
Fixed an issue with IsCombatItem() not being overridden in CItem
2021-09-28 10:59:30 -05:00
Blixibon
f61b933ed3
Fix for a crash which occurs when NPCs pick up a weapon the player is already holding
2021-09-25 14:27:11 -05:00
Blixibon
85097e119e
Grenade/alt-fire item dropping for metrocops and player companions
2021-09-25 14:26:31 -05:00
Blixibon
24e6ab3767
Added logic_substring to VPC
2021-09-25 11:28:29 -05:00
Blixibon
416912d61b
Merge pull request #146 from mapbase-source/feature/real-fake-worldportals
...
func_fake_worldportal overhaul
2021-09-25 11:26:15 -05:00
Blixibon
84695e744d
Merge pull request #140 from moofemp/feature/logic-substring
...
Add logic_substring
2021-09-25 11:25:24 -05:00
Blixibon
d6822c66f9
Merge pull request #132 from z33ky/mb/breakablebrush_spawnobject
...
Fix console error on BreakableBrushes without spawnobject
2021-09-25 11:25:00 -05:00
Blixibon
394501826c
Forgot to reflect CUserCmd VScript change in player.cpp
2021-09-25 10:31:20 -05:00
Blixibon
5998158ac2
OnItemDrop output for NPCs
2021-09-24 13:18:04 -05:00
Blixibon
256cdfb7af
Refactored the way certain classes and structs are exposed to VScript to make the code less reliant on metamethods and reduce awkward code placement
2021-09-24 13:10:37 -05:00
Blixibon
14a2285862
Overhauled fake world portals to be more stable and much cleaner internally
2021-09-24 00:19:45 -05:00
Blixibon
fc93d736ee
Added support for displaying multiple screen overlays at the same time
2021-09-20 22:38:49 -05:00
Blixibon
f278491d86
Fixed point_viewcontrol "Don't set player view" keyvalue not working properly
2021-09-20 22:10:34 -05:00
Blixibon
4d4296dac2
Added keyvalue to ai_goal_follow to enable normal memory discard duration
2021-09-20 22:07:16 -05:00
Blixibon
d629fac2b5
Fixed a VScript think function crash
2021-09-19 21:08:02 -05:00
Blixibon
97928611aa
Removed CancelEventsByInput at the suggestion of its contributor
2021-09-19 21:04:31 -05:00
Blixibon
62f4d6f872
Exposed EmitSound_t and related constants to VScript and added hooks for modifying an entity's emitted sounds on both the server and client
2021-09-19 14:52:18 -05:00
Blixibon
55e75529bb
Added OnEntText VScript hook inspired by later Source games
2021-09-19 01:13:43 -05:00
Blixibon
ca80915b54
Fix for citizens not aiming the RPG laser dot correctly
2021-09-18 18:42:56 -05:00
Blixibon
80251f67ec
Fixed metrocops not speaking standoff sentences correctly
2021-09-18 18:31:29 -05:00
Blixibon
cbdc3b4de8
Added a way for commentary nodes to combine the speaker and print name so that the print name can be displayed to players
2021-09-18 11:46:46 -05:00
Blixibon
4e6f4cb2ea
Added scene commentary nodes, which play the audio in full VCD files
2021-07-31 03:00:05 -05:00
MoofEMP
f1a8638a34
Move logic_substring.cpp to mapbase folder
2021-07-27 22:41:43 -04:00
Moofles
3e9d3deda2
Use AllocPooledString() to prevent memory leak in logic_substring
...
Co-authored-by: Spencer Brown <spencerb21@live.com>
2021-07-27 17:50:32 -04:00
MoofEMP
99a8bdcb37
Use a variable for input string length in logic_substring
2021-07-27 17:47:03 -04:00
MoofEMP
41cde5ccf7
Fix logic_substring behaviour with unexpected length/startpos values
2021-07-27 04:02:14 -04:00
MoofEMP
22557f3751
Add logic_substring
2021-07-27 04:02:13 -04:00
Blixibon
2b1a8762bd
Added I/O/KV to point_viewcontrol inspired by later games
2021-07-26 13:08:20 -05:00
Blixibon
04687e03e9
Fixed an issue with trigger_look LOS keyvalue
2021-07-26 13:07:33 -05:00
Blixibon
632bd3d0ba
Added commentary node return speed scale
2021-07-26 13:06:20 -05:00
Blixibon
cc9f5ff7d6
Merge pull request #139 from mapbase-source/feature/commentary/text-nodes
...
Developer commentary text nodes and image nodes
2021-07-24 03:08:45 -05:00
Blixibon
4957311523
Added Alyx gun readiness activities to weapon_pistol/weapon_357 and default walk/run activities to weapon_alyxgun
2021-07-24 00:39:36 -05:00
Blixibon
d9accd2d7a
Fixed a compile error in sceneentity.cpp
2021-07-24 00:37:22 -05:00
Blixibon
2f4ea05c8a
Added view target/position scales for commentary nodes
2021-07-24 00:36:05 -05:00
Blixibon
3ab83ba1c2
Added image commentary nodes and better scaling/positioning for the text commentary panel
2021-07-18 01:27:33 -05:00
Blixibon
f67a1b95e5
Updated text commentary nodes
2021-07-17 03:58:09 -05:00
Blixibon
20f29c5552
Added prototype for a new type of commentary node which displays text instead of playing audio
2021-07-17 00:32:56 -05:00
Blixibon
9b795b3c51
Added WIP v142 toolset support based on Source SDK 2013: Community Edition repo
2021-07-12 14:47:34 -05:00
Blixibon
7ce328cbb9
Merge branch 'develop' of https://github.com/mapbase-source/source-sdk-2013 into develop
2021-07-12 14:37:00 -05:00
Blixibon
24c03f45c2
Added a cvar which allows antlions to be properly ignited instead of dying immediately
2021-07-12 14:36:39 -05:00
Alexander 'z33ky' Hirsch
7ad12764fa
Fix console error on BreakableBrushes without spawnobject
2021-07-03 13:12:31 +02:00
Blixibon
37099741a1
Merge pull request #130 from z33ky/mb/scene.image-parse-fixes
...
Fix scene loading memory errors
2021-07-02 12:01:44 -05:00
Alexander 'z33ky' Hirsch
b41d49c639
Fix scene file loading memory errors
...
Fixes leaks.
Also safeguards against deallocated pointers by doing
g_TokenProcessor.SetBuffer(NULL) after parsing is done - an access at
NULL should be easier to debug than at some random address, potentially
just reading in garbage data.
2021-07-02 09:27:25 +02:00
Blixibon
5bc783b381
Merge pull request #118 from z33ky/mb/develop
...
Two small fixes
2021-06-29 14:30:03 -05:00
Blixibon
0fb0a3319c
Added misc. new VScript hooks/constants and the code required to implement them
2021-06-28 23:55:42 -05:00
Blixibon
ea7d1afa08
Fixed a few minor mistakes and aliasing oversights
2021-06-28 21:07:30 -05:00
Alexander 'z33ky' Hirsch
e989cf63c5
Fix ReadFileEx() arguments when loading scene files
...
The parser expects NUL terminated data.
2021-06-06 16:11:24 +02:00
Alexander 'z33ky' Hirsch
06c7f7040d
Fix env_instructor_hint from disappearing after savegame load
...
It is a bit unfortunate that the initial animation plays again after
load. This is likely not fixable with SDK code without reimplementing
the HUD bits, which are part of the external engine code.
Also adds a destructor override, since we are dealing with a polymorphic
class.
2021-05-27 23:42:31 +02:00
Blixibon
1de46132d8
Slightly adjusted some prior changes
2021-05-27 12:02:39 -05:00
Blixibon
dcd7b95b62
Added new move_rope/keyframe_rope inputs
2021-05-27 11:39:47 -05:00
Blixibon
be71cb487f
Merge pull request #122 from samisalreadytaken/cleanup
...
Minor adjustments
2021-05-27 10:49:46 -05:00
Blixibon
c48428b678
Added OnEntrySequence and OnActionSequence for scripted_sequence
2021-05-27 09:53:31 -05:00
Blixibon
8ad19cbf0a
Reworked the OnDeath VScript hook so it could cheat death properly
2021-05-11 11:17:06 -05:00