Thread: Custom Ancestry
-
October 3rd, 2019, 09:08 #1
Custom Ancestry
I created a custom Ancestry Catfolk
Gave the Feats the Trait Catfolk (I also created a trait in traits)
BUT the trait doesnt come up in the drop down box Traits?
Is there a trick to this?
or am I missing something?
The feats do appear if I select (empty)Last edited by Willot; October 3rd, 2019 at 11:51.
"When questing once in noble wood of gray medieval pine, I came upon a tomb, rain-slicked, rubbed cool, ethereal, its inscription long vanished, yet still within its melancholy fissures."
-
October 3rd, 2019, 13:49 #2
The "Trait" filter in the Feat campaign data list is populated from the list in GameSystem.traitTypeFilter You'll have to write an extension to add any values you need to this list - using LUA table.insert to add values.
I may look into including Ancestry names in this in the future, if that matches with data and functionality in future products. The main issue would be that sometimes ancestries (mostly heritages) have additional traits that depend on player selections and aren't obvious up-front - half-orc being a good example.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
February 2nd, 2020, 03:12 #3
- Join Date
- Dec 2019
- Posts
- 15
Apologies for necro'ing the thread, Tren. This seemed like the best place to followup.
I'm trying to build in the Lost Omens Character Guide Leshy ancestry as I have a player who really wants to play one and the official isn't available yet. Only hang up I have is the issue described above. Can you point me to any resources on extension building and how to get new ancestries to be filterable in the feat trait list?
Thanks,
-
March 13th, 2020, 01:48 #4
- Join Date
- Dec 2019
- Posts
- 15
Hey Trenloe,
Still working with this and forgive me and I'm literally learning LUA and extension building on the fly. I've got the ext bringing in the lua file just fine and this is what I have in my script.
function onInit()
table.insert(GameSystem.traitTypeFilter, "leshy");
table.insert(GameSystem.featViewTraitTypeFilter, "leshy");
end
-
March 13th, 2020, 10:39 #5
1) You'll only see the filter on the traits campaign data list if there is a feat that has that trait in the data list.
2) If you create new feats, the traits window will only be updated if you reload the campaign or in the process of adding a new feat. When a blank new feat window opens the filters update - this is slightly confusing CoreRPG based behaviour.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 13th, 2020, 16:27 #6
- Join Date
- Dec 2019
- Posts
- 15
WOO!
It works! Not the most advanced extension in the world, but it works! Thanks, Trenloe. This will make my Leshy player's life a bit easier.
-
March 13th, 2020, 16:40 #7Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
May 26th, 2021, 20:35 #8
- Join Date
- Mar 2021
- Posts
- 5
Can you please share a video link of adding a trait to the LUA table.insert? I have never worked with it before and I'm not even sure where i would enter the code. thank you.
-
May 27th, 2021, 03:25 #9
Olliebird's extension here should give you an idea on what yours should look like. https://www.fantasygrounds.com/forum...l=1#post486830
-
May 29th, 2021, 10:06 #10
- Join Date
- Dec 2019
- Posts
- 46
Hi all
I got it to work where the custom class/ancestry feats shows up in the trait table of the feats table. What I don't know how to do, is how to have the new feats populate in the tabs created by the tracker. If I add custom feats to existing ancestries or classes they get populated but not custom ancestries or classes. Is there a trick to this?
*EDIT: specified the feats
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks