Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1102 for code/trunk/bin


Ignore:
Timestamp:
Apr 17, 2008, 3:40:12 PM (17 years ago)
Author:
bknecht
Message:

lua50 compatiple level code and loading, should work on tardis as well now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/levels/sample.oxw

    r1089 r1102  
    3838
    3939
    40 <!--?lua
     40<?lua
    4141for i = 1, 226, 1
    4242do ?>
    43   <Model position="<?lua print(math.random(-19597, 18732))?>, <?lua print(math.random(-19597, 18732)) ?>, <?lua print(math.random(-19597, 18732)) ?>" scale="<?lua print(math.random( 20, 119)) ?>" mesh="ast<?lua print(i%6 + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random(16, 44)) ?>" />
     43  <Model position="<?lua print(math.random(-19597, 18732))?>, <?lua print(math.random(-19597, 18732)) ?>, <?lua print(math.random(-19597, 18732)) ?>" scale="<?lua print(math.random( 20, 119)) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random(16, 44)) ?>" />
    4444<?lua
    4545end
    46 ?-->
     46?>
Note: See TracChangeset for help on using the changeset viewer.