Aller au contenu

Photo

Custom Factions


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
aaphelion

aaphelion
  • Members
  • 3 messages
I was wondering, is it possible to change a PC's faction to a custom one? I am using Olander's Realistic System and trying not to damage any of the included scripts, but I really want my PCs to be able to play as Drow and as drow be attack by goodly types. The best way I could think to do this is set up a special faction for them, but I don't know how to assign it.

Any suggestions?

#2
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 880 messages
You could alter the NPCs' default on perception script and run a multi-step check:

if the creature perceived is a PC AND
if the creature perceived is an elf AND
if the creature perceived has "Drow" (or "drow") as a subrace AND
if the NPC is of non-evil alignment
THEN set creature perceived as temporary enemy and attack

Using the default perception script should make it automatically work with any NPC that also uses that script (which should be any not already running a custom perception script).  No need to mess with factions. :)

Modifié par The Amethyst Dragon, 03 novembre 2010 - 07:26 .


#3
aaphelion

aaphelion
  • Members
  • 3 messages
Thank you, The Great Amethyst Dragon, for a quick and helpful reply.

#4
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages
Actually, you cannot mess with factions - something like this is your only option. A PC's 'faction' is determined by the party he's in.



Funky

#5
TSMDude

TSMDude
  • Members
  • 865 messages

FunkySwerve wrote...

Actually, you cannot mess with factions - something like this is your only option. A PC's 'faction' is determined by the party he's in.

Funky


Though what Amethyst suggest can be a psuedo faction of sorts. You can make it so through several different ways. We have about 35 factions and I highly suggest you make your factions before anything else.

Keep notes....lots of notes as nothing sucks as much as screwing up ONE faction and throwing everything off kilter.

#6
Baragg

Baragg
  • Members
  • 271 messages
Another idea may be if your PCs have a no drop item you could mark it with an integer indicative of the faction, and have the on perception of the npc check that int.