Go Back   EN World D&D / RPG News > Non RPG-Specific Forums > Software, Computers, Video Games and D&D Utilities

Notices

Software, Computers, Video Games and D&D Utilities General discussion on computer software and hardware, PC and console games, and RPG utilities such as eTools, PC GEN, etc.

 
LinkBack Thread Tools Display Modes
Old 25th August 2008, 11:01 AM   #1 (permalink)
Registered User
 
Tenniel's Avatar
 
Join Date: Mar 2008
Posts: 53
Tenniel Goblin Sharpshooter (Lvl 2)
HTML based character sheet for PDAs

I had a go at making a PDF PC character sheet viewable on the PDA, but it was rather unsatisfactory. Also, it would be inconvient to update as the original was drafted on a desktop in OpenOffice Writer and then exported to pdf. With HTML, the sheet could have minor updates done on the PDA itself.

I think this HTML version will be superior in appearance (as it would use system fonts and sizes etc), be faster and take up less room.

I really don't know HTML at all, nevertheless I had a bit of a crack at hand coding some rather naive HTML. Any hints on what might make this better would be good.

Obviously more sections of content are needed, e.g. Basic Attacks, equipment, currrent conditions and so-on. Maybe detailed sections showing how deried quantities are arrived at.

I want the sheet to be linked to reference material (like the condition sheet which is included in this demo protype concept envisioning)

Is it possible for the browser to save the selections made with drop down boxes and check boxes? If so, I could also make input for ability scores. Does HTML do calculations? If so I could get it to calculate BABs, base saves, to hit numbers (or their 4e equivilants) etc.
Attached Files
File Type: zip PDA character sheet.zip (3.3 KB, 4 views)
__________________
Anyway, to cut a long story short I threw a and a which beat his and a , another double followed by a double and a double . After he'd thrown a and a I threw a and a .
Tenniel is offline   Reply With Quote
Old 25th August 2008, 05:02 PM   #2 (permalink)
Registered User
 
Thanee's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 20,962
Thanee Goblin Sharpshooter (Lvl 2)
Don't have a PDA myself, so my knowledge on PDA browsers is rather limited, but normally...

Simple calculations are possible with JavaScript.

To save selections you usually need a database (like MySQL).
Not sure if that is even possible on a PDA.

For small stuff you can also use Cookies to save information.

Bye
Thanee
__________________

“In our world, immortality is not for the living. The legend lives on!”
In Memoriam E. Gary Gygax (* 27th July, 1938 — † 4th March, 2008).
Thanee is offline   Reply With Quote
Old 26th August 2008, 05:51 AM   #3 (permalink)
Registered User
 
Tenniel's Avatar
 
Join Date: Mar 2008
Posts: 53
Tenniel Goblin Sharpshooter (Lvl 2)
Thanks, I think you have put me on the right path with scripting. Not sure if PDA browsers support Javascript, but Mobile Internet Explorer supports VB script. I have tried a few things and it looks good, makes the HTML more maintainable by putting repetive lines of HTML in a VBScript loop, e.g. this creates the ability score table (rather than having it written out 6 times):

<script type="text/vbscript">
document.write("<table border=1 width=100%>")
private score
For Each Ability in arrAbilities
score=eval(Ability)
document.write("<tr><td>" & Ability & "</td>")
document.write("<td align=right>" & Score & "</td>")
document.write("<td align=right>" &ScoreMod & </td></tr>")
Next
document.write("</table>")
</script>
__________________
Anyway, to cut a long story short I threw a and a which beat his and a , another double followed by a double and a double . After he'd thrown a and a I threw a and a .

Last edited by Tenniel; 26th August 2008 at 07:36 AM..
Tenniel is offline   Reply With Quote
Old 28th August 2008, 02:01 AM   #4 (permalink)
Registered User
 
Tenniel's Avatar
 
Join Date: Mar 2008
Posts: 53
Tenniel Goblin Sharpshooter (Lvl 2)
I should have heeded the JavaScript suggestion. My PDA actually does handle JS and while does have some support for VBscript it is really limited... eg loops do not work.

Also VBscript only works with microsoft explorer?

The character sheet is coming along fine now, I can use assignment statements at the top of HTML to act as a repository of character data. This makes adjustments on the PDA on the fly doable.

CharacterName="Galstaff the Wicked";
CharacterRace="Human";
CharacterGender="FeMale";
CharacterClass="Druid";
CharacterLevel=1;

Strength=14;
Dexterity=8;
Constitution=4;
Intelligence=17;
Wisdom=9;
Charisma=13;
MaxHP=24;
Athletics="+1";
Bluff="+2";
Diplomacy="+3";
Dungeoneering="+4";
Endurance="+5";
Heal="+6";
HistorySkill="+7";
Insight="+8";
Intimidate="+9";
Nature="+10";
Perception="+11";
Religion="+12";
Stealth="+13";
Streetwise="+14";
Thievery="+15";

__________________
Anyway, to cut a long story short I threw a and a which beat his and a , another double followed by a double and a double . After he'd thrown a and a I threw a and a .
Tenniel is offline   Reply With Quote
Old 28th August 2008, 09:30 AM   #5 (permalink)
Registered User
 
Thanee's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 20,962
Thanee Goblin Sharpshooter (Lvl 2)
Quote:
Originally Posted by Tenniel View Post
The character sheet is coming along fine now, I can use assignment statements at the top of HTML to act as a repository of character data. This makes adjustments on the PDA on the fly doable.
But it doesn't change them from session to session, unless you edit the sheet manually, right?

Bye
Thanee
__________________

“In our world, immortality is not for the living. The legend lives on!”
In Memoriam E. Gary Gygax (* 27th July, 1938 — † 4th March, 2008).
Thanee is offline   Reply With Quote
Old 28th August 2008, 01:29 PM   #6 (permalink)
Registered User
 
Tenniel's Avatar
 
Join Date: Mar 2008
Posts: 53
Tenniel Goblin Sharpshooter (Lvl 2)
Quote:
Originally Posted by Thanee View Post
But it doesn't change them from session to session, unless you edit the sheet manually, right?
Yes That is true. But Editing the assignments at the top of the HTML is better than hunting through all the code to find numbers. You can have the code open in an editor while you display the it with a browser.

Things dont change too much between leveling (except for gold, current hp, equipment)... and I am not trying to build a character generator... it is a character sheet (I must keep telling myself)

thanks again for putting me onto javascript.
__________________
Anyway, to cut a long story short I threw a and a which beat his and a , another double followed by a double and a double . After he'd thrown a and a I threw a and a .
Tenniel is offline   Reply With Quote
Old 28th August 2008, 03:45 PM   #7 (permalink)
Registered User
 
Thanee's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 20,962
Thanee Goblin Sharpshooter (Lvl 2)
Quote:
Originally Posted by Tenniel View Post
...it is a character sheet (I must keep telling myself).
True enough.

Bye
Thanee
__________________

“In our world, immortality is not for the living. The legend lives on!”
In Memoriam E. Gary Gygax (* 27th July, 1938 — † 4th March, 2008).
Thanee is offline   Reply With Quote

EN Marketplace Featured Listings
WereDragon Magazine Issue #1!


Bookmarks

Tags
based, character, html, pdas, sheet

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



These are the 100 most-searched-for thread tags
Search Tag Cloud
3.5 3.5 still lives here 3.xe 3e 3rd edition 4e 4th edition action rpg adventure aquerra art artificer blizzard bring back nightfall! build campaign cartography cats & dogs rule! character cheese class codex hiveous combat computer games conversational cosmology cydra d&di d20 modern dark sun diablo3 dming dragon dragon magazine dungeon eberron errata feats game game aid games gleemax problems greyhawk gsl gurps hive hivemind hiveocracy homebrew homebrewed homebrew setting house rules humor hunting season is now! legacy legacy thread lorraine williams maps massachusetts meta miniatures monsters ninja'd hive nuclear aoe ftw! od&d off-topic oots optimization order of the stick pathfinder plots powers race races recharge power retro clone rules smilies attack sporked hive ssoass sterich stick hive story hour swordmage tags tale of the twin suns the planes traps true20 turkey sammich unconventional thought wall-e warlock weird wiki worldbuilding world of kulan wotc wyre ymca

All times are GMT +1. The time now is 01:34 AM.


Site Contents © 2008 ENWorld
PHP Ajax Multimedia Web Framework © 2008 Digital Media Graphix
Powered by vBulletin® Version 3.8.0 Beta 1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0