Lethosor wrote: "Can you explain what the fields you used are?"
In the relations_indicator.lua script Fleeting Frames uses anon3 ( in figure.info.relations.list(0..n) ) as a vector of 'feeling_types' with values interpreted like this:
--[[List of options I've noticed with changing that value:
0: Hero
1: Friend
2: Grudge
3: Bonded
6: Good for Business
7: Friendly Terms? (unsure)
10: Comrade
17: Loyal Soldier
18: Considers Monster (hm, could be interesting RP-wise)
26: Protector of the Weak
Others seemed to default to Friendly terms
with just few points on 7 as second relation.
Perhaps anon_1 and anon_5 may also matter.
--]]
Those values have considerable matches with
unit_relationship_type.h starting from "friend".
Like this:
enum unit_relationship_type : int16_t {
None = -1,
Pet,
Spouse,
Mother,
Father,
LastAttacker,
GroupLeader,
Draggee,
Dragger,
RiderMount,
Lover,
unk10,
Sibling, //
Child, //hero xxx
Friend, //friend 1
Grudge, //grudge 2
Worship, //bonded 3
AcquaintanceLong, //4 ?
AcquaintancePassing //5 ?
Bonded,
Hero,
ConsidersViolent, //4 ?
ConsidersPsychotic, //5 ?
GoodForBusiness, //goodfor business 6
FriendlyTerms, //friendly terms 8
ConsidersKiller, //8 ?
ConsidersMurderer, //9 ?
Comrade, //comrade 10
MemberOfRespectedGr //11 ?
MemberOfHatedGroup, //12 ?
EnemyFighter, //13 ?
FriendlyFighter, //14 ?
ConsidersBully, //15 ?
ConsidersBrigand, //16 ?
LoyalSoldier, //loyal soldier 17
ConsidersMonster, //considers monster 18
ConsidersStorytelle //19 ?
ConsidersPoet, //protectorofweek 20?
ConsidersBard,
ConsidersDancer,
Master,
Apprentice,
Companion,
FormerMaster,
FormerApprentice,
ConsidersQuarreler,
ConsidersFlatterer,
Hunter,
ProtectorOfTheWeak
Ive not means to resolve these properly but will try using anon3 in mean time to get freind info to complete unit descriptions which will look something like this:
'121yr fcs-2 Datos Blibberanok Expert Thrower (lv6 ap43 xp12)
Extremely gregarious.Very adoring,rude,leisurely. Rgds Friendship++ Peace-
Likes Surviving,platinum,shields,bolts,opposum men... Gods:Laven,Zul
Fam 2/6 Frn 4/6 wif lvr pet kil3 loy3 gru1 pri-1