Stat / score keeping?

Hi,

I’m looking for some guidance on how to implement stat/score keeping into my module.
I’d like to create a tab where you can assign victory points, kills/losses etc.
The score keeping doesn’t have to be dynamic based on events on the board.

Could you please recommend an existing module that I can look at to learn how this is done and get some inspiration?

Thanks!

Goose

If you want to take care of it manually, that’s easily done with a display of the stats/score and up/down buttons to make adjustments.

I’ve attached a sample that I did quite a while back showing this technique. It’s an army unit that has two displays - one for rank and one for kill credits. The small green up and down arrows are used to manipulate the values. You should be able to get some ideas out of it.

Just change the .zip to .vmod.

Thanks, but I think my problem statement was poor.

As seen in the image, I drop tokens into the cell/region and it updates the XP and Total based on the value of the token.
A “Soft”-kill token gives 1p, “VP”-token 3p and a “Dead”-token -1p for the infantry that was killed.

I understand that I need to define token value, store in variables and a command when a token is dropped.
Does anything like this already exist? I found that SmallWorld has drop token system for points but I’m looking for more examples.

Thanks

Check out the Yahtzee Module.

----- Original Message -----
From: “Goosifer” gustav.guldberg@gmail.com
To: messages@vassalengine.org
Sent: Wednesday, November 14, 2012 4:20 AM
Subject: [messages] [Module Design] Stat / score keeping?

Hi,

I’m looking for some guidance on how to implement stat/score keeping
into my module.
I’d like to create a tab where you can assign victory points,
kills/losses etc.
The score keeping doesn’t have to be dynamic based on events on the
board.

Could you please recommend an existing module that I can look at to
learn how this is done and get some inspiration?

Thanks!

Goose


Read this topic online here:
Stat / score keeping?


messages mailing list
messages@vassalengine.org
vassalengine.org/mailman/listinfo/messages


messages mailing list
messages@vassalengine.org
vassalengine.org/mailman/listinfo/messages