-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tesla is no longer an event horizon #28718
Conversation
you know what, I just realized that the tesla probably only spawns miniballs because it just consumes the PA projectiles like the singulo to "gain power" I'll have to account for that, one second turns out it also used to conveniently consume the tesla generator on spawning as well, so yet another thing to handle... |
last thing to do is to have it go through walls which I'm kind out of ideas for... but it might not be necessary? it used to achieve the "goes through wall" thing by just... consuming the damn wall with the event horizon and plowing through it it can get around the station like 99% of the time even without the ability to ghost through walls because it will continuously target doors non-stop until the doors explode every wall around them before destroying the door itself it kind of opens the door to cheesing containment by just... building a fully solid container made of walls and windows for the emitters to shoot through if anyone has implementation ideas for this, I'd love to hear it |
Could just implement c# logic that cancels the collision if the thing its colliding with has a structure tag or w/e |
thanks, works, all ready for review now |
something to note |
#28797 damn, false alarm, it didn't fix beam stuff I at least figured out why beam stuff is kind of fucked for the lightning. It has to deal with how the lightning is choosing the sprites. |
current implementation does not successfully work out for chained lightning hits |
Well, I'm not sure how to solve this "correctly", but adding a callback to the recursive function as a getter for lighting source might fix this issue. |
Is this ready for review or |
not yet, although I can't really draft the PR for some reason |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
About the PR
Tesla no longer eats walls/consumes entities it passes over
Tesla phases through walls harmlessly but is contained by containment field or the generator
Why / Balance
I tested the change locally, imo this is the only thing needed to tone down the tesla
shocking people and exploding electronics is a decent amount of potential damage, without the exploding electronics it feels really lackluster
Technical details
TODO:
Media
2024-06-07.17-34-23.mp4
Breaking changes
TeslaEnergyBallComponent.cs no longer has the "ConsumeStuffEnergy" field, as it cannot consume things anymore
Changelog
🆑