renegadespoon Posted February 2, 2011 Share Posted February 2, 2011 I can't get NPC's to use loading doors. do they do it automatically with the sandbox package or do i have to check something to make them use them? i've put a navmesh down up to the loading door, do i need to extend it or something? Help would be much appreciated. Link to comment Share on other sites More sharing options...
davidlallen Posted February 2, 2011 Share Posted February 2, 2011 (edited) A "regular" door works because it has a yellow cubic door marker. I'm not sure if the sandbox package provides a way to enable/disable doors in the sandbox package. Do you find the NPC using other doors? If it will use other doors but not this one, check that the yellow cubic box is on the navmesh on both sides of the door. Check that the navmesh on both sides is finalized; this is a common mistake. The navmesh under the cubic marker must have a green triangle to indicate the marker hooks up with the navmesh. Edited February 2, 2011 by davidlallen Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted February 2, 2011 Share Posted February 2, 2011 What do you mean by 'loading doors'?Doors between cells? If so it depends what package you gave them. You would need a package for each cell, with some kind of schedule constraints, or other conditions that tell them to go back and forth. Link to comment Share on other sites More sharing options...
renegadespoon Posted February 2, 2011 Author Share Posted February 2, 2011 yeah there are navmeshes both sides of the door and i have put yellow markers both sides and there are green triangles both sides. what do you mean by cell packages? i've given the NPC's packages (wandering and sandbox) but not the doors. how do i go about making cell/door packages? thanks for the help so far. Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted February 2, 2011 Share Posted February 2, 2011 I am talking about AI packages for the NPCs you want to move between cells. Packages go on the NPC, not the door. Give the NPC an new sandbox package, in wander location change it to 'in cell' and chooseCell A, then do the same with Cell B as the wander location. In the schedule tab, set the time you want them to spend in each cell. Then at the specified time he will move from Cell A to CellB, and back again. If you dont' want it to be based on time you can change it to something else, like quest stage, etc., on the conditions tab. Link to comment Share on other sites More sharing options...
renegadespoon Posted February 3, 2011 Author Share Posted February 3, 2011 i'm trying to make the NPC walk from inside a building to the world space, i want my NPC's to be able to wander in and out of buildings and can't figure out how. when i go onto 'in cell' it doesn't come up with any world spaces. do i need to select a reference or something? Link to comment Share on other sites More sharing options...
renegadespoon Posted February 3, 2011 Author Share Posted February 3, 2011 I've managed to get the NPC to leave a building and go into the world space by referencing the door, but he won't interact with furnature or any markers, such as leaning against buildings or sitting down. he'll walk around the navmesh but thats about it. i've given him the same packages as my other NPC's who sit down and interact with markers, but this one won't. my other NPC's haven't got the package to interact with doors, just this one that won't do what i tell him. Link to comment Share on other sites More sharing options...
renegadespoon Posted February 3, 2011 Author Share Posted February 3, 2011 found out what i'd done wrong, hadn't checked 'offers services' in the sandbox package. thanks for all your help. Link to comment Share on other sites More sharing options...
Recommended Posts