Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 19, 2008, 12:38:32 AM (17 years ago)
Author:
landauf
Message:

Namespaces are working now. I love this feature, can't stop playing with it :D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/bin/levels/sample.oxw

    r871 r901  
     1<Namespace name="test" />
     2<Namespace name="blub" />
     3<Namespace name="rofl" />
     4
     5<Namespace name="ns1">
     6  <Namespace name="ns11">
     7    <Namespace name="ns111">
     8    </Namespace>
     9    <Namespace name="ns112">
     10    </Namespace>
     11  </Namespace>
     12  <Namespace name="ns12">
     13    <Namespace name="ns121">
     14    </Namespace>
     15    <Namespace name="ns122">
     16    </Namespace>
     17  </Namespace>
     18</Namespace>
     19
     20<Namespace name="ns1::ns12::ns121">
     21  <Namespace name="ns1211">
     22  </Namespace>
     23</Namespace>
     24<Namespace name="ns1::ns12::ns122::ns1221" />
     25
    126<!--
    227 <audio>
     
    2348<NPC position="100,0,400" scale="1" mesh="razor.mesh"/>
    2449
    25 <Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
    26 <Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
    27   <attached>
    28     <Model name="drone2" position="200,-100,-500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
    29       <attached>
    30         <Model name="starship2" position="500,200,-500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
    31       </attached>
    32     </Model>
    33   </attached>
    34 </Model>
     50<Namespace name="starshipanddrone">
     51  <Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
     52  <Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
     53    <attached>
     54      <Model name="drone2" position="200,-100,-500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
     55        <attached>
     56          <Model name="starship2" position="500,200,-500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
     57        </attached>
     58      </Model>
     59    </attached>
     60  </Model>
     61</Namespace>
    3562
    3663<Model position="-200,1000,500" scale="10" mesh="hoover_body.mesh" yawpitchroll="-90,-90,0" />
     
    4067<Model position="-200,1000,500" scale="10" mesh="hoover_turbine.mesh" yawpitchroll="-90,-90,0" />
    4168
     69<Namespace name="test" />
     70<Namespace name="blub">
     71</Namespace>
     72<Namespace name="rofl">
     73  <Namespace name="lol">
     74  </Namespace>
     75</Namespace>
     76
     77<Namespace name="ns1">
     78  <Namespace name="ns11">
     79    <Namespace name="ns111">
     80      <Namespace name="ns1111">
     81      </Namespace>
     82    </Namespace>
     83  </Namespace>
     84  <Namespace name="ns13">
     85  </Namespace>
     86</Namespace>
     87
     88<Namespace name="ns1 ns2">
     89  <Namespace name="abc" />
     90</Namespace>
     91
     92<Namespace name="ns1::ns11 ns1::ns12 ns1::ns12::ns121">
     93  <Namespace name="muhahaha" />
     94</Namespace>
     95
     96<Namespace name="test">
     97  <Namespace name="test" />
     98</Namespace>
     99
     100<Namespace name="ns1::ns13">
     101  <Namespace name="..::ns14" />
     102  <Namespace name="..::..::ns3" />
     103</Namespace>
     104
     105<Namespace name="AAA::BBB::..::CCC::..::DDD::..::BBB::BBBBBB::..::BBBBBBBBBBBBBBBBBBB::..::..::EEE" />
     106
     107<Namespace name="..::justatest" />
     108
     109<Namespace name="@file.oxw::anothertest" />
     110
     111<Namespace name="justonemoretest::@file.oxw::gagagaga" />
     112
     113<Namespace name="AAA::BBB, AAA::CCC; AAA::DDD,AAA::EEE">
     114  <Namespace name="hax" />
     115</Namespace>
     116
    42117    <Model position="-16779,42,11043" scale="95" mesh="ast2.mesh" rotationAxis="0.281711,0.152518,0" rotationRate="27" />
    43118    <Model position="12893,-1583,-17939" scale="48" mesh="ast1.mesh" rotationAxis="0.0597998,0.923364,0" rotationRate="36" />
     
    45120    <Model position="-9583,-2284,-19904" scale="33" mesh="ast5.mesh" rotationAxis="0,0.675659,0.0196445" rotationRate="44" />
    46121    <Model position="-19597,-15494,3163" scale="37" mesh="ast5.mesh" rotationAxis="0.477996,0,0.048639" rotationRate="23" />
    47     <Model position="-182,6442,-4496" scale="25" mesh="ast5.mesh" rotationAxis="0.142225,0,0.154393" rotationRate="37" />
     122    <!--Model position="-182,6442,-4496" scale="25" mesh="ast5.mesh" rotationAxis="0.142225,0,0.154393" rotationRate="37" />
    48123    <Model position="1004,-19639,-13744" scale="21" mesh="ast1.mesh" rotationAxis="0.974865,0.299775,0" rotationRate="29" />
    49124    <Model position="-13204,-10191,-1555" scale="31" mesh="ast1.mesh" rotationAxis="0.41675,0,0.385001" rotationRate="42" />
     
    266341    <Model position="1991,-11949,-15733" scale="68" mesh="ast1.mesh" rotationAxis="0,0.390655,0.623811" rotationRate="41" />
    267342    <Model position="-6787,1792,287" scale="71" mesh="ast6.mesh" rotationAxis="0.161019,0.130015,0" rotationRate="36" />
    268     <Model position="-7223,-13574,-11873" scale="24" mesh="ast4.mesh" rotationAxis="0.792203,0,0.177188" rotationRate="38" />
     343    <Model position="-7223,-13574,-11873" scale="24" mesh="ast4.mesh" rotationAxis="0.792203,0,0.177188" rotationRate="38" /-->
Note: See TracChangeset for help on using the changeset viewer.