how to edit AI for a large scale battle?

Post » Sat Aug 08, 2009 8:59 pm

well, what i wanted to do was make new npc items for, say, ordinators or something, and some new creature items for daedra or something, then placing them all in a cell, going in-game and see the carnage. problem is, idk how else to direct the ai of these people other than to make them attack me. what i was wondering is, if there's any way in the cs or in-game how i can get them to attack eachother? thx
User avatar
Adam Baumgartner
 
Posts: 3344
Joined: Wed May 30, 2007 12:12 pm

Post » Sat Aug 08, 2009 9:33 pm

yea you can just use this command in a script

"Npcid1"->startcombat, "NPCid2"
"NPcid2"->startcombat, "NPcid1"

I dont know exactly how you would do that in a simple way though for like group a attacks groub b.
User avatar
Michael Korkia
 
Posts: 3498
Joined: Mon Jul 23, 2007 7:58 pm

Post » Sun Aug 09, 2009 1:05 am

what i was wondering is, if there's any way in the cs or in-game how i can get them to attack eachother?

This can be done with some scripts on the NPCs.
http://planetelderscrolls.gamespy.com/View.php?id=6083&view=Mods.Detail has a section on this (and lots of other useful info on scripting)

And http://planetelderscrolls.gamespy.com/View.php?view=utilities.detail&id=58 has some example scripts on making NPCs fight each other.
User avatar
Lisa
 
Posts: 3473
Joined: Thu Jul 13, 2006 3:57 am

Post » Sat Aug 08, 2009 8:37 pm

thanks guys
User avatar
Bethany Watkin
 
Posts: 3445
Joined: Sun Jul 23, 2006 4:13 pm


Return to III - Morrowind