galaxy-actor-and-visuals

Automate Galaxy actor creation, attachment, animation, tint, scale, and opacity management.

3|2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/ShadowDragonSC2/Base.SC2Data --skill galaxy-actor-and-visuals-shadowdragonsc2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: galaxy-actor-and-visuals
Source: https://github.com/ShadowDragonSC2/Base.SC2Data/tree/main/.koda/skills/galaxy-actor-and-visuals
Command: npx skills add https://github.com/ShadowDragonSC2/Base.SC2Data --skill galaxy-actor-and-visuals-shadowdragonsc2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing in-game actors, visual effects, and animations in Galaxy scripts is repetitive, error-prone, and hard to reuse across maps.

Core Features & Use Cases

  • Actor creation and attachment to units (ActorCreate, libNtve_gf_AttachModelToUnit)
  • Animation, tint, scale, and visibility control (PlayAnimation, SetTintColor, SetScale, SetOpacity)
  • Clear separation of visuals from gameplay logic with guidance on safe usage for deterministic results

Quick Start

Create a model actor and attach it to a unit using ActorCreate and AttachModelToUnit.

Frequently Asked Questions about galaxy-actor-and-visuals

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

FAQPage Schema
How do I control SC2 unit visuals and animations with Galaxy scripting?

You control SC2 unit visuals using Galaxy scripting by centralizing actor creation, model attachments, and animation control. This approach manages functions like ActorCreate and PlayAnimation separately from gameplay logic for deterministic, reusable map and campaign visual effects.

What is the best way to attach a model to a unit in Galaxy script?

The best way to attach a model to a unit in Galaxy script is using centralized functions like ActorCreate and AttachModelToUnit. This reduces repetitive code and ensures deterministic visual results by keeping visual scripting separate from gameplay logic.

Can I adjust actor tinting, scale, and opacity dynamically in SC2 maps?

Yes, you can dynamically adjust actor tinting, scale, and opacity in SC2 maps. The Galaxy script uses SetTintColor, SetScale, and SetOpacity functions to modify model actors, ensuring visual changes are easily reusable and deterministic across map and campaign environments.

Why should I separate visual scripting from gameplay logic in StarCraft 2?

Separating visual scripting from gameplay logic in StarCraft 2 ensures deterministic results and reduces repetitive code. Centralizing actor messages and animation control prevents errors and makes model attachments, tinting, and scaling easily reusable across different maps.

Does this approach to managing SC2 actors require any specific dependencies?

No, this approach to managing SC2 actors requires no specific dependencies. It directly applies native Galaxy scripting functions for actor creation, animation, and visual control, making it accessible for standard map and campaign development without external libraries.

When do I need to use actor message interfaces for SC2 animations?

You need to use actor message interfaces for SC2 animations when you require deterministic, reusable control over model actors. This applies to map and campaign visuals where precise animation, tinting, scaling, and opacity adjustments must be automated and centralized.