Commit graph

496 commits

Author SHA1 Message Date
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
18fda226f6 Updated Damage_Apply and TraceAttack functions to cache which weapon was
used to attack.

Also a few more weapon fixes. When will it ever be done???
2019-09-17 02:29:00 +02:00
2489e4d872 Renamed client/*.cpp to .c files where appropriate 2019-09-13 09:58:35 +02:00
b27f060589 Moved non-entity specific code from gs-entbase/client/ to client/ 2019-09-13 09:43:34 +02:00
bf5c78fab2 Opposing Force: Initial commit of weapons.
Includes some networking fixes so we can actually use 32bits of items.
That's what these mods are good for - testing the infrastructure.
2019-09-12 01:20:03 +02:00
6f7c7c7b1e Added env_message_single(), this will probably be merged/removed later. 2019-09-11 14:35:30 +02:00
94b0b5acc5 Team Fortress: Initial commit. Rough framework for the weapons, build
scripts, etc.
2019-09-11 08:45:41 +02:00
637a311c3f func_train: Add support for TRAIN_WAIT (1), which is used by the first elevator
in the Hazard Course training. Fun stuff.
2019-09-10 09:53:36 +02:00
1e5feeaa79 func_door: Add support for the netname key, which fires a target upon
closing of the door.
2019-09-09 22:26:17 +02:00
38347acabb Improvements to all entities that make the gun-range at Hazard Course work,
this means correct behaviour of multisource, multimanager entities, as well
as func_guntarget and func_door_rotating so that they expose the right bits
of information as needed for the managers to work.
2019-09-09 22:05:32 +02:00
004f87dacc path_corner: Documentation improvements, PC_FIREONCE. 2019-09-09 19:12:18 +02:00
a802c3bf3e func_train: implement most (if not all used) functionality. Needs more
testing, but on the maps on which it does work, it seems to work well.
Keep in mind that the player physics don't take ground entities into
account yet - so you'll still bounce off the platforms when they're moving
down, etc. That's a problem with the physics, but not the entity itself.
2019-09-09 18:56:56 +02:00
8d9b03f6ca monster_generic: call droptofloor(), as it seems that some of those float
mid-air otherwise.
2019-09-08 12:18:19 +02:00
31750420be Remove/Fix sounds that were named wrong or missing. 2019-09-07 08:39:28 +02:00
6413e26786 Clean the 'valve' HUD for splitscreen. 2019-09-07 07:31:38 +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
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
9726d25eaf trigger_autosave: Will now print the game saved text to the screen. 2019-09-04 02:52:13 +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
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
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
97aa368f67 got rid of redundant path data in gs-entbase .src files 2019-09-01 05:24:28 +02:00
b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00