I have a faction, but faction members don't have exactly the same Traite,
For example,the farmers faction have same traite value:Lawfulness,Lawfulness should be>10,but other traite value Not the same,example,Some are bold, some are timid,Some are clever, some are clumsy.But I don't want to add too many factions, it will be hard to manage
Can I customize FactionMember's Traite?like the Add Traite Component,FactionMember can select a custom Traite Component,Will this requirement be added to the next version? Thank you very much!!!
how to custom the FactionMember‘s Traite?
-
- Posts: 6
- Joined: Thu Jul 29, 2021 11:43 pm
Re: how to custom the FactionMember‘s Traite?
A faction is a collection of traits (personality traits and relationship traits). If a character is different (for example, clumsy), it should have its own faction.
To help keep them organized, you can use "/" to group them into submenus:
You can also use Excel spreadsheets if you want:
To help keep them organized, you can use "/" to group them into submenus:
You can also use Excel spreadsheets if you want:
-
- Posts: 6
- Joined: Thu Jul 29, 2021 11:43 pm
Re: how to custom the FactionMember‘s Traite?
Hi Tony,Thank you for quick response as always,I have a few different opinions,No two leaves in the world are exactly the same,In an RPG game, there are thousands of NPCS,Maybe I can customize some fuzzy conditions to randomly generate traite,The same faction only has some of the same traite,other traite randomly generate or other traite manual to value,How can this requirement be implemented more easily?
Re: how to custom the FactionMember‘s Traite?
Hi,
The Love/Hate API lets you create factions at runtime, or you write a script to generate a CSV file with thousands of randomized factions and import that into your faction database.
Although RPG games often have thousands of NPCs, not all of those NPCs have unique values. This is why multiple faction members can point to the same faction. Each faction member can have their own second-to-second emotional state but share the same faction traits.
However, if you want every NPC to have unique values, Love/Hate does support it. One of the QA performance tests is 10,000 simultaneous faction members, with zero garbage collection.
The Love/Hate API lets you create factions at runtime, or you write a script to generate a CSV file with thousands of randomized factions and import that into your faction database.
Although RPG games often have thousands of NPCs, not all of those NPCs have unique values. This is why multiple faction members can point to the same faction. Each faction member can have their own second-to-second emotional state but share the same faction traits.
However, if you want every NPC to have unique values, Love/Hate does support it. One of the QA performance tests is 10,000 simultaneous faction members, with zero garbage collection.
-
- Posts: 6
- Joined: Thu Jul 29, 2021 11:43 pm
Re: how to custom the FactionMember‘s Traite?
Hi Tony,I've added custom traits
private Traits customTraits;
private void Register()
{
if (m_started && !m_registered && FindResources())
{
m_registered = true;
factionManager.RegisterFactionMember(this);
customTraits=GetComponent<Traits>();
if (customTraits)
faction.traits = customTraits.traits;
}
}
And add the Traits Value Panel in the Inspector,Easy to view traite value, do not return to the database to view traite, also easy to change the traite value immediately
private Traits customTraits;
private void Register()
{
if (m_started && !m_registered && FindResources())
{
m_registered = true;
factionManager.RegisterFactionMember(this);
customTraits=GetComponent<Traits>();
if (customTraits)
faction.traits = customTraits.traits;
}
}
And add the Traits Value Panel in the Inspector,Easy to view traite value, do not return to the database to view traite, also easy to change the traite value immediately
- Attachments
-
- FactionMemberEditor.zip
- (3 KiB) Downloaded 244 times
Re: how to custom the FactionMember‘s Traite?
Thanks for sharing! I'll try to incorporate this idea into the next version so you won't have to reapply your customizations when you update Love/Hate.
Re: how to custom the FactionMember‘s Traite?
Maybe I can customize some fuzzy conditions to randomly generate traite,The same faction only has some of the same traite.This is why multiple faction members can point to the same faction. Each faction member can have their own second-to-second emotional state but share the same faction traits. spicemoneylogin.in myfiosgateway.one