mk85 Posted September 22, 2012 Share Posted September 22, 2012 I'm looking for a script that will tell npc's in one village to leave their village once a day and attack another village at a set time. If anyone could help I would be very grateful, if it's at all possible. Thanks Link to comment Share on other sites More sharing options...
JanusForbeare Posted September 22, 2012 Share Posted September 22, 2012 What you're looking to do wouldn't require a script, it would most likely be done through a combination of AI packages and faction relations. Essentially, you'd want to give the NPCs from the attacking village AI (travel) packages with the destination set as a cell or reference (object) within the defending village. Then, you'd want to find their village faction, if they have one, or, if they don't, create a new faction that includes all adult members of the village. Do the same for the defending village. The faction window has a "faction relations" section, where you can set the two factions to be enemies. Do this for both groups. Note that, depending on the "aggression" and "confidence" settings in each actor's "AI Data" tab, they may or may not fight when you get there. You may have to tweak these settings for each combatant to get the results you want. Link to comment Share on other sites More sharing options...
mk85 Posted September 22, 2012 Author Share Posted September 22, 2012 What you're looking to do wouldn't require a script, it would most likely be done through a combination of AI packages and faction relations. Essentially, you'd want to give the NPCs from the attacking village AI (travel) packages with the destination set as a cell or reference (object) within the defending village. Then, you'd want to find their village faction, if they have one, or, if they don't, create a new faction that includes all adult members of the village. Do the same for the defending village. The faction window has a "faction relations" section, where you can set the two factions to be enemies. Do this for both groups. Note that, depending on the "aggression" and "confidence" settings in each actor's "AI Data" tab, they may or may not fight when you get there. You may have to tweak these settings for each combatant to get the results you want. OK great thanks for the help Link to comment Share on other sites More sharing options...
Recommended Posts