News:

Welcome to the Herolab 4e user added support site.

Main Menu
+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Stats ezBlock

Members
Total Members: 177
Latest: Tdotku1911
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 755
Total Topics: 366
Most Online Today: 11
Most Online Ever: 55
(May 13, 2020, 03:23:39 AM)
Users Online
Members: 0
Guests: 9
Total: 9

Encounter powers

Started by Sean Abel, June 18, 2015, 01:25:17 AM

Previous topic - Next topic

Sean Abel

Just started a new D&D campaign and I noticed that the Encounter powers are now green in the title power area with a "Red" box on the left with a E inside. Is there a way to change them so that the entire title area is red again?
Wherever you go that's where you are!

Cryptoknight

Well crap... it seems they've changed changed how herolab renders character sheets...

Splendid...

Sean Abel

Was that LW or something that we have done to the code?
Wherever you go that's where you are!

Sean Abel

There has been a post about it on LW site http://forums.wolflair.com/showthread.php?t=53015 just as an fyi. I have no idea how to fix this  does anyone else?

Wherever you go that's where you are!

Daphne

#4
Quote from: SAbel on July 17, 2015, 10:50:25 PM
There has been a post about it on LW site http://forums.wolflair.com/showthread.php?t=53015 just as an fyi. I have no idea how to fix this  does anyone else?

I would suggest taking a look at styles_output.aug, see outTitleAt vs outTitleEn in particular. And a sheet_powercards.dat ( lines 272 - 286 ) which has logic to set styles. I'm wondering if the perform portal[letter].setstyle[outTitleEn] is somehow preventing the other two setstyles in the block from running.

See also Dynamically Changing Styles

Edit: I almost think it might be a bug in hero lab itself.

Sean Abel

So under styles_output.aug lines 238-256 have the following

<!-- title & keyword text for encounter powers - red background -->
  <style
    id="outTitleEn">
    <style_output
      textcolor="f0f0f0"
      backcolor="600000"
      font="ofnttitle"
      alignment="center">
      </style_output>
    </style>
  <style
    id="outKeyEn">
    <style_output
      textcolor="f0f0f0"
      backcolor="600000"
      font="ofntkeywrd"
      alignment="center">
      </style_output>
    </style>

when in Sheet_pwercards.dat lines 276-286 may have something to do with color (which Daphne mentioned)

      ~otherwise, if this is an encounter or at-will power, change the style
      ~appropriately.
      elseif (tagis[PowerUse.Encounter] <> 0) then
        perform portal[letter].setstyle[outTitleEn]
        perform portal[name].setstyle[outTitleEn]
        perform portal[keywords].setstyle[outKeyEn]
      elseif (tagis[PowerUse.AtWill] <> 0) then
        perform portal[letter].setstyle[outTitleAt]
        perform portal[name].setstyle[outTitleAt]
        perform portal[keywords].setstyle[outKeyAt]
        endif

WARNING don t mess with the (backcolor="600000")!
Something happened and it effect the Core so I am fixing that right now :)
Wherever you go that's where you are!

Sean Abel

Not sure what happened but I have 4E back working
I was running a test to see if the color would change and SMACK it effected the Core.hlz file causing a corruption.
Well if anyone is at GenCon and can talk with Colen and ask him if he can help with power cards that would be GREAT!

Thanks all
Wherever you go that's where you are!

Daphne

Quote from: SAbel on August 01, 2015, 05:30:25 PM
So under styles_output.aug lines 238-256 have the following

<!-- title & keyword text for encounter powers - red background -->
  <style
    id="outTitleEn">
    <style_output
      textcolor="f0f0f0"
      backcolor="600000"
      font="ofnttitle"
      alignment="center">
      </style_output>
    </style>
  <style
    id="outKeyEn">
    <style_output
      textcolor="f0f0f0"
      backcolor="600000"
      font="ofntkeywrd"
      alignment="center">
      </style_output>
    </style>

when in Sheet_pwercards.dat lines 276-286 may have something to do with color (which Daphne mentioned)

      ~otherwise, if this is an encounter or at-will power, change the style
      ~appropriately.
      elseif (tagis[PowerUse.Encounter] <> 0) then
        perform portal[letter].setstyle[outTitleEn]
        perform portal[name].setstyle[outTitleEn]
        perform portal[keywords].setstyle[outKeyEn]
      elseif (tagis[PowerUse.AtWill] <> 0) then
        perform portal[letter].setstyle[outTitleAt]
        perform portal[name].setstyle[outTitleAt]
        perform portal[keywords].setstyle[outKeyAt]
        endif

WARNING don t mess with the (backcolor="600000")!
Something happened and it effect the Core so I am fixing that right now :)

I played arround earlier with removing some of the setstyle[outTitleAt] earlier, and it fixed the corresponding encounter power at the price of breaking the at-will coloring. Which is why I think it might be Hero Lab bug. I wonder if other work arounds could be tried, like making three different headers for the power cards, with the styles fixed and just hiding the ones that are not valid from the layout.

Sean Abel

I think you are correct Daphne, different headers would make everything work on its own instead of off of each other, that could even lead to color for items (that is if we can figure out how to make item cards for all items.) Unfortunately its a bit pass my abilities, at this time.
Wherever you go that's where you are!

millertgh

First off I apologize for reviving and old topic but it wasn't closed and I did not want to muck up the forums with duplicate topics.

I was curious if a fix for this had been found? I have played around with the files mentioned above a bit but appear to be stuck. From my testing I did discover that it seems the AtWill settings are overriding the Encounter settings after the encounter settings have been put into place. I do not know if that helps any. I look forward to any response and/or progress.

Thanks

+-Recent Topics

4e wont open due to duplicate files error by Fox Lee
April 14, 2024, 01:01:14 AM

Community Data files update 2023-02-16 by Tdotku1911
September 28, 2023, 08:52:54 PM

Errors from last update by jrmcnz
July 17, 2023, 03:30:56 PM

Community Data files update 2023-04-28 by Fox Lee
April 27, 2023, 09:40:45 PM

3rd Party - Zeitgeist character options by Fox Lee
March 25, 2023, 03:21:38 AM

Community Data files update 2023-03-25 by Fox Lee
March 25, 2023, 02:46:40 AM

Our Unofficial Update for Hero Lab 4e by jklagenberg
February 11, 2022, 09:00:52 AM

Kensei Focus - Paragon Path Feature by Charlie
October 21, 2020, 10:13:36 PM

Warlord Scraper Error Fixes by Fox Lee
April 03, 2020, 08:05:51 PM

Herolab 4e Themes Modification by Cryptoknight
July 27, 2019, 02:47:44 AM

Themes Collection by Cryptoknight
July 27, 2019, 02:47:44 AM

Feats Bug Fixes Package by Cryptoknight
July 27, 2019, 02:47:44 AM

Darksun Themes Package by Cryptoknight
July 27, 2019, 02:47:44 AM

Defensive Feats by Cryptoknight
July 27, 2019, 02:47:44 AM

Theme Framework for HeroLab 5 / 4e 4.0 - .HL version by Daphne
July 27, 2019, 02:47:44 AM

2014 09 20 Release by Cryptoknight
July 27, 2019, 02:47:44 AM

2014-09-29 Download by Cryptoknight
July 27, 2019, 02:47:43 AM

2014 11 13 Download by Cryptoknight
July 27, 2019, 02:47:43 AM

Hybrid Battlemind not working as it should by Sean Abel
July 27, 2019, 02:45:49 AM

Please read this and weigh in - Issue/Source/Document Version Control System by nixxrite
March 29, 2019, 07:14:36 AM

Items, Feats and Magic Armour calculations not working by Charlie
March 28, 2019, 01:13:14 PM

Ring Slots by Krigler
March 04, 2019, 06:38:29 AM

Invoker Damage stats by Charlie
September 08, 2018, 07:55:52 PM

Max hit points by Charlie
September 05, 2018, 10:05:12 PM

I have run into a problem with Power class types by Sean Abel
August 18, 2018, 11:43:05 PM

Powered by EzPortal