Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 3, 2018, 11:49:55 PM (6 years ago)
Author:
stadlero
Message:

Added connections-string parser in WagnisGameboard which still needs work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wagnis_HS18/data/levels/Wagnis.oxw

    r12067 r12072  
    4848    <SpawnPoint position="100, 45, 75" lookat="0, 45, 75" />
    4949
    50 <WagnisGameboard position="0,0,0">
    51  <Provinces>
     50<WagnisGameboard position="0,0,0" connections_string="1=2,2=1-1000,1000=2  ">
     51
     52  <Provinces>
     53
    5254    <WagnisProvince ID="1" continent="1" position="0,30,30" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    5355      <attached>
     
    6264    </WagnisProvince>
    6365
    64 
    65 
    66 
     66    <WagnisProvince ID="1000" continent="1" position="0,40,40" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     67      <attached>
     68        <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
     69      </attached>
     70    </WagnisProvince>
    6771
    6872  </Provinces>
Note: See TracChangeset for help on using the changeset viewer.