#Freddy Krueger [New Enemy]
1 messages Β· Page 2 of 1
btw wouldnt it be better to describe it as sleepwalking rather than sleep? π€
I guess it would be less confusing
I need some advice here, I am taking the time to change the colliders form while I am doing that because I heard he could kill through the floor sometimes
Do you think this is good?
It will be easy to dodge tho...
Yeah when I first saw this mod I thought your body would be on the floor and you'd move around in some other place
that wireframe box is the collider?
The green box
It's true that it can be confusing
I always thought the collider was bigger than it needed to be
wait isnt that the opposite of what mist was saying π or did i misunderstand him
this seems like a good size
unfortunately i dont have an opinion since i havent actually tested ur mod yet. π i been caught up testing a bunch of other mods rn.
if he keeps killing people through the floor you can lower the top of the collider to his shoulders
I'll do that if it happens again, I just switched the way tne collisiong detection was done
Also, I am releasing a new mod soon, and I need to playtest it, here is a preview :
ha nightmare foxy
Exacly :)
people are gonna be happy about this
im not a fnaf guy, but i know some people who are
I am not a huge fan of fnaf but I know how much people like fnaf content
It's gonna be super funny
Ayt, got to get back to the grind!
I'll do a bug fix patch in the next hour
Oh yeah, I forgot, it's not because I am working on Foxy that i'll be working less on krueger, foxy in a way is a learning project
its all good
the only thing i know is in second game i just hear the song at the moment me and my friends walking to the entrance, which is too fast and not reasonable as im not alone that time
Where you using the latest version?
yes
Your
Enter Sleep Value = 60, which means you would start hearing the music at 35s. This means that it would be possible the start hearing the music when you reach the door
But it is weird because you were with your friend
and my feeling is, current freddy is too weak, if he can act like the witch in l4d2 that will rush to player and kill, it will be more intense. current version of freddy feels like a horror music player only
He do is weak...
Also, I might have found your problem :
[Solo Run Settings]
## ACTIVATE SOLO RUN MUST BE ON : This settings make Enter Sleep Value and Sleep Meter before Rampage useless and instead chooses and random moment for you to enter the dream world
# Setting type: Boolean
# Default value: true
Make Freddy sleep unpredictable = true
## Activating solo run makes the settings of 'Solo Run Settings' activated. Leaving it to false WILL block all the settings of this section
# Setting type: Boolean
# Default value: false
Activate Solo Run = true
## ACTIVATE SOLO RUN MUST BE ON : This setting decides how much time will it take for you to automatically leave the dream world after entering it
# Setting type: Int32
# Default value: 60
Time Before Leaving Sleep = 60
I think I found what happened
I'll fix it so it works
You don't have to change it
What happened is that you activated the rnd enter sleep value and you got tolled by the game which gave you a number super low which I might havenot considered
As such, you couldn't see freddy but he could
I'll fix that
ok
I am sorry this happened to you, and also, I'll release an option for freddy to use his other behaviours more often because he is walking most of the time like you said
I am going to say thhis rn, when he runs, he is speed
good, i agree he is creepy in walking, but now he just walk too much
and i feel the rain effect is weird, maybe if u can change it to smaller rain drops will be better. and the most weird effect is his spawning effect, which is a group of rain drops fall from sky like a pole, and i can see this effect from far away. can u change it to something like smoke not something fall from sky?
Yeah, I was planning on doing that
I'll do it today
thats great, looking forward the next update

Just a thought, what if the sleep meter were based on how much time the player spends near a light source? the more time you spend in darkness the sleepier you get, and being in a light source can either slow that down in multiplayer or wake you up in solo
does it already work off insanity to an extent?
That is a really good idea!
No it doesn't, but i'll make it work today If I can
Guys, here is how he will teleport now, the light is weird but don't mind it, it is because it is in the editor
He is going to dissolve into blackness
Instead of the current column of darkness
We have jesus now
therapist: freddy kreuger jesus isnt real
freddy kreuger jesus:
Ok!
I think I am done!
Gonna release soon!
Ok everyone!
Here we are with a new version at hand!
here are the features!
Added better rain particles when in the sleep world
Made the sound when entering sleep not replay after the first time
Made the sound when entering the last sleep stage not replay after the first time
Added a difficulty config
Upgraded base difficulty
Added a speed multiplier in last phase
Added a config for the speed modifier
Added shadering on krueger
Remade Krueger teleportation animation
Added new sleep mechanic
Remade the rain particle
Added particle energy and spread it to make an effect of weirdness (IDK how to explain it really)
I am working on the sleep rework and I will release it next week normaly
Should be available soon in your mod manager
Tonight I should be able to release foxy also
I learned a lot about shadering with Foxy, so I used that and it worked wonders
oo cant wait to see
thx for the update
Oh yeah, my new mod is out :
#1220939641910464542 message
Freddy Krueger [New Enemy]
Oh shit, I'll fix that now, ir is the rain particle, i wanted to make them fancy
I took some complexe mech for the rain but sadly that Wont cut it
What does it look like?
It had many sides which are expensive
I'll try using this
Way less expensive
There we go :
I make them spin
And now it is nice
I'll make the particle zone smaller so It is less expensive
And reduce the ammout spawned
Here we have a new optimisation patch :
https://thunderstore.io/c/lethal-company/p/TheWeavers/FreddyKrueger/versions/
2.2.15 is out!
What are the changes
?
I changed the particles for them to not make the game lower in fps
The mesh was to complex
Went from
to
And believe me it is nice
What if you put a Red or a White filter when you are in sleep state
I am working in implementing a black and white filter with red being visible atm but It is really hard to work with postprocessing
But don't worry, it is around the corner
Oh that's fire
Im hyped
@mystic valley particle is very good, i can show u the video, now is very horror even freddy didnt show up. But still, although the video cannot capture, freddy still just walking around without any sudden running, and he walks quite a little buggy, he walk a few steps and disappear. I didnt tell others I have this mod in the pack so players are very confuse, they even dont know he is an enemy, they thought he is only some illustion or jump scare
To capture and share your gaming highlights, download the Outplayed app on Overwolf
And when we die, we are still suddenly head blow up, freddy didnt show up and kill us
I am going to test with a friend now
I am at the job so i can't fix it but I know why...
It's a desync issue
If it is what i think, for the host freddy is normal
It is because solo config option is on
maybe the maskedAIrevamp problem, nvm ill test again tmr
I thought i fixed it but I guess there was 2 problems π₯Ί
It's because of the option to randomise the enter sleep
So me and my friend died
when we respawned the rain particles appeared in space
when we were ejected
That is easy enough to fix, is there anything weird that happened during your gameplay or was it Nice?
We didnt get around to testing Freddy himself because we had such a long list of things to test
I can test tomorrow probably
If not in multiplayer Iβll test him solo
Nice! I'll play tonight with both of my mod to test multiplayer
I'll see as well
I tried fixing the solo play @stuck basin , but sadly you will have to deactivate it
I realised the problem with random sleep, and it is the way sleep is handled
SOLO_GAMEPLAY should be deactivated for anyone playing not alone
I might fix it in the future, but that would be with the 3.0.0, as the current program model is made to handle better some stuff, but sleep meter are hard to play with
Synchonisation of it would mean everyone would have to adjust wethever the host takes a decision and could lead to some major issue
thx, i already deactivate it
personally i hope freddy can have animation that attack player, currently i can only see him walk>disappear, or run> disappear, we all die without freddy appear
yes, that is next step
I had 2 thing in mind
Please vote here for the way you guys want to see freddy kill you!
π₯ First, you are stuck in place as he slashes your head away, he also forces you to look at him for scene purposes
π© Second, he disappear from your vision for a random amount of time and talks to you, and after that spawns behind you and slashes your head away, laugh with a special animation and goes back to haunting next player
I'll work on it tmr so you guys have time to vote
Ok so we need some voice lines
here are a few I thought of
- The dream is over
- Go back to counting sheeps before coming here
- In the end, you are always belonged to me
- Ah ah ah ah ah ah ah ah ah ah ah ah ah
- Did you know...that after the heart stops beating, the brain keeps functioning for over 7 minutes? ...We got 6 more minutes to play.
- Running was useless, face your fear and suffer the conscequences of arboring them
- Good run, now die
- This will teach you not to sleep at work
- Work is sacred, sleeping at work is a blasphemy
- Your friends are next
- I put that bear to shame
- Come to Freddy
- And now, you die
- Tell 'em Freddy sent ya
- Your shift is over
- Every town has an Elm Street laugh
- The only thing to fear is fear himself
- One, two, guess who's coming for you
- Tag, your it
Any other ideas?
I'll try to do some voice acting because freddy's clip are to old
"I put that bear to shame"
Double? I was mainly referring to fazbear
What's the other lol
Well the fact that Freddy talks about it and he has the same name was the second to me, but I guess it is not really a reference
Ah
But it is not
I also looked at a wiki of some old quotes, some of them aren't bad, if interested in non original ones
I am intersted in anything!
.Come to Freddy
.And now, you die
.Tell 'em Freddy sent ya
.Your shift is over
.Every town has an Elm Street laugh
.The only thing to fear is fear himself
.Did you know...that after the heart stops beating, the brain keeps functioning for over 7 minutes? ...We got 6 more minutes to play.
.One, two, guess who's coming for you
.Tag, your it
.It's the graveyard shift, when I get hungry
.An Apple a day ain't gonna keep me away.
.Remember, we make house calls.
I love them ALL
Crazy good!
I think we got enough now!
I'll have to use my real absolutly present Cough cough, vocal skills to make this
More lines less repeats, glad I can help
Thanks for the help!
You have to add his iconic catchphrases with the word "bitch" in it.
What if there was a way to drag Freddy out of the dream where he can be killed?
Like what?
Maybe whenβs heβs about to kill a player there can be ways to wake them up if others scream and hit them or if they get teleported
If you teleport a player in kill animation... That would actually be very very nice ad cool idea
we played yesterday and two people who was monitoring on the ship was killed by freddy without any warning when they were typing in turret numbers
Did you have solo enabled?
they state that there was no countdown or anything else, their head just went off
nah
me
Did you hear freddy?
i'm not sure, but when i went back to the ship i saw freddy stuck on the launch console
like walking into it
and body of friend just lying there
What π
without head
That means he was somehow invisible for your friend for some reasons...
Meaning their sleep timer was not the same as the host ones
yeah, at least they both state that they didn't heard anything
just died
when was managing turrets
from term
He didn't like thta
yeah, i didn't tell them i installed this mod π
Can I see your config?
so their theory was that freddy doesn't like when someone was sending turret codes
lol
Yes everything is default
Something went wrong with the sync which is weird. You see, Freddy is born of a small desync that makes every computer acts differently depending on what they want. For example, your friend who is asleep, his computer shuts off all Freddy's component. But all the main value are on the host computer. So if someone is killed on the host, he is killed everywhere
That means your computer considered them dead
Which in turns imply your sleep counter for them was higher then their sleep counter for themselves
I am just thinking aloud rn
@crimson idol , I am very sorry these things keep hapening to you
don't be, it's perfectly fine in such desynced game as this
i mean entire game is designed like that
we had all kinds of mad bugs since we started playing LC with mods
yeah and it is horrible π₯²
Freddy makes it even more of a network nightmare
like one player took off with the ship and all others was still on planet
and things like that
yeah, factory meltdown + late join
That is fucked up XD
entire game is not synced at all
or barely
imho everything should be processed on host and sent to clients afterwards
if you want reliable sync
at least all logic
otherwise... yeah
Yes, but Zeeker decided to make it so client process a lot of things
This is fun because less lag for host
But unfun for that
i'd say it's more like a nightmare
every single mod author with custom enemies always struggle with sync
time and time again
We are working with a code that is not ours
So it's hard
Wait how many of you guys were there?
It's hard to test sync alone...
yeah, everything always works in solo
can it also be related with late join / rejoining?
He works wonders rn, I am very happy, just need to make the kill animation
Actually yes!
That's it!
cause when two players join at the same time - one of them always end up in the ship wall
But I need to fix that
so he has to rejoin
Did those guys join that round?
Because if yes maybe Freddy didn't create a sleep table for them
as far as i remember they rejoined before initial game start
but still rejoined, due to that wall bug
there's also that
in matty's fixes
i didn't read the code, don't know if it can mess it up somehow
The thing I believe happened shouldn't be caused by that except if it somehow mmodified your PlayerControllerB
(Your player game object)
i have morecompany
That should also be fine I think
Mmh
Freddy Walked right behind their back invisible
I could have a sync inforcer
Or I could put back Lethal Network Api
That would actually be the best fix
Oh well
so for me personally it would be just fine
Might be better to do it that way
Or I could use my server to store the values
I wouldn't mind, but It might be seen as a virus
I think lethal network is the best
yeah, i don't see why not
Because this list gets longer and I don't like it π
But I got to do what I got to do I guess
sometimes it's better to use well maintained API than trying to invent something from zero through the countless bug smashing π
unless you're trying to improve coding skills or something
Well those project I am making are for fun and learning
But Well. Lez do it!
I'll fix it all
Wait, @crimson idol , was there someone dead in the session?
only the one was stealth killed by freddy, as far as i recall
but i'm not 100% sure
I think That was the problem
Lol
it is so stupid
The other player ineherited the dead player sleep meter
particles still show up when we get ejected
Thanks you! I'll fix that rn!
Is the rest fine when you exit sleep?
I dont think we had any problems after exiting sleep
Ayt, thank you!
I'll fix that and add it with the reimplementation of lethal network api
oh nice, you found a way to have it work?
I am working on it. It brought better synchronisation than my current method
Forgot to clear the particle before
Meaning you could see the particle emited before the particle.stop()
Yup!
But my code is to broken so I can't publish rn

Ayt'ill finish with lethal newtork api
FINALY
We receive it boys!!!
That means version +0.1.0 will be out very shortly
Updating Right now!
There we go!
Sadly
But he should now be WAY more stable
Awesome
bugged as hell, dunno why
just spawn and stuck, when we just arrive the moon, already see him there
yes, but start chasing already when we just arrive a moon
I got to ask again I am sorry, do you have special configs?
no, i only change the spawn time, i dunno is it has conflict with infectedcompany or not
mmmh
I'll do a ittle playtest to see if it is "normal"
Can you take a photo of the console?
There should be a sleep message saying freddy's current sleep
I left it there by accident
Oh wait
I found the error
The sleep goes up a the sleep of light on his second spawn
This is due to a wrong destroy I believe
I'll try fixing thi, but I am at school
Oh god
Actually this is a big problem
This is an error of subscription with lethal network API π’
Thanks for pointing it out @stuck basin, It should be fixed soon
Just to be sure, this wasn't the first moon you went to right?
yes
Ok
I fixed it!
The problem was simple, but I didn't know it was a problem with lethal network
I'll publish it now
If someone could test it I'd be really happy
I am at school so I couldn't teset multiplayer
Yeah, so I noticed a little problem with krueger in LC, and I got a few fixes ready, but I am not to sure which one should I do
You see, when you are in the ship, the pathing freddy has to take to get into it is really long and he often disapear before he reaches the ship. So i had a few ideas to make him dangerous even in the ship.
First idea, when you are in the ship and you are freddy's target. He brings you into the facility with akind to a reverse teleporter
Second idea, freddy is always running when you are inside the ship.
If someone has a better idea I'd love to hear it!
First idea seems like a bit much
yes because you are basically trapped on the ship
maybe Freddy could do something with the monitors?
I was just about to say that
like his face appears on the monitors and then he steps out from the monitor or something
I am listeninig, seems like we are on a track
or the terminal
Mmmh, seems doable, but it would feel disconect because of the collider before the monitor
like an ASCII of freddy appears on the monitor
The terminal would be weird if it is facing a wall
ah true
monitor does seem easier
you should make it a slow animation of him struggling to pry himself out of there
so you have time to react
It would be Funny XD
or maybe its just his arm reaching out from the monitor
I was just about to say that
He could smash his clawed hand through the monitor or something
then pull himself out
That would be doable but VERY tedious work. Mmmh, I'll try to see if it is implementable not to hardly because I am jsut a beginer in animations π
But it is definitly doable
you are quite good for a beginner from what I've seen
I could give it a try if you want
Well the animations are trully basic and I am using low end animating software
When it comes to higher level animations, it needs blender and it becomes increasingly difficult
what are you using?
I first rig my model using acurig, I then switch it into Mixamo and after that I move some bones (Not much) for the animations to fit better
So in terms of animation, I am not doing it that much π
But I am learning blender at the same time and I am currently working on learning animations
I mean, from start to finish
Mixamo is kinda of a cheatcode which can't be used for complexe stuff
I'm also learning blender for animation
I am a beginner but I don't mind a challenge if you want me to give it a go
and if it doesn't turn out well just don't use it π
I'd be really happy to get your help, but at the same time, I don't want to just say no if something goes wrong. I'll try doing it first just to test the water, and I'll come back to you if I am having an issue
The offer is really appreaciated tho!
yeah np
Woosh, time to check back in on the fredster
Ohhh, you're going to be Freddy's VA? That's cool.
Masa would definitely keep certain quotes reserved for that 'nightmare scraps' idea Masa voiced though! Which, Masa forgot to give details for too, Masa just realized.. Should probably write that out π€
Yes, i'll try doing voice acting for I feel it is nescrssary to make the charavter come to life
That's pretty dope! Do you have a example already, or a teaser for that? ποΈ
Nopr π i am still trying to do freddys voiceπ₯²
Oof. Robert's voice is a talent on its own tbh. Good luck with that tho!
So true π
man I was just listening to a bunch of clips from the various movies
Freddy Krueger really loves calling people a bitch
pleeeeeeeeeaaaase sneak at least one in there π
If there's gonna be nightmare scraps.. there'd probably 100% be the prime time quote in there π©
oh yeah
if you do end up making freddy take over the ship monitors, "welcome to prime time bitch" would be the PERFECT line to play there
Especially if he grabs you and slams you into the monitor screen afterwards
I got to do BITCH, for sure
Nightmare scrap is soon, Don't loose hope π₯Ί
SOON?
π
Make sure to give Masa a holla when you get to that! Masa would love to brainstorm along with you on what kinda scraps to scrap for the scrappy scrappers!
Relativly π€, just finishing my new enemy and then I'll give freddy some big love
Ohh, Foxy?
No another
AH?
π
Not Xilef becoming the Wesley of enemies
Xilef's enemy
by the way, I'm starting to get into voice over and voice acting. I've got a treated room and good hardware and everything. so if you want, I would be happy to do the freddy voicelines. I'm going to do some recordings for other things later today so lmk if you'd like me to do some samples of freddy lines as well.
We're gonna end up with 15 enemies at the end of this π
I would be very VERY nice because I suck πππ
lmao
I have a to deep voice and it feels pintched
alright I'll send a couple your way later today when I get around to it
ππ
@mystic valley by the way, just found this video explaining how they did the freddy effect. apparently the actor would say the line faster than is natural, and then audio engineers would slow down the audio, giving it that bassy effect while still keeping the cadence natural sounding
https://www.youtube.com/watch?v=QbUg-HH3RpI
Learn more about The Hollywood Monster at http://books.simonandschuster.ca/Hollywood-Monster/Robert-Englund/9781439150498?mcd=vd_youtube_book Robert Englund demonstrates the origins of Freddy Krueger's voice.
So fucking smart tbh
Ayyy you got featured
Lethal Company BEST Mods To Use #32 (CRAZY!)
Here are the best mods for Lethal Company, so that you can level up your gameplay with Lethal Company mods. This is the 32nd part of the BEST Lethal Company Mods series.
LC DOOM - https://thunderstore.io/c/lethal-company/p/Cryptoc1/LC_DOOM/
LethalCasino - https://thunderstore.io/c/lethal-company/p/m...
Lets goooooo
I was testing out different voice cadences and different time shifts to get the desired effect. this one I'm extremely proud of, but what do you think? @mystic valley
I did mess up the line, should've been "welcome to prime time", and I can definitely do an angrier take
but this is generally right I feel
WOW , this is 100% the closest voice to Freddy I have ever heard\
Dude
You are good at this!
I could literaly put this in the game as is!
sweet, very happy to hear that! I can definitely re-record it into "Welcome to prime time" and do some more lines for you, just lmk what you want done
I'll text in you PM for now! I got a bunch of lines which you can take from that would be intersting to see!
Cant wait for the "uwu bitch" easter egg voiceline
LMAO I will definitely do a line of "uwu bitch"
π€£
Sorry im new to this mod, but it seems like freddy is only walking slowly towards me but not doing anything serious to me
Yeah, he is in basic diificulty basekit. Youll have to up his diificulty if you want him to be a very dangerous menace
You can upgrade his speed, his rarity, his minimum sleep, the rate at which he changea behaviour and stuff like that
His behaviour state come later throughout the nightfall unless you specify in the config that you want him to not follow those rules
If you have problem managing your config and choosing appropriate values, just text me! I'll help you out
hey the mod dont seem to work in my modpack the entity is just either in a wall or afk on a vent 018e8425-8fc4-25ef-e0ea-b882d7712bc5
Can you make it so its not possible for the last player alive to fall asleep?
I'll Test the modpack to see the problem!
I'll make and option, because I still think that adds to how dangerous freddy can be
Hello there!
I tested your modpack and Freddy works
Did you know that freddy is just standing iddle until a player fall asleep @severe adder, he should be invisible tho...
cool thanks
I don't know if you rolled out the fix but the particles still appear when you get ejected
Oh, that is weird, it should be fixed
Oh, actually never mind
I returned to a past save of my rpoject a short while ago so it removed the fix I found...
freddyRain.Stop();
freddyRain.Clear();
oh thats interesting he def wasnt invisible
Was there any errors in the console or smt?
this does sound pretty good. this is already ur voice impression without any editing?
i dont think so no
i wasnt always checking but when i was dead it was fine
that's with the timeshift effect applied, but I've recorded new lines since then which are waaaay better
canβt wait to hear em π
and xilef is also doing his own processing on it which will make it fit into the game even better than my raw audio files
i looked up some freddy krueger clips to listen to his voice. sometimes his voice sounds clear and sometimes it sounds like it has a voice effect.
do u why that is? i havenβt watched the movies
probably just different production values, and the cast and crew becoming more experienced with the vision over time
also theres different movie series that have different takes on the character
the originals were more comedic, the modern ones are meant to be taken more seriously
ah okay
that makes sense
seems like thereβs a bunch of movies spanning multiple decades
curious.. in terms of voice processing, which freddy movie are you guys taking inspiration from?
DBJ really succeeded in making a inbetween between modern Freddy and the old one
The voice mostly inspired fromt the new one, while keeping a bit of the comedic touch of the old one
This is really weird.
I'll look at a solution to make him disapear more consistently
Everyday, Freddy is growing more and more sentient π
Getting a bit to romantic there Freddy
"freddy krueger? you mean that one modded monster from lethal company??" -zoomer kid probably
i got a lot of spam the in log when freddy spawned
bug again
bro looks like heβs about to bust some michael jackson moves and moonwalk out of frame
Relax
I'll find a fix
Sorry you feel that way π
Thank you for the report!
I'll fix it tonight
Thank you for this wonderful mod. Excited to see it develop. It already is really cool!
i believe in the mission. i know xilefβs vision for this mod is a grand one.
It is big, maybe to big...
I feel you lmao
and you even know what i mean behind it π
one step at a time βοΈ
no need to complete it overnight
iβll try to help in my own way and try to do some bug testing next week. reproducible results + error logging.
Thank you π₯Ή I dont have time to playtest with all my mods, 40h of school a week and all my work related stuff
ye i been caught up bug testing for a bunch of other mods, but i think iβm good to finally to get to yours
yeah also had him kinda just chase people around not being able to kill anyone, sad that it happens, but i hope that doesnt discourage you from working on this, looks really promising!
Thank you π₯Ή
So i am in a bug hunt RN on Freddy, I corrected the following error normaly :
Freddy works perfecly for me so it is really hard for me to know of any problems
It might have been due to this or it might not have been
It's hard to say
Oki Doki, I renamed the whole project for it to not break with other project
Also redid the unity project for faster object syncing which proves to remove some exception
Been a while since I touched this mess ( Yes, he has a lot of audio source)
Actually, might have found the reason he doesn't kill
Fixed!
If it is what I think π΅βπ«
Hard to say with all the networking
ye i notice solo testing can only get u so far
some bugs dont pop up for hosts and clients will encounter a different set of issues
just have friends 
Friends who are ready to spend 1 hour just closing game, downloading the mod and reopening the game are rare. but yeah, just have friends 

Ouh.....
Just found smt interesting
Might upgrade the TP system while I am at it ....
public void TeleportRandomlyAroundPlayer(float minTeleportDistance, float maxTeleportDistance)
{
if (targetPlayer != null)
{
int maxAttempts = 10;
int attempts = 0;
while (attempts < maxAttempts)
{
// Calculate a random angle around the player
float angle = Random.Range(0f, 360f);
// Calculate a random distance from the player
float distance = Random.Range(minTeleportDistance, maxTeleportDistance);
// Convert the angle to a direction vector
Vector3 direction = Quaternion.Euler(0, angle, 0) * Vector3.forward;
// Calculate the teleport position
Vector3 teleportPosition = targetPlayer.transform.position + direction * distance;
// Raycast downwards to find the ground
RaycastHit hit;
if (Physics.Raycast(teleportPosition + Vector3.up * 100f, Vector3.down, out hit, Mathf.Infinity))
{
// Use the hit point as the teleport position
teleportPosition = hit.point;
}
else
{
// Failed to find ground, skip this teleport attempt
attempts++;
continue;
}
// Check if there's a path from teleport position to player position
if (CanReach(teleportPosition, targetPlayer.transform.position))
{
ShowTeleportParticleClientRpc();
StartCoroutine(ExecuteTeleportFreddy(teleportPosition));
return;
}
attempts++;
}
// Failed to find a valid teleport position after max attempts
return;
}
// No target player, teleportation not possible
return;
}
i saw ur "π§Fixing Freddy" status earlier and i immediately thought of the bear π π π
WHYπ π π
Why does he HAUNT me
Let's switch the model at this point XD
is this the old or new teleport code?
This is the old
what you planning to improve with the new one
Better nav mesh hit
For it to be more consistent
And more precise
And boom
Did it
int maxAttempts = 10;
int attempts = 0;
while (attempts < maxAttempts)
{
Vector3 teleportPosition =
RoundManager.Instance.GetRandomNavMeshPositionInRadiusSpherical(
transform.position,
maxTeleportDistance
);
if (Vector3.Distance(teleportPosition, targetPlayer.transform.position) >= minTeleportDistance)
{
if (CanReach(teleportPosition, targetPlayer.transform.position))
{
ShowTeleportParticleClientRpc();
StartCoroutine(ExecuteTeleportFreddy(teleportPosition));
return;
}
}
attempts++;
}
return;
This is shorter, and WAY better
Omg, it works so well
This si crazy
is*
Instead of throwing random coordinates until it finds a spot, it does it in a way that is more efficient and precise, respecting way more sent coordinates
he now CAN't spawn on you even if the chance were less than 0.001 %
oh nice. that's convenient that GetRandomNavMeshPositionInRadiusSpherical exists.
Yeah, I didn't know it did!
Only thing is that it doesn't seems to be able to find outside position which is weird
what do u mean it cant find outside positions?
When I am outside the faculty, he just can't teleport
that is weird. i thought navmesh is already all setup outside isnt it?
Normaly yes, but it seems not for this specific case.
I'll just steal the function I g
public Vector3 GetRandomNavMeshPositionInRadiusSpherical(
Vector3 pos,
float radius = 10f,
NavMeshHit navHit = default (NavMeshHit))
{
pos = UnityEngine.Random.insideUnitSphere * radius + pos;
if (NavMesh.SamplePosition(pos, out navHit, radius + 2f, 1))
{
Debug.DrawRay(pos + Vector3.forward * 0.01f, Vector3.up * 2f, Color.blue);
return navHit.position;
}
Debug.DrawRay(pos + Vector3.forward * 0.01f, Vector3.up * 2f, Color.yellow);
return pos;
}
That is why
It mask a part of the navmesh
I'll just steal the function π
yoink
freddy goin global. he could be anywhere in space.
Hum... Yes
let's say that XD
u dont keep him spawned in anymore right?
No I don't
but I have a solution for later
To not make him bugged
I'll be working tmr
I am tired for now
I'll release the patch tmr and add a few voicelines :)
good work today π«‘ gn
true. But if you can get it set up VMWare Workstation works great in LC. As for networking I just use LethalLib to handle it all once I find the desyncs.
OH
I had another enemy that way using example ai
This might have been the issue TBh, for all enemy have some method in common which might make the thing break
I'll change the namespace for both my project in their nexy patch
yeah, i also reported that to the other mod's author
i hope there are no more exampleai mobs though haha
It's just so easy to forget and so easy to break the whole project when renaming the project
Oh interesting, I will try that!
I got a decision at hand guys, do we make Freddy never spawn in the fov of the target player?
or not
wouldnt that mean that you could counter him by standing in a corner
Well that is true... The problem is that when you are running he can spawn in your face and kill you because you went to fast and ran into him
ohhh
It can feel like BS because he is still materialising
maybe if he does spawn in a playerβs FOV, itβs intentional and a way of intimidating the player βfor funβ. but he doesnβt go for the kill in that case. heβll just disappear if u accidentally ran into him. idk just an idea.
Actually a good idea tho!
I like this idea
Hah. I'm pretty sure that comes from identical asset bundle names right? I changed that but I didn't change the AI class name yet. Haven't gotten a report yet.
Lmao. Could be a quick fix for Freddy tho (if that issue is still a thing)
Ok! I released a new version, freddy doesn't kill in the first 4 seconds he is spawning!
Changed the teleport system of Freddy to be more dangerous and more consistent
Added 6 kill voice lines (We will have WAY more soon, this is just the first small batch)
Fixed a problem with the kill of Freddy which didn't work
Fixed some weird problem with freddy not killing and just walking around
Removed a laugh which was annoying
Preparing for V50 Release
Remade unity project
iget these errors when just booting the game
yeah same you cant have freddykrueger and NightmareFoxy in the same modpack or you get these errors
do these errors break them?
yes
i dont have foxy, but downgrading csync to 3.x.x fixed the issues
now i get these errors when freddy spawned on a custom moon
Ayt sorry for the errors, I encounter a problem with the new version of CSync
Sorry guys, got some school stuff to do, I'll make a fix for freddy later about the bug jontep reported and I will also remove CSync as a dependency
Might want to make up a backup with csync when v50 is in place. Since csync is already up to date with the beta version of v50
Yeah, I always keep backups don' worry. But I want to seperate my project completly from CSync
And done and dustin
What do you guys think about those spawning particles to annonce he teleported
It's just that I tended to hit him while he was still invisible
So I added this to herald his spawning
looks a bit abstract
True that
i like the triangles that cover the whole area though
helps with the whole sleeping theme
Yeah, I want to apply something to the camera, but it is really hard and annoying so I am workingon it intensively
That is an inside video of how particles can actually save ypi because you know he is there without him being materialised
yeeeah looking at it im not a big fan of how the spawning rectangles look
yeah, you are right
a murky/cloudy look would be nice thats for sure
Like some steam?
yeah something likeeeeeee fog, but looking at it now it would be confused with actual fog
yikes
i really like the particles but i think they stand out a bit too much inside, can you maybe make it more transparent?
You mean the spawning or tp particle?
i think playing with opacity would overall help with looks
oh i meant the object property itself
if that makes sense
hum, not sure what you mean tbh. Are we talking about the tp particle, the rain or freddy himself?
the triangle particle
Ok ok
I could make it not reflect light, or make it so the world through it is black and white
That'd be cool
oh that would be sick actually
i initially thought of something like muddying your vision, yk like you have with critical health
but changing saturation would probably also look great
Critical health I think he uses an already implemented shader and just boost it AF, but implementing PostProcessing (Full screen shader) is annoying espesialy in moding
the tp particle i think should look like something demonic, say a pillar of flame or something like that
ah alr
Bruh they reflect light? Wouldnβt that effect the frames a lot ?
Not that much, it is just a basic material and it uses basic light system, not RTX or anything
also comparing those two vids, is it just me or are there more triangle particles outside?
I used to have that Tbh, but people didn't like it so I removed it and implemented the phase in Shader
ah
It's just that you can see farther, so you see more in the end
Ok, just putted the BW shader on the particle
Let's see how it goes π«‘
Oki Doki
Got the recording
One sec
I think the rain particle should be BIG
that'd be cool
You don't notice the effect
yeah looks nice
ah i decided to check dbd's freddy and see the rain inspiration
the TRUE nightmare
This is wrong at so many levels
XD
It is cool tho
But something similar which is more dream like might be nice
it actually looks really sick but if you're doing giant shapes i think the triangles arent doing it justice
what if he creates an area around him instead of the particles altogether
just a big circle
And everyone in the circle sees in BW?
the ones asleep i suppose
For sure
yeah, id atleast wanna look at the whole screen with this filter tbh
Because rn it hurts the eyes doesn't it XD
yeah, the triangles overlapping is killing it haha
honestly maybe combining both but keeping the particles plain black
but that would probably create an issue where you have to transition outside that circle
starts reminding me of ghost girl's rework in diversity lol. muddied vision, muffled voices type of thing
also made everyone around you disappear
fools day i guess
Lol
also speaking of fog
i've read some convos on lll and v50 about it being a configurable value or something like that
i wonder if you could use that for freddy and/or maybe tweak the fog color so it stands out? or something like that
if and when that hits live i mean. and if you want to ofc
There is 1 which is good made by the diversity guys, But I haven't been able to exploit it. I tried contacting the guys but he told me he was to occupied
Stuff like that
So at this poing
ah yeah bet
he has an eye infection rn and took a break after releasing the update, that checks out
Oh, I didn't know that...
For now I'll release this :
#1215747504893726751 message
Because I don't want stupid death in the meantime
Youo guys know the drill at this point π€£
New version out!
2.4.17
Removed CSync as a dependency
Removed MHookPatcher as a dependency
Added a particle upon teleportation as a way to know where he is comming from, this particle will be updated in the future
Implemented own Settings options
```\
Gosh this is satisfying :
Killing 1 dependency at a time
got this error when landing on experimentation
Itss still there??? Let me try and fix that
Hey! Just wondering, is there some special setting you setted or is everything vanilla?
i can try deleting config and see if its the same
Don't bother, I'll be trying now
just looking through the config its all default
For me it works tho...
This is weird
Oh waittttttt, It might have something to do with me handling the config myself now
any other errors before that?
Good point! @deep sonnet
So basically, the error you got means that Freddy is not a registered enemy. Which can happen with a bad load. But the thing is that Freddy loads properly for me. Are you in the PTB?
ptb?
The v50 Beta
no
Ok ok
is that why?
The thing is that if it is this, you should have gotten an error in the game loading...
This is weird
you should still post those errors, they might be related
basically if any mod patch throws an error on one of the same methods that this mod patches then it can cause this mod's patches not to run (this is true for any mod)
That is true, and this can lead to a massive amount of mods missing their vital script which leads to those mods throwing errors
Is it possible to use Foxy and Freddy together now?
great
Freddy and Foxy won't work with v50 because they are using LethalLib. I'll be making a HUGE update to remove those dependencies soon
Hello everyone!
I have been working for the past few hours on removing Lethal Lib as a dependency for this mod!
I have a beta for the next big patch, and I'd like some people to do some multiplayer testing if they can ideally!
If you guys want to playtest with me, I am available for the next 3 hours!
Here is the Beta!
Here is an installation guide!
THIS SHOULD WORK IN V50!!!!
Please tell me of any error you encounter
And have fun in v50! (You can playtest in not v50, should do the same thing theoretically, my worries are over the syncinc)
got these two errors on v50:
[Error : Unity Log] NetworkPrefab (RiggedKrugger) has a duplicate GlobalObjectIdHash source entry value of: 4089798416!
Stack trace:
FreddyKruegerLC.FreddyAi.Start () (at ./src/FreddyKrueger/FreddyAi.cs:169)```
he does seem to spawn in though
one note about the audio: when the death voiceline plays, LC moves the camera away from the body, either to another teammate or to the ship, so the voice line gets cut off basically immediately. would it be possible to, say, attach the sound to the player's camera to make sure they hear the audio?
also "go back to counting sheep before coming here" didnt have the reverb effects applied
Yes! I'll do that! Thank you very much for the playtesting!
Don't worry! Im Working hard to make it happen!
will you be releasing the non LL versiont today?
I am thinking of doing it, but I am in th middle of a huge school assignment, so i'll do it later today
all good, and good luck with your assignment
Omg, just finished the assignment, (worked non stop) and the teacher tells me he reported the deadline because not enough people where done 
no thats good
other classmates will be stressed
Yeah but I worked my ass of yesterday the whole day and it feels like shit π
But it is true that I am guchi now!
Bettttttttt
are you not using lethallib with the mod anymore?
oh nice, epic news
has it been posted?
I wanted to post it and I realise there was a bug I've been meaning to patch for a while
Sorry
π
Won't take long tho
The life of a single developer...
Ik... It's crazy long
Well, what I just did should work
Going to do some quick playtesting
bet
And there we go
It is uploaded now
Should load up in 30 minutes in your local Mod Manager!
Here is the patchnote :
## 3.4.17 ( V50 Patch )
- V50 Implementation is OUT!!! Freddy now works on V50
- Removed LethalLib as a dependency for the Mod to work in V50
- Made Freddy's Kill voice way clearer upon death
- Removed old code remnant
- Added Networking patches to register Freddy
- Made multiplier more stable by providing better Client ID detection
- Removed MHookPatcher as a dependency
- Created better turn rate for Freddy
- Made Freddy more lethal (Felt he was just tad bit to weak)
- Killed a sneaking bug where he was seen before even teleporting
- Created better package implementation for other developer to use my code
- Remade Laugh audio and talking audio volume
- Added some particle upon teleportation to notify the player to know where freddy is coming from
- Changed audio reverberation
- Changed audio spread on death
- Changed how freddy handle sleep slightly (No real modification yet)
PLEASE TELL ME IF THERE ARE ANY MULTIPLAYER PROBLEMS!!! The patch was really big and might have affected multiplayer! It shouldn't have, but it could have
lets goo
bro spawned on experimentation after 5 min
also currently we cant config him
for the new moons
why is he spawning in orbit for me?
the error is just the poly gon one
thats prob cause there is no navmesh data
in space lmao
What, he is in space????
That means he doesn't get despawned
XD
Ok, I'll fix that once my finger are unfrozen
Thanks for telling me so early @final citrus
I'll fix it now
And I forgot about the new moon
5 mini is fair tho, he spawn after a while your are alone (260 seconds) So that means he can spawn at that moment
You are right there do is a problem
yea increased the cap to 600
would that be to long?
like how much would that be in minutes?
im looking for 15 min
actually 9 min
days are only 11 min
There is 2 values, the enter sleep which is 260 base kit and the max sleep which is 400
Which one did you modify?
Ok so there do is some old problem resurfacing tho
π’
damn
Damn?
I am currently implementing my own little API to implement enemy into the game, It will not take to long for my enemies to work easily everywhere
Oh bet
Oh sorry I didnβt answer this
I will check tomorrow morning
All good! For me I did some testing, and there were no problem when I was alone
This means it is a networking problem related to enemy registration
That is why I am doing what I am doing
Also I was using a lot of other mods too
Also it would be nice to disable particles as much as itβs cool to look at them, it def makes the game to laggy
Or make it much lower
I'll make an option !
You could do it so Iβm there are only a few particles that are around the player and follows them, rather than having it render in a much larger distance
The problem with that is that there is multiple player, so I'd need to have a particle emiter for every player, with mods that adds more player, it would do many conflicts. And option would be to create a particle on each PlayerControllerB, but that would be so long du to the fact that it is a mod so I'd need to code everything. I'll try to do it tho! Not saying I am not up for a challenge!
Alr bet Iβm also excited for enemy tools as well, will def help me develop my enemies
I am planning on making a video series also, just because I see a lot of ppl that wan't to create enemies and don't know how to get started
Oh that would be perfect cause u make some really good enemies
That is really nice of you to say 
After my next enemy release which will be next week I believe, I will do the video series!
Never done yt tho so It might be a mess XD
Just please add commentary
With voice
Yeah for sure! I think i'll create a discord for people to ask me questions because it can be confusing
Yea in the threads in the dev channel
Maybe a new server because new people here could get lost
True
Yeah, ok I need to fix him π
He is not registered in a way that allows despawn rn
That is my guess
But witg my api it will work
Normaly ateast
I'll fix him on 11h after work
Would have liked fixing him rn but I am going at work
It's out everyone!!!!
And it is working perfecly as intended
I am so happy
My Api is working
I'm heading of to sleep now, and there shouldn't be any new erros π₯Ί
Please do tell if there are any tho
Thanks for sharing that
I'll fix it
Ok so the problem arise when we have both LL and Lethal Bestiary loading at the same time
thats funny given that ll was just updated to fix the v50 bug
Yeah XD
But it should not be that big of a fix hopefully
As such, I should be able to fix it throughout the hour
Actually, It didn't get fixed really they just remove a big chunck of it for it to work in v50
it is fixed!
is the update out for it?
Yeah! Updating lethal bestiary should fix it all!
There is no update for krueger
Only for lethal bestiary
hmm
I'm wondering that right now
probabaly devolopment resources, but I feel like less people would see it
also im a bit confused about moon spawn rate
if I do moon spawnrate, will freddy not use sleep mechanic anymore?
No, no, it just means that it will use the value you chose for each moon for it's spawn rate
Freddy spawn at the begining of the round based on a percentage of chances
oh alr so there is no sleep mechanic then?
The sleep mechanic is ccompletly seperated
@mystic valleyUsing v2.4.17
I get this error.
[18:12:04.3637241] [Info : Unity Log] Freddy is here! Wait till you sleep tho...
[18:12:04.3637241] [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
FreddyKruegerLC.Plugin+EndOfRoundFixes.PostfixSpawn () (at ./src/Plugin/Plugin.cs:188)
(wrapper dynamic-method) RoundManager.DMDRoundManager::BeginEnemySpawning(RoundManager)
(wrapper dynamic-method) RoundManager.DMDRoundManager::Update(RoundManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.TrampolineRoundManager::Update?-1040066110(RoundManager)
LethalThings.Patches.Debug.RoundManager_Update (On.RoundManager+orig_Update orig, RoundManager self) (at O:/github/LethalThings/LethalThings/Patches/Debug.cs:121)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.HookRoundManager::Update?574180336(RoundManager)
[18:12:04.3637241] [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
FreddyKruegerLC.Plugin+EndOfRoundFixes.PostfixSpawn () (at ./src/Plugin/Plugin.cs:188)
(wrapper dynamic-method) RoundManager.DMDRoundManager::BeginEnemySpawning(RoundManager)
(wrapper dynamic-method) RoundManager.DMDRoundManager::Update(RoundManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.TrampolineRoundManager::Update?-1040066110(RoundManager)
LethalThings.Patches.Debug.RoundManager_Update (On.RoundManager+orig_Update orig, RoundManager self) (at O:/github/LethalThings/LethalThings/Patches/Debug.cs:121)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.HookRoundManager::Update?574180336(RoundManager)
Does this disable his spawn?
Was this fixed in a recent update?
Also are the recent updates compatible with v49?
They should be...
I think it would diable spawning...
But it is fixed now!
roger. I was holding off and using a lot of the v50 transition updates as they either were unstable or did not have backwards compatibility. But Freddy just was not working..... So I had to experiment.
They are all experimental after all
he should be working now tho even in v49 so it is weird
Might have been other mod conflict with him. Regardless testing the newest version now. I will get back to you. π
Perfect! Tell me of any issues!
Will do!
When I get home I'll work on a ship update for freddy, he is to inconsistent when the player is in the ship
For now, I'll watch the elcipse in 3 hours π
damnnnnnnnn
i forgot to enable freddy and was playing like 3 quotas and wondering where he is
π€¦ββοΈ
Btw, is the new update working well
?
Haven't received much feeback so I'm kinda perplexed
I made freddy rare, because he is easy to counter and I want him to feel unique
You can change his rarity in the settings tho!
is there any way to wake up?
If you stay close to your teamate, you eventually wake up!
I'll also implement a way to wake up your teamate with a shovel
When he kills you? Is it to loud?
he doesnt seem to be able to kill anyone rn
i can hear his voicelines like
nvm
well idk he is just walking around
What π
And when he touch you he makes sounds?
yes......
i think on every tick of him touching
so i hear it like
10 times on each voicelines
LOL
Are you playing with your friend? And does he act out of line for your friends?
imma ask them when they die
7 minutes line made me giggle
IMAO
well i didnt have the vfx so im assuming no
Oh π€¨