Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2012, 3:56:56 PM (12 years ago)
Author:
lkevin
Message:

Changed pickup icon and xml for possible varieties of the pickup in the future.

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

Legend:

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

    r8713 r9155  
    210210</PickupRepresentation>
    211211
     212<!-- DamageBoost Pickup -->
     213
     214<PickupRepresentation
     215    pickupName = "DamageBoost Pickup"
     216    pickupDescription = "Multiplies the ship damage."
     217    spawnerTemplate = "damageboostpickupRepresentation"
     218>
     219    <pickup>
     220        <DamageBoostPickup template=damageboostpickup />
     221    </pickup>
     222</PickupRepresentation>
     223
    212224<!-- Shrink Pickup -->
    213225
  • code/branches/pickup2012/data/levels/pickups.oxw

    r9118 r9155  
    171171    <!-- DamageBoost pickup -->
    172172   
    173     <PickupSpawner position="-100,300,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    174       <pickup>
    175         <DamageBoostPickup template=normaldamageboostpickup />
     173    <PickupSpawner position="-50,75,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
     174      <pickup>
     175        <DamageBoostPickup template=damageboostpickup />
    176176      </pickup>
    177177    </PickupSpawner>
  • code/branches/pickup2012/data/levels/templates/pickupRepresentationTemplates.oxt

    r9118 r9155  
    218218<!-- DamageBoost pickups -->
    219219
    220 <Template name=normaldamageboostpickupRepresentation>
    221     <PickupRepresentation>
    222         <spawner-representation>
    223             <StaticEntity>
    224                 <attached>
    225                     <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.5>
    226                         <attached>
    227                             <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.5 />
    228                         </attached>
    229                     </Billboard>
    230                 </attached>
    231             </StaticEntity>
    232         </spawner-representation>
    233     </PickupRepresentation>
    234 </Template>
    235 
    236 <Template name=normaldamageboostpickup>
     220<Template name=damageboostpickupRepresentation>
     221    <PickupRepresentation>
     222        <spawner-representation>
     223            <StaticEntity>
     224                <attached>
     225                    <Billboard position="0,0,0" colour="0.10,0.20,0.30" material="Sphere2" scale=0.1 >
     226                        <attached>
     227                            <Billboard position="0,0,0" colour="0.30,0.30,0.30" material="damage" scale=0.7 />
     228                        </attached>
     229                    </Billboard>
     230                </attached>
     231            </StaticEntity>
     232        </spawner-representation>
     233    </PickupRepresentation>
     234</Template>
     235
     236<Template name=damageboostpickup>
    237237  <DamageBoostPickup
    238238    duration = 10.0
     239    damageMultiplier = 20.0
    239240    activationType = "immediate"
    240241    durationType = "continuous"
Note: See TracChangeset for help on using the changeset viewer.