Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8543


Ignore:
Timestamp:
May 23, 2011, 4:01:49 PM (14 years ago)
Author:
ssgier
Message:

copypasted templates for medium and huge in pickupRepresentationTemplates.oxt

Location:
code/branches/pickup/data/levels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup/data/levels/includes/pickups.oxi

    r7163 r8543  
    210210</PickupRepresentation>
    211211
     212<!-- Shrink Pickup -->
     213
     214<PickupRepresentation
     215    pickupName = "Shrink Pickup"
     216    pickupDescription = "Adds a Drone to the Players Spaceship"
     217    spawnerTemplate = "smallshrinkpickupRepresentation"
     218>
     219    <pickup>
     220        <ShrinkPickup template=smallshrinkpickup />
     221    </pickup>
     222</PickupRepresentation>
     223
  • code/branches/pickup/data/levels/pickups.oxw

    r8534 r8543  
    192192    <PickupSpawner position="-30,-30,-30" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
    193193      <pickup>
    194         <ShrinkPickup shrinkFactor = "5.0" duration = "5.0" shrinkSpeed = "5.0"/>
     194        <ShrinkPickup template ="smallshrinkpickup"/>
    195195      </pickup>
    196196    </PickupSpawner>
  • code/branches/pickup/data/levels/templates/pickupRepresentationTemplates.oxt

    r7679 r8543  
    389389
    390390<Template name=hugeinvisiblepickup>
     391  <InvisiblePickup
     392    duration = 20.0
     393    activaionType = "immediate"
     394    durationType = "continuous"
     395  />
     396</Template>
     397
     398<Template name=smallshrinkpickupRepresentation>
     399    <PickupRepresentation>
     400        <spawner-representation>
     401            <StaticEntity>
     402                <attached>
     403                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
     404                        <attached>
     405                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.9 />
     406                        </attached>
     407                    </Billboard>
     408                </attached>
     409            </StaticEntity>
     410        </spawner-representation>
     411    </PickupRepresentation>
     412</Template>
     413
     414<Template name=smallshrinkpickup>
     415  <InvisiblePickup
     416    duration = 20.0
     417    activaionType = "immediate"
     418    durationType = "continuous"
     419  />
     420</Template>
     421
     422<Template name=mediumshrinkpickupRepresentation>
     423    <PickupRepresentation>
     424        <spawner-representation>
     425            <StaticEntity>
     426                <attached>
     427                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.2>
     428                        <attached>
     429                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=2.0 />
     430                        </attached>
     431                    </Billboard>
     432                </attached>
     433            </StaticEntity>
     434        </spawner-representation>
     435    </PickupRepresentation>
     436</Template>
     437
     438<Template name=mediumshrinkpickup>
     439  <InvisiblePickup
     440    duration = 20.0
     441    activaionType = "immediate"
     442    durationType = "continuous"
     443  />
     444</Template>
     445
     446<Template name=hugeshrinkpickupRepresentation>
     447    <PickupRepresentation>
     448        <spawner-representation>
     449            <StaticEntity>
     450                <attached>
     451                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.3>
     452                        <attached>
     453                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=3.0 />
     454                        </attached>
     455                    </Billboard>
     456                </attached>
     457            </StaticEntity>
     458        </spawner-representation>
     459    </PickupRepresentation>
     460</Template>
     461
     462<Template name=hugeshrinkpickup>
    391463  <InvisiblePickup
    392464    duration = 20.0
Note: See TracChangeset for help on using the changeset viewer.