Difference between revisions of "Visual Effect"

From the CreationKit Wiki
Jump to navigation Jump to search
(made the formatting less terrible)
(moved lang bar to bottom as per wiki recommendation; removed information that's just general CK usage info and not specific to the form type)
 
Line 1: Line 1:
{{Languages|Visual Effect}}
'''Visual Effect''' objects are found in the [[Object Window]] under [[:Category:WorldData|WorldData]]. They are similar to [[Art Object]]s, but they can be [[Play - VisualEffect|applied to objects via Papyrus scripts]] instead of only being triggered by hardcoded engine behaviors.
'''Visual Effect''' objects are found in the [[Object Window]] under [[:Category:WorldData|WorldData]].


To create a new Visual Effect, right-click in the list of visual effects in the [[Object Window]] and select "new" from the popup. To create a new Visual Effect based off an existing one, right-click the Visual Effect you wish to use as a basis and select "duplicate".  To delete an existing Visual Effect, right-click that Visual Effect and select delete.
One example of a Visual Effect is the glow of a Draugr's eyes. The glow is turned on and off by the ''DraugrFXScript'' Papyrus script (attached to a [[Magic Effect]]), and the 3D model used for the glow contains special data (see talk page) which tells the game to attach the glow to the Draugr's head specifically.


== Visual Effect ==
== Visual Effect ==
Line 15: Line 14:
[[Category:WorldData]]
[[Category:WorldData]]
[[Category:Object Classes]]
[[Category:Object Classes]]
{{Languages|Visual Effect}}

Latest revision as of 20:13, 20 August 2024

Visual Effect objects are found in the Object Window under WorldData. They are similar to Art Objects, but they can be applied to objects via Papyrus scripts instead of only being triggered by hardcoded engine behaviors.

One example of a Visual Effect is the glow of a Draugr's eyes. The glow is turned on and off by the DraugrFXScript Papyrus script (attached to a Magic Effect), and the 3D model used for the glow contains special data (see talk page) which tells the game to attach the glow to the Draugr's head specifically.

Visual Effect[edit | edit source]

  • ID: The editor ID of the visual effect.
  • Effect Art: An art object used to provide the visuals.
  • Shader: An EffectShader can be applied alongside this visual effect.
  • Rotate To Face Target: This option is used by the scripting system to rotate (or aim) the art object towards another "target" reference (something other than the effect target).
  • Attach to camera: When this visual effect is applied, the art will be positioned at and move with the camera if this box is checked. This only applies to effect art.
  • Inherit Rotation: If the Visual Effect is camera-attached, this setting controls whether the art rotates with the camera or stays aligned to the world.

Jb VisualEffect01a.jpg

Language: English  • русский