Steve Jackson Games - Site Navigation
Home General Info Follow Us Search Illuminator Store Forums What's New Other Games Ogre GURPS Munchkin Our Games: Home

Go Back   Steve Jackson Games Forums > Roleplaying > GURPS

Reply
 
Thread Tools Display Modes
Old 03-30-2010, 03:56 PM   #1
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default GURPS HP & FP Tracker (application)

I've been messing around with C# and whipped up this little application to help keep track of multiple characters HP and FP totals as well as displaying the current HP and FP status (Below 1/3, At or Below 0, -1xHP, etc). It also keeps track of current Move and Dodge based on the halving from lowered HP & FP. Tracks up to 24 PCs or NPCs. Requires the Microsoft .NET framework.

Probably horribly written by normal design standards, but this is me messing with C# and trying to learn how to do basic controls, layout, and functions like Save/Load.

7z Archive (~50kb)

ZIP Archive (~100kb)


April 1 Update
-Added ability to rename Tabs from the Rename top menu

April 14 Update
-Reducing FP below 0 automatically reduces HP by a like amount, per the rules.
-Added check box to turn a character entry into an Energy Reserve entry (for the character above or below that one, whichever you wish to use).
-Added Reset to Defaults under the File menu, which resets everything to defaults.
-Added warning message box to Save, Load, and Reset options under File Menu
-A few other minor tweaks & fixes

April 30 Update
- Added a Timer button to each character. This opens a window where you can set a countdown timer, useful for abilities that can only be used every so often in real time (such as Luck).
__________________
Eric B. Smith GURPS Data File Coordinator
GURPSLand
I shall pull the pin from this healing grenade and...
Kaboom-baya.

Last edited by ericbsmith; 04-30-2010 at 05:23 PM.
ericbsmith is offline   Reply With Quote
Old 03-30-2010, 06:59 PM   #2
Ronnke
 
Join Date: Aug 2004
Location: Australia
Default Re: GURPS HP & FP Tracker (application)

Nice little utility. It would be cool if you could add tabs and change the name of the tab so that as GM you could create a tab for planned NPC encounters.

eg.

My Players / Dock Encounter (Pirates) / Dock Encounter (The reinforcements) / Kraken / etc....
Ronnke is offline   Reply With Quote
Old 04-01-2010, 08:38 AM   #3
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: GURPS HP & FP Tracker (application)

Quote:
Originally Posted by Ronnke View Post
Nice little utility. It would be cool if you could add tabs and change the name of the tab so that as GM you could create a tab for planned NPC encounters.
Allowing users to add tabs isn't going to happen (at least, not the way I've written the app), though I could probably add a couple more myself. As for renaming them, I'd like to be able to allow that, but right now I honestly don't know how to do it. I was happy as frak that I'd managed to get the save function working, and I'd like to improve that with a standard save dialog at some point.

Anyway, I squashed a couple bugs in the code and posted an updated version.
__________________
Eric B. Smith GURPS Data File Coordinator
GURPSLand
I shall pull the pin from this healing grenade and...
Kaboom-baya.
ericbsmith is offline   Reply With Quote
Old 04-01-2010, 11:08 AM   #4
Kale
 
Kale's Avatar
 
Join Date: Aug 2005
Location: Cowtown, Canada
Default Re: GURPS HP & FP Tracker (application)

Any chance of compiling this for Linux? @:-)
I use a netbook with Ubuntu for my games...
__________________
FYI: Laser burns HURT!
Kale is offline   Reply With Quote
Old 04-01-2010, 12:10 PM   #5
nerdvana
 
nerdvana's Avatar
 
Join Date: Nov 2006
Default Re: GURPS HP & FP Tracker (application)

Quote:
Originally Posted by Kale View Post
Any chance of compiling this for Linux? @:-)
I use a netbook with Ubuntu for my games...
Not to say it isn't a good idea... but have you tried running it in the Windows Emulator in Ubuntu?
nerdvana is offline   Reply With Quote
Old 04-01-2010, 02:06 PM   #6
Kuroshima
MIB
Pyramid Contributor
Mad Spaniard Rules Lawyer
 
Kuroshima's Avatar
 
Join Date: Aug 2004
Location: The ASS of the world, mainly Valencia, Spain (Europe)
Default Re: GURPS HP & FP Tracker (application)

Quote:
Originally Posted by Kale View Post
Any chance of compiling this for Linux? @:-)
I use a netbook with Ubuntu for my games...
Same here...

A port to Java should not be that difficult, given that c# and java are not that different. The GUI can be designed with Netbeans (it's nearly as good as Visutral Studio at designing cookie cutter GUIs, IMHO).

As for WinE, personally, I don't have it installed in my net book, since it's one of the SSD models, and hard drive space is very limited (4GB for the OS). Also, the Atom processor has very low power consumption, but it's not the fastest processort out there...
__________________
Antoni Ten
MIB3119
My GURPs character sheet
My stuff on e23
Kuroshima is offline   Reply With Quote
Old 04-01-2010, 02:31 PM   #7
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: GURPS HP & FP Tracker (application)

Guys... as much as I would love to make this available in Java or recompile it for Linux... I'm in the process of learning C# using Visual Studio for Windows machines. I really don't know a darned thing about Java, nor how I'd go about compiling the code for Linux (let alone testing, since I don't have a Linux box) .

I'm making this because I'm building similar apps for class, but I'm already pushing the bounds of my knowledge of C# working on this. For instance, I spent the last couple hours figuring out how to shuffle information between forms so I could make a Rename Tab method. I spent a couple hours the other day trying to figure out how to save & reload the data.
__________________
Eric B. Smith GURPS Data File Coordinator
GURPSLand
I shall pull the pin from this healing grenade and...
Kaboom-baya.

Last edited by ericbsmith; 04-01-2010 at 02:38 PM.
ericbsmith is offline   Reply With Quote
Old 04-01-2010, 03:53 PM   #8
Kuroshima
MIB
Pyramid Contributor
Mad Spaniard Rules Lawyer
 
Kuroshima's Avatar
 
Join Date: Aug 2004
Location: The ASS of the world, mainly Valencia, Spain (Europe)
Default Re: GURPS HP & FP Tracker (application)

Quote:
Originally Posted by ericbsmith View Post
Guys... as much as I would love to make this available in Java or recompile it for Linux... I'm in the process of learning C# using Visual Studio for Windows machines. I really don't know a darned thing about Java, nor how I'd go about compiling the code for Linux (let alone testing, since I don't have a Linux box) .

I'm making this because I'm building similar apps for class, but I'm already pushing the bounds of my knowledge of C# working on this. For instance, I spent the last couple hours figuring out how to shuffle information between forms so I could make a Rename Tab method. I spent a couple hours the other day trying to figure out how to save & reload the data.
Well, learn C#, and once you feel a little confident with it, try Java. You'll realize that it's basically the same language (C# has been described as the bastard child of Delphi and Java). Trust me on this, as a Java an C# developer, on the basic levels, C# and Java are basically identical (though both have their quirks, and once you reach advanced subjects, they diverge some more)
__________________
Antoni Ten
MIB3119
My GURPs character sheet
My stuff on e23
Kuroshima is offline   Reply With Quote
Old 04-01-2010, 04:07 PM   #9
Ronnke
 
Join Date: Aug 2004
Location: Australia
Default Re: GURPS HP & FP Tracker (application)

Plus Java makes the baby Jesus cry. :P

FYI

To dynamically add a tab (where "tabControl" is the name of your tab object):

tabControl.TabPages.Add("My New Tab");

To change the names on the tab:

tabControl.TabPages[0].Text = "New Tab1 Name";
tabControl.TabPages[1].Text = "New Tab2 Name";

*the [0] and [1] indentifies the tab you are working with. So if you added a new tab, then the index would be [2] and so on.

Hope that helps your on your way to learning c#. Good luck. :)
Ronnke is offline   Reply With Quote
Old 04-01-2010, 04:08 PM   #10
Ragitsu
Banned
 
Ragitsu's Avatar
 
Join Date: Dec 2007
Location: Portland, Oregon
Default Re: GURPS HP & FP Tracker (application)

Whoa guys, stop being so demanding. ericbsmith, did this for free, and likely out of love of the system. You have no right to be whiny.
Ragitsu is offline   Reply With Quote
Reply

Tags
combat, game aids, gurpsland

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
Fnords are Off
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:42 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.