Page 1 of 1

Sex and Race Relations

Posted: Tue Nov 16, 2004 3:23 pm
by requiem_for_a_starfury
Hah the trigger condition denoting sex works! Males have a value of zero and females a value of one. Since the trigger condition 'player has Less/More/Exactly (number) (value) at anywhere' is accumulative you can set up a campaign variable to change actor's reactions to you based on gender at the start of a campaign. For example in Brahmin wood you'd have the condition 'Player Human has Exactly 2 Trait sex at anywhere'. Since 0+1+1 = 2 :) . A little double up of triggers and you can get the failure male or failure female movies to work.

This list in the races.txt under tables, can also be used as a value in trigger conditions for determining race. For example since the default humans have a value of 0 then rather than having a tagname for every mutant squaddie you can simply have a trigger,

Condition
Player has Exactly 9 Trait race at anywhere

Action
Campaign variable 'has mutant npc' is True


Race - RaceIndex
BOS - 0
Ghoul - 1
Tribal - 2
TribalLarge - 3
Raider - 4
RaiderLarge - 5
RaiderHuge - 6
Reaver - 7
ReaverHuge - 8
Mutant - 9
BOSScribe - 10
BOSElder - 11
CitizenAlpha - 12
CitizenThin - 13
CitizenMedium - 14
VaultZero - 15
Deathclaw - 16
DeathclawBaby - 17
BDCSmall - 18
BDCLarge - 19
RobotHumanoid - 20
RobotPacification - 21
RobotLifter - 22
RobotHover - 23
RobotTank - 24
RobotBehemoth - 25
RobotSecurity - 26
RobotScurry - 27
Dog - 28
Wasp - 29
Radscorpion - 30
Rat - 31
Brahmin - 32
Komodo - 33
GunTurret01 - 34
Tank - 35
Hummer - 36
Scouter - 37
APC - 38
DuneBuggy - 39
PipBoy - 40
Wolf - 41
Dummy - 42
Object - 43
UniqueHumanoid - 44
UniqueOther - 45