Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 8, 2014, 4:20:26 PM (11 years ago)
Author:
noep
Message:

Added PartDestructionEvent, possibly fixed one out of two runtimeerrors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/data/levels/templates/HeavyCruiser.oxt

    r10029 r10052  
    5151   
    5252    <parts>
    53         <ShipPart name="frontL" initialhealth="10" damageabsorption="0.5" />
     53        <ShipPart name="frontL" initialhealth="10" damageabsorption="0.5">
     54            <destructionevents>
     55                <PartDestructionEvent targetType="ship" targetParam="shieldhealth" operation="*" value="0.5"/>
     56            </destructionevents>
     57        </ShipPart>
    5458        <ShipPart name="frontR" initialhealth="10" damageabsorption="0.5" />
    5559        <ShipPart name="partL" initialhealth="10" damageabsorption="0.5" />
Note: See TracChangeset for help on using the changeset viewer.