1 | <LevelInfo |
---|
2 | name = "Presentation HS 2011" |
---|
3 | description = "Oxonox Proudly Presents New Features From HS 2011" |
---|
4 | tags = "presentation" |
---|
5 | /> |
---|
6 | |
---|
7 | <?lua |
---|
8 | include("stats.oxo") |
---|
9 | include("HUDTemplates3.oxo") |
---|
10 | include("templates/lodInformation.oxt") |
---|
11 | ?> |
---|
12 | |
---|
13 | <?lua |
---|
14 | include("templates/spaceshipAssff.oxt") |
---|
15 | include("templates/spaceshipPirate.oxt") |
---|
16 | include("templates/spaceshipSwallow.oxt") |
---|
17 | ?> |
---|
18 | |
---|
19 | <Level |
---|
20 | gametype = "Mission" |
---|
21 | > |
---|
22 | <templates> |
---|
23 | <Template link=lodtemplate_default /> |
---|
24 | </templates> |
---|
25 | <?lua include("includes/notifications.oxi") ?> |
---|
26 | |
---|
27 | <Scene |
---|
28 | ambientlight = "0.8, 0.8, 0.8" |
---|
29 | skybox = "Orxonox/skyBoxMoreNebula" |
---|
30 | > |
---|
31 | |
---|
32 | <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> |
---|
33 | |
---|
34 | <TeamSpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow/> |
---|
35 | |
---|
36 | <!-- TRIGGERS --> |
---|
37 | <DistanceTrigger name="FormationInit" position="800,700,600" target="Pawn" distance=60 stayActive="true" delay=0.1 /> |
---|
38 | <DistanceTrigger name="LetsGo" position="800,700,1000" target="Pawn" distance=60 stayActive="true" delay=0.1 /> |
---|
39 | |
---|
40 | |
---|
41 | <Script code="formationcontroller formationflight true" onLoad="false"> |
---|
42 | <events> |
---|
43 | <trigger> |
---|
44 | <EventListener event=FormationInit /> |
---|
45 | </trigger> |
---|
46 | </events> |
---|
47 | </Script> <!-- !!! activates formation behaviour !!! --> |
---|
48 | |
---|
49 | <Script code="artificialcontroller setbotlevel 0.1" onLoad="false"> |
---|
50 | <events> |
---|
51 | <trigger> |
---|
52 | <EventListener event=FormationInit /> |
---|
53 | </trigger> |
---|
54 | </events> |
---|
55 | </Script> <!-- make bots "friendly", doesn't work yet :-( --> |
---|
56 | |
---|
57 | <!-- ADDING FORMATION --> |
---|
58 | <?lua for i=0,4,1 do |
---|
59 | ?> |
---|
60 | <SpaceShip position="<?lua print(400+i*200) ?>,-200,1000" lookat="-1300,-600,900" visible="true"> |
---|
61 | <!--events> |
---|
62 | <visibility> |
---|
63 | <EventListener event="ondock" /> |
---|
64 | </visibility> |
---|
65 | </events--> |
---|
66 | <templates> |
---|
67 | <Template link=spaceshipswallow /> <!--spaceshipTransporter spaceshippirate--> |
---|
68 | </templates> |
---|
69 | <controller> |
---|
70 | <AIController team=0> |
---|
71 | <events> |
---|
72 | <activity> |
---|
73 | <EventListener event="LetsGo" /> |
---|
74 | </activity> |
---|
75 | </events> |
---|
76 | </AIController> |
---|
77 | </controller> |
---|
78 | </SpaceShip> |
---|
79 | <?lua end ?> |
---|
80 | |
---|
81 | |
---|
82 | |
---|
83 | <!-- ACTUAL LEVEL --> |
---|
84 | |
---|
85 | <BlinkingBillboard position="800,700,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> |
---|
86 | |
---|
87 | </BlinkingBillboard> |
---|
88 | |
---|
89 | <!-- Generate asteroid field and asteroid belt --> |
---|
90 | <!-- asteroidBelt(centerX, centerY, centerZ, yaw, pitch, segments, minSize, maxSize, radius0, radius1, count, fog) --> |
---|
91 | <?lua |
---|
92 | dofile("includes/asteroidField.lua") |
---|
93 | asteroidBelt(20000, 0, 13000, -48, -34, 70, 100, 200, 22000, 20000, 500, 1) |
---|
94 | |
---|
95 | ?> |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | |
---|
100 | </Scene> |
---|
101 | </Level> |
---|
102 | |
---|