PDA

View Full Version : Standing Tokens



Blackfoot
January 21st, 2025, 14:18
I've added the standing token functionality to my character sheets in my HERO/Champions ruleset.. but I think I'm missing a piece as it is not passing through to maps.
Is there an element I need to add to the CT in order for maps to see the tokens?

Can someone point me in the right direction for that functionality?

Zacchaeus
January 21st, 2025, 15:42
You need to add the instructions for FG to be able to work out how the image should be displayed using the tool and instructions linked here https://www.fantasygrounds.com/forums/showthread.php?80375-Pre-defining-the-scale-and-positioning-of-images-in-3D-space

Trenloe
January 21st, 2025, 16:22
Make sure <htx name="token3Dflat" /> is in your "ct_entry" windowclass definition and also that it's linked using the setLink control function.

Some info in the March 2024 entry here: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/2179694626/Developer+Guide+-+Historical+Change+Guide Also look in CoreRPG ct\ct_host_entry.xml and ct\scripts\ct_entry.lua

Depending on how closely your ruleset mirrors CoreRPG functionality, you may need to add additional code - search for token3Dflat in the CoreRPG ruleset.

Blackfoot
January 22nd, 2025, 00:24
Make sure <htx name="token3Dflat" /> is in your "ct_entry" windowclass definition and also that it's linked using the setLink control function.
Feels like this 'should' be inherited from CoreRPG.. my ct_entry is doing a merge="join".
I added it but it didn't have any effect.

The normal token stands on end in '3d' mode.. it just doesn't pull the alternate token.


Some info in the March 2024 entry here: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/2179694626/Developer+Guide+-+Historical+Change+Guide Also look in CoreRPG ct\ct_host_entry.xml and ct\scripts\ct_entry.lua

Depending on how closely your ruleset mirrors CoreRPG functionality, you may need to add additional code - search for token3Dflat in the CoreRPG ruleset.
I'll look deeper into the files you listed above.
Thanks guys.

Trenloe
January 22nd, 2025, 00:34
I added it but it didn't have any effect.
Have you also used the setLink control function to link the control in the CT?

Blackfoot
January 22nd, 2025, 12:05
Have you also used the setLink control function to link the control in the CT?

Needed to readd the PC to the tracker after the fix! Seems to be working now.
Thanks again guys.