Commit graph

261 commits

Author SHA1 Message Date
6e47ea30d1 Valve: Fix MONSTER_BABYCRAB spawn 2020-03-30 19:59:45 +02:00
3f5f7b3d1c env_fade: fix crash or something 2020-03-30 19:59:26 +02:00
ec835c75f0 Added tweaks that'll help with 3D Glasses:
r_viewmodelscale (try 5)
gl_mono (0/1)
2020-03-30 18:04:45 +02:00
dcd42ba93b Added hologram render-mode. Some more tweaks... 2020-03-30 16:56:00 +02:00
e5a3f0880c Starting to clean up more RenderFX stuff, shoving most of it to CGame 2020-03-30 16:22:24 +02:00
f6b26302a2 Nodes: Made debugging display scripted_sequences 2020-03-30 15:03:22 +02:00
cee8a25d82 Allow viewmodel to draw in a second pass (r_viewmodelpass 1) 2020-03-30 14:47:17 +02:00
576547f249 Menu: Added some fancy menu guff, enjoy it while it lasts 2020-03-30 14:46:55 +02:00
01364e488d monster_generic: Made it more to spec, I guess 2020-03-30 14:46:20 +02:00
d7fdabbd60 Improved pathfinding by skipping unnecessary node-walking passes. 2020-03-30 13:51:48 +02:00
8bf96e425a Valve: Added health for MONSTER_BARNACLE 2020-03-30 13:50:52 +02:00
80075fc267 Decals: No longer fullbright. 2020-03-30 11:56:09 +02:00
acc2be466c Gearbox: Added monster_recruit, monster_drillsergeant 2020-03-30 11:11:21 +02:00
d35f7350fe GLSL: Some rendering tweaks (default gl_ldr and gl_halflambert (new) to 1) 2020-03-30 10:40:38 +02:00
2658e93683 Fixed a think() bug with scripted_sequences. 2020-03-30 10:00:37 +02:00
c42e6678ac Sounds will now follow the NPCs that emit them. 2020-03-30 09:12:57 +02:00
e6f3df4986 Link aiscripted_sequence to scripted_sequence... for now 2020-03-29 21:41:04 +02:00
36e6462ef2 func_train: Fixed recursion crash. 2020-03-29 21:40:51 +02:00
d9b2c9984a Simplified decal shader code. 2020-03-29 21:40:35 +02:00
af240cb262 Valve: Added fast-beam spawnflag for WEAPON_TRIPMINE 2020-03-29 21:40:04 +02:00
ea5851a8f5 Fixed possible recursion bug with breakables and other dead-triggers. 2020-03-29 21:39:32 +02:00
19a4db076b Scripted Sequence: Support for classnames (untested), angle overrides... 2020-03-29 12:56:46 +02:00
d59213834b BaseNPC: Don't talk while in sequence. 2020-03-29 11:49:35 +02:00
f07600f194 More work on scripted_sequences. 2020-03-29 11:21:26 +02:00
9442a597fa moved sprite.cpp into gs-entbase/client/env_sprite.cpp 2020-03-28 11:43:08 +01:00
f66792ef49 Comitting the new cstrike-branch stuff so far, it's very little but a
step in the right direction. The old (regressed) codebase is now in
cstrike.old.
2020-03-28 10:56:52 +01:00
0c62ea6371 Fixed a crash because monster_generic entities really shouldn't be CBaseEnt 2020-03-27 16:26:52 +01:00
e9326f4e1d scripted_sequences: They sorta work now, needs an engine with
ENGINE_ROUTING enabled however
2020-03-27 10:37:01 +01:00
bb0b4d8f6c Simplified a lot of the Barney/Scientist code by expanding CBaseNPC 2020-03-27 07:34:24 +01:00
dd16fd1684 Added FLAC music playback style to force for those files. 2020-03-26 23:36:54 +01:00
82d9027873 Added support for chaptertitle worldspawn key.
Valve: Added monster_snark and monster_tripmine. Although they don't work
as such fully yet.
Pain/Death are properly part of the player class.
Added own music track networking so we can skip the looping business,
which is currently broken in the engine.
Shoved some gamerule specific stuff around so there's more shared code
between the mods.
2020-03-26 23:07:13 +01:00
ad713d2f7e Valve: Document more monster sounds etc. 2020-03-26 17:17:44 +01:00
7d330eb8cd Move the ability to use sentences over to CBaseEntity for now. 2020-03-26 12:19:27 +01:00
db4ed5ac3d Added initial support for basic sentences.txt on monsters. 2020-03-26 11:24:33 +01:00
d20c3f1db3 Menu: Set the difficulty in the New Game menu 2020-03-26 08:24:27 +01:00
bb4012b75f Added float(string)Skill_GetValue so we can properly support variable skill
settings.
2020-03-26 08:13:23 +01:00
cdb1bbddfd Menu: Fix a crash when we've got no entries or are out of bounds 2020-03-26 07:04:32 +01:00
520e91616a Valve: Check for cvar 'coop' as well as 'sv_playerslots' for Singleplayer 2020-03-26 07:03:29 +01:00
7ea6f8246c Valve: Give monster_barney a name 2020-03-26 07:02:58 +01:00
e3fc42501d CBaseMonster: Tag ents as flags FL_MONSTER so the obituaries appear right 2020-03-26 07:02:41 +01:00
2bb8bd00cf Moved Death and Pain methods into CBaseEntity. 2020-03-25 22:35:05 +01:00
b70b0cd6f9 Mititage startspot spawn-issues. 2020-03-25 20:20:53 +01:00
aa6b541313 the slot1-10 keys are now working as expected. 2020-03-25 19:57:08 +01:00
80d06e7dcd Cleaned up warnings. 2020-03-25 17:42:36 +01:00
4bdefa4cd7 Big commit, list of additions:
Added stubs for a variety of monsters for 'valve' which a few mods inherit.
Added support for the 'vote' and 'callvote' command.
Made env_laser network some info to the clients, kinda rough because
we're working around some engine iffyness with CSQC ents right now.
Updated the menu so that the server-lists for Internet and LAN games are
a bit more helpful.
Made the CBaseMonster class for useful for the future.
Fixed setting of transparency for all entities.
2020-03-25 13:58:19 +01:00
67d9509f63 trigger_cdaudio: don't touch anything but clients 2020-03-24 16:27:23 +01:00
a9e2a37f51 Controls menu now sorta works half-way. We still need to parse defaults. 2020-03-24 16:25:22 +01:00
66b629b83a Valve: Basic weapon pickup notification, cl_autoweaponswitch 2020-03-24 16:20:58 +01:00
223d740448 Effect_Blood can now take 'color' as a parameter. Also added some basic
trails which will be shoved into the client-side asap.
2020-03-24 11:20:21 +01:00
bc5fcf6913 Valve: WEAPON_EGON gets something something idle animations. 2020-03-24 11:19:24 +01:00
d8af659dd8 Valve: WEAPON_HANDGRENADE gets even fancier idle animations. 2020-03-24 11:19:09 +01:00
3a33349047 Valve: WEAPON_TRIPMINE gets fancy idle animation fixes. 2020-03-24 11:18:47 +01:00
b736235ffd Valve: Fixed idle animation selection on WEAPON_SHOTGUN 2020-03-24 09:11:15 +01:00
8ceb0a54a1 Valve: Satchel and Handgrenade now play the proper bounce sounds. 2020-03-24 08:41:06 +01:00
e3a9a0149e Added missing ladder sound precaches. 2020-03-24 08:21:47 +01:00
50d840cd9d Valve: Tripmine death attribution is now variable 2020-03-24 08:20:43 +01:00
73866574a2 Fix: Offset networking of .skins by 128 so we can send 'signed' bytes. 2020-03-24 08:02:36 +01:00
40852185c1 Footsteps: Added ladder climbing sound. 2020-03-24 08:02:11 +01:00
7bf8db941d Shoved some precaching stuff around 2020-03-24 07:47:41 +01:00
f1190cd282 Fixed compiling against the latest entity-codebase 2020-03-24 07:26:49 +01:00
20c6a2d508 Gone over triggers to add some helpful prints. 2020-03-23 17:25:03 +01:00
41ce469bb3 Fix worldspawn 'skyname' key 2020-03-08 11:53:57 +01:00
2a2df770c9 Applied Xylemon's Gunman patch 2020-03-08 11:02:17 +01:00
c51da15564 Made the codebase compile again... 2020-03-08 10:59:46 +01:00
bf0ffd39eb impulse 102 will now force a re-send of all networked fields.
this will be awful over the network. Just letting you know.
2020-03-03 22:50:57 +01:00
307ba55b4e func_breakable: Add support for vvm_model, so we can show/hide models
inside the brush volume.
2020-03-03 22:50:07 +01:00
b611781d7f CBasePhysics: Make sure physics props cast a shadow by default 2020-03-03 22:49:37 +01:00
1b2823c8e4 Forgot to add func_lod to server progs. 2020-03-03 22:49:07 +01:00
aa1c4b93ac prop_rope: Add "segments" key to change the defaults from 16 2020-03-03 22:48:30 +01:00
07e6fae83e env_sound and env_soundscape: Don't run when WORLD hasn't been initialized 2020-03-03 22:48:07 +01:00
f3f2176fc7 VGUI: Misc tweaks I've come across when doing TW 1.3 2020-03-03 22:47:44 +01:00
d41026aed7 env_glow: support normalized 'color' key. 2020-03-03 22:47:16 +01:00
61469e5785 dev_buildcubemaps will now default to saving .ktx files.
Blame Spike for making them currently write WRONG ANGLES, however.
2020-03-03 22:47:01 +01:00
ddac9f5b29 Added stub for func_dustmotes, added func_lod. 2020-03-03 22:46:20 +01:00
9d6611c928 Compile warning fix for Rewolf. 2020-03-03 22:45:48 +01:00
e79a03b5b8 Added support for the 'message' key in triggers. 2020-03-03 22:45:30 +01:00
d25aead1a7 Added 'shadows' key to CBaseEntity. 2020-03-03 22:44:35 +01:00
8f50766457 CSQC CBaseEntity: Only set drawmask when modelindex is valid 2020-01-20 19:35:57 +01:00
905e90d499 TW: Added TOGGLEDIR flag for func_rotating... 2020-01-20 19:35:10 +01:00
673cf9dbf8 Manual networking of all base-entities. This shouldn't be necessary,
but, as the engine-bug that's as old as time itself that has been
responsible for prediction being wonky has still not been fixed, I have
to do this. Maybe it'll be for worse, maybe it'll be for the better.
2020-01-16 05:43:12 +01:00
9386b7f158 Added gibshooter, but it's disabled because the maps that uses expect it
to have a concept of states, so in order to not create thousands of ents...
2020-01-08 04:50:38 +01:00
b4423ec32f env_shooter: Use "delay" as well as "m_flDelay", if the latter is even used?
I guess I typo'd.
2020-01-08 04:33:52 +01:00
6442ea1481 func_door: Fixed blocked damage behaviour 2020-01-08 04:33:03 +01:00
b8c6892093 func_door_rotating: Fixed REVERSE flag. 2020-01-08 04:32:50 +01:00
feaf4d6b39 Added basic/incomplete env_laser implementation 2020-01-08 04:31:46 +01:00
6c75cb749e Send classname over the net instead of netname if there isn't one 2020-01-08 02:29:29 +01:00
674432f6cb Added missing They Hunger files. 2019-12-22 23:28:39 +01:00
cfe0094c28 - Added early Poke646 entries.
- Added missing Shock-Rifle particle file.
- Fixed monster_scientist behaviour in SciHunt that broke.
- Added parenting functionality for entities (The Wastes uses this.)
- More updates to BasePhysics. Requires plugins/bullet.
  I want to make it work with primitive physics however.
- Updated prop_rope entity. The Wastes uses this and requires an updated
  engine.
- Changed the way env_sound works. This may be more accurate.
2019-12-22 12:13:49 +01:00
c5b0e0146f Some fixes to get FreeHL to compile without TW. 2019-11-09 02:09:17 +01:00
7048e0add0 Fix wrong hashtable creation call for materials.
Tweaked a lot of gs-entbase entities.
2019-10-19 04:30:29 +02:00
5f41894f02 env_soundscape, initial fixes. 2019-10-19 04:29:34 +02:00
d92bab77f5 prop_rope: Added swing factor. 2019-10-08 22:28:08 +02:00
ed5bf4acf3 client-side gs-entbase updates for TW. 2019-10-08 22:14:18 +02:00
32b7791b2b Add internal support for damage types. still a few more useful ones to add
on a per-case basis.
2019-09-29 01:54:29 +02:00
6fea65a586 Gunman Chronicles: Basic work on weapons and their menus completed.
Some weapons and their visuals are not implemented yet.
It's a very good preview of how things are going to work though.
2019-09-22 15:41:13 +02:00
91d1c2250f Use the predictable input_sequence variable for some random sequences.
This will soon be replaced by a more elaborate shared random number
generator of sorts.
2019-09-17 20:46:00 +02:00
9c743449c5 Reset all ammo fields for when they join/respawn in MP games. 2019-09-17 12:00:05 +02:00
04019acc01 Improve some of the player checks in Half-Life's ammo code. 2019-09-17 08:44:23 +02:00
969b488ed6 Half-Life: Fix WEAPON_SHOTGUN ammo3 being reset every function call. 2019-09-17 03:12:14 +02:00
e2fc274b70 Half-Life: Fix WEAPON_TRIPMINE ammo check, which falsely checks for a_ammo1
on the client-side instead of a_ammo2.
2019-09-17 03:04:02 +02:00