sc2data-behaviors-validators

Edit SC2Data CBehavior and CValidator entries in XML.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SC2 data editors enable precise creation and validation of behaviors (buffs, debuffs, auras, timers) and validators for SC2 units, ensuring data consistency with the catalogsData.xsd and reducing errors during unit design and behavior gating.

Core Features & Use Cases

  • Defines and edits CBehavior* and CValidator* entries across unit data to drive gameplay logic.
  • Supports Behavior types (CBehaviorBuff, CBehaviorAttributeModifier, CBehaviorUnitTracker, CBehaviorReveal, CBehaviorAbilityModifier, CBehaviorResource) and Validator types (CValidatorUnitType, CValidatorUnitOrder, CValidatorUnitComparison, CValidatorPlayerComparison, CValidatorCombine, CValidatorPlayerRequirement, CValidatorLocationPathable, CValidatorConditionCustom).
  • Demonstrates per-unit-file placement (files under Base.SC2Data/GameData/...), Catalog registration via GameData.xml references, and schema-guided field usage ensuring compatibility with catalogsData.xsd.
  • Provides workflow guidance for validating XML against the CatalogsData XSD and using Red Hat XML or similar tooling for error detection.

Quick Start

Open the SC2Data Behaviors & Validators XML file and begin editing with catalogsData.xsd as the reference.

Frequently Asked Questions about sc2data-behaviors-validators

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

FAQPage Schema
How do I create custom buffs and validators in SC2Data XML?

To create custom buffs and validators in SC2Data XML, define CBehavior* and CValidator* entries within per-unit files under Base.SC2Data/GameData/ and register them via GameData.xml references for schema-compliant field usage.

What SC2Data behaviors and validators are available for unit data gating?

SC2Data behaviors include CBehaviorBuff, CBehaviorAttributeModifier, and CBehaviorResource, while validators include CValidatorUnitType, CValidatorCombine, and CValidatorUnitComparison to gate unit data and drive gameplay logic.

How do I validate SC2Data XML against the catalogsData.xsd schema?

Validate SC2Data XML against the catalogsData.xsd schema using Red Hat XML or similar tooling for error detection, ensuring CBehavior* and CValidator* entries maintain data consistency and comply with the required catalog structure.

Where do I place CBehavior and CValidator entries for SC2 unit files?

Place CBehavior and CValidator entries in per-unit files under the Base.SC2Data/GameData/ directory, registering them through GameData.xml catalog references to properly integrate behavior and validator data with the SC2Data XML schema.

Does the SC2Data editor support CValidatorUnitOrder and CValidatorLocationPathable for behavior gating?

Yes, the SC2Data editor supports CValidatorUnitOrder and CValidatorLocationPathable for behavior gating, alongside CValidatorPlayerComparison and CValidatorConditionCustom to define precise conditions for ability execution and unit interactions.