Using a dynamic source of OCEAN Traits Deeds
Posted: Wed Feb 05, 2020 5:57 am
Hi,
I have a algorithm that generates deeds dynamically, i.e. OCEAN traits based deeds coming from a algorithm which I developed to fit in my game(using a set of variables, statistics, etc).
As such I don't feel the need to use Deeds Templates as these are static/pre-defined. Therefore, I'd like to report the Deed that my algorithm generates dynamically using, for instance:
Deed dynamicDeed = new Deed();
dynamicDeed .Assign("tag", issuerFactionMember.factionID, impact, aggression, actorPowerLevel, traits, PermittedEvaluators.EveryoneExceptTarget);
Questions:
1) Is the method above the best way to report a dynamic deed? Do you advise any other approach, using L&H API?
2) Traits argument above is of float[] type, so basically something like {0,5; 0.3; -10, 10, 25}. How can I guarantee the match between the OCEAN traits and the OCEAN values? the first position in the array stands for O trait, second position for C and so on?
BR,
Mario.
p.s. can you please add some code sample for my better understanding?
I have a algorithm that generates deeds dynamically, i.e. OCEAN traits based deeds coming from a algorithm which I developed to fit in my game(using a set of variables, statistics, etc).
As such I don't feel the need to use Deeds Templates as these are static/pre-defined. Therefore, I'd like to report the Deed that my algorithm generates dynamically using, for instance:
Deed dynamicDeed = new Deed();
dynamicDeed .Assign("tag", issuerFactionMember.factionID, impact, aggression, actorPowerLevel, traits, PermittedEvaluators.EveryoneExceptTarget);
Questions:
1) Is the method above the best way to report a dynamic deed? Do you advise any other approach, using L&H API?
2) Traits argument above is of float[] type, so basically something like {0,5; 0.3; -10, 10, 25}. How can I guarantee the match between the OCEAN traits and the OCEAN values? the first position in the array stands for O trait, second position for C and so on?
BR,
Mario.
p.s. can you please add some code sample for my better understanding?