Skip to reading
Shaders, Effects & Layered Scenery

A2. Bolt and attachment references

Edition 0.86.4.0

Revised 0.86.4.0 edition with new supplements; earlier 0.86.3.4 lessons and screenshot labels are retained within the supplied PDF.

Download PDFView PDF page
Source table from A2. Bolt and attachment references, page 84
Lightning propertyPurpose
particle.boltWidth / boltLengthUse particle. on each; thickness / straight-bolt length.
particle.flashDuration / flashIntervalUse particle. on each; visible time / dark interval, in seconds.
particle.boltJaggedness / boltSegmentsUse particle. on each; irregularity / segment count.
particle.ribbonBoolean: camera-facing flat arc/bolt geometry.
Lightning Ball: particle.sizeDiameter; straight Bolt Length is not used.
Source table from A2. Bolt and attachment references, page 84
Attach Particle Effect optionExample
entityIdhand_orb: an already-authored Particle entity.
targetIdplayer or a live entity ID such as ada.
targetPointright_hand_grip; empty means target origin.
offset[0,0.04,0], relative to the point.

The Inspector stores the initial particle link as attachmentTargetId, attachmentPoint and attachmentOffset. For a live link change, use Attach Particle Effect or Detach Particle Effect so the runtime attachment relationship is updated.

Persistent attachment operates within the loaded room. Self-links, cycles, unavailable named points and incompatible native 2D/3D pairs are rejected. A missing point should be corrected, not silently replaced with a guessed room position.

Page 84 of 93Permalink
Go to page