Starfinder Playlist
Page 2 of 2 First 12
  1. #11
    Quote Originally Posted by Moon Wizard View Post
    The global toggles in the top level CT have been removed, as they negatively affect performance in large CT lists.

    JPG
    If they have a large list then it would be a nightmare to find and turn on/off stuff manually without being able to do it in one button click. Seems its a catch 22 - your losing valuable ability to cater to a rare large CT group - which would still find it more convenient than not.
    Free(Forums/Forge) Extension(FGU 5E):
    Paid (Forge) Extension(FGU 5E):

  2. #12
    Never mind its only targets that remove the text target list - which I suppose is legit and always done that my bad.
    Last edited by SilentRuin; August 15th, 2022 at 05:40.
    Free(Forums/Forge) Extension(FGU 5E):
    Paid (Forge) Extension(FGU 5E):

  3. #13
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,148
    Blog Entries
    9
    So what global toggle is going away with this build?

    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.

  4. #14
    Quote Originally Posted by LordEntrails View Post
    So what global toggle is going away with this build?
    goingaway.jpg
    Free(Forums/Forge) Extension(FGU 5E):
    Paid (Forge) Extension(FGU 5E):

  5. #15
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,148
    Blog Entries
    9
    Quote Originally Posted by SilentRuin View Post
    ok, thanks. Minorly inconvenient for me. But welcome change for performance improvements. I often run 30+NPC active on the CT (and no, its not all the NPCS in the location, just those actively engaged in combat!)

    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.

  6. #16
    Another warning - anyone accessing the old ct entry section window data directly will no longer be able to guarantee that will work. The subwindow is not defined when its not there - where previously that section was just invisible. I kluged my way around it by checking if the subwindow was present and if not access the DB instead.
    Free(Forums/Forge) Extension(FGU 5E):
    Paid (Forge) Extension(FGU 5E):

  7. #17
    Another warning on this latest patch - with the removal of global headers when you add in a ct_entry header button now it will force the above header labels to not line up with the columns because for some reason they hardcoded it to go off the right side of the header_labels frame for each header. As I'm not going to override every header I'm just overriding this to back it up -25 for extra button I added - this won't be playing nice for anyone else who adds ct_section buttons in now because of the way this was set to go off the right size of the header_label.
    Code:
    	<template name="frame_ctbox_host_header_labels">
    		<metalplate name="header_labels">
    			<anchored to="headeranchor" height="26">
    				<top />
    				<left offset="40" />
    				<right offset="-25" />
    			</anchored>
    		</metalplate>
    	</template>
    For sure a catch 22.
    Free(Forums/Forge) Extension(FGU 5E):
    Paid (Forge) Extension(FGU 5E):

  8. #18
    Quote Originally Posted by SilentRuin View Post
    As I'm not going to override every header I'm just overriding this to back it up -25 for extra button I added - this won't be playing nice for anyone else who adds ct_section buttons in now because of the way this was set to go off the right size of the header_label.
    Code:
    	<template name="frame_ctbox_host_header_labels">
    		<metalplate name="header_labels">
    			<anchored to="headeranchor" height="26">
    				<top />
    				<left offset="40" />
    				<right offset="-25" />
    			</anchored>
    		</metalplate>
    	</template>
    For sure a catch 22.
    Can't you just use insertbefore?
    That seems to be how the 5E ruleset is adding columns without overwriting things from CoreRPG.

    CoreRPG:
    Code:
    	<windowclass name="client_ct_entry">
    		<margins control="0,0,0,2" />
    		<frame>ctentrybox</frame>
    		<script file="ct/scripts/clientct_entry.lua" />
    		<sheetdata>
    			<hidden_record_isidentified name="isidentified" />
    			<hlink_clientct name="link" />
    			<hs name="tokenrefid" />
    			<hs name="tokenrefnode" />
    			<hn name="tokenvis" />
    
    			<spacer_ctentry_active_top name="active_spacer_top" />
    
    			<button_clientct_active name="active" />
    			<token_clientct name="token" />
    
    			<anchor_ctentry_right name="rightanchor" />
    			<button_clientct_activateeffects name="activateeffects" />
    			<button_ctentry_friendfoe name="friendfoe" />
    			<number_clientct_init name="initresult" />
    
    			<string_clientct_name name="name" />
    			<string_clientct_name name="nonid_name">
    				<invisible />
    			</string_clientct_name>
    
    			<icon_clientctsection_effect name="effecticon" />
    			<spacer_clientctsection_effect name="effectspacer" />
    			<list_clientct_effect name="effects" />
     
    			<string_ctentry_targets name="target_summary" />
    			<string_ctentry_effects name="effect_summary" />
    			
    			<spacer_ctentry_middle name="spacer" />
    			<spacer_ctentry_active_bottom name="active_spacer_bottom" />
    		</sheetdata>
    	</windowclass>
    5E:
    Code:
    	<windowclass name="client_ct_entry" merge="join">
    		<script file="ct/scripts/clientct_entry.lua" />
    		<sheetdata>
    			<base_clientct_health name="healthbase" insertbefore="initresult" />
    			<string_clientct_status name="status" insertbefore="initresult" />
    			<number_clientct_wounds name="wounds" insertbefore="initresult" />
    			<number_clientct_hptemp name="hptemp" insertbefore="initresult" />
    			<number_clientct_hp name="hptotal" insertbefore="initresult" />
    
    			<sub_ct_section name="sub_active" insertbefore="sub_effects" />
    		</sheetdata>
    	</windowclass>
    In case it helps, here is what those 5E templates look like:
    Code:
    	<template name="base_clientct_health">
    		<genericcontrol name="healthbase">
    			<anchored to="rightanchor" width="110" height="20">
    				<top />
    				<right anchor="left" relation="relative" offset="-10" />
    			</anchored>
    			<disabled />
    		</genericcontrol>
    	</template>
    	<template name="string_clientct_status">
    		<simplestring name="status">
    			<anchored to="healthbase" position="over" />
    			<frame name="fieldlight" offset="7,5,7,5" />
    			<center />
    			<static />
    			<invisible />
    		</simplestring>
    	</template>
    	<template name="number_clientct_wounds">
    		<number_ct_static name="wounds">
    			<anchored to="healthbase" width="30" height="20">
    				<top />
    				<right />
    			</anchored>
    			<min value="0" />
    			<script>
    				function onValueChanged()
    					window.onHealthChanged();
    				end
    			</script>
    		</number_ct_static>
    	</template>
    	<template name="number_clientct_hptemp">
    		<number_ct_static name="hptemp">
    			<anchored to="wounds" width="30" height="20">
    				<top />
    				<right anchor="left" offset="-10" />
    			</anchored>
    			<color>0000AA</color>
    			<script>
    				function onValueChanged()
    					window.onHealthChanged();
    				end
    			</script>
    		</number_ct_static>
    	</template>
    	<template name="number_clientct_hp">
    		<number_ct_static name="hptotal">
    			<anchored to="hptemp" width="30" height="20">
    				<top />
    				<right anchor="left" offset="-10" />
    			</anchored>
    			<min value="0" />
    			<script>
    				function onValueChanged()
    					window.onHealthChanged();
    				end
    			</script>
    		</number_ct_static>
    	</template>
    Last edited by bmos; August 17th, 2022 at 18:03.

  9. #19
    Quote Originally Posted by bmos View Post
    Can't you just use insertbefore?
    Not sure what your looking at but in 5e - ct_host.xml - this is the header labels I'm referring to - they are hardcoded - you can't just "insert" your way into changing those as they are tied to the right - while the things they are supposed to be line up with are placed relative. So when an insert happens in the relative ct_entry section - the above header_labels will never line up unless you shorten the length of the frame its positioning from (I'm not going override all the labels to do something sensible just for me).
    I've highlighted the hardcoded positioning below:
    Code:
    			<frame_ctbox_host_header_labels name="header_labels" />
    			<label_ct name="label_name">
    				<anchored to="header_labels" position="insidetopleft" offset="0,3">
    					<right offset="-343" />
    				</anchored>
    				<static textres="ct_label_name" />
    				<center />
    			</label_ct>
    			<label_ct name="label_init">
    				<anchored to="header_labels" position="insidetopright" offset="303,3" width="30" />
    				<static textres="init" />
    				<center />
    			</label_ct>
    			<label_ct name="label_hp">
    				<anchored to="header_labels" position="insidetopright" offset="258,3" width="30" />
    				<static textres="hp" />
    				<tooltip textres="hitpoints" />
    				<center />
    			</label_ct>
    			<label_ct name="label_temp">
    				<anchored to="header_labels" position="insidetopright" offset="218,3" width="30" />
    				<static textres="ct_label_hptemp" />
    				<tooltip textres="ct_tooltip_hptemp" />
    				<center />
    			</label_ct>
    			<label_ct name="label_wounds">
    				<anchored to="header_labels" position="insidetopright" offset="178,3" width="30" />
    				<static textres="ct_label_wounds" />
    				<tooltip textres="ct_tooltip_wounds" />
    				<center />
    			</label_ct>
    Free(Forums/Forge) Extension(FGU 5E):
    Paid (Forge) Extension(FGU 5E):

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in