winstxnhdw / lc-hax

A powerful, feature-rich and highly performant internal cheat for the co-op indie horror video game, Lethal Company.
77 stars 25 forks source link

More features for PossessionMod #392

Closed xAstroBoy closed 4 months ago

xAstroBoy commented 4 months ago

Add various features such as :

Enemy automatically opening internal doors with cooldown. Enemy able to exit /enter from the exit /enter doors with cooldown add a calibrate collision and a way to preserve the enemy colliders as well Made the speed sync along with the enemy's animated speed.

Added Del key to delete enemy under possession if needed (useful for scares) Added SpringMan AI overrides

added various enemy events into controller.

added a controllable Interact radius based off which enemy.

Current Denied enemies for entrances are Forest Giant and leviatan worm and for oblivious reasons the snare flea as well.

During possession if you interact with a enemy and use the doors to exit, it will as well update the enemy's navigation system so it will still work even when you leave the possession

added isAbleToRotate as well to lock camera rotation while enemy is doing special animations.

xAstroBoy commented 4 months ago

@winstxnhdw just added BlobAI as well

D1GQ commented 4 months ago

The thumper and sometimes Flower Man movement is very jittery I think it has something to do with their animation and their speed interpretating from their animations.

xAstroBoy commented 4 months ago

The thumper and sometimes Flower Man movement is very jittery I think it has something to do with their animation and their speed interpretating from their animations.

giant as well, ill add a CanSyncSpeed and set these 3 entities to false

xAstroBoy commented 4 months ago

@D1GQ @winstxnhdw

i finished a bunch of changes Add TestEnemy and Crawler controllers

add Speed Sync Option

Block Bracken, Giant, Leviatan , Snare , Crawler animation speed sync

Add The possiblity to make the Hoarding Bug Angry as well.

add SetOutsideStatus to update the Nodes of a enemy instance.

Add F9 to toggle Possessed Enemy ' s AI while possessing it.

Fix Hoarding bug easily getting angry under possession

winstxnhdw commented 4 months ago

I won’t have time to look at this until March, so @D1GQ please help with the testing in the meantime.

xAstroBoy commented 4 months ago

@D1GQ hit me on discord for rapid feedback

xAstroBoy commented 4 months ago

@D1GQ @winstxnhdw everything is fixed up now.

D1GQ commented 4 months ago

@D1GQ hit me on discord for rapid feedback

Do you mind add me, is the same as my name here.

xAstroBoy commented 4 months ago

@winstxnhdw yes, possession is not going back to player for me, i fixed it.

winstxnhdw commented 4 months ago

Might be able to merge this by today or tomorrow, surprisingly. The PR aside from the PossessionMod script is mostly clean. Good job!

winstxnhdw commented 4 months ago

@D1GQ is it just me or is the Jester colliders broken? I keep falling through the floor.

xAstroBoy commented 4 months ago

@D1GQ is it just me or is the Jester colliders broken? I keep falling through the floor.

yeah the charactercontroller collider is a little bit too small, can increase it a tad bit.

winstxnhdw commented 4 months ago

image

Bracken seems to climb infinitely when it goes outside.

xAstroBoy commented 4 months ago

image

Bracken seems to climb infinitely when it goes outside.

odd, that did not happen to me.

winstxnhdw commented 4 months ago

Hold on, seems to be a mistake from me.

winstxnhdw commented 4 months ago

@D1GQ I think we are done. Can you give us the okay?

xAstroBoy commented 4 months ago

Before pushing, let me add lasso and spider , im as well adding a check for the secondary skill since is being spammed and is not required for all enemies

lasso primary skill is a screeching noise

spider skill is the drop web , i just copied spawn web rpc and removed the web limit from the method calculation

Also I hope to have figured out how to speed the spider up

Also ill add bees as well a way to aggro or calm them as skills

xAstroBoy commented 4 months ago

@winstxnhdw

i added as well OnSecondarySkillHold() and moved some enemies to use that instead and removed unneeded flags

Added Lasso, Thumper, Bees, Spider abilities .

removed IsSecondarySkill redundant flag.

Locked Nutcracker movement while is in sentry mode so it does not appear broken rotation and movement

Hopefully i fixed the centipede as well from soft locking.

winstxnhdw commented 4 months ago

Are we good?

xAstroBoy commented 4 months ago

Are we good?

Yes, is completed

winstxnhdw commented 4 months ago

Great job, let's merge after the CI has passed.