Commit graph

432 commits

Author SHA1 Message Date
70fe95e5a7
Add support for Source styled surfaceproperties.txt definitions, which
is incorporated into func_breakable/pushable already. Mods can now control
material/surface properties without code.
2021-10-15 19:01:36 +02:00
736ecb61f8
TraceAttack: check surfaceflags on world traces, m_iMaterial on anything
else.
2021-10-15 09:37:51 +02:00
147969e8a8
Client: Add Weapons_EnableModel() and Weapons_DisableModel() so weapons can
manually control the visibility regardless of viewzoom setting
2021-10-08 21:50:04 +02:00
3d7e132699
CBaseEntity: add SetParent and ClearParent Inputs for level designers. 2021-10-04 13:56:18 +02:00
726332c78e
CBaseEntity: Add Ignite(), Exinguish(), IsOnFire() methods according to the
Source 2004 spec (controllable lifetimes etc.)
2021-10-04 13:22:40 +02:00
59ee0bd359
PMove: Pressing jump will now make you jump off the ladder, like in HL and
some other games.
2021-09-30 23:19:01 +02:00
5439bfb59b
CBaseEntity: Mark some methods as nonvirtual, fix some regressions with
func_healthcharger/recharger, trigger_gravity
2021-09-22 20:56:20 +02:00
451beedb0c
CBasePhysics: add support for explosions upon destruction, provided via
propdata.
2021-09-21 21:11:02 +02:00
251713121c
PropData: Add support for the BreakModel info parsing. Any CBaseEntity can
now be augmented. prop_physics entities can already make use of them.
2021-09-21 20:33:09 +02:00
f34b78b11c
CBaseMonster: Fix being able to push monsters around when you're standing on them 2021-09-17 20:41:48 +02:00
3bceff6a2c
Implement and parse the propdata system from Source 2004 and make our
func_breakable entity aware of it.
2021-09-17 19:31:22 +02:00
3cc01ca512
CBaseMonster/NPC: Tweak what qu/s speed is considered falling 2021-09-17 01:24:47 +02:00
211a28692b
CBaseMonster: Add FALLING flag, and FallNoise() method so monsters/npcs can
specify what to do/play when they start falling.
2021-09-17 00:41:58 +02:00
56e07c3f06
CGameRules: Add MonstersSpawn(), now game-modes can be queried for whether
or not monster entities spawn on init.
2021-09-16 21:16:37 +02:00
1764677394
Add hacks to func_door(_rotating) that deal with 'wait' being 0. 2021-09-16 20:26:03 +02:00
2cebd560c3
multi_manager: Remove old debug prints 2021-09-16 19:19:22 +02:00
56a616ec8b
CBaseEntity: Add reliable methods to query what certain attributes where
when the entity first spawned. (e.g. GetSpawnOrigin())
2021-09-16 17:34:56 +02:00
ab34230016
GS-EntBase: func_door_rotating gets the 'locked_sound' too. That's
it for today.
2021-09-12 01:11:36 +02:00
eda2e3e751
GS-EntBase: Implement 'locked_sound' in func_door. 2021-09-12 01:06:45 +02:00
c9d502f364
GS-EntBase: env_shooter's Respawn should set .think to __NULL__
to avoid potential Respawn() calls not working as expected.
2021-09-12 00:30:37 +02:00
dfa7e32eca
CBaseNPC: Don't allow us to 'Speak' or 'Sentence' when we're dead. 2021-09-12 00:21:28 +02:00
f884b3d35d
Separate networking between CBaseEntity and CBaseMonster, needs
cleaning.
2021-09-12 00:13:24 +02:00
b8de87d45c
func_pushable: Mark collision-helper as non-solid upon breaking. 2021-09-12 00:11:12 +02:00
d4fe258d62
prop_vehicle_driveable: Fix QUAKED definition classifying it as
a brush entity, oops.
2021-09-11 22:46:29 +02:00
d94a5f33eb
GS-EntBase: Add prop_vehicle_driveable, for model based 4-wheel
vehicles.
2021-09-11 22:43:14 +02:00
5578b0e602
GS-EntBase: Add client-side prediction for func_tankmortar. 2021-09-08 20:17:13 +02:00
527318bd65
Deprecate CBaseFX, introduce .predraw for weapon functions. 2021-09-02 09:39:37 +02:00
9fa091db43
Reserve 3 SRC'04 rendermodes, implement RM_DONTRENDER. 2021-09-01 22:41:11 +02:00
fd05c2419c
Minor cleanup of SendFlags assignments, fix for 'sv respawn_ents' affecting players. 2021-09-01 22:11:30 +02:00
f0957141cc
CBaseEntity: Add inputs for 'Kill' and 'KillHierarchy' 2021-09-01 21:39:21 +02:00
1657ff3e29
GS-EntBase: Move I/O system into CBaseEntity, add Skin, Disable/EnableShadow inputs... 2021-09-01 21:30:10 +02:00
57f1408b8c Add UpdateView() to CBaseVehicle, to let vehicles override the
camera properties in CSQC_UpdateView before rendering.
2021-09-01 15:19:50 +02:00
42b1abf668 Menu-FN/FS: Only parse sprays from logos/, not root of mod-dir
anymore. Users with giant BMP screenshots will rejoice
2021-08-29 09:53:36 +02:00
34505bcacf GS-EntBase: Fix crash with vehicles by networking them separately
from CBaseEntity, which will assign the needed client-side input
method for prediction
2021-08-28 21:25:38 +02:00
e28de86415 Call DSP_UpdateSoundscape(), seems I forgot all about it! 2021-08-27 11:35:59 +02:00
76b26fd3af func_brush: Clarify default state in the QUAKED description 2021-08-19 19:11:46 +02:00
d4fccac03f Work towards making vehicles predicted, this is ongoing. 2021-08-19 17:54:08 +02:00
a3e0cceba0 GS-Entbase: Add detailed QUAKED definition for light_environment! 2021-08-12 21:34:32 +02:00
fb63b4f774 GS-EntBase: Fix rendermodes for more complicated entities, ts_bikini will
now display properly.
2021-08-08 07:47:20 +02:00
1230a6d636 prop_rope: Fix PVS culling. It may be more aggressive now, so fix your maps. 2021-08-08 06:51:57 +02:00
9fb574d920 CBaseEntity: Fix error for when games are not compiled with GS_RENDERFX 2021-08-03 07:15:25 +02:00
1ec3cf2e8e Decouple Camera/Viewmodel effects from src/ into base/src/ 2021-08-01 08:53:21 +02:00
37c5c6efdd GS-Entbase: Make sure we use Set*() functions for networked fields all the
time to notify clients of any changes
2021-07-19 08:34:46 +02:00
50c3f27a69 GS-Entbase: Document spawnflags throughly in QUAKED comments. 2021-07-17 21:04:34 +02:00
d744bf2272 GS-Entbase: QUAKED comment improvements for level editors 2021-07-14 11:49:30 +02:00
9798e0c91b QUAKED light_surface, a new vmap-only entity that enables you to
quickly add map-specific material overrides for the purpose of lighting.
It's similar to the "_surfname" key in tyrutils_ericw, but it is more
advanced than that.
2021-07-12 10:17:10 +02:00
8a2820f15b func_brush: Ironed out most of the behaviour, thanks Xylemon for creating
a great test map documenting how this entity should behave in Source.
2021-07-12 10:15:00 +02:00
e13323e07d Client: when 'buildcubemaps' is running, make sure the views are centered
at all times to avoid FTE dumping weird projections
2021-07-09 22:18:25 +02:00
60313aa3ce GS-Entbase: env_particle needed setorigin() and setsize(), since that's
how FTE will now set a pvs sample in CSQC
2021-07-09 22:16:36 +02:00
3f3e61689d GS-Entbase: Move client/worldspawn to shared/worldspawn, defined QUAKED
comments that we encourage using for new maps
2021-07-03 12:42:33 +02:00