Class configs
From King Arthur's Gold Wiki
Revision as of 15:37, 8 January 2013 by Splittingred (Talk | contribs)
Class config files are CFG files that load specific settings for each class type in KAG. They are usually named "knight.cfg" or the name of the class and .cfg.
An example knight.cfg might look like this:
inventory = name = Knight tool = Knight emblem = GUI/knight_icon.png actor_name = runner actor_config = actor_sprite_size = 32 actor_sprite_male = Sprites/knightMale.png actor_sprite_female = Sprites/knightFemale.png actor_heads_size = 16 actor_heads_male = Sprites/MaleHeads.png actor_heads_female = Sprites/FemaleHeads.png default_health = 1.5 default_armor = 0.0 stone_default = 0 wood_default = 0 gold_default = 0 arrows_default = 0 bombs_default = 0 stone_warmup = 0 wood_warmup = 0 gold_warmup = 0 arrows_warmup = 0 bombs_warmup = 0
Config Variables
There are special configuration variables available to class config files. They are:
Name | Type | Default Value | Description |
---|---|---|---|
name | string | "Default class" |
Customizing
You can create any sort of class configuration for your mod by adjusting the variables above.