Commit Graph

76 Commits

Author SHA1 Message Date
Pieter-Jan Briers ccea85136b
Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
(cherry picked from commit 68ce53ae17985876d6d112b764b2144964a9f42e)
2024-02-18 23:02:29 +01:00
Nemanja cd97df761d
Autoattacking weapons (#23765)
auto attacks

(cherry picked from commit 5db615af54acf04c9a9ba5653cfac4a360eff61b)
2024-01-26 22:16:34 +01:00
Leon Friedrich e66c0b5035 Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
I.K b86f0e1e43 FIX (#21091) 2023-10-20 15:30:20 +02:00
I.K 437201a07d Change wide swing sprites to be that of the weapon used (#21050)
Co-authored-by: notquitehadouken <1isthisameme>
2023-10-20 15:30:19 +02:00
Kara c7c8f1f3e9 Allow picking up items in combat mode (#20431)
* Allow picking up items in combat mode

* dont hardcode that
2023-09-27 21:59:12 +02:00
metalgearsloth c9648da984 Content update for NetEntities (#18935) 2023-09-27 21:59:12 +02:00
HerCoyote23 407d45cd11
Meleespeech Action, Holoparasite Meleespeech (#19504) 2023-08-26 17:26:28 -04:00
Visne c7b21b631b
Remove unused dependencies (#19490) 2023-08-24 09:55:15 -08:00
DrSmugleaf a88e747a0b
Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
TemporalOroboros 3b02d461a2
Corrects for singularity distortion. (#13925) 2023-08-13 09:43:07 +10:00
metalgearsloth 0f917d22d7
Color flash effect fixes (#18952) 2023-08-10 10:44:52 -07:00
metalgearsloth a7b302bd3c
Fix crusher altfire (#18826) 2023-08-07 11:05:18 -06:00
metalgearsloth aa8efc9a26
Melee rebalancing (#17520) 2023-08-06 12:55:38 +10:00
Slava0135 d4c8065e8a
Move and rename damage effect to color flash effect (#18263)
* move damage effect to different package

* rename to ColorFlashEffect

* renaming some other things
2023-08-01 19:02:54 +03:00
Leon Friedrich a4fc332846
Fix some some bugs when client-side prediction is disabled (#18241) 2023-07-24 19:59:31 +10:00
TemporalOroboros 3ac4cf85db
Cleaner BoundUserInterfaces (#17736) 2023-07-09 02:02:17 +10:00
metalgearsloth 68480af109
Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
metalgearsloth ee2a3216d6
Self-attack nerfs (#17845) 2023-07-07 18:45:37 +10:00
Nemanja 37d3056809
Events all over melee (#16997) 2023-06-07 13:26:45 -07:00
metalgearsloth cd487b66e4
Content mapmanager query changes (#16894) 2023-05-28 23:22:44 +10:00
Nemanja f23729511d
Make weapon arcs follow the player (#16796) 2023-05-25 14:04:15 +10:00
HerCoyote23 e45dd96af9
Northstar Gloves (#16021)
* Added Gloves of North Star, no sprite or talking yet...

* Added sprites for the gloves of the north star...

* Replaced more placeholder sprites for northstar gloves...

* Added gloves of the north star to uplink...

* Added speech on hit, not yet configureable

* Not functional yet, but a step in the right direction I hope...

* IT WORKS!!

* Licensing and cleanup

* Reduced attack speed, changed from chat to popup, added some admin logging. It was causing too much adminlog spam otherwise

* Reorganized some files, final build??

* Changed the adminlog type from Verb to new type ItemConfigure

* More cleanup, fix sprite reference maybe

* Keronshb's suggestions, fixed some stuff, made hit sound use the meaty punch sfx

* Adds support for hiding speak/whisper/emote from adminlogs, makes northstar speak again!

* Some file shuffling, some of Keronshb's requests. Might appear a bit funky in github because vscode kept duplicating files for some reason and I had to delete them

* Made it work with the latest changes on Master

* Final? cleanup, upped dmg to 8, made ui not activate on activateinhand, instead you need to right click

* Set value to 0 credits, that's all

* Well that was much easier than I made it out to be. Now you can only activate the gloves with right click, no more mispredicts.

* Update MeleeWeaponSystem.cs

Iunno why this got changed in the first place, but I'm changin it back

* emptycommit

* emptycommit

* The tiny fixening
2023-05-23 14:12:30 -04:00
metalgearsloth 6417bb4fa0
Proto-kinetic crusher (#16277)
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
2023-05-14 13:15:18 +10:00
metalgearsloth 3ed58be49c
Truncate melee wide swings (#16242) 2023-05-08 17:46:26 +10:00
metalgearsloth f917440301
Lag compensation for wide attacks (#15877) 2023-05-01 15:07:17 -04:00
metalgearsloth ae01618874
Revert "Revert "Replace `ResourcePath` with `ResPath` (#15308)" (#155… (#15566) 2023-04-20 20:16:01 +10:00
metalgearsloth acf79a8209
Revert "Replace `ResourcePath` with `ResPath` (#15308)" (#15551) 2023-04-20 11:43:54 +10:00
Ygg01 71f358a027
Replace `ResourcePath` with `ResPath` (#15308) 2023-04-19 23:39:17 +10:00
metalgearsloth 317a4013eb
Puddles & spreader refactor (#15191) 2023-04-10 15:37:03 +10:00
DrSmugleaf 34bcd042d1
Remove combat mode component reference (#15206) 2023-04-08 13:16:48 -07:00
DrSmugleaf b947856431
Remove hands component reference (#15197) 2023-04-07 11:21:12 -07:00
metalgearsloth d3ef4b7572
Fix static melee effect offsets (#14815) 2023-03-24 13:13:15 +11:00
metalgearsloth e93d5113ad
Remove .Owner from melee weapons (#14600) 2023-03-12 15:56:05 +11:00
Vordenburg 4183b5f449
Fire MeleeHitEvent on misses. (#12867)
* Fire MeleeHitEvent when there are no targets.

* Prevent certain weapons from activating if they had no hit entities on hit.

* Prevent miss events from firing when target is yourself or was deleted.

* Use .Value as Target is already known not to be null.

* uid changes

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-02-13 12:55:39 +00:00
Jezithyr eeb5b17b34
Mobstate Refactor (#13389)
Refactors mobstate and moves mob health thresholds to their own component

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-01-13 16:57:10 -08:00
Leon Friedrich bf2ae6294d
Make clickmap lookups use the sprite tree (#13275)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-01-05 16:29:27 +11:00
Leon Friedrich 881a2b2ece
PopupSystem public methods rejig (#12830) 2022-12-19 08:41:47 +11:00
metalgearsloth 3b3963083b
Replace GridEntityId with Owner (#12743) 2022-12-12 14:59:02 +11:00
metalgearsloth d9a26c76e0
Fix texture crimes (#12900) 2022-12-06 14:35:44 +11:00
Leon Friedrich 5f964f02b7
Fix melee animation exception (#12806) 2022-11-30 12:40:57 +11:00
DrSmugleaf 7fbc2608e8
Remove redundant read-only VV from datafields (#12626) 2022-11-16 20:22:11 +01:00
metalgearsloth d17cee61e0
Predicted melee sounds and effects (#12569)
I didn't want to do this without lag comp. Need to see how it goes in a live environment with moving targets.
2022-11-13 15:33:54 -06:00
Rane 6c95c8d165
fix shove regression (#12316) 2022-11-08 15:10:59 -06:00
metalgearsloth fc9991cff2
Polish melee effects (#11653)
* Polish melee effects

* adjustments

* Animation changes

* Fix fist
2022-11-08 14:28:49 -06:00
metalgearsloth c7d4fd3cba
Fix damage colour persisting (#12469)
Probably. Easiest way to repro is make spaceman go horizontal and most of the time the red colour persists when the rotation animation starts.
2022-11-08 13:58:21 -06:00
Leon Friedrich f12d4a13d6
Misc action fixes (#12046)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-10-19 14:02:38 +02:00
metalgearsloth 123a9dbf02
Lag compensation for melee (#11885)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-10-17 15:54:31 +11:00
metalgearsloth 85926cf209
Don't swing out of range (#11964)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-10-16 08:54:43 -07:00
metalgearsloth a93d6eb5b6
Fix CanDisarm (#11843) 2022-10-14 23:14:07 -05:00