Legacy:NitrogenZone: Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
Added details
mNo edit summary
 
Line 3: Line 3:
This zone is used in DM-Pyramid as the [[Legacy:ZoneInfo|ZoneInfo]] object for the central floating area.  A Nitrogen zone behaves in a similar way to a water zone in the players can "swim" around in it but their movement is twice as quick as it would be in a normal water zone.
This zone is used in DM-Pyramid as the [[Legacy:ZoneInfo|ZoneInfo]] object for the central floating area.  A Nitrogen zone behaves in a similar way to a water zone in the players can "swim" around in it but their movement is twice as quick as it would be in a normal water zone.


==Properties ==
==Default Properties ==


''DamagePerSec'' = 20<br />''DamageType'' = Frozen<br />''bWaterZone'' = True<br />''bPainZone'' = True<br />''ViewFog'' = (X=0.011719,Y=0.039063,Z=0.046875)<br />
This class doesn't add any new properties or behaviour. It holds the following defaults:
 
*''DamagePerSec'' = 20
*''DamageType'' = Frozen
*''bWaterZone'' = True
*''bPainZone'' = True
*''ViewFog'' = (X=0.011719,Y=0.039063,Z=0.046875)


==Events ==
==Events ==

Latest revision as of 05:05, 30 May 2002

Actor >> Info (UT) >> ZoneInfo >> NitrogenZone

This zone is used in DM-Pyramid as the ZoneInfo object for the central floating area. A Nitrogen zone behaves in a similar way to a water zone in the players can "swim" around in it but their movement is twice as quick as it would be in a normal water zone.

Default Properties

This class doesn't add any new properties or behaviour. It holds the following defaults:

  • DamagePerSec = 20
  • DamageType = Frozen
  • bWaterZone = True
  • bPainZone = True
  • ViewFog = (X=0.011719,Y=0.039063,Z=0.046875)

Events

event ActorEntered( actor Other )
When the actor enters the zone increase the default water speed by a factor of two, and set the underwater time to -1 (so the player can't drown).
event ActorLeaving( actor Other )
When the actor leaves the zone re-set the water speed and underwater time to their defaults.