-
December 17th, 2014, 04:02 #41
Dulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
-
December 19th, 2014, 01:31 #42
Just as an FYI to people on this thread - the <square> pointertype for the defaults is incorrect, <rectangle> should be used for the base square pointer.
FG Wiki: How to Compile the FG Logs
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 17th, 2019, 08:59 #43
Hrm. So a hop into the way back machine.. several years of updates later... and this stuff no longer works.

It doesn't look like my build a triangle code is even getting called anymore.
Has the way pointers get built changed dramatically at some point?Standard License Operator - You must have a License to play in my games.
Interested in Custom Character Portraits and Tokens? Contact me.
-
February 17th, 2019, 15:41 #44
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
February 17th, 2019, 16:22 #45
-
February 17th, 2019, 21:59 #46
There was in the update for November 2016.
If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
February 17th, 2019, 22:06 #47SmiteWorks
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 23,496
The default cone angles can be adjusted per ruleset. Valid values are (180, 120, 90, 60, 45, 30, 5E). The 5E version is equal width/distance (~53 degrees).
If you want more than one cone, then you'll still need to write the Lua code.<imagesettings>
<pointer defaultconeangle="30" />
</imagesettings>
Regards,
JPG
-
February 17th, 2019, 22:15 #48
I had this working with the old code.. I just need to figure out where to tap into it now.. I can't seem to find it.
Ultimately I'm looking for a 'triangle' instead of a cone... and a 'hexagon'.. both regular polygons.. but a 60 degree cone will do part of the job... mostly.
Add that imagesettings code to gameelements?Standard License Operator - You must have a License to play in my games.
Interested in Custom Character Portraits and Tokens? Contact me.
-
February 17th, 2019, 22:30 #49
-
February 18th, 2019, 00:38 #50SmiteWorks
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 23,496
5E is a cone where the width from the origin point is equal to the length from the origin point. It ends being 53.2 degrees or so. It is not the same as an equilateral triangle.
However, you can specify 60 as the default for the cone angle. If nothing specified in the ruleset, then the default cone angle is 90 degrees.
The image control will still call imagecontrol.onCustomBuildPointer for any custom pointers specified in the ruleset code.
Example of specifying custom pointers from the SavageWorlds code:
JPG<imagecontrol>
...
<pointertypes>
<arrow>
<icon>pointer</icon>
<label>Draw Arrow</label>
</arrow>
<custom name="sw_cone">
<icon>pointer_cone</icon>
<label>Draw Cone</label>
</custom>
<custom name="sw_sb">
<icon>pointer_circle</icon>
<label>Draw Small Burst</label>
</custom>
<custom name="sw_mb">
<icon>pointer_circle</icon>
<label>Draw Medium Burst</label>
</custom>
<custom name="sw_lb">
<icon>pointer_circle</icon>
<label>Draw Large Burst</label>
</custom>
</pointertypes>
</imagecontrol>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


Reply With Quote


Bookmarks