[Orxonox-commit 3869] r8543 - in code/branches/pickup/data/levels: . includes templates

ssgier at orxonox.net ssgier at orxonox.net
Mon May 23 16:01:49 CEST 2011


Author: ssgier
Date: 2011-05-23 16:01:49 +0200 (Mon, 23 May 2011)
New Revision: 8543

Modified:
   code/branches/pickup/data/levels/includes/pickups.oxi
   code/branches/pickup/data/levels/pickups.oxw
   code/branches/pickup/data/levels/templates/pickupRepresentationTemplates.oxt
Log:
copypasted templates for medium and huge in pickupRepresentationTemplates.oxt

Modified: code/branches/pickup/data/levels/includes/pickups.oxi
===================================================================
--- code/branches/pickup/data/levels/includes/pickups.oxi	2011-05-23 13:54:40 UTC (rev 8542)
+++ code/branches/pickup/data/levels/includes/pickups.oxi	2011-05-23 14:01:49 UTC (rev 8543)
@@ -209,3 +209,15 @@
     </pickup>
 </PickupRepresentation>
 
+<!-- Shrink Pickup -->
+
+<PickupRepresentation
+    pickupName = "Shrink Pickup"
+    pickupDescription = "Adds a Drone to the Players Spaceship"
+    spawnerTemplate = "smallshrinkpickupRepresentation"
+>
+    <pickup>
+        <ShrinkPickup template=smallshrinkpickup />
+    </pickup>
+</PickupRepresentation>
+

Modified: code/branches/pickup/data/levels/pickups.oxw
===================================================================
--- code/branches/pickup/data/levels/pickups.oxw	2011-05-23 13:54:40 UTC (rev 8542)
+++ code/branches/pickup/data/levels/pickups.oxw	2011-05-23 14:01:49 UTC (rev 8543)
@@ -191,7 +191,7 @@
 
     <PickupSpawner position="-30,-30,-30" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
       <pickup>
-        <ShrinkPickup shrinkFactor = "5.0" duration = "5.0" shrinkSpeed = "5.0"/>
+        <ShrinkPickup template ="smallshrinkpickup"/>
       </pickup>
     </PickupSpawner>
 

Modified: code/branches/pickup/data/levels/templates/pickupRepresentationTemplates.oxt
===================================================================
--- code/branches/pickup/data/levels/templates/pickupRepresentationTemplates.oxt	2011-05-23 13:54:40 UTC (rev 8542)
+++ code/branches/pickup/data/levels/templates/pickupRepresentationTemplates.oxt	2011-05-23 14:01:49 UTC (rev 8543)
@@ -395,6 +395,78 @@
   />
 </Template>
 
+<Template name=smallshrinkpickupRepresentation>
+    <PickupRepresentation>
+        <spawner-representation>
+            <StaticEntity>
+                <attached>
+                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
+                        <attached>
+                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.9 />
+                        </attached>
+                    </Billboard>
+                </attached>
+            </StaticEntity>
+        </spawner-representation>
+    </PickupRepresentation>
+</Template>
+
+<Template name=smallshrinkpickup>
+  <InvisiblePickup 
+    duration = 20.0
+    activaionType = "immediate"
+    durationType = "continuous"
+  />
+</Template>
+
+<Template name=mediumshrinkpickupRepresentation>
+    <PickupRepresentation>
+        <spawner-representation>
+            <StaticEntity>
+                <attached>
+                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.2>
+                        <attached>
+                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=2.0 />
+                        </attached>
+                    </Billboard>
+                </attached>
+            </StaticEntity>
+        </spawner-representation>
+    </PickupRepresentation>
+</Template>
+
+<Template name=mediumshrinkpickup>
+  <InvisiblePickup 
+    duration = 20.0
+    activaionType = "immediate"
+    durationType = "continuous"
+  />
+</Template>
+
+<Template name=hugeshrinkpickupRepresentation>
+    <PickupRepresentation>
+        <spawner-representation>
+            <StaticEntity>
+                <attached>
+                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.3>
+                        <attached>
+                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=3.0 />
+                        </attached>
+                    </Billboard>
+                </attached>
+            </StaticEntity>
+        </spawner-representation>
+    </PickupRepresentation>
+</Template>
+
+<Template name=hugeshrinkpickup>
+  <InvisiblePickup 
+    duration = 20.0
+    activaionType = "immediate"
+    durationType = "continuous"
+  />
+</Template>
+
 <!-- Pickup Collection pickups -->
 
 <Template name=triplehealthspeedinvisibilitypickupRepresentation>




More information about the Orxonox-commit mailing list