Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
KingFrog
Junior Member
 
Join Date: Aug 2013
Posts: 14

Old November 26th, 2014, 04:43 PM
Hey,

Looking over the code, it appears (to me, at least) as though validation - that is, deciding whether I care how many character points have been spent, or abilities used, etc. before a character enters "Advances" rather than being just in initial creation - is spread over a lot of territory.

I find myself hunting in a lot of places trying to find and either modify or rip out code to get validation working in a way that will function for Traveller (which, again, uses things a bit differently than most games out there owing to its character creation system.)

Is there actually one place I can go to lay hands on the "control switches" for validation, or does that not exist? I ask because in hunting through "things_validation" it appears to have some of the stuff. "miscellaneous" has more. The tabs themselves have some. Does a central set of control variables, tags, or the like exist?

KingFrog
KingFrog is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 26th, 2014, 05:21 PM
Whether you can switch to advancement or not does not depend on whether all the other validation rules have been satisfied. The only thing that matters for that is the <canadvance> element in definition.def.
Mathias is offline   #2 Reply With Quote
KingFrog
Junior Member
 
Join Date: Aug 2013
Posts: 14

Old November 26th, 2014, 06:00 PM
Ah, there it is. Thanks!

I presume, then, that the remaining validation code is in fact not centralized anywhere? It's not for this purpose, but I'd rather not have spurious messages and red tabs all over the place unless I really need them.
KingFrog is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 27th, 2014, 10:42 AM
When I'm not sure where an error message is coming from, I usually find it by finding a text string in the error message itself that looks unique, and then text searching the whole set of files for that text.
Mathias is offline   #4 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:25 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.