Difference between revisions of "User talk:AVS/Secondary skill format"
From VCMI Project Wiki
(→Extra fields for skill levels) |
(→Extra fields for skills) |
||
Line 11: | Line 11: | ||
Some extra fields that are missing at the moment: | Some extra fields that are missing at the moment: | ||
* id - for H3 skills only, needed at least to match possibly localized H3 texts with skills (and for some hardcoded skill functions) | * id - for H3 skills only, needed at least to match possibly localized H3 texts with skills (and for some hardcoded skill functions) | ||
+ | : we already have this mapping in StringConstants, remove from there and put to config?--[[User:AVS|AVS]] ([[User talk:AVS|talk]]) 19:53, 7 January 2014 (CET) | ||
* name - translatable skill name | * name - translatable skill name | ||
* default chance to get skill (similar to defaultTavern fields in hero class/faction) | * default chance to get skill (similar to defaultTavern fields in hero class/faction) | ||
Line 16: | Line 17: | ||
* special - needed? Possibility to define that skill should never be available to hero unless received by special means (starting skill, events, etc). To some points duplicates set to zero default chance. | * special - needed? Possibility to define that skill should never be available to hero unless received by special means (starting skill, events, etc). To some points duplicates set to zero default chance. | ||
[[User:Ivan|Ivan]] ([[User talk:Ivan|talk]]) 18:02, 7 January 2014 (CET) | [[User:Ivan|Ivan]] ([[User talk:Ivan|talk]]) 18:02, 7 January 2014 (CET) | ||
+ | |||
+ | : name, default chance, class-specific chances: ok let`s try to make it fully modable from the very outset.--[[User:AVS|AVS]] ([[User talk:AVS|talk]]) 19:53, 7 January 2014 (CET) | ||
+ | |||
==Extra fields for skill levels== | ==Extra fields for skill levels== | ||
Extra possible fields for skill levels: | Extra possible fields for skill levels: |
Revision as of 18:53, 7 January 2014
Questions
- How skill disabling ("skillName": null) should be handled, especially in case of starting hero skill?
No need to handle it. "null" completely removes object from game so this can be considered as missing ID. Some option to disable skill (by setting level-up chances to 0) is completely independent option.
- Should default values (with no skill level) be configured too?
I don't think so. Lack of skill should have no effect on heroes.
Ivan (talk) 18:02, 7 January 2014 (CET)
Extra fields for skills
Some extra fields that are missing at the moment:
- id - for H3 skills only, needed at least to match possibly localized H3 texts with skills (and for some hardcoded skill functions)
- we already have this mapping in StringConstants, remove from there and put to config?--AVS (talk) 19:53, 7 January 2014 (CET)
- name - translatable skill name
- default chance to get skill (similar to defaultTavern fields in hero class/faction)
- hero class-specific chances to get skill, reversed version of hero class field
- special - needed? Possibility to define that skill should never be available to hero unless received by special means (starting skill, events, etc). To some points duplicates set to zero default chance.
Ivan (talk) 18:02, 7 January 2014 (CET)
- name, default chance, class-specific chances: ok let`s try to make it fully modable from the very outset.--AVS (talk) 19:53, 7 January 2014 (CET)
Extra fields for skill levels
Extra possible fields for skill levels:
- name - needed? At least for Russian grammar this is needed - name of skill level is not always "level name" + "skill name". For H3 skills VCMI should generate this name and so it can be replaced with correct one via future localization system or just via mod system overrides.
- requires - very long-term idea. Possibility to define requirements which must be fulfilled before hero can learn skill level. Can be a basis of class skills or H5-style perks.
- icons - H3 offers several icons of different sizes. For H3 skills this field is not necessary - vcmi will find required icons automatically based on ID. For skills from mods (or for replaced icons) this field must specify paths to images of various sizes for this skill level.