PDA

View Full Version : utc, faction question!


Lando Griffin
10-23-2005, 03:57 PM
I been editing some utcs and i stumbled apon something that says faction. What is faction? Does anyone know?

Det. Bart Lasiter
10-23-2005, 04:02 PM
It's the value that sets whether or not the NPC is hostile, neutral, friendly or otherwise. Here are all of the factions:

int INVALID_STANDARD_FACTION = -1;

int STANDARD_FACTION_HOSTILE_1 = 1;

int STANDARD_FACTION_FRIENDLY_1 = 2;

int STANDARD_FACTION_HOSTILE_2 = 3;

int STANDARD_FACTION_FRIENDLY_2 = 4;

int STANDARD_FACTION_NEUTRAL = 5;

int STANDARD_FACTION_INSANE = 6;

int STANDARD_FACTION_PTAT_TUSKAN = 7;

int STANDARD_FACTION_GLB_XOR = 8;

int STANDARD_FACTION_SURRENDER_1 = 9;

int STANDARD_FACTION_SURRENDER_2 = 10;

int STANDARD_FACTION_PREDATOR = 11;

int STANDARD_FACTION_PREY = 12;

int STANDARD_FACTION_TRAP = 13;

int STANDARD_FACTION_ENDAR_SPIRE = 14;

int STANDARD_FACTION_RANCOR = 15;

int STANDARD_FACTION_GIZKA_1 = 16;

int STANDARD_FACTION_GIZKA_2 = 17;

90SK
10-23-2005, 04:17 PM
What's "faction_endar_spire"? Are there any explanations to the ones that don't make a whole lot of sense?

Det. Bart Lasiter
10-23-2005, 04:21 PM
^^^^
That's actually the only one I don't know. I know _GLB_XOR is Xor from Juhani's sidequest, and there are various others that are made specially for certain NPC's like _INSANE is for the Rodian prisoners on board Saul Karath's ship.

90SK
10-23-2005, 04:31 PM
Maybe that one is for Trask, or something. :confused:

Lando Griffin
10-23-2005, 05:12 PM
so if i put 2 they will attack me?

Det. Bart Lasiter
10-23-2005, 11:48 PM
No, you will have to put them down as 1 or 3.

Lando Griffin
10-24-2005, 07:11 PM
ok thanks

Fred Tetra
10-24-2005, 08:27 PM
If you're using Kotor Tool to edit your files, you'll see the actual faction name in the editor. :)

stoffe
10-25-2005, 07:23 AM
A faction is essentially a group of NPCs which have a similar set of reactions to NPCs belonging to other factions/groups.

Look in repute.2da to see the faction definitions and their reactions to eachother. 0 is hostile, 50 is neutral and 100 is friendly.