Krux on 26/3/2005 at 16:27
This may be the beginnings of the T2 Rooftop fight in Fan missions :) When you make a AIPawn, add Property > AIPAwn > FactionModelClass
KurshekOutofJail will make that pawn hostile to other guards. You can set up a team of these and a team of regular guards and they will fight it out until one side wins. You can add this faction setting to any mesh, so it could be Archers vs melee, guards vs pagans, hammers vs hammers (mechanist splinter group?)
The major drawback is that the KurshekOutofJail is non-hostile to Garrett, so once they win, they are useless as regular guards :/ Maybe there is another group that will fight each other, but is still hostile to Garrett? Probably PaganModelHostiletoPlayer vs HammermodelHostiletoPlayer would do this, I'll try that later today.
Has anyone else done this differently? Anyone good with scripting that could determine if it's possible to change this property on a trigger?
T.
SneaksieDave on 26/3/2005 at 18:15
Just make a brand new FactionModelClass and make them allied/neutral/hostile to whatever you'd like - including other new FactionModelClasses.
Krypt on 26/3/2005 at 18:44
You can also change faction model dispositions through script, which is probably the easiest way to go for this situation. Just put a script somewhere in the map that triggers when the map starts, and put this action to set them to hostile: "Change disposition: Set the faction with GUID [6] to disposition [DISPOSITION_HOSTILE] toward the player. 6 is the GUID number for the KurshokOutofJail faction model, assuming you're still using that one.