<npc>
<class>NPCDescription: NPC controller class name
Type: String
Default: NPC
Required: no
</class>
<conversations>
<conversation uniqueId="string"Description: NPC conversation unique id
Type: String
Required: yes
>stringDescription: NPC conversation files
Type: String
Required: yes
</conversation>
</conversations>
<filename>stringDescription: NPC filename
Type: String
Required: yes
</filename>
<i3dMappings>
<i3dMapping id="string"Description: Identifier to be used in xml
Type: String
Required: no
node="string"Description: Index path to node in i3d file
Type: String
Required: no
/>
</i3dMappings>
<imageFilename>stringDescription: NPC image
Type: String
Required: yes
</imageFilename>
<interactionTrigger node="node"Description: NPC interaction trigger node
Type: Index to i3d node or i3d mapping identifier
Required: yes
/>
<parentFile xmlFilename="string"Description: Parent xml filepath used as basis
Type: String
Required: no
>
<attributes>
<clearList keepIndex="integer"Description: Index of list to keep
Type: Integer
Required: no
path="string"Description: List to clear but keep one item
Type: String
Required: no
/>
<remove path="string"Description: Path to remove from parent xml
Type: String
Required: no
/>
<set path="string"Description: Path change in parent xml
Type: String
Required: no
value="string"Description: Target value to set in parent file
Type: String
Required: no
/>
</attributes>
</parentFile>
<playerStyle filename="string"Description: The filename of the style
Type: String
Required: yes
>
<beard color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<bottom color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<face color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<facegear color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<footwear color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<glasses color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<gloves color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<hairStyle color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<headgear color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<onepiece color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
<top color="integer"Description: The name of the config item color
Type: Integer
Required: no
name="string"Description: The name of the config item
Type: String
Required: no
/>
</playerStyle>
<sounds>
<phone debug="false"Description: Flag to enable debug rendering
Type: Boolean
Default: false
Required: no
fadeIn="0"Description: Fade in time in seconds
Type: Float
Default: 0
Required: no
fadeOut="0"Description: Fade out time in seconds
Type: Float
Default: 0
Required: no
file="string"Description: Path to sound sample
Type: String
Required: no
innerRadius="80"Description: Inner radius
Type: Float
Default: 80
Required: no
isLocalSound="false"Description: While set for vehicle sounds it will only play for the player currently using the vehicle
Type: Boolean
Default: false
Required: no
linkNode="node"Description: Link node for 3d sound
Type: Index to i3d node or i3d mapping identifier
Required: no
linkNodeOffset="x y z"Description: Sound source will be offset by this value to the link node
Type: Translation values (x, y, z)
Required: no
loops="1"Description: Number of loops (0 = infinite)
Type: Integer
Default: 1
Required: no
loopSynthesisRPMRatio="1"Description: Ratio between rpm in the gls file and actual rpm of the motor (e.g. 0.9: max. rpm in the gls file will be reached at 90% of motor rpm)
Type: Float
Default: 1
Required: no
lowpassGainScale="1"Description: Additional lowpass gain that is applied on the volume attributes
Type: Float
Default: 1
Required: no
outerRadius="5"Description: Outer radius
Type: Float
Default: 5
Required: no
parent="string"Description: Parent sample for inheritance
Type: String
Required: no
pitchScale="1"Description: Additional pitch that is applied on the volume attributes
Type: Float
Default: 1
Required: no
supportsReverb="true"Description: Flag to disable reverb
Type: Boolean
Default: true
Required: no
template="string"Description: Sound template name
Type: String
Required: no
volumeScale="1"Description: Additional scale that is applied on the volume attributes
Type: Float
Default: 1
Required: no
>
<loopSynthesisLoad>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</loopSynthesisLoad>
<loopSynthesisRpm>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</loopSynthesisRpm>
<lowpassCutoffFrequency indoor="5000"Description: Indoor lowpass cutoff frequency
Type: Float
Default: 5000
Required: no
outdoor="5000"Description: Outdoor lowpass cutoff frequency
Type: Float
Default: 5000
Required: no
/>
<lowpassGain indoor="0.8"Description: Indoor lowpass gain
Type: Float
Default: 0.8
Required: no
outdoor="1"Description: Outdoor lowpass gain
Type: Float
Default: 1
Required: no
>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</lowpassGain>
<lowpassResonance indoor="2"Description: Indoor lowpass resonance
Type: Float
Default: 2
Required: no
outdoor="2"Description: Outdoor lowpass resonance
Type: Float
Default: 2
Required: no
/>
<pitch indoor="1"Description: Indoor pitch
Type: Float
Default: 1
Required: no
outdoor="1"Description: Outdoor pitch
Type: Float
Default: 1
Required: no
>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</pitch>
<randomization isInside="true"Description: Randomization is applied inside
Type: Boolean
Default: true
Required: no
isOutside="true"Description: Randomization is applied outside
Type: Boolean
Default: true
Required: no
maxLowpassGain="float"Description: Max lowpass gain
Type: Float
Required: no
maxPitch="float"Description: Max pitch
Type: Float
Required: no
maxVolume="float"Description: Max volume
Type: Float
Required: no
minLowpassGain="float"Description: Max lowpass gain
Type: Float
Required: no
minPitch="float"Description: Max pitch
Type: Float
Required: no
minVolume="float"Description: Min volume
Type: Float
Required: no
/>
<sourceRandomization file="string"Description: Path to sound sample
Type: String
Required: no
/>
<volume indoor="0.8"Description: Indoor volume
Type: Float
Default: 0.8
Required: no
outdoor="1"Description: Outdoor volume
Type: Float
Default: 1
Required: no
>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</volume>
</phone>
<voice debug="false"Description: Flag to enable debug rendering
Type: Boolean
Default: false
Required: no
fadeIn="0"Description: Fade in time in seconds
Type: Float
Default: 0
Required: no
fadeOut="0"Description: Fade out time in seconds
Type: Float
Default: 0
Required: no
file="string"Description: Path to sound sample
Type: String
Required: no
innerRadius="80"Description: Inner radius
Type: Float
Default: 80
Required: no
isLocalSound="false"Description: While set for vehicle sounds it will only play for the player currently using the vehicle
Type: Boolean
Default: false
Required: no
linkNode="node"Description: Link node for 3d sound
Type: Index to i3d node or i3d mapping identifier
Required: no
linkNodeOffset="x y z"Description: Sound source will be offset by this value to the link node
Type: Translation values (x, y, z)
Required: no
loops="1"Description: Number of loops (0 = infinite)
Type: Integer
Default: 1
Required: no
loopSynthesisRPMRatio="1"Description: Ratio between rpm in the gls file and actual rpm of the motor (e.g. 0.9: max. rpm in the gls file will be reached at 90% of motor rpm)
Type: Float
Default: 1
Required: no
lowpassGainScale="1"Description: Additional lowpass gain that is applied on the volume attributes
Type: Float
Default: 1
Required: no
outerRadius="5"Description: Outer radius
Type: Float
Default: 5
Required: no
parent="string"Description: Parent sample for inheritance
Type: String
Required: no
pitchScale="1"Description: Additional pitch that is applied on the volume attributes
Type: Float
Default: 1
Required: no
supportsReverb="true"Description: Flag to disable reverb
Type: Boolean
Default: true
Required: no
template="string"Description: Sound template name
Type: String
Required: no
volumeScale="1"Description: Additional scale that is applied on the volume attributes
Type: Float
Default: 1
Required: no
>
<loopSynthesisLoad>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</loopSynthesisLoad>
<loopSynthesisRpm>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</loopSynthesisRpm>
<lowpassCutoffFrequency indoor="5000"Description: Indoor lowpass cutoff frequency
Type: Float
Default: 5000
Required: no
outdoor="5000"Description: Outdoor lowpass cutoff frequency
Type: Float
Default: 5000
Required: no
/>
<lowpassGain indoor="0.8"Description: Indoor lowpass gain
Type: Float
Default: 0.8
Required: no
outdoor="1"Description: Outdoor lowpass gain
Type: Float
Default: 1
Required: no
>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</lowpassGain>
<lowpassResonance indoor="2"Description: Indoor lowpass resonance
Type: Float
Default: 2
Required: no
outdoor="2"Description: Outdoor lowpass resonance
Type: Float
Default: 2
Required: no
/>
<pitch indoor="1"Description: Indoor pitch
Type: Float
Default: 1
Required: no
outdoor="1"Description: Outdoor pitch
Type: Float
Default: 1
Required: no
>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</pitch>
<randomization isInside="true"Description: Randomization is applied inside
Type: Boolean
Default: true
Required: no
isOutside="true"Description: Randomization is applied outside
Type: Boolean
Default: true
Required: no
maxLowpassGain="float"Description: Max lowpass gain
Type: Float
Required: no
maxPitch="float"Description: Max pitch
Type: Float
Required: no
maxVolume="float"Description: Max volume
Type: Float
Required: no
minLowpassGain="float"Description: Max lowpass gain
Type: Float
Required: no
minPitch="float"Description: Max pitch
Type: Float
Required: no
minVolume="float"Description: Min volume
Type: Float
Required: no
/>
<sourceRandomization file="string"Description: Path to sound sample
Type: String
Required: no
/>
<volume indoor="0.8"Description: Indoor volume
Type: Float
Default: 0.8
Required: no
outdoor="1"Description: Outdoor volume
Type: Float
Default: 1
Required: no
>
<modifier modifiedValue="float"Description: Change that is applied on sample value
Type: Float
Required: no
type="string"Description: Modifier type
Type: String
Required: no
value="float"Description: Source value of modifier type
Type: Float
Required: no
/>
</volume>
</voice>
</sounds>
<title>stringDescription: NPC title
Type: String
Required: yes
</title>
</npc>