Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 4, 2015, 2:18:02 PM (5 years ago)
Author:
landauf
Message:

added new levels and modified ship definitions from branch presentationFS15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationFS15merge/data/gui/scripts/presentation.lua

    r10614 r10617  
    11-- Set some test variables
    2 xm = 1000
    3 ym = 0
    4 zm = 0
     2x0 = 0
     3y0 = 500
     4z0 = 500
    55
    6 xl = -1000
    7 yl = 3000
    8 zl = -1000
     6xo = 2000
     7yo = 0
     8zo = 0
    99
    10 xr = 2000
    11 yr = 500
    12 zr = 2000
     10x1 = 3000
     11y1 = 0
     12z1 = 0
    1313
    14 d = 5
    15 Tabs = 0
    16 
    17 pi = 3.1415
     14x2 = 2000
     15y2 = 2000
     16z2 = 0
    1817
    1918-- Get a local pointer to a scriptcontroller
     
    2322if ctrl ~= nil then
    2423
    25   ctrl:eventScheduler("mal", xl,yl,zl, xl,yl,zl, 2)
    2624  ctrl:eventScheduler("idle", 1)
    27   ctrl:eventScheduler("ral", xl, yl, zl, 3, 0, 0, math.pi)
     25  ctrl:eventScheduler("chl", x0, y0, z0, xo, yo, zo, 2)
    2826  ctrl:eventScheduler("idle", 1)
    29   ctrl:eventScheduler("mal", 0,0,1000, xl,yl,zl, 3)
     27  ctrl:eventScheduler("mal", x2, y2, z2, xo, yo, zo, 2)
     28  ctrl:eventScheduler("mal", x1, y1, z1, xo, yo, zo, 2)
    3029  ctrl:eventScheduler("idle", 1)
    31   ctrl:eventScheduler("chl", xl, yl, zl, xr, yr, zr, 2)
     30  ctrl:eventScheduler("ral", xo, yo, zo, 3, 1000, 0, 5)
    3231  ctrl:eventScheduler("idle", 1)
    33   ctrl:eventScheduler("mal", xr + 600,yr,zr, xr,yr,zr, 4)
     32  ctrl:eventScheduler("ral", xo, yo, zo, 2, 1000, 0, 5)
    3433  ctrl:eventScheduler("idle", 1)
    35   ctrl:eventScheduler("chl", xr, yr, zr, xl, yl, zl, 3)
    36   ctrl:eventScheduler("idle", 1)
    37   ctrl:eventScheduler("spi", xm,ym,zm, 0,0,0, 4)
     34  ctrl:eventScheduler("ral", xo, yo, zo, 1, 1000, 0, 5)
    3835  ctrl:eventScheduler("idle", 1)
    3936
Note: See TracChangeset for help on using the changeset viewer.