A mod for classic Serious Sam: The Second Encounter v1.07 that adds Cooperative and Deathmatch player bots. Designed with other mod integration in mind.
Hi,
I don't know how to explain this better but the auto-generator makes boxes in shape of walkable path. Is there a way to manually add them?
I was thinking those could be grids but I already tried these possible commands with following results:
-> /MOD_AddNavMeshPoint(0, 5)
MOD_AddNavMeshPoint(0, 5);
(1): Wrong parameters for 'MOD_AddNavMeshPoint'
-> /MOD_SnapNavMeshPoint(1,5)
MOD_SnapNavMeshPoint(1,5);
(1): Wrong parameters for 'MOD_SnapNavMeshPoint'
I got these ideas when making bots try Karnak.
It is known that on Karnak there are two switches right at the start which trigger the elevator but bots don't make on time to the elevator and switches have to be reused to activate it again.
As for the elevator, they won't be going onto in unless it's way down. If there was a way to set a MeshPointLock range which would tell them that they can use the elevator when it's within Y range, that would get them on.
And finally, there are two statues with sands and with spikes below. There is no way to set PointLock to both of those MovingBrushes so the bots will fall into spikes.
There need to be groups of path points for optimized path finding. You should be able to assign an index to path points, indicating which group they belong to.
Then there needs to be a separate list of all the groups and their connections. Upon doing pathfinding, first iterate through groups and find the shortest amount of them and then iterate through points from only those groups instead of all of them.