0c1ba0978e
Added drawpic hack so that the engine doesn't shoddily attempt to draw images with floating point coords
2020-08-14 23:18:47 +02:00
d3b488b7bf
CBaseTrigger/s: Overhauled the system to keep proper track of its activators. This was important in some mods who'd e.g. call a trigger_camera over longer periods of time and expected to target the same player as before as part of a multi_manager.
2020-08-10 12:32:18 +02:00
e7f0c358eb
Fix crash when EV_SHAKE is networked. EV_SHAKE is not yet implemented, however.
2020-08-08 02:36:18 +02:00
e8bafa044d
scripted_sequence: Added support for the IDLE key. This means the setup for most sequence look and behave correct now.
2020-08-02 13:09:37 +02:00
4427529e51
Client: Put renderscene() into its own function to make profiling easier.
2020-07-22 23:03:10 +02:00
336c8adee1
Sentences: More parsing fixes, as some dialogue broke.
2020-07-10 12:13:20 +02:00
081d541e9e
Menu: IRC based Chat is now completely implemented using QuakeC. It already works quite well but will need a lot more testing!
2020-06-30 17:14:06 +02:00
bca72fafc8
Sentences_ResetSample: Change return type.
2020-06-27 14:20:58 +02:00
aef3b2f8c1
Sentences: Minor improvement to parsing sentences.txt entries
2020-06-25 11:01:44 +02:00
9a4cc85366
speaker: Initial implementation; Misc improvements to the sentences processing.
2020-06-14 00:55:01 +02:00
bcc28c98ee
Flashlight: Avoid using getproperty for the flashlight values.
2020-06-12 17:27:21 +02:00
66aef13819
Purge cstrike.old from the src tree.
2020-06-12 17:14:05 +02:00
4972156930
Client: Add basic interpolation for when camera triggers are active. This mimics HL's sloppy behaviour somewhat. Will see a lot of changes.
2020-06-12 12:09:53 +02:00
61983ec2d8
Counter-Strike: Add progress bar for defusal and other tasks.
2020-06-09 00:23:18 +02:00
8aa66987e5
Counter-Strike: Fix Defusal-Kit icon source offset on the HUD.
2020-06-08 23:50:25 +02:00
680725f050
Obituaries now use spriteframe() for caching.
2020-05-31 21:20:36 +02:00
cef8ba0443
Make cstrike use spriteframe() for HUD gfx
2020-05-31 13:20:04 +02:00
c709117209
Switch to using spriteframe() for HUD sprites in valve, scihunt
2020-05-31 12:54:04 +02:00
4d201c281b
Fix armor indirection bug. The compiler ought to warn about name conflicts like these.
2020-05-28 19:53:24 +02:00
fe251faf81
Physics: define stand-in values for non CSTRIKE and VALVE defined games
2020-05-08 07:44:40 +02:00
674206349a
Half-Life: Fix crash with obituaries and invalid weapons.
2020-05-04 05:48:19 +02:00
fc3f124d24
Progs.src for server-side codebases are much simpler now, player class now
...
inherits the base_player class, which is a new addition.
2020-05-03 05:26:06 +02:00
a025a41e73
Simplified the client progs.src file for each game massively.
2020-05-02 23:57:25 +02:00
d4c97c639b
Unbreak env_sprite rendermodes.
2020-05-02 06:38:02 +02:00
c1e4070b61
Made obituary code game-specific.
2020-05-02 05:57:36 +02:00
bfa3412277
Cleaned up some warnings.
2020-05-02 05:28:21 +02:00
b7c2c61a88
Obituaries: We now read hud.txt for the icons, so we no longer have to
...
define them inside the code. This should automate quite a bit of legwork
2020-05-02 02:36:37 +02:00
02606bafe9
Counter-Strike: Precache item pickup sound shaders in advance, also
...
add sound shader for weapon.pickup
2020-05-02 00:24:54 +02:00
9ea07752f8
Scientist Hunt: Add some basic logic for the insanity mode. This adds
...
sh_insanity (cvar). Also fixed some shared Half-Life ish stuff with
blood, trigger_hurt entities... too tired to list
2020-04-30 05:58:17 +02:00
94947c89e1
Cleaned up client inits by pushing hud related precached into HUD_Init,
...
where they belong
2020-04-28 10:25:13 +02:00
12328e2d08
Tell Poke646 and They Hunger to build with CLASSIC_VGUI
2020-04-28 06:09:19 +02:00
0c0b9938b7
Went over weapon-drop logic to handle ammo, undroppable weapons.
...
Added basic intermission logic to HL:DM for fraglimit/timelimit being hit.
Cleaned up WeaponAPI to get rid of killicons, which should be handled
elsewhere.
2020-04-26 13:17:19 +02:00
c41eedb593
Base Scoreboard: Simple team scoreboard. It tracks certain infokeys, look
...
at server/cstrike/gamerules_multiplayer.cpp for an example.
2020-04-24 05:38:38 +02:00
b95f7c37eb
FX: Moved all the particle descriptions into the appropriate places.
2020-04-23 14:26:43 +02:00
090461860e
Added cmd "lastinv" and "drop".
2020-04-23 07:36:19 +02:00
ae7da17d0f
Counter-Strike: Made '0' work in text-based menus.
2020-04-23 05:25:51 +02:00
747639af4d
Counter-Strike: Fixed the buyammo1/primammo and buyammo2/secammo commands.
2020-04-23 05:20:35 +02:00
4794f45cb1
Added the 'getpos' command that people in Source are familar with.
...
Requested by Xylemon!
2020-04-23 04:56:23 +02:00
8b57b74637
env_fade: Worked a lot on how fades are meant to run.
2020-04-23 04:32:44 +02:00
a31b3b0e47
Counter-Strike: Updated the WEAPON_SMOKEGRENADE smoke particle effect.
2020-04-23 03:41:56 +02:00
b44ea3320f
FX: Moved particle definitions into the respective FX init functions.
2020-04-23 03:22:45 +02:00
d72fc4d17c
FX: Cleaned up inits and organized everything into the relevant game
...
specific directories, so mods can now inherit/override effects easier.
2020-04-23 03:13:29 +02:00
1891e974d0
Counter-Strike: Handle player animation code in its own files, update
...
weapons to use the newly defined sequences.
2020-04-22 05:32:58 +02:00
b4fffe8858
Half-Life: Build the client-game with the VGUI_CLASSIC define.
2020-04-22 04:39:08 +02:00
922b6f4c55
Added sub-directory makefile to ease the building of specific games/mods.
2020-04-21 00:30:54 +02:00
00b4fb9557
Flashlight: Shift source origin down by 8 units so that the cubemap light
...
has some more obvious effects from the first person view.
2020-04-20 23:20:36 +02:00
a3ff75a4da
Moved Player_Death into the Gamerule logic.
...
Counter-Strike's zones have been shoved into .flags, where we desperately
need some more bits.
Counter-Strike's WEAPON_C4BOMB now only works in a func_bomb_target zone.
2020-04-20 19:25:15 +02:00
e643ab58a7
Rewrote parts of HUD_SlotSelect to be no longer recursive.
2020-04-20 11:47:22 +02:00
2cee375ce5
Lots of commits bundled into one:
...
- Added GamePMove_Fall and GamePMove_Jump for controlling either.
- Tweaked maxspeed for Counter-Strike heavily.
- Worked on the Counter-Strike WEAPON_KNIFE (fully functional!).
- Worked on the Counter-Strike WEAPON_AWP (mainly zoom).
- The WEAPON_C4 in Counter-Strike will no longer unfreeze you during warmup
- Added cl_showtriggers for displaying brush-based triggers.
- Removed muzzleflash dynamic light, as it seems GoldSrc doesn't have any.
- Fixed bug in which the server-list would run into an infinite loop error.
- Fixed weapon pricing in Counter-Strike.
- To rescue hostages means to earn $$$
2020-04-20 06:45:14 +02:00
d7e818410c
Added game-specific maxspeed overrides.
2020-04-19 13:01:47 +02:00
e578ffc808
Get rid of those ancient decal precaches.
2020-04-19 12:01:31 +02:00
ad62ddc574
Moved gamerule definitions at a higher scope, this will make it easier
...
to call GameRule events from other parts of the codebase.
2020-04-15 01:18:19 +02:00
3e4a67367b
Counter-Strike: Hostage Rescue works, Buymenu for weapons works, cleaned
...
up some gamemode code.
2020-04-14 16:19:25 +02:00
594ba56f02
Started moving gamerule logic into classes, so we can manage seperate
...
modes of play better. This will be much appreciated too by anyone modding
CS to add additional gamemodes later for example.
2020-04-14 03:12:09 +02:00
142e6c9cf3
Possible memalloc corruption mititagions.
2020-04-12 19:40:09 +02:00
9e8c779c74
Menu: Added a basic Load-Game menu.
2020-04-12 18:45:02 +02:00
324fadd668
Spring cleaning. Prepare for summer! Fixed lots of bugs too:
...
v_camroll is now working again.
Counter-Strike is finally getting somewhere again.
Counter-Strike has pseudo spray-patterns now! They're all the same.
func_button now can be programmed to use Sound-Shaders.
The menu handles the vid_conautoscale command autonomously. Set r_autoscale
to 0 if you don't like it.
The menu has an updater, requires a not-yet-pushed build of FTE.
Don't use it yet.
Moved a lot of globals into pSeat's structs to fix splitscreen with them.
Made explosion decals be handled client-side!
Added trigger_look, env_sun and light_environment entities.
2020-04-12 15:50:42 +02:00
8f6a826475
Moved footstep sound shader, manifest updates.
2020-04-08 08:50:09 +02:00
b2ef0db018
Fix misc warnings.
2020-04-07 15:02:36 +02:00
31793440c2
Cstrike: Remove usage of Weapons_ViewPunchAngle, as that's calculated
...
elsewhere (see weapons_cstrike.c)
2020-04-07 15:00:11 +02:00
f43bc2cf32
update copyright dates because I've been forgetting all year.
2020-04-07 14:46:23 +02:00
3b8d76656a
Cstrike: Fix scope and cl_hudaspect support.
2020-04-07 14:41:21 +02:00
bc9978be12
Cstrike: Added sniper scopes to the AWP, G3SG1, Scout and SG550.
...
Their zoom-levels aren't final, I am pretty sure CS 1.5 had different
zoom levels for each weapon. We'll have to research those values.
2020-04-07 13:06:41 +02:00
27cfaba85f
Cstrike: Lots more documentation, stubs and some working new entities.
...
Added crosshair alternatives for AUG and SG552.
Made running/crouching/jumping affect gun accuracy calculations.
2020-04-07 12:42:28 +02:00
cf136dbd6c
Cstrike: Finished most of the essential gun logic.
2020-04-07 02:47:21 +02:00
9d13451186
1 cheeky line: 1; me: 0
2020-04-06 11:57:27 +02:00
2e1b2846da
Some prediction fixes?
2020-04-06 11:14:40 +02:00
1f0e93d35a
Precaching CS weapon sounds via sound-shaders...
2020-04-06 10:53:26 +02:00
755eecfc34
A bunch of mod changes contributed to by Xylemon, mixed together with
...
some of my FX code which is going places.
2020-04-05 02:25:27 +02:00
e1b38f008a
Adjusting spawn-angle to match spawnpoints.
2020-04-04 00:52:45 +02:00
ab1338bab6
Moved the music-switching logic into the menu, for good reasons.
2020-04-03 15:01:55 +02:00
4f44d96be9
Pulled over Sound-Shader code from TW. We'll use this soon over hard-coded
...
sounds.
2020-04-02 22:43:37 +02:00
18fe40f2e0
More cleanup/shoving around of decal code, improved infodecal by adding
...
its Trigger() method
2020-04-02 06:23:18 +02:00
af53ab36ef
Improved entity documentation, added cl_hudaspect variable so that
...
you can control how close the elements are to the center of the screen.
2020-04-01 18:43:09 +02:00
db8c10eeac
Valve: Fixed WEAPON_TRIPMINE and WEAPON_SNARK and tweaked some player
...
animation stuff
2020-04-01 16:00:00 +02:00
a6b301755e
Valve: Fix playermodel pitch/bone controller
2020-04-01 12:51:46 +02:00
3058015aa0
Valve: Add cvar cl_centerscores, to center the scoreboard
2020-04-01 12:24:41 +02:00
5cb0ad1bb3
HUD_SlotSelect: Only allow this if we've got any weapons at all.
2020-03-31 09:34:21 +02:00
163ac1993d
Valve & Mods: Fixed Hud_SlotSelect bug in which you could weapons you did
...
not have in your inventory.
2020-03-31 06:42:03 +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
e5a3f0880c
Starting to clean up more RenderFX stuff, shoving most of it to CGame
2020-03-30 16:22:24 +02:00
cee8a25d82
Allow viewmodel to draw in a second pass (r_viewmodelpass 1)
2020-03-30 14:47:17 +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
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
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
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
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