Difference between revisions of "Hazard"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Unknown properties should simply be left blank.)
imported>Qazaaq
m
Line 7: Line 7:
*{{Template:Editor:Property:ID}}
*{{Template:Editor:Property:ID}}
*{{Template:Editor:Property:Name}} Not displayed in game.
*{{Template:Editor:Property:Name}} Not displayed in game.
*'''Art File:''' The NIF file to be used; for example "TurnUndeadHazard.Nif" for the ringed effect for the turn undead spell.
*'''Art File:''' The [[Model File]] file to be used.
*'''Lifetime:''' Duration of the effect. If set to 0.0, the Hazard lasts indefinitely.
*'''Lifetime:''' Duration of the effect. If set to 0.0, the Hazard lasts indefinitely.
*'''Limit (0=no limit):''' The maximum number of the Hazard that can be present at once. (When the limit is passed, hazards will be removed, with the oldest ones being removed first.)
*'''Limit (0=no limit):''' The maximum number of the Hazard that can be present at once. (When the limit is passed, hazards will be removed, with the oldest ones being removed first.)
Line 18: Line 18:
*{{Template:Editor:Property:ImageSpace Modifier|property=IS Mod}} This will be applied when the camera is within the ''IS Radius''.
*{{Template:Editor:Property:ImageSpace Modifier|property=IS Mod}} This will be applied when the camera is within the ''IS Radius''.
*{{Template:Editor:Property:Impact Data Set}}
*{{Template:Editor:Property:Impact Data Set}}
*'''Taber Effectiveness by Proximity
*'''Taber Effectiveness by Proximity:'''
*'''Full Effect Radius:'''
*'''Full Effect Radius:'''
*'''Taper Weight:'''
*'''Taper Weight:'''
Line 24: Line 24:
*'''Flags'''
*'''Flags'''
**'''Affects Player Only:''' Note: If the player cast the spell that the Hazard is attached to, then the Hazard will not affect the player even if this flag is set.
**'''Affects Player Only:''' Note: If the player cast the spell that the Hazard is attached to, then the Hazard will not affect the player even if this flag is set.
**'''Inherit Duration From Spawn Spell:''' Causes the animated (loop) part of the associated NIF to loop for as long as defined in the spell / impact.
**'''Inherit Duration From Spawn Spell:''' Causes the animated (loop) part of the associated [[Model File]] to loop for as long as defined in the spell / impact.
**'''Inherit Radius From Spawn Spell:''' [Unknown/Not Yet Tested]
**'''Inherit Radius From Spawn Spell:'''
**'''Align to Impact Normal:''' Rotates the hazard such that its up-vector matches the impact normal; the hazard will align with the surface it is spawned against.
**'''Align to Impact Normal:''' Rotates the hazard such that its up-vector matches the impact normal; the hazard will align with the surface it is spawned against.
**'''Drop to Ground:''' Causes the associated NIF to appear close to the ground upon impact.
**'''Drop to Ground:''' Causes the associated [[Model File]] to appear close to the ground upon impact.


{{ClearFloats}}
{{ClearFloats}}

Revision as of 22:04, 14 December 2017

Type: HAZD
Papyrus: Hazard Script

Editor Dialog

Hazard Editor.png
  • ID: The ID, also referred to as Editor ID, is used by the Creation Kit to uniquely identify this record within a Data File.
  • Name: This object's name as it will appear within user interface menus or when the player looks at it. Not displayed in game.
  • Art File: The Model File file to be used.
  • Lifetime: Duration of the effect. If set to 0.0, the Hazard lasts indefinitely.
  • Limit (0=no limit): The maximum number of the Hazard that can be present at once. (When the limit is passed, hazards will be removed, with the oldest ones being removed first.)
  • Radius: This is the radius of the area of influence of the Hazard.
  • Target Interval: Interval in seconds between each Hazard effect's casting/activation, ie. setting to 5 will activate effects of Hazard once every 5 seconds. If the effect is a magic spell, this is the interval in seconds between each spell casted by the Hazard's effect. eg. if this value is set to 5 s. and the spell has a duration of 60 s., then the next cast will happen 65 s. after the current cast (5 s. after the current casted spell).
  • IS Radius: The radius within which the specified IS Mod is applied.
  • Light: A Light to attach to the Hazard.
  • Spell: The concentration spell to apply to any Actors within the Hazard's radius. Note: the "Caster" is always unaffected by the Hazard.
  • Sound: The Sound Descriptor to play.
  • IS Mod: The ImageSpace Modifier to use. This will be applied when the camera is within the IS Radius.
  • Impact Data Set: The ImpactDataSet to use.
  • Taber Effectiveness by Proximity:
  • Full Effect Radius:
  • Taper Weight:
  • Taper Curve:
  • Flags
    • Affects Player Only: Note: If the player cast the spell that the Hazard is attached to, then the Hazard will not affect the player even if this flag is set.
    • Inherit Duration From Spawn Spell: Causes the animated (loop) part of the associated Model File to loop for as long as defined in the spell / impact.
    • Inherit Radius From Spawn Spell:
    • Align to Impact Normal: Rotates the hazard such that its up-vector matches the impact normal; the hazard will align with the surface it is spawned against.
    • Drop to Ground: Causes the associated Model File to appear close to the ground upon impact.

See Also