+- +-

+-User

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

+-Stats ezBlock

Members
Total Members: 125
Latest: Avhagapaphice
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 672
Total Topics: 332
Most Online Today: 4
Most Online Ever: 20
(June 30, 2017, 12:18:50 AM)
Users Online
Members: 0
Guests: 2
Total: 2

Author Topic: Encounter powers  (Read 2287 times)

SAbel

  • Administrator
  • Jr. Member
  • *****
  • Posts: 98
    • View Profile
Encounter powers
« on: June 18, 2015, 01:25:17 AM »
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?

Cryptoknight

  • Administrator
  • Sr. Member
  • *****
  • Posts: 260
    • View Profile
Re: Encounter powers
« Reply #1 on: July 09, 2015, 03:30:27 PM »
Well crap... it seems they've changed changed how herolab renders character sheets...

Splendid...

SAbel

  • Administrator
  • Jr. Member
  • *****
  • Posts: 98
    • View Profile
Re: Encounter powers
« Reply #2 on: July 12, 2015, 11:16:50 PM »
Was that LW or something that we have done to the code?

SAbel

  • Administrator
  • Jr. Member
  • *****
  • Posts: 98
    • View Profile
Re: Encounter powers
« Reply #3 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?


Daphne

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Encounter powers
« Reply #4 on: July 27, 2015, 08:57:48 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.
« Last Edit: July 27, 2015, 10:22:49 PM by Daphne »

SAbel

  • Administrator
  • Jr. Member
  • *****
  • Posts: 98
    • View Profile
Re: Encounter powers
« Reply #5 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 :)

SAbel

  • Administrator
  • Jr. Member
  • *****
  • Posts: 98
    • View Profile
Re: Encounter powers
« Reply #6 on: August 01, 2015, 05:42:41 PM »
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

Daphne

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Encounter powers
« Reply #7 on: August 11, 2015, 08:54:19 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.

SAbel

  • Administrator
  • Jr. Member
  • *****
  • Posts: 98
    • View Profile
Re: Encounter powers
« Reply #8 on: August 16, 2015, 07:34:14 PM »
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.

millertgh

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Encounter powers
« Reply #9 on: October 11, 2016, 02:04:25 PM »
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

Making Utility Powers? by dmayhew469
July 07, 2017, 02:11:16 PM

4e license question by Cryptoknight
June 25, 2017, 09:28:29 PM

Remove/increase limit on Temporary Adjustment value? by Fox Lee
June 22, 2017, 07:30:45 PM

Add the INit modifier for Battle Harness by dmayhew469
June 15, 2017, 08:27:12 PM

Change Attack Ability by dmayhew469
June 15, 2017, 07:57:20 PM

How to allow resistance show up by dmayhew469
June 12, 2017, 04:05:57 PM

Would somebody like to take this over? by dmayhew469
June 09, 2017, 02:02:12 PM

Inherent Bonuses by dmayhew469
June 09, 2017, 01:59:28 PM

No Class or Race options by rkjanik
June 06, 2017, 01:57:21 AM

Spy by Mckinley
May 25, 2017, 02:06:57 AM

Is there a guide out for how to build a race by SAbel
May 05, 2017, 11:59:46 PM

Please read this and weigh in - Issue/Source/Document Version Control System by Charlie
April 27, 2017, 09:54:40 PM

Request Access to the CodePlex System by Charlie
March 03, 2017, 10:47:03 PM

Vampire class by Fox Lee
February 26, 2017, 05:29:29 AM

As we look at Making Card Headers correct colors by dracusmage
February 23, 2017, 03:24:01 PM

Question Involving Twofold Pact for Warlock by dracusmage
February 16, 2017, 02:52:32 AM

Daily Powers by Charlie
February 15, 2017, 06:31:00 PM

Missing Fighter? by dracusmage
February 13, 2017, 10:41:45 PM

Armor at Paragon and above by dracusmage
February 13, 2017, 06:52:16 PM

Help applying bonus damage (x + modifier) to class powers by Fox Lee
January 18, 2017, 06:16:49 AM

Cavalier Summon Steed Patch by Fox Lee
January 15, 2017, 01:00:56 AM

Fey Beast Companions (HotF) by Fox Lee
January 12, 2017, 07:49:08 PM

Has anyone worked with the Warlock (Binder) by SAbel
December 29, 2016, 11:43:17 PM

I will be posting an update soon by SAbel
December 24, 2016, 01:32:41 AM

Weapon Critical damage display by Paragon
December 02, 2016, 06:05:46 PM

Powered by EzPortal