korenogamer Posted May 19, 2009 Share Posted May 19, 2009 Hello Guys, I was wondering if its possible to set up the navmesh with lanes... WHat I mean is, I am making a housing mod, and I want to make my NPCs walk on the right side of hallways. Basically, I wish I could put an invisible line down the middle of both normal width and double width hallways. And make a scripts or something that would force the NPCs to walk with the line on their left. This wouldnt apply to rooms, just hallways. Im a complete noob with GECK... I am working on my very first ever mod. I might just upload what I have so far to get assistance there. I could also use some advice on lighting... I am finding it hard to choose the right lighting. Link to comment Share on other sites More sharing options...
Yossarian22 Posted May 19, 2009 Share Posted May 19, 2009 Hello Guys, I was wondering if its possible to set up the navmesh with lanes... WHat I mean is, I am making a housing mod, and I want to make my NPCs walk on the right side of hallways. Basically, I wish I could put an invisible line down the middle of both normal width and double width hallways. And make a scripts or something that would force the NPCs to walk with the line on their left. This wouldnt apply to rooms, just hallways. Im a complete noob with GECK... I am working on my very first ever mod. I might just upload what I have so far to get assistance there. I could also use some advice on lighting... I am finding it hard to choose the right lighting. Just make a patrol route for them.I belive there is a official tutorial how to do that.check out geck wiki. Link to comment Share on other sites More sharing options...
BadPenney Posted May 19, 2009 Share Posted May 19, 2009 If you create your navmeshes manually by placing the points yourself rather than use the autocreate function, then you could either place navmeshes only on the side of the hall that you want the NPCs to use, or , as you said, split the hall in half and make the half that you want the NPCs to use a preferred path. You can make a navmesh triangle a preferred path by selecting it and pressing the "p" key. The triangle will change from a red color to a golden color. NPCs will use preferred paths unless they are blocked. Preferred paths can sometimes create some unintended behaviors from NPCs. If that happens I usually drop the preferred path and just make a restricted size normal path. If you create a navmesh manually and then 'optimize' it before it is finalized, it can undo all of your careful placement. So I don't optimize unless I don't care what path the NPCs are going to take. Navmeshes do not control player movements, so you can have areas with no navmeshes if you do not intend for NPCs to enter them. But if you place an NPC in an area with no navmesh, or force them into one by mistake (i.e. furniture accesses) then they will be stuck. Lighting is really a personal preference. I often choose the RC upper deck template. Not too bright and not too dim, with a cool blue overall tone. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.