| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
|
| 4 |
<PropertyList> |
| 5 |
<nasal> |
| 6 |
<load> |
| 7 |
|
| 8 |
var theme_node = "sim/model/npc[1][0]"; |
| 9 |
io.read_properties("Aircraft/Generic/Human/Models/Pilot-themes/Amelia_default.xml", theme_node); |
| 10 |
|
| 11 |
var pose_node = "sim/model/npc[1][0]/pose"; |
| 12 |
io.read_properties("Aircraft/Generic/Human/Models/Poses/help.xml", pose_node); |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
# id == loopid or return; |
| 17 |
|
| 18 |
# settimer(func { loop(id) }, 0); |
| 19 |
# } |
| 20 |
# settimer(func { loop(loopid) }, 0); |
| 21 |
|
| 22 |
</load> |
| 23 |
<unload> |
| 24 |
print ("bye"); |
| 25 |
loopid += 1; |
| 26 |
</unload> |
| 27 |
</nasal> |
| 28 |
|
| 29 |
<model> |
| 30 |
<name>male</name> |
| 31 |
<path>Aircraft/Generic/Human/Models/walker-inc.xml</path> |
| 32 |
<overlay> |
| 33 |
<appearence-props> |
| 34 |
<character>sim/model/npc[1]/character</character> |
| 35 |
<outfit>sim/model/npc[1]/outfit</outfit> |
| 36 |
<headgear>sim/model/npc[1]/headgear</headgear> |
| 37 |
<eyewear>sim/model/npc[1]/eyewear</eyewear> |
| 38 |
<mask>sim/model/npc[1]/mask</mask> |
| 39 |
<no-head-view-name>0</no-head-view-name> |
| 40 |
|
| 41 |
<hair>sim/model/npc[1]/hair</hair> |
| 42 |
<toolr>sim/model/npc[1]/toolr</toolr> |
| 43 |
</appearence-props> |
| 44 |
|
| 45 |
<pivot-props> |
| 46 |
<hip-rotate>sim/model/npc[1]/pose/position/limb[0]/y-deg</hip-rotate> |
| 47 |
<hip-translate>sim/model/npc[1]/pose/position/limb[0]/z-m</hip-translate> |
| 48 |
<chest-y>sim/model/npc[1]/pose/position/limb[1]/y-deg</chest-y> |
| 49 |
<chest-z>sim/model/npc[1]/pose/position/limb[1]/z-deg</chest-z> |
| 50 |
<head-y>sim/model/npc[1]/pose/position/limb[2]/y-deg</head-y> |
| 51 |
<head-z>sim/model/npc[1]/pose/position/limb[2]/z-deg</head-z> |
| 52 |
<arm1R-x>sim/model/npc[1]/pose/position/limb[3]/x-deg</arm1R-x> |
| 53 |
<arm1R-y>sim/model/npc[1]/pose/position/limb[3]/y-deg</arm1R-y> |
| 54 |
<arm1R-z>sim/model/npc[1]/pose/position/limb[3]/z-deg</arm1R-z> |
| 55 |
<arm2R-y>sim/model/npc[1]/pose/position/limb[4]/y-deg</arm2R-y> |
| 56 |
<arm2R-z>sim/model/npc[1]/pose/position/limb[4]/z-deg</arm2R-z> |
| 57 |
<handR-x>sim/model/npc[1]/pose/position/limb[5]/x-deg</handR-x> |
| 58 |
<handR-y>sim/model/npc[1]/pose/position/limb[5]/y-deg</handR-y> |
| 59 |
<handR-num>sim/model/npc[1]/pose/position/limb[5]/hand-pose</handR-num> |
| 60 |
<arm1L-x>sim/model/npc[1]/pose/position/limb[6]/x-deg</arm1L-x> |
| 61 |
<arm1L-y>sim/model/npc[1]/pose/position/limb[6]/y-deg</arm1L-y> |
| 62 |
<arm1L-z>sim/model/npc[1]/pose/position/limb[6]/z-deg</arm1L-z> |
| 63 |
<arm2L-y>sim/model/npc[1]/pose/position/limb[7]/y-deg</arm2L-y> |
| 64 |
<arm2L-z>sim/model/npc[1]/pose/position/limb[7]/z-deg</arm2L-z> |
| 65 |
<handL-x>sim/model/npc[1]/pose/position/limb[8]/x-deg</handL-x> |
| 66 |
<handL-y>sim/model/npc[1]/pose/position/limb[8]/y-deg</handL-y> |
| 67 |
<handL-num>sim/model/npc[1]/pose/position/limb[8]/hand-pose</handL-num> |
| 68 |
<leg1R-x>sim/model/npc[1]/pose/position/limb[9]/x-deg</leg1R-x> |
| 69 |
<leg1R-y>sim/model/npc[1]/pose/position/limb[9]/y-deg</leg1R-y> |
| 70 |
<leg1R-z>sim/model/npc[1]/pose/position/limb[9]/z-deg</leg1R-z> |
| 71 |
<leg2R-y>sim/model/npc[1]/pose/position/limb[10]/y-deg</leg2R-y> |
| 72 |
<footR-y>sim/model/npc[1]/pose/position/limb[11]/y-deg</footR-y> |
| 73 |
<leg1L-x>sim/model/npc[1]/pose/position/limb[12]/x-deg</leg1L-x> |
| 74 |
<leg1L-y>sim/model/npc[1]/pose/position/limb[12]/y-deg</leg1L-y> |
| 75 |
<leg1L-z>sim/model/npc[1]/pose/position/limb[12]/z-deg</leg1L-z> |
| 76 |
<leg2L-y>sim/model/npc[1]/pose/position/limb[13]/y-deg</leg2L-y> |
| 77 |
<footL-y>sim/model/npc[1]/pose/position/limb[14]/y-deg</footL-y> |
| 78 |
</pivot-props> |
| 79 |
|
| 80 |
</overlay> |
| 81 |
</model> |
| 82 |
|
| 83 |
<animation> |
| 84 |
<type>select</type> |
| 85 |
<object-name>male</object-name> |
| 86 |
<condition> |
| 87 |
<equals> |
| 88 |
<property>sim/model/npc[1]/gender</property> |
| 89 |
<value>0</value> |
| 90 |
</equals> |
| 91 |
</condition> |
| 92 |
</animation> |
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
<model> |
| 105 |
<name>female</name> |
| 106 |
<path>Aircraft/Generic/Human/Models/walker-inc.xml</path> |
| 107 |
|
| 108 |
<overlay> |
| 109 |
<models> |
| 110 |
<char0-path>Aircraft/Generic/Human/Models/amelia.xml</char0-path> |
| 111 |
<char1-path>Aircraft/Generic/Human/Models/amelia.xml</char1-path> |
| 112 |
<char2-path>Aircraft/Generic/Human/Models/amelia.xml</char2-path> |
| 113 |
<outfit0>Aircraft/Generic/Human/Models/outfit/default-f.xml</outfit0> |
| 114 |
<outfit1>Aircraft/Generic/Human/Models/outfit/flightsuit-f.xml</outfit1> |
| 115 |
<outfit2>Aircraft/Generic/Human/Models/outfit/airliner-f.xml</outfit2> |
| 116 |
<outfit3>Aircraft/Generic/Human/Models/outfit/airliner-f.xml</outfit3> |
| 117 |
</models> |
| 118 |
|
| 119 |
<appearence-props> |
| 120 |
<character>sim/model/npc[1]/character</character> |
| 121 |
<outfit>sim/model/npc[1]/outfit</outfit> |
| 122 |
<headgear>sim/model/npc[1]/headgear</headgear> |
| 123 |
<eyewear>sim/model/npc[1]/eyewear</eyewear> |
| 124 |
<mask>sim/model/npc[1]/mask</mask> |
| 125 |
<no-head-view-name>0</no-head-view-name> |
| 126 |
|
| 127 |
<hair>sim/model/npc[1]/hair</hair> |
| 128 |
<toolr>sim/model/npc[1]/toolr</toolr> |
| 129 |
</appearence-props> |
| 130 |
|
| 131 |
<pivot-props> |
| 132 |
<hip-rotate>sim/model/npc[1]/pose/position/limb[0]/y-deg</hip-rotate> |
| 133 |
<hip-translate>sim/model/npc[1]/pose/position/limb[0]/z-m</hip-translate> |
| 134 |
<chest-y>sim/model/npc[1]/pose/position/limb[1]/y-deg</chest-y> |
| 135 |
<chest-z>sim/model/npc[1]/pose/position/limb[1]/z-deg</chest-z> |
| 136 |
<head-y>sim/model/npc[1]/pose/position/limb[2]/y-deg</head-y> |
| 137 |
<head-z>sim/model/npc[1]/pose/position/limb[2]/z-deg</head-z> |
| 138 |
<arm1R-x>sim/model/npc[1]/pose/position/limb[3]/x-deg</arm1R-x> |
| 139 |
<arm1R-y>sim/model/npc[1]/pose/position/limb[3]/y-deg</arm1R-y> |
| 140 |
<arm1R-z>sim/model/npc[1]/pose/position/limb[3]/z-deg</arm1R-z> |
| 141 |
<arm2R-y>sim/model/npc[1]/pose/position/limb[4]/y-deg</arm2R-y> |
| 142 |
<arm2R-z>sim/model/npc[1]/pose/position/limb[4]/z-deg</arm2R-z> |
| 143 |
<handR-x>sim/model/npc[1]/pose/position/limb[5]/x-deg</handR-x> |
| 144 |
<handR-y>sim/model/npc[1]/pose/position/limb[5]/y-deg</handR-y> |
| 145 |
<handR-num>sim/model/npc[1]/pose/position/limb[5]/hand-pose</handR-num> |
| 146 |
<arm1L-x>sim/model/npc[1]/pose/position/limb[6]/x-deg</arm1L-x> |
| 147 |
<arm1L-y>sim/model/npc[1]/pose/position/limb[6]/y-deg</arm1L-y> |
| 148 |
<arm1L-z>sim/model/npc[1]/pose/position/limb[6]/z-deg</arm1L-z> |
| 149 |
<arm2L-y>sim/model/npc[1]/pose/position/limb[7]/y-deg</arm2L-y> |
| 150 |
<arm2L-z>sim/model/npc[1]/pose/position/limb[7]/z-deg</arm2L-z> |
| 151 |
<handL-x>sim/model/npc[1]/pose/position/limb[8]/x-deg</handL-x> |
| 152 |
<handL-y>sim/model/npc[1]/pose/position/limb[8]/y-deg</handL-y> |
| 153 |
<handL-num>sim/model/npc[1]/pose/position/limb[8]/hand-pose</handL-num> |
| 154 |
<leg1R-x>sim/model/npc[1]/pose/position/limb[9]/x-deg</leg1R-x> |
| 155 |
<leg1R-y>sim/model/npc[1]/pose/position/limb[9]/y-deg</leg1R-y> |
| 156 |
<leg1R-z>sim/model/npc[1]/pose/position/limb[9]/z-deg</leg1R-z> |
| 157 |
<leg2R-y>sim/model/npc[1]/pose/position/limb[10]/y-deg</leg2R-y> |
| 158 |
<footR-y>sim/model/npc[1]/pose/position/limb[11]/y-deg</footR-y> |
| 159 |
<leg1L-x>sim/model/npc[1]/pose/position/limb[12]/x-deg</leg1L-x> |
| 160 |
<leg1L-y>sim/model/npc[1]/pose/position/limb[12]/y-deg</leg1L-y> |
| 161 |
<leg1L-z>sim/model/npc[1]/pose/position/limb[12]/z-deg</leg1L-z> |
| 162 |
<leg2L-y>sim/model/npc[1]/pose/position/limb[13]/y-deg</leg2L-y> |
| 163 |
<footL-y>sim/model/npc[1]/pose/position/limb[14]/y-deg</footL-y> |
| 164 |
</pivot-props> |
| 165 |
|
| 166 |
<limbs> |
| 167 |
<chest-x>-0.0112992</chest-x> |
| 168 |
<chest-y>0.0</chest-y> |
| 169 |
<chest-z>0.1676192</chest-z> |
| 170 |
<head-x>0.0250915</head-x> |
| 171 |
<head-y>0.0</head-y> |
| 172 |
<head-z>0.577579</head-z> |
| 173 |
<shoulder-x>0.0322284</shoulder-x> |
| 174 |
<shoulder-y-l>-0.152689</shoulder-y-l> |
| 175 |
<shoulder-y-r>0.152689</shoulder-y-r> |
| 176 |
<shoulder-z>0.496473</shoulder-z> |
| 177 |
<elbow-x>0.0544844</elbow-x> |
| 178 |
<elbow-y-l>-0.439449</elbow-y-l> |
| 179 |
<elbow-y-r>0.439449</elbow-y-r> |
| 180 |
<elbow-z>0.492835</elbow-z> |
| 181 |
<hand-x>0.0327848</hand-x> |
| 182 |
<hand-y-l>-0.685121</hand-y-l> |
| 183 |
<hand-y-r>0.685121</hand-y-r> |
| 184 |
<hand-z>0.487592</hand-z> |
| 185 |
<leg-x>-0.0364763</leg-x> |
| 186 |
<leg-y-l>-0.0527938</leg-y-l> |
| 187 |
<leg-y-r>0.0527938</leg-y-r> |
| 188 |
<leg-z>-0.0216712</leg-z> |
| 189 |
<knee-x>0.00578977</knee-x> |
| 190 |
<knee-y-r>0.0886923</knee-y-r> |
| 191 |
<knee-y-l>-0.0886923</knee-y-l> |
| 192 |
<knee-z>-0.377503</knee-z> |
| 193 |
<foot-x>0.0806138</foot-x> |
| 194 |
<foot-y-l>-0.110317</foot-y-l> |
| 195 |
<foot-y-r>0.110317</foot-y-r> |
| 196 |
<foot-z>-0.872164</foot-z> |
| 197 |
</limbs> |
| 198 |
|
| 199 |
|
| 200 |
</overlay> |
| 201 |
</model> |
| 202 |
|
| 203 |
|
| 204 |
<animation> |
| 205 |
<type>select</type> |
| 206 |
<object-name>female</object-name> |
| 207 |
<condition> |
| 208 |
<equals> |
| 209 |
<property>sim/model/npc[1]/gender</property> |
| 210 |
<value>1</value> |
| 211 |
</equals> |
| 212 |
</condition> |
| 213 |
</animation> |
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
|
| 222 |
|
| 223 |
|
| 224 |
|
| 225 |
|
| 226 |
</PropertyList> |