Page 1 of 1

animal spawn inside player house

Posted: 17 Feb 2021, 19:36
by Gнosт
as the title says, I have an issue with animals spawning inside a players house on my server. so far a wolf and a bear.

how can i move/remove that spawn point?

thank you

Re: animal spawn inside player house

Posted: 18 Feb 2021, 07:35
by Nyuton
animal spawn locations are generated randomly on every server start
there's an animal spawn patterns xml with a ruleset for the spawn locations that you might want to take a look at.

Re: animal spawn inside player house

Posted: 18 Feb 2021, 11:14
by mazytus
Your house is not on a cobbled area, but on a forest or fertile land, so living creatures spawn inside the house

Re: animal spawn inside player house

Posted: 19 Feb 2021, 08:19
by Gнosт
I'll have to dig into that file. thank you.

It's definitely on paved ground. Marble to be exact. I used f8 to look under the floor as that was my first suspicion.

edit- after looking at that file i see that bears and wolves can spawn on substance 11. no other creature can. now i just need to find out what substance 11 is..

Re: animal spawn inside player house

Posted: 19 Feb 2021, 09:34
by Nyuton
did you check your GM log to make sure somebody spawned these animals manually?
animals don't spawn on paved ground.

Re: animal spawn inside player house

Posted: 20 Feb 2021, 08:34
by mazytus
Gнosт wrote: 19 Feb 2021, 08:19 I'll have to dig into that file. thank you.

It's definitely on paved ground. Marble to be exact. I used f8 to look under the floor as that was my first suspicion.

edit- after looking at that file i see that bears and wolves can spawn on substance 11. no other creature can. now i just need to find out what substance 11 is..
cm_substances.cs

singleton Substance(rockfrag)
{
ter2_id = 11;
terrainMaterialName = "Rock_frag";

Re: animal spawn inside player house

Posted: 20 Feb 2021, 09:07
by Gнosт
I did check the logs. There was no funny business.

I made the server re-do the navmesh, just in case that was an issue.

It hasn't happened again since then, so I'm hoping it was just a 1 time bug or something.

If it happens again I'll update this post.
Thanks for your help.