DreamyCecil / CecilBotMod

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.
https://dreamycecil.itch.io/botmod
GNU General Public License v2.0
6 stars 0 forks source link

Manually add boxes #2

Open YukiXXL opened 11 months ago

YukiXXL commented 11 months ago

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'

-> /MOD_SnapNavMeshPoint(1 5) MOD_SnapNavMeshPoint(1 5); (1): parse error, expecting `')''

DreamyCecil commented 11 months ago

Auto-generator generates points on brush polygons and connects them together, that's why the polygon outlines are visible. It currently has no effect on anything though and no command to assign polygons to path points.

Also, MOD_SnapNavMeshPoint() command only takes one argument. Snapping just aligns the point position to a specific grid, e.g. a path point at [1.5, 0.5, 2.1] with grid size 2 will be put at [2, 0, 2].