During a large battle scene, player draws sword and gets att

Post » Tue Apr 06, 2010 10:33 am

Hello

One of my testers has repeatedly reported his own allies attacking him as soon as he draws his sword during a large battle scene.

Ive done everything I can on my part to ensure the allies have very high disposition ratings to the player, by both adding all of the allies to a faction that sets their dispo to the player to 500, and then manually modding disposition for each npc towards the player in script as well, yet this particular tester still has this issue.

The allies largely consist of Imperial Soliders, (not guards), which are aligned to the Imperial Legion in faction.

Only thing I can think of is either the players infamy, or murder count maybe?

Could this be some sort of hard coded thing where the player may have so much infamy or so many murders that when they draw their sword, if Imperial factioned npc's are nearby they will attack on sight?

If anyone may know anything about this I would be very grateful, seems I have done everything in my power thus far to prevent this issue, and yet for this one tester it persists.

(have tried to ask the tester about infamy/murder counts on their character, unfortunately have recently lost contact with them).
User avatar
Chica Cheve
 
Posts: 3411
Joined: Sun Aug 27, 2006 10:42 pm

Post » Tue Apr 06, 2010 7:09 pm

This happens to me sometimes.. are you sure the 'tester' didn't accidentally shoot a guard with an arrow/hit them with a sword? This is mostly what happens in my case.. I end up by killing them and having to
Spoiler
walk the pilgrim's way.

User avatar
Chase McAbee
 
Posts: 3315
Joined: Sat Sep 08, 2007 5:59 am

Post » Tue Apr 06, 2010 12:45 pm

This could be a result of the NPC AI setup. What is the Aggression setting for your NPCs? What is the Responsibility setting? If the Aggression is too high, they will attack when you draw a weapon. Responsibility may also be a factor if the Player has a bounty. High enough Infamy can override the positive disposition you've set (although it would have to be really high in this case).
User avatar
Eilidh Brian
 
Posts: 3504
Joined: Mon Jun 19, 2006 10:45 am

Post » Wed Apr 07, 2010 2:13 am

I would also avoid setting the disposition to 500. I'm not sure this works as expected. Normally actor values have a limit of 255, if you set them higher they start from the beginning (eg 275 would become something else, like -235 or 20, can't remember) IIRC. Try setting it to 100 or 150 at most instead. You have to keep in mind that you are only attacked if the disposition is below 0, so 150 should be more than enough. Infamy can only reduce disposition by 20 at most according to the UESP wiki, and only if the interacting NPC has a very high responsibility.

I would make sure the disposition uses a regular value that doesn't exceed 255. Maybe give the NPCs a lower responsibility if possible. And set their aggression to the lowest value possible as well.
User avatar
Jonathan Egan
 
Posts: 3432
Joined: Fri Jun 22, 2007 3:27 pm

Post » Tue Apr 06, 2010 7:29 pm

Awesome, thanks guys for the input.


The allied npc's aggression ratings are between 20 and 25, and their responsibility ratings are between 75 and 100.

I will reduce the responsibility ratings to 50, aggression it seems should be left alone, the values were copied from default npc's, hopefully that will be fine.

Sounds like I should just remove the scripted approach of adding more positive dispo, and just stick with the faction added, and keep it to an added 200, rather than 500. The faction change removed a major issue with inter faction wars happening, but I also felt 500 was far too much anyhow.

I'll give this a shot, see what happens.

Thanks!
User avatar
Campbell
 
Posts: 3262
Joined: Tue Jun 05, 2007 8:54 am

Post » Tue Apr 06, 2010 10:45 am

Thanks again guys.

Yep, infamy can do some bad things, as stated, Im sure a bounty will do the same. Just drawing the sword can tick off a major fight.

Set all personality levels to 50, responsibility to 50, aggression to 10, and I can get away with even 200 infamy now.

Thanks again for all the help, wish I'd have asked earlier lol.. This issue been buggin the heck outta me.

Cheers!
User avatar
jessica robson
 
Posts: 3436
Joined: Mon Oct 09, 2006 11:54 am


Return to IV - Oblivion