476
edits
(added infos about Walker) |
|||
Line 303: | Line 303: | ||
here is an example with one pilot and 2 passengers "npc0" and "npc1" (non player character): | here is an example with one pilot and 2 passengers "npc0" and "npc1" (non player character): | ||
In your Aircraft's -set file: | |||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<crew> | <crew> | ||
Line 330: | Line 331: | ||
<toolr>1</toolr> | <toolr>1</toolr> | ||
</npc> | </npc> | ||
</syntaxhighlight> | |||
and in the aircraft's Model/??????.xml file: | |||
<syntaxhighlight lang="xml"> | |||
<!-- pilot (no head in pilot view) --> | |||
<model> | |||
<name>pilot</name> | |||
<path>Aircraft/Generic/Human/Models/pilot.xml</path> | |||
<name>pilot</name> | |||
<nopreview/> | |||
<offsets> | |||
<x-m>-7.0384</x-m> | |||
<y-m>-0.4858</y-m> | |||
<z-m>1.5</z-m> | |||
</offsets> | |||
</model> | |||
<!--== person sitting next to pilot ==--> | |||
<model> | |||
<name>npc0</name> | |||
<path>Aircraft/Generic/Human/Models/npc0.xml</path> | |||
<nopreview/> | |||
<offsets> | |||
<x-m>-7.0384</x-m> | |||
<y-m>0.45</y-m> | |||
<z-m>1.5</z-m> | |||
</offsets> | |||
</model> | |||
<!--== person in cabin ==--> | |||
<model> | |||
<name>npc1</name> | |||
<path>Aircraft/Generic/Human/Models/npc1.xml</path> | |||
<nopreview/> | |||
<offsets> | |||
<heading-deg>90</heading-deg> | |||
<x-m>-3.2</x-m> | |||
<y-m>0.65</y-m> | |||
<z-m>0.90</z-m> | |||
</offsets> | |||
</model> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 355: | Line 396: | ||
</script> | </script> | ||
</copilot-movment> | </copilot-movment> | ||
=== currently valid values for the properties === | |||
character: | |||
0 | |||
1 | |||
2 | |||
eyewear: | |||
0 no eyewear | |||
1 sunglasses | |||
gender: | |||
0 male | |||
1 female | |||
2 invisible :-) | |||
hair: | |||
0 no hair | |||
1 hairstyle 1 | |||
2 hairstyle 2 | |||
headgear: | |||
1 headset | |||
2 big hat | |||
3 helmet | |||
mask: | |||
0 no mask | |||
1 oxygen mask | |||
outfit: | |||
0 | |||
1 | |||
2 | |||
3 | |||
4 | |||
== WalkView: Another option for internal walk views == | == WalkView: Another option for internal walk views == |
edits