Idiosyncrasies with Faction System
Moderators: Moderator, Developer, DM
-
gedweyignasia
- Custom Content
- Posts: 1353
- Joined: Sat Nov 23, 2013 11:27 pm
- Location: EST/UTC-4
Idiosyncrasies with Faction System
If anyone can tell me SPECIFIC idiosyncrasies you've encountered using the NWN2 faction system, please tell me. Every issue you can remember in as much detail as you can remember; it will help greatly. Many people seem to say there are issues with it, but I'm having trouble finding them.
Issues I've been able to find listed:
1) http://www.nwnlexicon.com/index.php?tit ... aryNeutral
. . . And that's for NWN1, so I don't even know if that issue persists in NWN2.
2) Adjust Reputation
Does not adjust only a single player w/ respect to NPC faction, adjusts all players. Need to be able to effect only a single player
http://forum.bioware.com/topic/124251-b ... ions-list/
3) oSource and oTarget may be inverted in the GetReputation() function, the SetIsTemporaryEnemy/Neutral/Friend() functions, and the GetIsFriend/Enemy/Neutral functions.
http://forum.bioware.com/topic/124251-b ... ions-list/
4) AdjustReputation(x,y,n) Has some weirdness
http://forum.bioware.com/topic/124251-b ... ry10664242
5) Weirdness to setting temporary reputations:
http://forum.bioware.com/topic/376160-p ... raryenemy/
A huge thank you to anyone who can shed some light on this, and to everyone who's helped me out in the past.
Issues I've been able to find listed:
1) http://www.nwnlexicon.com/index.php?tit ... aryNeutral
. . . And that's for NWN1, so I don't even know if that issue persists in NWN2.
2) Adjust Reputation
Does not adjust only a single player w/ respect to NPC faction, adjusts all players. Need to be able to effect only a single player
http://forum.bioware.com/topic/124251-b ... ions-list/
3) oSource and oTarget may be inverted in the GetReputation() function, the SetIsTemporaryEnemy/Neutral/Friend() functions, and the GetIsFriend/Enemy/Neutral functions.
http://forum.bioware.com/topic/124251-b ... ions-list/
4) AdjustReputation(x,y,n) Has some weirdness
http://forum.bioware.com/topic/124251-b ... ry10664242
5) Weirdness to setting temporary reputations:
http://forum.bioware.com/topic/376160-p ... raryenemy/
A huge thank you to anyone who can shed some light on this, and to everyone who's helped me out in the past.
Last edited by gedweyignasia on Mon Feb 23, 2015 11:39 pm, edited 2 times in total.
-
Luna
- Retired Admin
- Posts: 7945
- Joined: Sat May 16, 2009 3:00 pm
Re: Idiosyncrasies with Faction System
I think the .FAC file is just busted if you add new factions.
Maybe all new factions added are automatically hostile to players in PW's.
Again.. this is just what I recollect.
But I might be wrong about that.
So in order to do a faction system it has to be very custom.
Maybe all new factions added are automatically hostile to players in PW's.
Again.. this is just what I recollect.
But I might be wrong about that.
So in order to do a faction system it has to be very custom.
-
gedweyignasia
- Custom Content
- Posts: 1353
- Joined: Sat Nov 23, 2013 11:27 pm
- Location: EST/UTC-4
Re: Idiosyncrasies with Faction System
I've written an entirely custom faction system, I just have to make sure that I can make individual creatures hostile and neutral to the PC. I'm using SetIsTemporaryEnemy/Neutral/Friend to manage that. I need to make sure that I'm doing that right.
Essentially:
- You set every custom-faction creature to a default faction that is neutral to players
- You plug in my faction system and hook it into the AI where appropriate. It manages setting individual creatures to hostile/neutral. You do not set creatures to "ally", my system manages allies.
Edit:
To clarify, my factional system thus far ONLY focuses on interactions between NPCs and PCs. It is easily extensible to NPC-NPC interactions, but that's a moot point until I have it working perfectly between NPCs and PCs.
Essentially:
- You set every custom-faction creature to a default faction that is neutral to players
- You plug in my faction system and hook it into the AI where appropriate. It manages setting individual creatures to hostile/neutral. You do not set creatures to "ally", my system manages allies.
Edit:
To clarify, my factional system thus far ONLY focuses on interactions between NPCs and PCs. It is easily extensible to NPC-NPC interactions, but that's a moot point until I have it working perfectly between NPCs and PCs.
-
Ivan38Rus
- Retired Staff
- Posts: 1417
- Joined: Sat Aug 08, 2009 11:44 pm
Re: Idiosyncrasies with Faction System
Have you tested these Temporary features online?gedweyignasia wrote:I've written an entirely custom faction system, I just have to make sure that I can make individual creatures hostile and neutral to the PC. I'm using SetIsTemporaryEnemy/Neutral/Friend to manage that. I need to make sure that I'm doing that right.
In my experience they don't work online even when you switch campaing flag to UsePersonaLReputation (which is what I've attempted to do on this server)
-
gedweyignasia
- Custom Content
- Posts: 1353
- Joined: Sat Nov 23, 2013 11:27 pm
- Location: EST/UTC-4
Re: Idiosyncrasies with Faction System
No, that's what I'm trying to figure out so I can write something that's workable. What exactly doesn't work? Where did it break for you? Reputation just wasn't changed at all? Were you able to get creatures to become hostile, at least?Ivan38Rus wrote:Have you tested these Temporary features online?gedweyignasia wrote:I've written an entirely custom faction system, I just have to make sure that I can make individual creatures hostile and neutral to the PC. I'm using SetIsTemporaryEnemy/Neutral/Friend to manage that. I need to make sure that I'm doing that right.
In my experience they don't work online even when you switch campaing flag to UsePersonaLReputation (which is what I've attempted to do on this server)
Relevant? Maybe. Amusing? Certainly!
http://forum.bioware.com/topic/544845-m ... st-the-pc/
-
Ivan38Rus
- Retired Staff
- Posts: 1417
- Joined: Sat Aug 08, 2009 11:44 pm
Re: Idiosyncrasies with Faction System
Functions SetIsTemporaryEnemy/Neutral/Friend do not do anything for any creature in my experience
-
gedweyignasia
- Custom Content
- Posts: 1353
- Joined: Sat Nov 23, 2013 11:27 pm
- Location: EST/UTC-4
Re: Idiosyncrasies with Faction System
They do nothing online or offline?
-
Ivan38Rus
- Retired Staff
- Posts: 1417
- Joined: Sat Aug 08, 2009 11:44 pm
Re: Idiosyncrasies with Faction System
Online.
It functions offline just fine, though
It functions offline just fine, though
-
7threalm
- Retired Staff
- Posts: 1952
- Joined: Fri Jan 04, 2013 2:44 am
Re: Idiosyncrasies with Faction System
Duragin Balderden(Battle Rager of Kraak Helzak)
Rlyd (Drow Wizard)- Fearn School of Enchantment and Charm
Rlyd (Drow Wizard)- Fearn School of Enchantment and Charm
-
gedweyignasia
- Custom Content
- Posts: 1353
- Joined: Sat Nov 23, 2013 11:27 pm
- Location: EST/UTC-4
Re: Idiosyncrasies with Faction System
Okay, so what do I have to do to recreate this being broken? I need to break it so I can fix it.Ivan38Rus wrote:Online.
It functions offline just fine, though
-
Ivan38Rus
- Retired Staff
- Posts: 1417
- Joined: Sat Aug 08, 2009 11:44 pm
Re: Idiosyncrasies with Faction System
You should try hosting a server to test those functions. Preferrably with NWNx installed
-
gedweyignasia
- Custom Content
- Posts: 1353
- Joined: Sat Nov 23, 2013 11:27 pm
- Location: EST/UTC-4
Re: Idiosyncrasies with Faction System
Can you give me simple instructions to create a situation where it should work and where it shouldn't work?
