Difference between revisions of "Hazard"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>ChikkenChazer
(Introduce Hazard page (copy from Skyrim CK Wiki with minor modifications))
 
imported>Qazaaq
Line 1: Line 1:
[[Category:Object Classes]]
'''Type:''' <code>HAZD</code>
[[Category:Special Effect]]
<BR/>
==Hazard Dialog==
'''Papyrus:''' [[Hazard Script]]
*'''ID:''' Unique identifier for this form.
 
*'''Name:''' Display name. Not displayed in game.
== Editor Dialog ==
[[File:Hazard_Editor.png|right]]
*{{Template:Editor:Property:ID}}
*{{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 NIF file to be used; for example "TurnUndeadHazard.Nif" for the ringed effect for the turn undead spell.
*'''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:''' 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.)
*'''Radius:''' This is the radius of the area of influence of the Hazard.
*'''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).
*'''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.
*'''IS Radius:''' The radius within which the specified ''IS Mod'' is applied.
*'''Light:''' A [[Light]] to attach to the Hazard.
*'''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.
*'''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 "Audio - Sound Descriptor" Sound effect played during Hazard.
*{{Template:Editor:Property:Sound}}
*'''IS Mod:''' An [[ImageSpace Modifiers|ImageSpace Modifier]] to 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''.
*'''Impact Data Set:''' [Unknown/Not Yet Tested]
*{{Template:Editor:Property:Impact Data Set}}
 
*'''Taber Effectiveness by Proximity
'''Taber Effectiveness by Proximity
*'''Full Effect Radius:''' [Unknown/Not Yet Tested]
*'''Full Effect Radius:''' [Unknown/Not Yet Tested]
*'''Taper Weight:''' [Unknown/Not Yet Tested]
*'''Taper Weight:''' [Unknown/Not Yet Tested]
*'''Taper Curve:''' [Unknown/Not Yet Tested]
*'''Taper Curve:''' [Unknown/Not Yet Tested]
*'''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 NIF to loop for as long as defined in the spell / impact.
**'''Inherit Radius From Spawn Spell:''' [Unknown/Not Yet Tested]
**'''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.


'''Flags'''
{{ClearFloats}}
*'''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.
== See Also ==
*'''Inherit Radius From Spawn Spell:''' [Unknown/Not Yet Tested]
*[[:Category:Special Effect|Special Effect Category]]
*'''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.
 
[[Category:Editor Reference]]
[[Category:Object Classes]]
[[Category:Special Effect]]

Revision as of 21:45, 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 NIF file to be used; for example "TurnUndeadHazard.Nif" for the ringed effect for the turn undead spell.
  • 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: [Unknown/Not Yet Tested]
  • Taper Weight: [Unknown/Not Yet Tested]
  • Taper Curve: [Unknown/Not Yet Tested]
  • 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 NIF to loop for as long as defined in the spell / impact.
    • Inherit Radius From Spawn Spell: [Unknown/Not Yet Tested]
    • 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.

See Also