SpatialFear.SFSmartVestUpgrade

Spatial Fear
Class: SFSmartVestUpgrade
Description: Subclass of SFPickup, implements an upgrade module for the
smart vest. These can be collected as active items and when
activated add their amount of damage protection to the smart
vest.
Remark: The smart vest has an upper limit on the upgradable
damage protection, so the player cannot get invunerable

Created by: Markus Nuebel

Extends:
Modifiers:
Source code

SpatialFear.SFSmartVestUpgrade
%%

Variables

%function_comment%
boolm_bUsed
%function_comment%
floatProtectionAmount
%function_comment%
EDamageProtectionProtectionType

Enums

%function_comment%
EDamageProtectionDP_None,
DP_Gravity,
DP_Ballistic,
DP_Chemical,
DP_Fire,
DP_Radiation,

Functions

Activate ()
ActivatedBeginState ()
ActivatedEndstate ()
stringgetDamageType ()

Default properties

{
     ProtectionAmount=0.100000
     bIsActiveItem=True
     bActivatable=True
     CollisionRadius=13.000000
     CollisionHeight=5.000000
}


class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:42 PM
Created with UnCodeX