Ardenian
A
Ardenian
Hello,
I would like to create my own BonusMod with GUI and custom scripts.
Why I don't use the one in the spell section ? I would like to achieve something else, too.
So, what do I aim for ? Each item should give stats with hidden abilities, as there are a lot, as seen in the BonusMod of Hive.
The questions I have now:
1. How do I efficiently register the stats an item give, without a limit on the amount of different stats ?
2. How do I create efficient ability levels ?
My approach would be to create one ability, for armor for example, and add levels. However, this would increase the object data unnecessarily.
How do I create a math function that allows the use of a few abilities, like one that gives 1, one 2, one 4 armor and such, how do I create this ?
---
3. I would like to use hashtables, making the whole system MUI, so every unit has its own stats. What I aim for is to create variable stats for every unit, like 'Critical Chance' and such, too, additionally to the BonusMod.
I can use Bribe's Unit Indexer for this, can't I ?
Are hashtables a good approach to register stat variables for every unit ? Can I also easily distinguish between unit types ?
I would like to create my own BonusMod with GUI and custom scripts.
Why I don't use the one in the spell section ? I would like to achieve something else, too.
So, what do I aim for ? Each item should give stats with hidden abilities, as there are a lot, as seen in the BonusMod of Hive.
The questions I have now:
1. How do I efficiently register the stats an item give, without a limit on the amount of different stats ?
2. How do I create efficient ability levels ?
My approach would be to create one ability, for armor for example, and add levels. However, this would increase the object data unnecessarily.
How do I create a math function that allows the use of a few abilities, like one that gives 1, one 2, one 4 armor and such, how do I create this ?
---
3. I would like to use hashtables, making the whole system MUI, so every unit has its own stats. What I aim for is to create variable stats for every unit, like 'Critical Chance' and such, too, additionally to the BonusMod.
I can use Bribe's Unit Indexer for this, can't I ?
Are hashtables a good approach to register stat variables for every unit ? Can I also easily distinguish between unit types ?