Russia2012 Posted September 26, 2014 Share Posted September 26, 2014 I have set the packages for my NPCs so that when they spawn they spend 24 hours sandboxing in markath. Then they are suppose to go to Old Hrodan Inn where they are to do the same thing. My NPCS are not moving to the next location. I wish there was someone who would answer my questions. I cannot find any good tutorials for creating AI packages and it gets frustrating when people do not respond. Link to comment Share on other sites More sharing options...
saberthechampion Posted September 26, 2014 Share Posted September 26, 2014 Not sure how you've set up your Packages, but it may be that if you've set the first package to 24 hours, then that is the only one that will be used. Because each hour of the day it will keep using that package and never choose another. Did you want them to keep going back and forth each day, or only spend one day in Markarth, then go to Old Hrodan and stay there forever, never going back to Markarth? Link to comment Share on other sites More sharing options...
Terra Nova Posted September 26, 2014 Share Posted September 26, 2014 Set the time to start the pack to something early. Change the duration to something other than 24 hours. 22 sounds like a happy medium. Duration is the one that controls how long the package will run. As an example: Hour: 6 Minute: 20 Duration: 5.000 = Begin at 6:15, and end in 5 hours. Link to comment Share on other sites More sharing options...
Russia2012 Posted September 26, 2014 Author Share Posted September 26, 2014 Currently I am trying to get an imperial archer who spawns from Markath to eventually get to Fort Greenwall Near Riften. I want the NPC to stay around Markarth for 24 hours. Then I want it to travel to Old Hroldans Inn. It should stay there for 24 hours and then travel to Fort Sungard. It should stay there for 24 hours and then travel to Falkreath. It should stay in Falkreath for 24 hours and then travel to Helgen. It should stay in Helgen for 24 hours and then travel to Fort Neugrad. It should stay at Fort Neugrad for 24 hours and then travel to Ivarstead where it will stay for another 24 hours and then head to Fort Greenwall where it will stay until it is eithered killed or the game ends. I am trying to make my mod where a group of Imperial or Stormcloak soldiers spawn at their respective camps in each hold and will travel to a fort on the opposite side of the map. They should attack all opposing factions along the way and when they reach their final destination they will remain there. So far I can get the NPC to simply run around the front of Markarth. My ai packages are either sandbox in a current location or travel to a certain location. Link to comment Share on other sites More sharing options...
saberthechampion Posted September 26, 2014 Share Posted September 26, 2014 Ok, it seems the best way might be to create a new package template. I'm not an expert and I haven't tested this but I think it's on the right track. In the package section of the CK, create a new one, select sandbox template, but then at the top right drop box select "package template". Ok, then in the middle left section you'll see a window that has "sequence" with other branching options that say "travel", "unlock doors", "sandbox". You'll have to click on sequence and make it "simultaneous" from the dropdown option to the right. Then right click on simultaneous and select add procedure. Select "wait" but uncheck the tickbox that says "use existing data". Also tick the box that says "success completes package" after selecting ok. Name the template with a new ID. Click ok. Now you can new packages from this sandbox template. And for each of them you should see the "actual seconds" in the public package data window. I guess you'd put "86400" in there for each second in a day. (not sure if it can be set to hours). Now you just have to arrange the packages in the NPC's package tab so that the first location is at the top, and the next below that, and so on. The last one can be an ordinary sandbox package, not this new template. Hope it helps. As I said, I haven't tested this, maybe someone who has done this can help. Meanwhile, here's a link which might help: http://tiarum.com/wiki/Skyrim_CK:Package_Templates#Simultaneous_Wait_and_Another_Procedure Link to comment Share on other sites More sharing options...
Russia2012 Posted September 26, 2014 Author Share Posted September 26, 2014 MY ai Package List is as follows, DefaultSandboxCurrentLocation1024 the Duration is set for 22.00 OldHroldanInn Place to Travel DefaultSandboxCurrentLocation1024 the Duration is set for 22.00 Fort Sungard Place to Travel DefaultSandboxCurrentLocation1024 the Duration is set for 22:00 Falkreath Place to Travel. DefaultSandboxCurrentLocation 1024 The rest of the template is the same until I get to Fort Greenwall which should be the final destination.I am curious if this is how it should be ordered. I noticed that the NPCS are simply staying around Markarth and not going to The INN 22 hours later like they are suppose to. Link to comment Share on other sites More sharing options...
reindeer51 Posted September 26, 2014 Share Posted September 26, 2014 (edited) You shouldn't use DefaultSandboxCurrentLocation, I once made the same mistake as you. The problem here is your SandboxCurrentLocation package is overwriting ALL the other packages piled below.The way AI package order works is top gets highest priority while the lowest gets lowest priority. There's no sharing here. If the AI package is set 24 hours, there won't be any free time left for all the packages below to even run. Rule of thumb is 24/7 AI packages always should be at the bottom of the list. That's how allvanilla NPC packages are structured. I suggest ditch the CurrentLocation packages and use the Sandbox package type instead. Pick your locations, reference it for each of your Sandbox package and most importantly in the Schedule tab, choose the specific but different days for each of your package so now they won't clash. Edited September 26, 2014 by reindeer51 Link to comment Share on other sites More sharing options...
Russia2012 Posted September 27, 2014 Author Share Posted September 27, 2014 I am really frustrated. The NPC wont travel from Markarth to Old Hroldan inn.I have it where the npc is suppose to travel to Old hroldan at 23:00 on Monday and they should stand there. I wish there was a glossary of all the packages and what they do. I wish someone would tell me how to get my NPC to travel from Markarth to Old Hroldan. I cant get the npc to do what I want it to. When it comes tutorials I need them in writing as I cannot sit through a video as I have AdHD Link to comment Share on other sites More sharing options...
reindeer51 Posted September 27, 2014 Share Posted September 27, 2014 Dude, I just gave you the answer. And yet you keep repeating the same thing over and over.You even created about 2 more of the same topics? Why? Link to comment Share on other sites More sharing options...
Russia2012 Posted September 27, 2014 Author Share Posted September 27, 2014 I think I finally realized what was going on. I was not checking must complete because everytime I did the NPC would not be present at Markarth. I had the idea that travel to a location meant that the NPC would start walking to the destination at that time. Link to comment Share on other sites More sharing options...
Recommended Posts