Viewing post in Bug reports
The Ghoul sometimes still sprinting towards me like in the older version and not walking so idk if that's slow enough. The Ghoul walk slow at first but if I saved and loaded the save when the Ghoul is on the screen or near me it instantly starts sprinting towards me like when that ghoul inside the mineshaft attacked
Ghouls should work like this.
When you enter a cave, a hidden variable will start increasing by 1 every ten seconds. Once it reaches certain number, a ghoul will spawn. You will hear a sound to signalise that.
Ghouls are very slow, but they always know where you are and they will follow you untill you leave the area. Once they get close to you (about three tiles), they make a sound and start sprinting. Killing the ghoul makes it dissapear from that area, but entering it again will make him appear once more.
When you sleep or work, the variable resets and you can enter the caves again without ghouls appearing instantly. Each cave area also needs different value for that variable to spawn ghouls. Outer caves, like the beach cave or the rope cave spawn ghouls after about 100 seconds. Deeper cave, like the one with the bloodstone spawns one after about 50.
Bear in mind that this variable counts for all caves at once. If you spend 100 seconds in the beach cave, the ghoul will spawn. If you kill it and go to another cave right away, the ghoul in that cave will spawn instantly because you spent 100 seconds in the caves in total. Doesn't matter which one.
Ghouls pass through walls, because there is no pathfinding in the game yet. They would get stuck on anything otherwise.
They shouldn't be teleporting though. They only reset their position when you leave and enter the area and they incredibly fast once angered, but should be it. What exacly do you mean by teleporting?
I couldn't replicate ghouls teleporting around. They always spawned on one spot and then started slowly walking towards you. I was switching areas, killing them and leaving areas, passing a week and coming back and they always spawned at the same spot.
Is it a specific location that does that, or some specific action?
My theory is that because of the darkness and the fact that ghouls home on you from the start (They don't have a cone of vission like other enemies. They always know where you are and are always chasing you) makes them look like they are teleporting, which isn't the case when you get rid of the darkness.