| 966 | {{{ |
| 967 | #!xml |
| 968 | <MovableEntity scale=1.5 position="0,0,0" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90> |
| 969 | <events> |
| 970 | <activity> |
| 971 | <DistanceTrigger position="0,0,0" distance=50 target="ControllableEntity" invert=true /> |
| 972 | </activity> |
| 973 | </events> |
| 974 | <attached> |
| 975 | <Model position="0,0,0" scale=1 mesh="JumpEnemy1.mesh" /> |
| 976 | </attached> |
| 977 | </MovableEntity> |
| 978 | }}} |
| 979 | * Play world sounds. |
| 980 | {{{ |
| 981 | #!xml |
| 982 | <WorldSound position="0,0,0" source="sounds/ReadyGo.ogg" > |
| 983 | <events> |
| 984 | <play> |
| 985 | <EventListener event="playsound" /> |
| 986 | </play> |
| 987 | </events> |
| 988 | </WorldSound> |
| 989 | <DistanceTrigger name="playsound" position="0,0,0" target="Pawn" distance=50 stayActive="true" /> |
| 990 | }}} |
| 991 | * Play world ambient sounds. |
| 992 | {{{ |
| 993 | #!xml |
| 994 | <WorldAmbientSound source="Asteroid_rocks.ogg" looping="true" playOnLoad="false" > |
| 995 | <events> |
| 996 | <play> |
| 997 | <EventListener event="playsound" /> |
| 998 | </play> |
| 999 | </events> |
| 1000 | </WorldAmbientSound> |
| 1001 | <DistanceTrigger name="playsound" position="0,0,0" target="Pawn" distance=50 stayActive="true" /> |
| 1002 | }}} |
| 1003 | * Run particle effects |
| 1004 | {{{ |
| 1005 | #!xml |
| 1006 | <ParticleSpawner position="0,0,0" source="Orxonox/bigexplosion" lifetime=3.5 loop=0 autostart=0> |
| 1007 | <events> |
| 1008 | <spawn> |
| 1009 | <EventListener event="spawnparticle" /> |
| 1010 | </spawn> |
| 1011 | </events> |
| 1012 | </ParticleSpawner> |
| 1013 | <DistanceTrigger name="spawnparticle" position="0,0,0" target="SpaceShip" distance=50 stayActive="true" /> |
| 1014 | }}} |
| 1015 | |