Senior Member
Join Date: Jul 2005
Posts: 181
|
Well, it's o-dark-hundred around here, and I'm giving up on this for the night...but I have to say that I can NOT figure out where defvalue would go or how I would use it.
------------- By Lenin's Beard Gel! |
#11 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Check out the example at the bottom of that wiki page.
defvalue is listed in the second example.... |
#12 |
Senior Member
Join Date: Jul 2005
Posts: 181
|
Oh, I know, I saw that. What I cannot seem to find is anywhere to actually APPLY it, silly as that might sound. That is, I cannot seem to find any <field> that is relevant...
------------- By Lenin's Beard Gel! |
#13 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
You're trying to set the Attribute rating to a specific default value, right? What field are you using to define the attribute itself? It'd be the same field where you're binding the minimum and maximum values to it.
|
#14 |
Senior Member
Join Date: Jul 2005
Posts: 181
|
This is giving me dandruff and kidney stones. Here I was all happy that I could be able to work something out, and I'm ready to cry. Clearly, this is well over my head. Oh, well...
Anyways, the nearest thing I can figure to what you're asking about is: Code:
<thing id="attrStr" name="Strength" description="Trololo-whatever" compset="Attribute" uniqueness="unique" isunique="yes"> <fieldval field="trtAbbrev" value="Str"/> <fieldval field="trtMaximum" value="99"/> <tag group="explicit" tag="5"/> </thing> ------------- By Lenin's Beard Gel! |
#15 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
I apologize, but I know I learned more in the exploration than any other way.
The definition of the attribute component (compset="Attribute") is in the traits.str file. Check out the first eval script. |
#16 |
Senior Member
Join Date: Jul 2005
Posts: 181
|
Tried that too. It STILL doesn't do anything but either go 'HUH!? Dun understand.' or just plain ignore it. Mostly the first.
------------- By Lenin's Beard Gel! |
#17 |
|
|