02-06-2009, 08:08 PM | #121 |
Join Date: Feb 2006
Location: Krotz Springs, LA US
|
Re: Updated / New Character Sheets
You are more than welcome to store it in the GCA Repository, that's what it's there for after all. Register for an account and then upload away.
__________________
Thomas M. EDWARDS <tmedwards@motoslave.net> GCA4 resources: GCA Repository, Phoenix (r66), GMCS (2.17), Bookish (r12) |
02-10-2009, 04:03 PM | #122 |
Join Date: Feb 2006
Location: Krotz Springs, LA US
|
Re: Updated / New Character Sheets
GArrow, did you ever find someplace to store your sheet?
__________________
Thomas M. EDWARDS <tmedwards@motoslave.net> GCA4 resources: GCA Repository, Phoenix (r66), GMCS (2.17), Bookish (r12) |
02-11-2009, 01:30 PM | #123 | |
Join Date: Feb 2009
|
Re: Updated / New Character Sheets
Quote:
|
|
02-11-2009, 02:39 PM | #124 | |
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: Updated / New Character Sheets
Quote:
Armin
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
|
02-12-2009, 11:23 AM | #125 | |
Join Date: Feb 2009
|
Re: Updated / New Character Sheets
Quote:
From the player's point of view, there are various improvements, trade-offs and minor layout changes -- some of which remain iffy. In terms of implementation, essentially everything has been re-written or at least re-touched. The key pieces of code are:
Finally, lots of utility functions to reduce redundancy. For example, options can be specified on just one line with:
|
|
02-12-2009, 03:33 PM | #126 |
Join Date: Feb 2006
Location: Krotz Springs, LA US
|
Re: Updated / New Character Sheets
GArrow,
The GetStat() and GetStatAttr() functions (@lines: 902 & 908) in your impcharsheet.gcs are flawed. Since object handling in VBScript is something of a bolt on, you can't easily return multiple types from a function, since Objects require the special set LVALUE = RVALUE syntax, while everything else uses the standard assignment LVALUE = RVALUE syntax. This is a problem when you have a return type that can be either a standard Variant or an Object and you don't know in advance what that type will be, so you can chose the appropriate assignment syntax. Essentially, it's a chicken and the egg problem. The way they are coded in the copy of the sheet that I retrieved from the repository, they fail fatally under normal usage. Since you only call GetStat() from GetStatAttr(), my advice would be to modify them both as follows. I've included two functionally equivalent variations, both of which require no other changes to the sheet, for your perusal. Version A: GetStatByRef as a Subroutine Code:
sub GetStatByRef (byref stat, name) dim index : index = char.ItemPositionByNameAndExt(name, Stats) if index > 0 then set stat = char.Items(index) end sub function GetStatAttr (name, attr) GetStatAttr = "" dim stat : GetStatByRef stat, name if IsObject(stat) then GetStatAttr = stat.TagItem(attr) end function Code:
function GetStatByRef (byref stat, name) GetStatByRef = false dim index : index = char.ItemPositionByNameAndExt(name, Stats) if index > 0 then set stat = char.Items(index) GetStatByRef = true end if end function function GetStatAttr (name, attr) GetStatAttr = "" dim stat if GetStatByRef(stat, name) then GetStatAttr = stat.TagItem(attr) end function
__________________
Thomas M. EDWARDS <tmedwards@motoslave.net> GCA4 resources: GCA Repository, Phoenix (r66), GMCS (2.17), Bookish (r12) |
02-12-2009, 11:54 PM | #127 |
Join Date: Feb 2006
Location: Krotz Springs, LA US
|
Re: Updated / New Character Sheets
I suppose I should point out that the flaw noted in my previous post was found by testing impcharsheet.gcs with 4e characters; 3e characters don't seem to trigger the flaw. Further inspection reveals that it's missing a sizable portion of 4e code, so I should probably reserve further comment on 4e-related issues until you've actually completed the 4e code portions.
Regardless of it's current 4e status, it does seem to be a very nice sheet. Kudos. :)
__________________
Thomas M. EDWARDS <tmedwards@motoslave.net> GCA4 resources: GCA Repository, Phoenix (r66), GMCS (2.17), Bookish (r12) |
02-13-2009, 08:31 AM | #128 | |
Join Date: Feb 2009
|
Re: Updated / New Character Sheets
Quote:
The sheet is (and probably should be described as) incomplete. It's sufficient for many cases, but does not address all cases in either 3e or 4e. While I have made a few test chars, they don't exercise everything. Do you happen to have some that invoke all the conditionals and modifiers for every kind of field? Also, for languages, I wrote the display based on the idea that the actual name of the language would be the nameext, which seems problematic. Is there a better convention? Perhaps using 'notes'? The obvious goal is to display "English 13" (or "English (Native) 13") instead of just "Language (Native) 13". |
|
02-13-2009, 10:00 AM | #129 |
Join Date: Feb 2006
Location: Krotz Springs, LA US
|
Re: Updated / New Character Sheets
It would probably be a good idea to move further discussion to a new impcharsheet.gcs discussion thread, rather than cluttering the sheet announcement thread.
__________________
Thomas M. EDWARDS <tmedwards@motoslave.net> GCA4 resources: GCA Repository, Phoenix (r66), GMCS (2.17), Bookish (r12) |
02-17-2009, 03:26 PM | #130 |
Join Date: Feb 2009
|
Updated version of Improved Character Sheet
I have uploaded a new version of the Improved Character Sheet to the GCA Repository.
New features/fixes:
Both 3e and 4e languages are now expected to use the same representation. The Name of the skill/advantage is the name of the language; the NameExt should be 'Written', 'Spoken' or blank (for both). GCA will handle this automatically for 4e. Last edited by GArrow; 02-17-2009 at 03:32 PM. Reason: Clarification. |
|
|