Closed MelvinShwuaner closed 2 weeks ago
The changes introduce a new enemy type, RadMechAI
, with a corresponding controller, RadMechEnemyController
, which implements the IEnemyController<RadMechAI>
interface. The controller manages the enemy's behavior through methods for updating state, handling secondary skills, and releasing skills. Additionally, the CharacterMovement
property in the PossessionMod
class is made public, allowing external access, and the EnemyControllers
dictionary is updated to include the new enemy type.
File Path | Change Summary |
---|---|
lc-hax/Scripts/Modules/Possession/Controllers/RadMechController.cs | Added enum OldBirdState with states IDLE and ATTACKING . Implemented RadMechEnemyController class with methods for updating enemy behavior and handling skills. |
lc-hax/Scripts/Modules/Possession/PossessionMod.cs | Changed CharacterMovement property from internal to public. Added RadMechAI entry in EnemyControllers dictionary. |
In the realm of code where rabbits play,
A new bird joins the fray today.
With skills to hold and states to change,
Our enemies now feel quite strange!
So hop along, let’s celebrate,
For new adventures await, oh great! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Oh yea my bad, forgot to private it after making it public
See our discussion #496
Huh, didn't see that 😔
well you could make it possible to control old birds if your a host right?
Host-only controls is not a priority for us. There's already existing mods for that, like ControlCompany.
one more thing, it is very easy to accidentally go through the entrance / fire doors when chasing a player, which i had to fix, would be nice if you could add a toggle for that, or just make it so only mimics can go through (you can go between outside and inside by turning on noclip and flying)
I believe the door helps to toggle the environment settings. This means that if you flew out onto land, the game still thinks that you are indoors and there are some unexpected consequences to that, depending on what mob you are controlling. E.g. if you flew out with Bracken, you can sometimes crash the entire game.
I might eventually just bind it to some key to trigger door use.
Oh wow never knew that
I want to control old birds with this mod, so i tried taking code from control code and modded it to work this game, it does work, you can control the old bird to shoot missiles or not, but it only works on host! you need noclip to move on clients and you cant shoot missiles if you are a client
my code probably sucks, this is my first time modding lethal company
Summary by CodeRabbit
New Features
Improvements
Bug Fixes