This is the basic (proposed) structure I'm thinking of using.. if anyone has suggestions or comments, please do reply.
I plan to add more possibilities and such, and even the ability to create external addon plugins to be triggered from the race created by the configuration file.
// A List of possible configurations
"character"
{
"Basic Details"
{
"racename" "Race Name"
"raceshortname" "raceshortname"
}
// skill = passive skill
// ability = push button
// ability1 = +ability or +ability1
// ability2 = +ability2
// ability3 = +ability3
// ability4 = +ability4
// ultimate = ultimate
"Restrictions"
{
"restrictteam" "0"
"restrictitem" ""
"team2limit" "0"
"team3limit" "0"
}
"skill1" or "ability1" or "ultimate"
{
"name" "name of skill"
"description" "description of skill"
"W3Buff1" "fLowGravitySkill"
"W3BuffValue1" "0.9/0.8/0.7/0.6"
"W3Buff2" "fMaxSpeed"
"W3BuffValue2" "1.05/1.10/1.15/1.20"
}
"skill2"
{
"name" "name of skill"
"description" "description of skill"
"aura" "slowaura"
"auratarget" "team" // self, team, enemies
"auradistance" "300.0/400.0/500.0/600.0"
"aurabuff1" "fSlow"
"aurabuffvalue1" "0.8/0.75/0.70/0.65"
}
"ability1" or "ultimate"
{
"name" "name of skill"
"description" "description of skill"
"type1" "damage"
"type1_arg" "25/50/75/100"
"type2" "healself"
"type2_arg" "1/2/3/4"
"sequence" "type1,type2"
"delaybetweensequence" "0.5" // seconds
"trigger" "player_spawn" //
"distance" "0" // 0 unlimited distance
"cooldown" "60" // number of seconds for cooldown
}
"ability1"
{
"name" "name of ability"
"description" "description of ability"
"WARDS" "red"
"MaxWards" "4"
"WardDuration" "60.0"
"pulseInterval" "1.0"
"behavior" "damage"
"wardtarget" "enemy" // self, enemy, allies
"team2color" "red" // Custom color to use on team 2 (terrorists in CS:S)
"team3color" "blue" // Custom color to use on team 3 (counter-terrorists in CS:S)
"disableOnDeath" "true" // Disables the ward when the owner dies
}
}