Day of Infamy

Day of Infamy

Operation Avalanche
Working Nav Mesh
I was able to make a working nav mesh, emphasis on working. I would be liying if I said It was working well, But I'll try to make it better.

The download to the txt and nav files are in this pastebin.
https://pastebin.com/Q30NVi16
I cant post mediafire links here.

The txt is a fixed map script. This will allow you and the bots to spawn in. The objectives dont work yet. Paste the Script here:
Steamdirectory \steamapps\workshop\content\447820\779651299\maps
I made the txt read only so it doesnt get overwriten by steam.

The .nav is the nav mesh.
Paste that to here: Steamdirectory \steamapps\common\dayofinfamy\doi\maps

Now just open the map the same way you would with any other map.

If you made a better nav mesh pls post here or make you own thread.


To Rookzilla(maker of the map) feel free to put these files into the map. I dont care if you give me credit.

The Steam Directory should be here C:\Program Files (x86)\Steam\
I asume if you put the game on a different drive, you know where the directory is.
Last edited by Luke Laferrari; 28 Feb, 2018 @ 2:03pm
< >
Showing 1-3 of 3 comments
Luke Laferrari 28 Feb, 2018 @ 2:02pm 
Updated the nav mesh and the map script.
I edited the original post with the updated nav

Map script still doesnt have working objectives
But the mesh allows the bots to use more of the map


This is the original pastebin, In case the updated version is completely broken
https://pastebin.com/APYy7XHt
Last edited by Luke Laferrari; 28 Feb, 2018 @ 2:06pm
Pouchtre 13 Aug, 2018 @ 11:12am 
Thanks man, any chance you have working navmesh for doi_flash ?
How did you make those meshes anyway?
Luke Laferrari 13 Aug, 2018 @ 2:44pm 
Ive lost intrest in day of imfamy, so wont make another nav mesh for it. At least any time soon.
But to make it, read this
https://developer.valvesoftware.com/wiki/Navigation_Meshes
All of that should work in doi.
One thing I remember that doesnt work is that the game doesnt automaticly make spawnpoints walkable which is required to use nav_generate. But to get around that use the command nav_mark_walkable to mark tha spot your looking at as walkable.
Also a very very useful command is nav_corner_place_on_ground. The bots dont care if you use it but it makes it a whole lot easier to see where the mesh squares are when on inclines.

What I did at first was letting the game generate a mesh then go around fixing its rather poor job.
Is much better that completly making the mesh from scratch. And when you want to test the mesh use the command nav_analyze that will add important stuff that is very anoying to place by hand.

Also If you dont know how to bind keys put in the console "bind x "Command""
x can be any button on the keyboard and generaly put the command in quotes. Quotes are really only need for a command like "bot_quota 11" where there is a value after the command.
If you dont know what the console is well now where in super noob territory, look that up on the internet.

Sorry if this was poorly writen, Im really slow at writing things and I was in a rush.
This should be enough to get started at least. Or to tell wether you want to bother with making meshes.
< >
Showing 1-3 of 3 comments
Per page: 1530 50