Member
Join Date: Feb 2010
Location: Charlotte, NC
Posts: 81
|
Hi all,
Recently, I've been getting a weird error message whenever I am creating a race that has natural attacks, such as Bite or Claw: "Attempt to access field 'gSizeDiff' that does not exist for thing 'wClaw' Location: 'synthesize #0' script for Dossier 'statblock' near line 366" This has only been occurring since I added the Lawful_G Secondary Update URL. Not trying to place blame; only trying to make a correlation. The strange thing is that is doesn't seem to have any negative effects on how the natural attack stats are calculated: Everything looks good when I use the race, I just keep getting the error... Also, the error only appears when I try to save a portfolio that has a character of the Race that has the natural attack. The custom race compiles in the editor with no errors. Anyone else seen this? Thanks. -GP Last edited by GodPole; December 13th, 2010 at 05:01 AM. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
Quote:
|
|
#2 |
Member
Join Date: Feb 2010
Location: Charlotte, NC
Posts: 81
|
I'm not sure how it's a timing issue.
We don't have any ability (that I know of) to go in a modify the "timing" of natural attacks. Heck, I'm still hoping someone comes up with a way to create new ones (tongue, etc...). -GP |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
You can't create new ones, but you can rename some of the less used ones (sting is one of my favorites) so they look new and assign whatever tags you like to make them conform to what you want.
|
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jun 2010
Posts: 623
|
Its something I'm doing also that makes this happen.
I've got some new weapons and whenever I reload the character, it happens. I wonder if I'm not putting in a gSizeDiff field I need? |
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The problem is that part of the weapon code in the statblock is looking for the size of a weapon - that size field doesn't exist for natural attacks, only regular weapons. This wasn't encountered often in the past, but one of the recent HL updates made it so all portfolios now generate a statblock and store it within the portfolio file (down the road, this will allow previews of the statblock when you're selecting a character/stock portfolio to load). So, that means the error is now generated on every save of something with a natural attack.
This is on my to-do list for the next update (I'll hopefully be able to squeeze in some time for that update within the next few weeks). |
#6 |
Member
Join Date: Feb 2010
Location: Charlotte, NC
Posts: 81
|
Thanks for all the feedback.
Glad to know that I didn't break something! -GP |
#7 |
|
|