Blixibon
8341a65a89
C_BaseAnimating tracks both server and client ragdolls
2021-09-24 00:24:40 -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
f1bd6fcf81
Support for overriding HUD animations via map-specific scripts
2021-09-24 00:12:45 -05:00
Blixibon
8985ad2fe4
Support for map-specific HUD animations and HUD layout scripts
2021-09-24 00:11:18 -05:00
Blixibon
e39e1e0cca
Added a separate "host_pitchscale" cvar which can override host_timescale's sound pitch scaling
2021-09-20 23:46:39 -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
08dcf3ffff
Fixed an accidental omission from the EmitSound_t hooks (particularly the code which actually runs them)
2021-09-20 15:30:16 -05:00
Blixibon
0368abaf29
Made VScript's enum registration use direct API functions to create constant tables instead of declaring them in string literal code
2021-09-19 21:09:25 -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
5896fb73c8
Fixed issue with EmitSound_t origin in VScript
2021-09-19 21:03:36 -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
e27f4df8e5
Added support for map-specific client schemes
2021-09-18 13:06:15 -05:00
Blixibon
0b96d525d5
New "custom font" command for closed captioning/subtitles
2021-09-18 11:48:24 -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
0faa6d9b1a
Added a way for commentary node progress bars and subtitles to appear at the same time
2021-07-31 14:47:10 -05:00
Blixibon
8e8c34f958
Added support for columns and images in outro env_credits and color overrides for both intro and outro env_credits
2021-07-31 03:02:08 -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
5a11d51db4
Fixed some issues with instanced response systems
2021-07-26 13:14:51 -05: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
7fde10fef6
Fixed issue with text commentary label bounds upon first display
2021-07-24 18:29:14 -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
4ab87250b2
Added screen height scaling for vgui_text_display
2021-07-24 01:54:04 -05:00
Blixibon
3656ea3082
Added map-specific closed captioning files
2021-07-24 01:52:38 -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
eae3881a03
Made viewmodel_fov a non-cheat by default
2021-07-24 00:37:01 -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
2ffec5bbcf
Fixed a critical issue with Mapbase's default HL2 FGD being incompatible with VBSP instancing
2021-07-16 11:56:13 -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
Blixibon
1b534af69d
Made a bunch of static movement cvars editable in-game
2021-07-12 14:35:43 -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
bb95574ad6
Merge pull request #131 from z33ky/mb/targeted-projected_texture
...
Initialize all basis vectors for env_projectedtexture with target
2021-06-29 14:31:05 -05:00
Blixibon
5bc783b381
Merge pull request #118 from z33ky/mb/develop
...
Two small fixes
2021-06-29 14:30:03 -05:00
Blixibon
29635bac52
Added experimental support for map-specific surfaceproperties scripts
2021-06-28 23:59:36 -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
29075a2c90
Added experimental static/global VScript hooks not tied to any particular class, starting with the integration of OnSave/OnRestore
2021-06-28 23:51:24 -05:00
Blixibon
ea7d1afa08
Fixed a few minor mistakes and aliasing oversights
2021-06-28 21:07:30 -05:00
Blixibon
5f42182c45
Divided mapbase_version cvar into server, client, and game_shader_dx9 counterparts
2021-06-28 20:04:23 -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
f6a750e4b3
Initialize all basis vectors for env_projectedtexture with target
2021-06-06 15:52:35 +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
e52835520c
Slightly adjusted hook callback code
2021-05-27 13:16:55 -05:00
Blixibon
0d9a5349b0
Merge branch 'develop' into feature/vscript/hook-handler-prototype-1
...
# Conflicts:
# sp/src/vscript/vscript_squirrel.nut
2021-05-27 12:07:43 -05:00
Blixibon
1de46132d8
Slightly adjusted some prior changes
2021-05-27 12:02:39 -05:00
Blixibon
e28813de7f
Added console message for when VScript documentation is requested while it's disabled
2021-05-27 12:01:55 -05:00
Blixibon
adada8f56e
Made env_global_light start using different cvars for shadow map resolution and filter size
2021-05-27 11:41:52 -05:00
Blixibon
dcd7b95b62
Added new move_rope/keyframe_rope inputs
2021-05-27 11:39:47 -05:00
Blixibon
764f0c09e1
Merge pull request #124 from z33ky/mb/gcc11
...
Fix memory errors
2021-05-27 10:50:27 -05:00
Blixibon
be71cb487f
Merge pull request #122 from samisalreadytaken/cleanup
...
Minor adjustments
2021-05-27 10:49:46 -05:00
Blixibon
3287643c24
Added a few more matrix-related functions for VScript
2021-05-27 09:53:48 -05:00
Blixibon
c48428b678
Added OnEntrySequence and OnActionSequence for scripted_sequence
2021-05-27 09:53:31 -05:00
Blixibon
7a87bfdf5e
Added ConVar material proxy
2021-05-27 09:52:28 -05:00
Alexander 'z33ky' Hirsch
78ef9f2019
Fix MapEdit memory errors
...
deleteThis() was called on NULL pointers.
Deleting individual nodes shouldn't be necessary if the whole structure
(pkvFile) is deleted anyways.
2021-05-23 12:11:26 +02:00
Alexander 'z33ky' Hirsch
098486fbe4
Fix pointer comparisons
2021-05-23 12:11:12 +02:00
Blixibon
8ad19cbf0a
Reworked the OnDeath VScript hook so it could cheat death properly
2021-05-11 11:17:06 -05:00
Blixibon
6f515a2d34
Added VScript functions for bone attachments and transforming bone matrices
2021-05-11 10:46:30 -05:00
Blixibon
6392d9ab7c
Added various misc. stubs and utility code from the Alien Swarm SDK
2021-05-11 10:45:48 -05:00
Blixibon
051a217670
Added proper ACT_IDLE_ON_FIRE handling for Combine soldiers
2021-05-11 10:14:39 -05:00
Blixibon
0bd1f5fb59
Fixed NPCs with death animations extinguishing their fires before they should be extinguished
2021-05-11 10:12:37 -05:00
Blixibon
184be1a794
Added a way to override climb node lineup linkage via target node keyvalue
2021-05-11 10:10:44 -05:00
samisalreadytaken
c62d86e340
Added developer check on script documentation registration
2021-05-10 00:05:08 +03:00
Blixibon
c37f8eefb7
Revisited hook handler based on suggestions and new information
2021-05-09 11:34:38 -05:00
samisalreadytaken
3b51405cac
Minor adjustments and cleanup
2021-05-08 15:16:59 +03:00
Alexander 'z33ky' Hirsch
b95c72eb3f
Fix viewmodel flip on zoom
...
The fabs() was incorrectly applied only to the viewmodel's FOV instead
of the result of that subtracted by the FOV offset.
Further it doesn't seem to make sense to use the absolute value of that
subtraction; Yes, it does prevent flipping, but it will zoom out again
as the FOV decreases.
Instead just limit the result of the subtraction to non-negative
numbers.
2021-04-29 18:36:58 +02:00
Blixibon
3cd50a6ed4
Added sound pitch scaling and env_microphone detection for sentences
2021-04-27 10:59:39 -05:00
Blixibon
54c43dd6ce
Fixed unreliable string pointer in CLogicPlayerProxy::AcceptInput()
2021-04-27 10:55:33 -05:00
Blixibon
0f6fd0a5a4
Merge pull request #117 from z33ky/mb/gcc-linux
...
gcc/Linux update
2021-04-26 20:47:46 -05:00
Alexander 'z33ky' Hirsch
d0b6998637
Simplify CBreakableGibShooter::GetRandomTemplateModelIndex
...
MapEntity_ExtractValue(), as opposed to CEntityMapData, does not require
a mutable string.
2021-04-26 09:44:12 +02:00
Alexander 'z33ky' Hirsch
036fbda906
Fix strdup() leaks
2021-04-26 09:26:21 +02:00
Alexander 'z33ky' Hirsch
a75b0b7d58
Fix spacing
2021-04-25 23:06:19 +02:00
Alexander 'z33ky' Hirsch
dddcf642aa
Fix gcc build errors & warnings
2021-04-25 23:06:19 +02:00
Blixibon
5e2d1cccca
Merge pull request #116 from Alivebyte/master
...
Sound support for vgui_movie_display
2021-04-25 14:27:24 -05:00
Alivebyte
5782574711
Added constructor for movie_display to mute sound by default
2021-04-25 18:56:49 +03:00
Alivebyte
5bc2d7cb83
Added missing movie_display.cpp
2021-04-25 17:35:45 +03:00
rzkid
f458ac1223
removed stopallsounds
2021-04-25 17:27:26 +03:00
Alivebyte
ae4e26f03b
Added sound support for vgui_movie_display
2021-04-25 15:48:29 +03:00
Blixibon
5eda2f692f
Had to change mat_slopescaledepthbias_shadowmap back to 16 due to issues with objects like citizens looking strange up close
2021-04-24 11:47:41 -05:00
Blixibon
a92ca7ceac
Added weakref() and getclass() for Vector and other C++ instances in VScript
2021-04-24 11:44:51 -05:00
Blixibon
7f423759d5
Added new and experimental clientside worldlight iteration method
2021-04-23 22:58:16 -05:00
Blixibon
425057453b
Fixed an issue with the ForceThisNPCToStopBusy input which caused NPCs to keep acting busy when they shouldn't
2021-04-23 22:57:11 -05:00
Blixibon
45ca64863a
Increased ragdoll element limit from 24 to 32, reflecting later branches of Source
2021-04-23 22:55:52 -05:00