941 Commits

Author SHA1 Message Date
Alexander 'z33ky' Hirsch
df6adcc5e9 Fix -Wdelete-incomplete in CDefaultCustomWeaponEntityFactory::ReleaseData()
GCC warns about attempting to delete a void-pointer, since it will not
be able to invoke its destructor. Fix by casing it to the expected
type.
2024-09-05 23:42:16 +02:00
Alexander 'z33ky' Hirsch
e9c45e5235 Implement GetColorForSurface() failure workaround
This function is used to color impact particles.
On Linux I've noticed that this function sometimes is not successful on
retrieving the surface color, leaving an odd color to render the
particles with. The engine function TraceLineMaterialAndLighting() even
has a boolean return value indicating success.
GetModelMaterialColorAndLighting() does not though, but I still observe
failures (the color parameter is not modified). The color is initialized
with an invalid value. If it detects that retrieving the color failed
(engine function said so or the invalid value was left in place), this
now hamfistedly assumes a lightish grey color, but at least still
correctly (presumably) incorporates lighting information.
When this situation is detected, a warning is also printed to the
console. Because why not.
2024-09-05 23:35:46 +02:00
ALLEN-PC\acj30
5d50335c02 New "Destroy" input for func_combine_ball_spawner 2024-08-10 13:51:06 -05:00
ALLEN-PC\acj30
102c7c3015 New "StopActionLoop" input for scripted_sequence 2024-08-10 13:49:19 -05:00
ALLEN-PC\acj30
06596695a3 Fix filter_activator_model issues with save/restore and null activator 2024-08-10 13:48:48 -05:00
ALLEN-PC\acj30
178a262032 Add VScript function for checking last hit group on CBaseCombatCharacter 2024-08-10 13:47:53 -05:00
Wikot235
4f14f0c5cc Fixed the issue. 2024-08-07 13:16:37 +02:00
Wikot235
a736b0f96a Added new spawnflag 2024-07-28 14:11:06 +02:00
Wikot235
41233cb475 Added Melee attack keyvalue 2024-07-27 23:49:31 +02:00
ALLEN-PC\acj30
5cf63d4eb6 Spotlight "Ignore solid" keyvalue from MP branch 2024-06-28 16:09:37 -05:00
Wikot235
cd6ec90a0f Fixed the issue. 2024-06-24 23:42:07 +02:00
ALLEN-PC\acj30
73988dcc7c Fix maps with multiple sky_cameras not using the correct sky_camera after loading a save 2024-06-22 02:33:19 -05:00
ALLEN-PC\acj30
33e047a442 Primitive chromatic aberration effect for env_screeneffect 2024-06-22 01:44:20 -05:00
ALLEN-PC\acj30
24f3656632 Add capability to +USE serverside ragdolls and toggle cleanup of individual ragdolls 2024-06-21 18:22:04 -05:00
azzy
a49cff34f9
Fix vertex blend swapping in Hammer for SDK_LightmappedGeneric
Out of bounds array index corrupting the stack
2024-04-27 04:31:21 +03:00
arbabf
2c001ff259 Change RANDOM_CRAB_TYPE to -1 2024-04-13 16:10:01 +10:00
arbabf
f370074d10 Fix spacing to be more consistent 2024-04-13 00:46:36 +10:00
arbabf
2113410f80 Add random spawn type for env_headcrabcanister 2024-04-13 00:43:14 +10:00
ALLEN-PC\acj30
471a840ed9 Fix soundlevel_t compile error on VS2013 2024-03-09 02:13:59 -06:00
Blixibon
7f0aec4371
Merge pull request #250 from mapbase-source/develop
Mapbase v7.2
mapbase-v7.2
2024-02-25 15:48:08 -06:00
ALLEN-PC\acj30
6bd9bcba5d Increment version numbers to v7.2 2024-02-24 21:19:52 -06:00
rlen
f86a967af2
Merge branch 'mapbase-source:develop' into develop 2024-02-19 21:46:36 +09:00
rlen
f484aa7ebc removed pullDir parameter from OnPhysGunPull 2024-02-19 21:46:04 +09:00
ALLEN-PC\acj30
8f7b70768e Updated README 2024-02-04 22:30:59 -06:00
Blixibon
f8d8cf6d2f
Merge pull request #279 from samisalreadytaken/fix-weapon_custom_scripted
weapon_custom_scripted fixes
2024-02-04 15:27:32 -06:00
Blixibon
02f81094e5
Merge pull request #275 from Blixibon/mapbase/feature/response-followup-criteria-expansion
Better circumstantial criteria for followup responses
2024-02-04 15:26:39 -06:00
Blixibon
11533fa292
Merge pull request #274 from Blixibon/mapbase/feature/dot-slash-command-line-param
Command line parameter to support dot slashes in VScript file read calls
2024-02-04 15:26:02 -06:00
Blixibon
782053e0b2
Merge pull request #273 from Blixibon/mapbase/feature/zombie-no-flinch-during-unique-anim
Cvar to disable zombie flinching during actbusies or scripted sequences
2024-02-04 15:25:09 -06:00
Blixibon
4e3f58f4b5
Merge pull request #272 from Blixibon/mapbase/feature/zombie-serverside-headcrab-ragdoll-fixes
Fix serverside zombie headcrab ragdoll not using correct origin
2024-02-04 15:24:31 -06:00
Blixibon
4c2823e814
Merge pull request #271 from Blixibon/mapbase/feature/new-companion-npc-concepts
New and ported response concepts for companion NPCs
2024-02-04 15:24:09 -06:00
Blixibon
4cea5d1123
Merge pull request #270 from Blixibon/mapbase/feature/dynamic-interaction-improvements
NPC dynamic interaction improvements and fixes
2024-02-04 15:23:40 -06:00
Blixibon
47ddedb153
Merge pull request #269 from Blixibon/mapbase/feature/anim-event-improvements
New animation events + OnScriptEvent outputs for ai_hint
2024-02-04 15:22:31 -06:00
Blixibon
8505ab4579
Merge pull request #262 from Blixibon/mapbase/feature/hl2-pistol-upwards-viewkick
weapon_pistol upwards view kick cvar
2024-02-04 15:22:03 -06:00
Blixibon
de01ce6292
Merge pull request #261 from samisalreadytaken/dev
Misc vscript additions
2024-02-04 15:20:12 -06:00
samisalreadytaken
f1123ed1e7 Tidy up CSimpleCallChainer::PostScriptExecute() 2024-02-02 17:06:25 +03:00
samisalreadytaken
a6f9d0a0e2 Fix CBaseEntity::ScriptGetKeyValue() returning cached string on invalid input 2024-02-02 17:06:25 +03:00
samisalreadytaken
976eb23299 Add vscript funcs
Panel::RemoveTickSignal()
CAI_BaseNPC::IsMedic()
2024-02-02 17:06:25 +03:00
samisalreadytaken
a02f3db05b Fix weapon_custom_scripted hook calls 2024-01-26 23:42:52 +03:00
samisalreadytaken
19702d067d Fix weapon_custom_scripted ItemPreFrame base call 2024-01-26 23:42:52 +03:00
ALLEN-PC\acj30
5afe4fa08b Merge branch 'master' into develop 2024-01-11 17:39:03 -06:00
ALLEN-PC\acj30
82bc30cc26 Fix GitHub workflow not installing packages properly 2024-01-11 17:38:01 -06:00
ALLEN-PC\acj30
4adab15982 Add better circumstantial criteria to followup responses 2024-01-06 16:20:09 -06:00
ALLEN-PC\acj30
a96147a6d8 Add command line parameter to allow VScript file read paths with dot slashes 2024-01-05 15:01:44 -06:00
ALLEN-PC\acj30
4e7814eeea Fix function call being in the wrong place 2024-01-05 14:57:43 -06:00
ALLEN-PC\acj30
a3fe8b5284 Add cvar to prevent zombies from flinching during actbusies and scripted sequences 2024-01-05 14:55:01 -06:00
ALLEN-PC\acj30
8b7c6952ba Fix AE_ZOMBIE_POPHEADCRAB using inaccurate headcrab release position 2024-01-05 14:40:37 -06:00
ALLEN-PC\acj30
06b27acd74 Fix CNPC_BaseZombie::HeadcrabFits() and blood impacts not working with serverside ragdolls 2024-01-05 14:39:26 -06:00
ALLEN-PC\acj30
14675578a8 Fix "their_" misc criteria not being registered 2024-01-05 14:33:33 -06:00
ALLEN-PC\acj30
7c5c90ebeb Fix TLK_NEW_ENEMY not playing on headcrabs or zombies 2024-01-05 13:26:47 -06:00
ALLEN-PC\acj30
e1c890a011 New response context-based check for TLK_SPOTTED_HEADCRAB_LEAVING_ZOMBIE (because some death types, such as serverside ragdolling, remove the zombie instantly) 2024-01-05 13:19:33 -06:00