Changeset 5935 for code/branches/pickup/data/levels/presentation_pong.oxw
- Timestamp:
- Oct 13, 2009, 5:05:17 PM (15 years ago)
- Location:
- code/branches/pickup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup
- Property svn:mergeinfo changed
-
code/branches/pickup/data/levels/presentation_pong.oxw
r5781 r5935 32 32 <Backlight scale=0.2 colour="1.0, 1.0, 0.5" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" /> 33 33 <Light type=point diffuse="1.0, 1.0, 0.5" specular="1.0, 1.0, 0.5" attenuation="1200, 1.0, 0.0035, 0.00005" /> 34 </attached> 34 <ParticleSpawner name=hiteffect position="0,0,0" source="Orxonox/sparks2" lifetime=0.01 autostart=0 mainstate=spawn /> 35 </attached> 36 <eventlisteners> 37 <EventTarget target=hiteffect /> 38 </eventlisteners> 35 39 </PongBall> 36 40 </Template> … … 42 46 gametype = Pong 43 47 > 48 <AmbientSound source="ambient/mainmenu.wav" playOnLoad=true /> 49 44 50 <Scene 45 51 ambientlight = "0.5, 0.5, 0.5" … … 58 64 <MovableEntity rotationrate=5 rotationaxis="0,0,1"> 59 65 <attached> 60 <PongCenterpoint name=pongcenter dimension="200,120" balltemplate=pongball battemplate=pongbat ballspeed=200 ba tspeed=130 batlength=0.25>66 <PongCenterpoint name=pongcenter dimension="200,120" balltemplate=pongball battemplate=pongbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25> 61 67 <attached> 62 68 <Model position="0,0,60" mesh="cube.mesh" scale3D="105,1,1" /> 63 69 <Model position="0,0,-60" mesh="cube.mesh" scale3D="105,1,1" /> 64 <!-- 65 <ParticleSpawner name=scoreeffect_R position=" 100,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 66 <ParticleSpawner name=scoreeffect position=" 50,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 67 <ParticleSpawner name=scoreeffect position=" 0,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 68 <ParticleSpawner name=scoreeffect position=" -50,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 69 <ParticleSpawner name=scoreeffect_L position="-100,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 70 <ParticleSpawner name=scoreeffect_R position=" 100,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 71 <ParticleSpawner name=scoreeffect position=" 50,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 72 <ParticleSpawner name=scoreeffect position=" 0,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 73 <ParticleSpawner name=scoreeffect position=" -50,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 74 <ParticleSpawner name=scoreeffect_L position="-100,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 /> 75 --> 70 71 <ParticleSpawner name=scoreeffect_right position="120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 72 <ParticleSpawner name=scoreeffect_right position="120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 /> 73 <ParticleSpawner name=scoreeffect_right position="120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 74 <ParticleSpawner name=scoreeffect_right position="120,0, 0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 /> 75 <ParticleSpawner name=scoreeffect_right position="120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 76 <ParticleSpawner name=scoreeffect_right position="120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 /> 77 <ParticleSpawner name=scoreeffect_right position="120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 78 79 <ParticleSpawner name=scoreeffect_left position="-120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 80 <ParticleSpawner name=scoreeffect_left position="-120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 /> 81 <ParticleSpawner name=scoreeffect_left position="-120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 82 <ParticleSpawner name=scoreeffect_left position="-120,0, 0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 /> 83 <ParticleSpawner name=scoreeffect_left position="-120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 84 <ParticleSpawner name=scoreeffect_left position="-120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 /> 85 <ParticleSpawner name=scoreeffect_left position="-120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 86 87 <WorldSound name="scoreSound" position="0,0,0" source="sounds/pong_score.wav" > 88 <events> 89 <play> 90 <EventListener event=pongcenter /> 91 </play> 92 </events> 93 </WorldSound> 94 95 <?lua 96 for i = 1, 15, 1 97 do ?> 98 <ParticleSpawner name=scoreeffect_center position="<?lua print(math.random() * 200 - 100) ?>,0,<?lua print(math.random() * 120 - 60) ?>" source="Orxonox/sparks2" lifetime=0.02 autostart=0 startdelay=<?lua print(math.random() * 0.7) ?> /> 99 <?lua 100 end 101 ?> 102 76 103 </attached> 77 104 </PongCenterpoint> … … 81 108 <EventDispatcher> 82 109 <targets> 83 <EventTarget name=scoreeffect /> 110 <EventTarget target=scoreeffect_right /> 111 <EventTarget target=scoreeffect_center /> 84 112 </targets> 85 113 <events> 86 114 <spawn> 87 <EventListener event=pongcenter /> 115 <EventFilter> 116 <names> 117 <EventName name=right /> 118 </names> 119 <EventListener event=pongcenter /> 120 </EventFilter> 121 </spawn> 122 </events> 123 </EventDispatcher> 124 <EventDispatcher> 125 <targets> 126 <EventTarget target=scoreeffect_left /> 127 <EventTarget target=scoreeffect_center /> 128 </targets> 129 <events> 130 <spawn> 131 <EventFilter> 132 <names> 133 <EventName name=left /> 134 </names> 135 <EventListener event=pongcenter /> 136 </EventFilter> 88 137 </spawn> 89 138 </events>
Note: See TracChangeset
for help on using the changeset viewer.