Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 12, 2016, 1:45:44 PM (8 years ago)
Author:
tgidron
Message:

New Pickup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tgidronFS16/data/levels/Hover.oxw

    r11177 r11182  
    5151</Template> -->
    5252
     53<!-- Shrink Pickup Representation -->
     54
     55<Template name=smallshrinkpickupRepresentation>
     56    <PickupRepresentation>
     57        <spawner-representation>
     58            <StaticEntity>
     59                <attached>
     60                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
     61                        <attached>
     62                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.35 />
     63                        </attached>
     64                    </Billboard>
     65                </attached>
     66            </StaticEntity>
     67        </spawner-representation>
     68    </PickupRepresentation>
     69</Template>
     70
     71
     72<Template name=smallshrinkpickup baseclass=ShrinkPickup>
     73  <ShrinkPickup
     74    representation = "smallshrinkpickup"
     75    duration = 10.0
     76    shrinkFactor = 2.5
     77    activaionType = "immediate"
     78    durationType = "continuous"
     79  />
     80</Template>
     81
     82<!-- Speed Pickup Representation -->
     83
    5384<Template name=hugespeedpickupRepresentation>
    5485    <PickupRepresentation>
     
    78109</Template>
    79110
    80 
     111<!-- Destroy Carrier Pickup Representation -->
    81112
    82113<Template name=destroyhoverpickupRepresentation>
     
    99130  <MetaPickup representation="destroyhover" metaType="destroyCarrier" />
    100131</Template>
     132
     133<!-- Obstacle (crate) Template -->
    101134
    102135<Template name=obstacle baseclass=Pawn>
     
    146179      inventoryRepresentation = "HugeSpeed"
    147180    />
     181
     182    <PickupRepresentation
     183      name = "smallshrinkpickup"
     184      pickupName = "Small Shrink"
     185      pickupDescription = "Shrinks the ship by a small amount."
     186      spawnerTemplate = "smallshrinkpickupRepresentation"
     187      inventoryRepresentation = "SmallShrink"
     188    />
    148189<!--
    149190    <PickupRepresentation
     
    164205          pickuptemplate=destroyhoverpickup
    165206          pickuprepresentationtemplate=destroyhoverpickupRepresentation
    166           pickuptemplatedam=hugespeedpickup
    167           pickuprepresentationtemplatedam=hugespeedpickupRepresentation
     207          pickuptemplatespeed=hugespeedpickup
     208          pickuprepresentationtemplatespeed=hugespeedpickupRepresentation
     209          pickuptemplateshrink=smallshrinkpickup
     210          pickuprepresentationtemplateshrink=smallshrinkpickupRepresentation
    168211        />
    169212        <Model
Note: See TracChangeset for help on using the changeset viewer.