Commit graph

571 commits

Author SHA1 Message Date
5ddd040f9d Added src/mk_mapdef.sh to generate Radiant compatible entity definition
files.
2019-09-07 05:51:12 +02:00
27707e37b6 Move things from the root src/ dir into the src/shared folder, as that
makes the most sense.
2019-09-07 05:50:44 +02:00
f4ced97ad0 Started documenting map entities via QUAKED style comments.
Use the mk_mapdef.sh script to generate a radiant compatible entities.def
file.
2019-09-07 05:37:06 +02:00
98e7bdef03 Spraylogos: Illuminate them with getlight() 2019-09-05 18:11:01 +02:00
396e811850 Scientist Hunt: Fixed weapon kill icon info. 2019-09-05 04:47:43 +02:00
cf795010b9 Turn down the camera roll a litte. 2019-09-05 03:46:39 +02:00
5aa167d4af Added graphical obituaries for HL/SH.
The way the weapon is chosen is not yet final. I'm just tired and don't
feel like engineering the damage stuff right now.
2019-09-04 18:11:55 +02:00
53a12821e1 Cleaned up the damage routines to prepare for a bunch of new changes
related to obituaries etc.

Also added support for headshots. Right now they'll explode scientists'
heads so that's hilarious.
2019-09-04 10:38:39 +02:00
9f68bc97e1 Scientist Hunt: Tweak the chainsaw for a bit animation wise. 2019-09-04 04:40:05 +02:00
0841eb65f0 Scientist Hunt: Set the double barrel muzzle flash. 2019-09-04 04:39:46 +02:00
bc4bd0580d Scientist Hunt: Tweak the Hammer to not violate our precious ears 2019-09-04 04:39:16 +02:00
a7c2c04651 Delete v_cambob, as that never really worked well anymore to begin with. 2019-09-04 04:02:20 +02:00
50c1aced6e Handle muzzleflashes differently.
Originally I thought that the model event calls would decide which
muzzleflash to use. It WORKED close enough for CS afterall. It turns out
that the numbers must relate to size or something else which I have yet
to figure out. Either way this unbreaks muzzleflashes in Half-Life and soon
when I port the weapons from CS' system over to the predicted weapon system
from FreeHL, they'll get it too.
2019-09-04 03:57:06 +02:00
205cd5856f Made it so camera roll is only calculated when the player movetype is MOVETYPE_WALK 2019-09-04 03:14:41 +02:00
9726d25eaf trigger_autosave: Will now print the game saved text to the screen. 2019-09-04 02:52:13 +02:00
b34bd0298d Added cvar v_camroll. 2019-09-04 02:51:49 +02:00
d577f378e2 Menu: Error checking for strings.lst parsing, as some mods (The Ship) can't
do access out-of-bounds string indices.
2019-09-03 10:41:13 +02:00
22763a61ff Fixed HORRIBLE Damage_Radius behaviour.
Basically the damage value from the parameter was modified which resulted
in every entity found that's damaged taking damage away from every entity
that's potentially affected by the radius damage.

In Half-Life the armor skip would also be ignored, resulting that the
command 'kill' would not do much when wearing a fully charged HEV suit.
2019-09-03 05:01:35 +02:00
b70eb4b7ce Counter-Strike: Bring back the scoreboard, as it wasn't interactive anyway. Maybe in the future there will be some fancy VGUI version. 2019-09-03 04:58:49 +02:00
e23dc04d26 Menu: Stop mod print spamming for now. It's solid as it is. 2019-09-02 15:53:13 +02:00
3fa355069b Switch from memrealloc to memalloc for titles, so we count them manually now.
This is generally more reliable because lots of memcpy operations are annoying.
An entry will also now only get allocated when braces are fully enclosed.
This will fix crashes with Counter-Strike and other mods with faulty titles.txt files.
2019-09-02 15:52:01 +02:00
0f3cc9c5f5 Initial support for scripted_sentence and sentences.txt. It doesn't do anything fancy yet. 2019-09-02 06:29:18 +02:00
13f4044481 removed redundant check for the titles file. 2019-09-02 04:38:06 +02:00
b4113b82d2 Move titles.txt parsing into its own file. 2019-09-02 04:26:48 +02:00
7a34587038 Set some debugging hulls for the player spawns. 2019-09-02 04:20:09 +02:00
978a0dd865 Added initial func_guntarget and trigger_autosave. 2019-09-01 22:39:56 +02:00
57e28231c1 Tweaked game message fading a bit. 2019-09-01 13:46:05 +02:00
78429997aa Support for scrolling env_message text, as well as a test cmd (titles_test) that allows you to test message definitions. 2019-09-01 13:34:11 +02:00
f4ae48b1b5 Initial titles.txt support. Only env_message works with it right now. 2019-09-01 11:45:42 +02:00
7cc9a73cbd Scientist Hunt: Adopt 'valve' chat parsing that was more reliable. 2019-09-01 10:37:20 +02:00
0e70bc0ab6 Half-Life: Add early ammo definitions for ammo_mp5clip and ammo_mp5grenades 2019-09-01 10:09:49 +02:00
3dee62271f Half-Life: Let items trigger targets. Required for Hazard Course at least. 2019-09-01 10:08:59 +02:00
afa60a0482 Half-Life: Start with suit in deathmatch. 2019-09-01 10:08:31 +02:00
05980cfb3e Half-Life: Only use flashlight when ITEM_SUIT is present. 2019-09-01 10:08:17 +02:00
7541db9f63 Half-Life: Only draw HUD when ITEM_SUIT is present. 2019-09-01 10:07:58 +02:00
106604661b Tweaking footsteps sound sensitivity a little. 2019-09-01 08:00:01 +02:00
15181308f8 Counter-Strike: Add item_suit, so that the training works again. 2019-09-01 06:59:09 +02:00
0968ee7756 Counter-Strike: Don't open VGUI in singleplayer upon start. 2019-09-01 06:20:00 +02:00
97aa368f67 got rid of redundant path data in gs-entbase .src files 2019-09-01 05:24:28 +02:00
dee8eb2fd8 Updated progs.src file paths. 2019-09-01 05:23:24 +02:00
b3acf9b715 Moving game specifics .src files into their own dirs. 2019-09-01 05:06:43 +02:00
a6c53e9a7c vid_reload/restart will now refresh decal shaders. 2019-09-01 04:52:49 +02:00
0456322d28 Removed cstrike's player.cpp as it's unused. 2019-09-01 04:38:35 +02:00
b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00
22b74bf4b0 Removed crosshair.h as it's useless. 2019-09-01 04:18:48 +02:00
7c1846c044 Saturday cleanup operation.
- Cleaned up default configs
- Cleaned up license notice
- Simplified client-side entity spawning
- Predicting trigger_gravity now
2019-09-01 04:18:15 +02:00
f9b9df168a Added initial weapon HUD icons for mod: 'scihunt' 2019-08-31 05:51:30 +02:00
da693c9999 Added initial weapon HUD icons for mod: 'valve' 2019-08-31 05:48:54 +02:00
3cd56b57af Menu: Fix the mod-type not displaying properly 2019-08-31 01:59:08 +02:00
0843a79c7f Remove old readme file. 2019-08-31 01:49:40 +02:00