Lone Wolf Development Forums  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old December 26th, 2008, 07:37 PM
I'm working on a set of data files (for the Secret of Zir'An game system), and I'm having trouble changing the handling of derived traits from the skeleton files to these files.

The traits in this game (called primary stats) each have minimums and maximums determined by the character's origin (aka birthplace/nationality) - that part I'll get to when I get to the origin component. Then the user gets to spend a pool of points to increase the base values.

The problem is that there are also derived traits - each has a base value derived from the primary stats, and then there's a separate pool of points to use increasing the derived stats.

I can't figure out how to modify the derived stat thing to allow user modification, and I can't figure out how to modify the attribute thing to allow me to calculate a base value.

P.S. Is there a better way than this to get the maximum of 4 things:

var max as number
max = maximum(a,b)
max = maximum(max,c)
max = maximum(max,d)

One of the derived stats = average(Highest Primary Stat, Lowest Primary Stat)
Mathias is offline   #1 Reply With Quote
 


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 02:59 PM.


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