Author Topic: What causes faction members to turn hostile?  (Read 579 times)

Legacy_Scrotok

  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
What causes faction members to turn hostile?
« on: December 08, 2014, 09:00:24 am »


               

I've got a bunch of chickens ("pure" neutral faction).  When I attack one of them, I don't want the rest of them to turn hostile.  I deleted all scripts for the chickens, but they still turn hostile.  What causes them to become hostile?  Something in the game code that we can't change?


 


V/R,


Scrotok


 


 



               
               

               
            

Legacy_Fester Pot

  • Hero Member
  • *****
  • Posts: 1698
  • Karma: +0/-0
What causes faction members to turn hostile?
« Reply #1 on: December 08, 2014, 04:41:53 pm »


               

Under this particular faction there is a checkbox Global Effect. Make sure it is unchecked.


FP!



               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
What causes faction members to turn hostile?
« Reply #2 on: December 08, 2014, 04:42:48 pm »


               If you put the chickens in a faction which is neutral to itself, with Global Effect unchecked (thanks FP!), the others won't care when one is attacked.
               
               

               
            

Legacy_Scrotok

  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
What causes faction members to turn hostile?
« Reply #3 on: December 08, 2014, 05:34:03 pm »


               

I did all of that, didn't work.  Global Effect is unchecked.  Chickens are in a "Neutral" faction (with "Full Detail" checked).  I also tried adding "SetListening(OBJECT_SELF, FALSE)" and "SetCommandable(FALSE)" to OnSpawn.  I also tried deleting all scripts.  Nothing works.  Any ideas?


               
               

               
            

Legacy_Scrotok

  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
What causes faction members to turn hostile?
« Reply #4 on: December 08, 2014, 06:09:20 pm »


               

Looks like someone else already discovered this issue:


 


http://forum.bioware...turning-hostile


               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
What causes faction members to turn hostile?
« Reply #5 on: December 08, 2014, 07:51:23 pm »


               

Is your neutral faction a child of commoner or something?


 


I created a few more parent factions and then created child factions of all of them only putting the child factions in game.


 


I think some of the rep translates back to the parent faction so you have to be careful about using those in game.



               
               

               
            

Legacy_Fester Pot

  • Hero Member
  • *****
  • Posts: 1698
  • Karma: +0/-0
What causes faction members to turn hostile?
« Reply #6 on: December 09, 2014, 04:34:16 pm »


               

Not sure what else to suggest, as I don't have this issue.


 


Added a new Faction, called Animal.


 


Set Animal to 50 for all other factions - Hostile, Commoner, Merchant, Defender.


 


Edit Hostile, Commoner, Merchant, Defender factions to be 50 to Animal.


 


Global Effect unchecked.


 


Click OK.


 


Build - Build Module.


 


Full detail is good to review what the Animal faction is to other factions, and what those other factions are toward Animal.


It should be 50/50 (purple bar [how Animal faction relates to other factions] / green bar [how other factions relate to Animal faction]) right across.


 


Another way to test this is to create an empty 8x8 area. Put one of your chickens that is in your Animal faction in one corner of the map, and another on the opposite side. Kill one of the chickens. What is the result of the remaining chicken? Red for hostile, or blue for neutral?


 


FP!