11c37f789d
NSMonster: Add TriggerCondition for death of an NSMonster.
2022-01-10 13:18:25 -08:00
e4b7d55b3c
NSEntity: Add Destroy() which makes sure a sub-class is cleanly removed
...
from the game when possible.
2022-01-10 13:17:36 -08:00
f42263dbfe
game_counter: Revise QUAKED comment, as it is apparently a point entity.
2022-01-10 13:07:58 -08:00
826e6c3150
GS-EntBase: Add game_counter entity.
2022-01-10 13:06:35 -08:00
02c2ff7be5
env_glow: Add 'rotate' key to rotate the sprite/material by X degree amount
2022-01-07 17:04:43 -08:00
749424aa84
NSMonster: Add support for actions (used in e.g. HLMDL) to query which seq
...
to play. This will be expanded shortly in-engine to support more formats...
2022-01-06 19:27:08 -08:00
9d4d7afdcd
Big overhaul of momentary_door, momentary_rot_button... now onto the last
...
entity until Hazard Course is fully functional from beginning to end.
2022-01-04 21:54:42 -08:00
08e112e128
trigger_changelevel: check if we're inside a trigger_transition under
...
certain conditions (and only compare the activator...)
2022-01-03 19:28:22 -08:00
df2a385bbd
func_door: 'netname' trigger happens when door returns to its original
...
position, not the other way around.
2022-01-03 19:27:47 -08:00
3726139eda
func_guntarget: Add Save/Restore, as well as a fix for Respawn() and health
...
being reset.
2022-01-03 19:08:30 -08:00
6dcf76ac5d
func_breakable: Be more paranoid about checking health and propdata overrides
2022-01-03 13:02:56 -08:00
d3dcb3a12b
GS-EntBase: Cleanup and fixes regarding which func_ entities support the
...
'angles' key for visuals. trigger_hurt damagetype tweaks (needs more tests)
as well as monstermaker fixes and SF_ROT_TOGGLE func_door_rotatings no
longer auto-return...
2022-01-03 00:23:20 -08:00
758b28346d
Client: Add fade.h and add definition in worldspawn's QUAKED comment for
...
startdark.
2022-01-02 21:21:06 -08:00
d375ec5f93
Client: Implement "startdark" key from worldspawn. Which is responsible for
...
the fade-in effect in c0a0 for example.
2022-01-02 21:04:55 -08:00
c920e4c3e8
NSRenderableEntity: Support for scrolling textures (requires shader
...
overrides for now, stay tuned) with variable speeds. Improvements to
func_conveyor, other rendering fix involving alphamasking textures.
2022-01-02 20:50:50 -08:00
623754ec5a
GLSL, NSRenderableEntity: Added hack to prevent alphatesting against world
...
surfaces utilizing the default lightmapped shader.
2021-12-31 01:47:47 -08:00
3ca728e1d0
func_conveyor: Add Save/Restore methods for save-games.
2021-12-29 15:54:51 -08:00
6ca3900b4d
NSSurfacePropEntity: Handle health more appropriately to avoid conflicts,
...
unbreaks func_button's health behaviour.
2021-12-29 14:13:08 -08:00
c2e4050bae
Replace CSQC_Parse_Damage with our own, add EV_DAMAGE. Make sure trigger_hurt
...
respects the 'damagetype' field. Add CSQC_UpdateSeat to make querying of
the current player seat easier (splitscreen).
2021-12-17 18:20:30 -08:00
7bfea15dd0
Add base/shared/fx_corpse.qc, change set to seta in masters.lst
2021-12-13 11:47:55 -08:00
a80def1d12
Server: Fix that you're unable to pick up weapons when you've hit the ammo
...
cap of said weapon.
2021-12-12 20:36:11 -08:00
bfad97f6eb
prop_dynamic: Remove redundant .health set code that's now handled in the
...
parent class.
PropData: Fix a bug that fails to check our cache properly, resulting in
the first entry being returned when no data is properly defined.
2021-11-21 04:23:33 +01:00
a2f8fd0a5d
NSSurfacePropEntity: Keep track if .health is ever set manually, take that
...
and PropData info into account for determining if any child classes will
'break' by default
2021-11-21 03:57:18 +01:00
eb85121716
Add BUILD_ODE build.cfg setting. Add stubs for platform specific functions
...
like achievements, rich presense. Minor GLSL adjustments.
2021-11-20 17:27:52 +01:00
0085403c95
NSSurfacePropEntity: Save/Restore for its attributes, OnBreak output etc.
2021-11-13 07:55:33 +01:00
08c3a4a576
SurfData: Goodbye to DAMAGE_MATERIAL. We streamline that process now so
...
that all entities will use surfaceParm defined info by default unless
overriden by an entity. + Set up sane defaults for surface properties.
2021-11-13 01:38:20 +01:00
40da8b09f9
NSPhysicsEntity: Filter out the various damage types when applying force upon
...
the ent taking damage.
2021-11-10 13:06:57 +01:00
c7845fd694
NSRenderableEntity: m_iBody should be applied to the first two geomset groups (for now)
...
to deal with funky GS model behaviour.
2021-11-10 10:42:52 +01:00
7d717779b3
NSRenderableEntity: Fix "body" key not being read in SpawnKey()
2021-11-10 09:50:59 +01:00
568716ca78
NSEntity: Check .scale before applying setsize() in case someone's funny
2021-11-10 03:00:09 +01:00
a8e4cd5748
NSEntity: Make sure .scale affects SetSize() calls and is updated with
...
SetModel() calls. Also keep track of original .mins/.maxs in case scale
changes.
2021-11-10 02:33:31 +01:00
b670c994c1
build_engine.sh: Support building of HL2/SRC2004 content via the new plugin
...
that you can enable in build.cfg...
base_player: Add MakeTempSpectator() and MakePlayer(), so gamemodes have it
easier to handle in-game status changes...
NSRenderableEntity: Add support for 'modelscale' key
2021-11-09 17:33:16 +01:00
3bb88216c8
Add DAMAGE_MATERIAL as a possible .takedamage value, this may just be a
...
temp way for model based entities to communicate whether or not they use
that in-model surfaceflags.
2021-11-06 07:15:13 +01:00
c22b001f60
Cleanup: get rid of the ancient Font_LoadFont() wrapper, pipe _all_ text
...
font info through our internal font_s data structure.
2021-11-04 22:48:19 +01:00
2484f6c283
func_rotating: Set think and nextthink to something in order for an infinite
...
avelocity to work. Great.
2021-11-04 00:01:38 +01:00
aa0ccf4413
Add test_grenadeclip.
...
Add helper functions to convert RGB255 to ^x color codes.
Small fixes for fonts in vguilib.
2021-11-03 21:54:43 +01:00
69d58edbb6
trigger_multiple: Implement the output "OnEndTouchAll". Needs stress-testing.
2021-11-01 02:38:24 +01:00
2a23eebc79
NSRenderableEntity: Render RM_SOLID rendermode ents invisible when m_flRenderAmt is 0.
2021-10-31 20:07:56 +01:00
908a9fd524
GS-EntBase: Add initial implementation of func_areaportal.
2021-10-31 19:52:55 +01:00
fe15241b2d
GS-EntBase: add PortalOpen/Close methods to func_door and func_door_rotating
...
which keeps track of our areaportal state more reliably.
2021-10-31 19:15:32 +01:00
5bf3545e69
GS-EntBase: Added a ton more Save/Restore functions for many core entities.
...
Player entity is also getting save/restored now.
2021-10-28 04:29:11 +02:00
090edf53ff
NSTrigger: Make sure SpawnKey sets 'target' on the client progs too.
...
prop_rope: Fix the ropes not looking towards the right direction.
2021-10-23 12:40:35 +02:00
f5a8ec8ef3
Added support for the triggers/think states across Save/Restore functionality
2021-10-23 01:00:15 +02:00
4c2b37c34d
NSEntity: Save/Restore behaviour for some more fields.
2021-10-22 21:20:22 +02:00
fa5cdd5a80
Initial commit of the Save/Restore system, this is the first reference
...
implementation of QuakeC controlled save-files and SV_PerformLoad() and
SV_PerformSave that Spoike added into FTEQW for Nuclide.
2021-10-22 20:51:51 +02:00
0a4b0ea795
Client: Move Damage_Draw() and Damage_Precache() out of here, into the
...
game-specific realm
2021-10-21 23:30:42 +02:00
ac8eefc313
NSEntity: Fix a very bad bug that caused Client entities to not parse
...
any fields through SpawnKey.
2021-10-21 00:36:15 +02:00
249e4bc612
Massive revamp of the Nuclide system classes, more efficient networking
...
and memory usage thanks to intelligent boxing of fields.
Added Util_TimeToString, removed old VOX code, added lots of new helper
classes...
2021-10-20 01:19:10 +02:00
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
3a69435a6b
Platform: Update test_lightwarmth.bsp/map
2021-06-29 22:27:25 +02:00
767f610e5a
light_dynamic: normalize color values for static dlights
2021-06-29 12:16:52 +02:00
9309aef925
Client: Remove redundant addentity() calls from predraws of entity classes that
...
don't require drawing of a modelindex.
2021-06-29 10:53:36 +02:00
883a64b744
Remove ftebug_checkpvs(), undefined behaviour was causing things to pop
...
in and out of existence. There was no fault with FTE's implementation after
all. Change func_dustmotes, prop_rope and env_glow to querying player pos
more reliably.
2021-06-29 10:47:51 +02:00
97bc849abe
Add cvar ftebug_checkpvs, to see work around something that hasn't been
...
fixed yet.
2021-06-28 19:52:36 +02:00
88e5084f38
Client: Added Entities_RendererRestarted, giving entity classes a chance
...
to reload their assets. env_glow and prop_rope support in this commit.
2021-06-27 09:55:48 +02:00
c0050b9798
prop_static: Only MakeStatic if avelocity isn't set.
2021-06-26 10:25:46 +02:00
c55317711c
trigger_hurt: Make damage timer relative to the entity, not relative to
...
the trigger itself.
2021-06-18 22:59:54 +02:00
7f00e9354d
Add shared/platform.h which will send hints as to what target platform
...
we're dealing with (pc, touch, web, console etc.)
2021-06-18 09:26:24 +02:00
75dfffaf4b
func_pushable: only run physics routine when velocity is > 0
2021-06-18 09:24:58 +02:00
de63f37a52
Call Math_FixDelta before networking a bunch of different entity angles.
2021-06-16 11:56:28 +02:00
12e02bd019
multi_manager: clean up the way we trigger our sub-triggers, avoid string
...
tokenization
2021-06-16 11:53:29 +02:00
dabe93a9ce
func_wall_toggle: Fix networking bug, we weren't using SetModelindex()
2021-06-16 11:52:59 +02:00
3efae50481
GS-Entbase: Make use of setmodelindex() instead of directly assigning
...
modelindex.
PMove: Hack to get stop gravity=0 from breaking runstandardplayerphysics if
CUSTOMPHYSICS is not defined
2021-06-08 09:17:35 +02:00
cc3a652119
GS-Entbase: Remove duplicate func_lod definition for QUAKED
2021-06-07 11:39:02 +02:00
b2c15d8fa4
build_editor.sh: Add check for env variable BUILD_CLEAN
2021-06-04 13:03:26 +02:00
243c875a3f
CBaseTrigger: Add support for Source Engine's FireUser/OnUser 1-4 trigger
...
inputs/outputs.
2021-05-29 10:52:47 +02:00
2082f1355a
Menu-FN: Parse liblist.gam files instead of relying on manifests outright.
2021-05-28 10:26:42 +02:00
42960cda05
GS-Entbase: Initial func_pushable implementation
2021-05-27 09:44:01 +02:00
03b16ff905
Add Vox_Sentence_Broadcast() and Vox_Sentence_Single
2021-05-25 10:25:20 +02:00
448b9bd20d
Client: MakeStatic func_wall ents where we can do it on.
...
Shared: Bench PMove_Run using the engines builtin runstandardplayerphysics
2021-05-16 23:08:08 +02:00
eb3603335e
GS-EntBase: func_ladder moved into shared/, will now avoid networking
...
entirely if it can be avoided.
2021-05-10 19:05:57 +02:00
728b261471
func_wall: Change MOVETYPE_NONE to MOVETYPE_PUSH
2021-05-10 14:52:41 +02:00
1485544b91
Base: Get rid of g_eAttacker, which had been replaced by g_dmg_eAttacker.
...
Go over TraceAttack and make it combine multiple Damage_Apply calls into
one.
2021-05-10 11:33:31 +02:00
a3ecd78f17
CBaseMonster: support for spawnflag MSF_IGNOREPLAYER (64).
2021-05-10 08:14:10 +02:00
f4bbfe2e69
Revert commit 29e0e82f48
2021-05-09 22:02:19 +02:00
29e0e82f48
Server: Don't network RM_TRIGGER ents unless the developer cvar is 1.
2021-05-09 10:03:10 +02:00
64745eb23c
Overhaul prediction routines by boxing the generic client attributes away
...
from the game specific code. Add some helper macros... clean a whole bunch
up.
2021-05-08 17:44:16 +02:00
df2525aae6
GS-Entbase: Add BASEFL_CHANGED_VELOCITY and make sure velocity is networked
...
when required.
2021-04-27 17:45:13 +02:00
ead2ab6a6b
EFX/env_sound: Add bound checks for legacy roomtypes.
2021-04-22 11:44:53 +02:00
f09f5833e0
Introduced the new OpenAL EFX handling subsystem. It's fully user-definable
...
via plain-text definitions and allows even legacy/GoldSrc content to take
advantage of it.
2021-04-22 11:33:48 +02:00
74f6d1a033
Client: Remove the last reference to g_iWorldInitialized
2021-04-22 01:59:37 +02:00
ce8731079f
func_door(_rotating): Support for separate sound shaders handling opening
...
and closing of doors. See QUAKED comment in WorldSpawn for details.
2021-04-21 10:03:18 +02:00
d37c4d9d0a
env_sound: Remove antiquated check for g_iWorldInitialized and change an
...
ifdef'd print to a dprint.
2021-04-20 19:54:11 +02:00
07094f1cb4
CBaseMonster: Cancel out of AttackThink if m_eEnemy is not set
2021-04-10 23:25:06 +02:00
929a8f8630
GS-Entbase: Fix missing return on SendFlags in func_wall and func_illusionary
2021-04-10 23:06:59 +02:00
6da1f3c4fa
GS-Entbase: massive optimisation - any func_wall and illusionary without a
...
targetname will not be networked and handled 100% client-side.
2021-04-10 09:35:06 +02:00
dffc8f9ac5
GS-EntBase: RM_NORMAL and RM_SOLID no longer respect colormod and alpha overrides. Maps like de_railstation will
...
now look proper.
2021-04-04 23:17:35 +02:00
075033e93c
func_breakable: fix typo in sound shader name
2021-03-27 09:15:02 +01:00
f553a79250
Util_FixModel: Add another hack to fix hostages spawning on cs_747.
2021-03-17 11:49:41 +01:00
00141d5ab0
Add View_PreDraw() and move View_Stairsmooth() into that.
2021-03-17 06:12:50 +01:00
0207b52d0f
func_breakable: Add indepth explanation of SF_TRIGGER in the QUAKED comment
2021-03-13 04:57:06 +01:00
923f0f424b
func_door_rotating: Don't touch door when it's inbetween two positions.
...
FIXME: How does HL handle this? Test that out.
2021-03-13 04:24:16 +01:00
47149d46f0
func_door_rotating: Handle possible NAN on calculating an avelocity, this
...
fixes the door from freezing in rare situations
2021-03-12 02:49:26 +01:00
d58e653e08
func_train: Make sure we trigger PathDone() BEFRE switching to the new node
...
and remove the targetname check for PC_WAIT/TRAIN_WAIT spawnflags
2021-03-12 02:48:08 +01:00
f13754a8c3
CBaseNPC: Add ::StartleAllies() and ::TalkPanic() methods. Which handle
...
behaviour related to the MONSTER_FEAR flag.
2021-03-06 17:43:08 +01:00
fc75a1be11
Base, Half-Life, Counter-Strike, Opposing Force and Scientist Hunt have
...
now been reworked to have fully networked ammo that's also fully affected
by rollback netcode. Big diff, mods WILL break. Beware.
2021-02-28 02:31:27 +01:00
d3cfedaab2
GS-Entbase: Fix hiccup that happens with infodecal entities, we now make
...
sure to only network them when they are targetname'd.
2021-02-22 21:56:34 +01:00
ef88557fbf
func_recharge: Add depletion logic to the entity, same as func_healthcharger
2021-02-22 18:05:34 +01:00
099b516236
func_healthcharger: Add the depletion logic to the entity
2021-02-22 18:05:11 +01:00
20a67bf418
Client/Server: Make the server control the sky.
2021-02-22 17:29:34 +01:00
110ce2b607
GS-EntBase: Add func_detail_illusionary definition.
...
Half-Life: Add sound/trail for Egon, WIP
2021-02-17 16:21:17 +01:00
a902b702ae
Small building adjustment to the mod progs.src and Makefiles.
...
Changed some client progs function names for readability, more to come
2021-02-17 00:44:40 +01:00
d5ae0c8dfd
func_train: Fix the moving sound from not stopping on certain variations
...
of this entity
2021-02-14 00:21:35 +01:00
2834b49f12
env_sprite: Turns out the default scale is not 0.25f.
2021-02-13 10:12:17 +01:00
02efa21e3d
Move game-specific sources into their respective mod-dirs. This was planned
...
for a while and was inevitable. Latest fteqcc required that fixes a limit
with paths. Also added src/server/mapcycle.qc
2021-02-08 13:35:15 +01:00
9cf5cc016b
env_laser: update ParentUpdate() to check for the right attributes
2021-01-23 22:08:17 +01:00
ab1e5408df
func_button: Unstuck the 'health' trigger method.
2021-01-23 22:07:41 +01:00
8b013035e3
trigger_camera: Support for 'wait' to be -1.
2021-01-23 21:20:19 +01:00
4cf229d946
CBaseEntity: Don't send origin/size info when 0 upon entering PVS
2021-01-22 16:05:40 +01:00
5ff673cbae
func_train: Fix TELEPORT spawn-flag from the path-corner. Previously we
...
acted the next frame, but this causes the move action to be made nil.
2021-01-22 12:07:42 +01:00
4b5125d97f
CBaseEntity: Optimisation in SendEntity regarding predictable defaults.
2021-01-21 01:29:26 +01:00
297741eac1
func_breakable: Force angles to be 0. Map editors generally don't support setting angles on brush entities anyway.
2021-01-19 11:17:47 +01:00
7e2aab4cad
func_rotating: Work around Q1 BSP bug in which rotating brush entities may call blocked() on ents they couldn't possibly be touching
2021-01-19 10:35:18 +01:00
ae6f3ebdfb
Lots more documentation in server/*.c, minor fixes for some mod guns like
...
They Hunger, Gearbox, SciHunt and Poke646. Also cvar support for 'pausable'
2021-01-06 13:58:37 +01:00
523b1df3de
Client: Move text-menus into their own titles[] channel, so that they don't
...
overwrite other texts being printed and vice versa.
2021-01-02 21:22:56 +01:00
58be8e2170
BotLib/Nodes: Add support for variable link radius. If you need to fill
...
your old waypoint data... try 'sv way radiushack'. Sorry!
2021-01-02 11:17:14 +01:00
5edcdb892c
BotLib: My last commit before weekend hits. More pathfinding work, added
...
a temporary interface for in-game waypointing... Bots will combat you too.
2020-12-26 07:27:34 +01:00
86daed3eec
Added a stripped down base game tree, which should pose as a decent
...
entry-point for starters into the SDK
2020-12-22 01:56:44 +01:00
3d700a4fd7
sky_camera: Fix not taking different camera position vectors into account,
...
this broke by accident a few commits ago. Apologies.
2020-12-20 02:19:52 +01:00
b7ebea2401
func_door_rotating: Document entity via QUAKED comment
2020-12-17 23:07:36 +01:00
daaf6a1974
Client: Move some skyroom setup routines into their own function, add
...
incomplete prop_door_rotating (needs engine fixes)
2020-12-13 03:50:35 +01:00
6583a42a87
Change magic numbers of BSP version checks to macro defines.
2020-12-13 00:56:11 +01:00
74192c2f78
Implement basic EV_SHAKE event & adding 'shakes' key multiplier to sound
...
shaders. Client-side sound shaders will get proper shake duration matching
the sound sample length too. Fancy stuff you can try.
2020-12-12 06:24:48 +01:00
f38bf28b9e
Go over the default.cfg's of all the example games. Make it so that
...
Skill_GetValue() requires a default value set.
2020-12-12 01:54:00 +01:00
a95440b9f9
env_projectedtexture: Add custom pattern support and show it off in test_dlights
2020-12-11 21:18:30 +01:00
fbc2aaeeec
light: Make sure we're overriding patterns if switch_style is above 0 and
...
below 11. You also want to go update worldspawn/vmap...
2020-12-09 16:47:43 +01:00
c130ab2c38
PMove: Added macros to let mods override a bunch of physics variables so
...
they keep their fingers out of pmove.c
2020-12-08 12:00:10 +01:00
3195b4c196
light: Improved entity documentation, deprecated spawnflags & 1 for any non
...
idTech 2 BSP files. Use start_active instead.
2020-12-07 18:16:45 +01:00
00a5a55202
dynamic_light: Added custom pattern support, which is custom to Nuclide.
2020-12-07 15:59:22 +01:00
4688742264
func_detail: Add QUAKED comment.
2020-12-03 23:09:15 +01:00
23c5d14420
Added func_monitor and point_camera. Along with a test_monitor map to
...
showcases rendertargets working.
2020-12-01 20:43:25 +01:00
31099eb2e9
prop_static: Added QUAKED comment definitions for WorldSpawn/Radiant.
2020-11-30 20:21:20 +01:00
172a4476f9
Platform: Add test_hdr level to show off iris adaption.
2020-11-30 12:32:41 +01:00
d2c7885842
GS-Entbase: Added func_group.cpp, for QUAKEED comment sake
2020-11-30 01:34:54 +01:00
1d02dccbb5
trigger_camera: Misc improvements, plus added test map.
2020-11-28 22:52:56 +01:00
e0f5124cce
func_button: Add remaining Outputs: OnDamaged, OnIn, OnOut, OnUseLocked
2020-11-28 13:58:51 +01:00
0c7d5e7512
env_projectedtexture: Add support for FarZ, NearZ and updated QUAKED comment
2020-11-28 12:31:01 +01:00
b3b2d14e27
Remove obsolete info_particle_system.cpp from gs-entbase/client/
2020-11-28 12:12:48 +01:00
82f1d841cb
env_projectedtexture: Get rid of 'start_active', as this entity uses
...
spawnflag bit 1 to assess the initial state.
2020-11-27 22:44:11 +01:00
1429abc223
env_projectedtexture: Add 'SpotlightTexture' Input.
2020-11-27 22:30:29 +01:00
1a3dca71ec
env_projectedtexture: Initial implementation, updated map test_dlights.
2020-11-27 19:23:21 +01:00
2cef5d76ec
light: Make sure we can't start a light dark when it has no targetname.
...
This is to work around a bug present in a custom map that was suggested
that had an untriggerable light with no style - thus turning all lights off
2020-11-27 17:52:51 +01:00
3187bc0ffa
light_dynamic: Use float's instead of coords for networking angles.
2020-11-27 17:50:11 +01:00
c021be95b7
Merge server/light_dynamic.cpp and client/light_dynamic.cpp into a single
...
shared/light_dynamic.cpp
2020-11-27 13:53:54 +01:00
5eae768a9b
light_dynamic: Add a 'start_active' key. Source games have no way to tell
...
dlights to start disabled for some odd reason.
2020-11-27 13:12:08 +01:00
8caa8d171f
info_particle_system: Make sure to respect the 'start_active' key.
2020-11-27 03:10:59 +01:00
b6f9242752
info_particle_system: Initial implementation, along with example map test_particles.
2020-11-27 03:05:21 +01:00
2418480af4
func_button: Add support for the 'OnPressed' output.
2020-11-27 03:03:39 +01:00
6073f73979
Working around a compiler bug in fteqcc (presumably) where for some reason
...
it allows me to override some fields inside a class, but not PlayerUse().
2020-11-25 10:32:42 +01:00
92fa031b28
env_sun: Fix r_shadows_throwdirection angle calculation.
2020-11-25 00:07:23 +01:00
a8ee403f81
Change launch scripts for engine/tools to resolve symbolic links properly
2020-11-24 17:21:34 +01:00