Posts: 1,238
Threads: 127
Likes Received: 549 in 378 posts
Likes Given: 726
Joined: Apr 2015
Reputation:
23
Country:
07-21-2015, 08:53 PM
(This post was last modified: 09-01-2022, 01:04 AM by Fearless Community.
Edit Reason: Checked Encoding
)
After talking to the very useful and kind Faustie about the map issue with Zombies from the Event earlier today, I now know why.
In the map, there needs be a navigation mesh. A one that all NPC's would need to use. Most mappers are very lazy these days and do not bother to add this mesh which results in what happened today.
(Basically, the Zombies had no places to go as told by the map)
(I tried to copy Fausites words)
Fausties actual life story sent: (Only the important part)
Simple - The map had no navigation mesh.
Essentially, most NPCs in gmod only know where to move if there is a navigation mesh - this is a matrix of nodes placed on all walkable surfaces on the map which let the NPC AI know whether or not they can move there, and then there are some more advanced nodes you can add later which let NPCs know whether or not they can climb an area, etc. Without a navigation mesh, they don't know where to go and simply freeze. The navigation mesh is normally saved as a .nav file and would be located in the maps folder.
For some reason, the majority of mappers on gmod don't bother making navigation meshes. It's not a hard process, but it takes quite a long time. You have to use your CPU to generate a navigation mesh (or you can edit it manually, but that takes forever) for a map if it doesn't have one. V2d and 33x have meshes coded into the map.
This is what I added to the bottom of the post. Just in-case (For some reason) you didn't see it yet.
Posts: 554
Threads: 70
Likes Received: 223 in 129 posts
Likes Given: 679
Joined: Aug 2014
Reputation:
56
07-21-2015, 09:29 PM
(This post was last modified: 09-01-2022, 01:04 AM by Fearless Community.
Edit Reason: Checked Encoding
)
So will a mesh have to be added or use a new map?
Posts: 554
Threads: 70
Likes Received: 223 in 129 posts
Likes Given: 679
Joined: Aug 2014
Reputation:
56
07-21-2015, 09:42 PM
(This post was last modified: 09-01-2022, 01:04 AM by Fearless Community.
Edit Reason: Checked Encoding
)
Wouldn't the NPCs manually have to be spawned in on v33x though? As the map won't generate the NPCs from certain spawn points?
Posts: 93
Threads: 20
Likes Received: 6 in 6 posts
Likes Given: 63
Joined: Jan 2014
Reputation:
2
07-22-2015, 05:57 PM
(This post was last modified: 09-01-2022, 01:04 AM by Fearless Community.
Edit Reason: Checked Encoding
)
Did I miss the event or are we yet to do it?