cst-vfx-rules

Enforce standardized VFX rules for CaptainSkillTree skills using SimpleVFX and VFXManager.

1|Updated Jul 15, 2025
One-click install
npx skills add https://github.com/KorCaptain/Valheim_Captain_SkillTree --skill cst-vfx-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cst-vfx-rules
Source: https://github.com/KorCaptain/Valheim_Captain_SkillTree/tree/main/.claude/skills/cst-vfx-rules
Command: npx skills add https://github.com/KorCaptain/Valheim_Captain_SkillTree --skill cst-vfx-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This set of guidelines defines and enforces standardized VFX rules for CaptainSkillTree skills, ensuring consistent visuals and safe usage across skill implementations.

Core Features & Use Cases

  • Use SimpleVFX for custom assets to keep VFX lightweight and safe.
  • Use Valheim's VFXManager.PlayVFXMultiplayer for base VFX and automatic multiplayer synchronization.
  • Avoid VFXManager.PlayVFXHybrid, and do not combine Instantiate() with AudioSource.PlayClipAtPoint to prevent loading issues.
  • Register VFX via ZNetScene using the UnifiedVfxPrefabRegisterPatch and maintain a central VFX list at asset/VFX.

Quick Start

Register VFX rules by following the VFX registration guide in the project and apply them to the desired skill.

Frequently Asked Questions about cst-vfx-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register custom VFX prefabs in Valheim for server-synced multiplayer mods?

To register custom VFX prefabs in Valheim multiplayer, use the UnifiedVfxPrefabRegisterPatch to register them with ZNetScene and maintain a central VFX list at asset/VFX for consistent server synchronization.

What is the correct way to play base game VFX with automatic multiplayer synchronization in Valheim?

The correct way to play base game VFX with automatic multiplayer synchronization in Valheim is using VFXManager.PlayVFXMultiplayer, which safely handles network sync across single-player and server contexts.

Why should I avoid VFXManager.PlayVFXHybrid and Instantiate when adding visual effects to Unity mods?

You should avoid VFXManager.PlayVFXHybrid and combining Instantiate with AudioSource.PlayClipAtPoint because they cause loading issues; instead, use SimpleVFX for custom assets to keep visuals lightweight and safe.

How do I add new visual effects to CaptainSkillTree skills without breaking multiplayer sync?

To add new visual effects to CaptainSkillTree skills without breaking multiplayer sync, apply standardized VFX rules by using SimpleVFX for custom assets and VFXManager.PlayVFXMultiplayer for base game VFX.

Does this VFX registration approach work for both single-player and server-synced Valheim contexts?

Yes, this VFX registration approach works for both single-player and server-synced Valheim contexts by enforcing standardized rules through UnifiedVfxPrefabRegisterPatch and VFXManager.PlayVFXMultiplayer.

What are the limitations of using direct Instantiate for VFX in Valheim modding?

The limitations of using direct Instantiate for VFX in Valheim modding include loading issues and lack of multiplayer synchronization, which is why it is prohibited in favor of SimpleVFX and VFXManager.PlayVFXMultiplayer.