Changeset 7493 for code/trunk/src/modules/pickup/items
- Timestamp:
- Sep 27, 2010, 7:53:30 PM (14 years ago)
- Location:
- code/trunk/src/modules/pickup/items
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/items/HealthPickup.h
r7456 r7493 62 62 A pickup that can do (dependent upon the parameters) lots of different things to the health of a Pawn. 63 63 There are 4 parameters that can be chosen: 64 1) The health.The amount of health that (in a way dependent on the other parameters) is transfered to the Pawn.65 2) The activation type:It can be chosen to be either 'immediate' or 'onUse'. The activation type essentially (as indicated by the name) defines when the health is transfered, either immediately after being picked up or only after the player uses it.66 3) The duration type:It can be chosen to be either 'once' or 'continuous'. For 'once' the specified health is transfered once to the Pawn, for 'continuous' the set health is transfered over a span of time at a rate defined by the health rate parameter.67 4) The health type:The health type can be chosen to be 'limited', 'temporary' or 'permanent'. 'limited' means that the health is increased only to the maximum health of the Pawn. 'temporary' means that the maximum health is temporarily elevated but will be set back as soon as the pickup is no longer in use. 'permanent' means that the maximum health of the Pawn is increased such that the health provided by the pickup will fit in and the maximum health stays that way.64 - The @b health The amount of health that (in a way dependent on the other parameters) is transfered to the Pawn. 65 - The @b activation @b type It can be chosen to be either 'immediate' or 'onUse'. The activation type essentially (as indicated by the name) defines when the health is transfered, either immediately after being picked up or only after the player uses it. 66 - The @b duration @b type It can be chosen to be either 'once' or 'continuous'. For 'once' the specified health is transfered once to the Pawn, for 'continuous' the set health is transfered over a span of time at a rate defined by the health rate parameter. 67 - The @b health @b type The health type can be chosen to be 'limited', 'temporary' or 'permanent'. 'limited' means that the health is increased only to the maximum health of the Pawn. 'temporary' means that the maximum health is temporarily elevated but will be set back as soon as the pickup is no longer in use. 'permanent' means that the maximum health of the Pawn is increased such that the health provided by the pickup will fit in and the maximum health stays that way. 68 68 @author 69 69 Damian 'Mozork' Frick -
code/trunk/src/modules/pickup/items/InvisiblePickup.h
r7456 r7493 50 50 A pickup that makes the Pawn invisible. 51 51 There are 2 parameters that can be chosen: 52 1) The activation type:It can be chosen to be either 'immediate' or 'onUse'. The activation type essentially (as indicated by the name) defines when the Pawn will be invisible, either immediately after being picked up or only after the player uses it.53 2) The duration type:It can be chosen how long the Pawn will be invisibel.52 - The @b activation @b type It can be chosen to be either 'immediate' or 'onUse'. The activation type essentially (as indicated by the name) defines when the Pawn will be invisible, either immediately after being picked up or only after the player uses it. 53 - The @b duration @b type It can be chosen how long the Pawn will be invisibel. 54 54 @author 55 55 Benedict Simlinger -
code/trunk/src/modules/pickup/items/MetaPickup.h
r7456 r7493 58 58 @brief 59 59 The MetaPickup is a pickup that can, depending on the parameter 'metaType', do different things. If the 'metaType' is set to 60 1) 'use', all the pickups, the PickupCarrier has, are immediately set to used upon pickup of the MetaPickup.61 2) 'drop', all the pickups, the PickupCarrier has, are immediately dropped upon pickup of the MetaPickup.62 3) 'destroy', all the pickups, the PickupCarrier has, are immediately destroyed upon pickup of the MetaPickup.63 4) 'destroyCarrier', the PickupCarrier is immediately destroyed upon pickup of the MetaPickup.60 - @b use All the pickups, the PickupCarrier has, are immediately set to used upon pickup of the MetaPickup. 61 - @b drop All the pickups, the PickupCarrier has, are immediately dropped upon pickup of the MetaPickup. 62 - @b destroy All the pickups, the PickupCarrier has, are immediately destroyed upon pickup of the MetaPickup. 63 - @b destroyCarrier The PickupCarrier is immediately destroyed upon pickup of the MetaPickup. 64 64 @author 65 65 Damian 'Mozork' Frick -
code/trunk/src/modules/pickup/items/ShieldPickup.h
r7456 r7493 51 51 A Pickup which can add a Shield to the Pawn. 52 52 53 1) The percentage: The percentage the shield takes from the damage dealt to a Pawn 54 2) The hit points: The amount of damage points a shield can teake before collapsing 55 3) The activation type: 'immediate' or 'onUse'. defines if the item is used when it's picked up or only after the player chooses to use it. 56 4) The duration: the activation time of the pickup. 53 There are 4 parameters that can be cosen. 54 - The @b percentage The percentage the shield takes from the damage dealt to a Pawn 55 - The @b hit @b points The amount of damage points a shield can teake before collapsing 56 - The @b activation @b type 'immediate' or 'onUse'. defines if the item is used when it's picked up or only after the player chooses to use it. 57 - The @b duration the activation time of the pickup. 57 58 58 59 @author -
code/trunk/src/modules/pickup/items/SpeedPickup.h
r7456 r7493 50 50 A Pickup which can manipulate the Speed of a Pawn. 51 51 52 1) The speed multiplier: 53 The additional (forward) speed: 54 2) The activation type: 'immediate' or 'onUse'. defines if the item is used when it's picked up or only after the player chooses to use it. 55 4) The duration: the activation time of the pickup. 52 There are 4 parameters that can be cosen: 53 - The @b speed @b multiplier 54 - The @b additional (forward) @b speed 55 - The @b activation @b type 'immediate' or 'onUse'. defines if the item is used when it's picked up or only after the player chooses to use it. 56 - The @b duration The activation time of the pickup. 56 57 57 58 @author
Note: See TracChangeset
for help on using the changeset viewer.