So I’m an old board wargamer from the 60s and 70s and in my Twilight years finding face-to-face players becomes more and more difficult leaving games set up becomes more and more of a hassle so I’ve turned to vassal and oftentimes basically I play games solo myself I play both sides. So I’m working on a module and it’s being designed from ground up to be a solo module. You play side A, you pack it up and you send it to yourself and you then play side B so it allows for some masking and other things, which I know sounds kind of ridiculous, but when you get to be my aide, sometimes you forget what happened five minutes ago. Anyway, I’m just looking for some general input on what people think about playing games solo in that respect. Having masked cards, etc. So you would be playing like it would be play by mail, but you’re playing against yourself. You’d package up the turn, the log, and everything, and it would move to the other side, and you would re-log on and play the game from that and ship it back and forth. Just looking for some thoughts.
It’s important to know that VASSAL tracks players purely by their module password (their name is not important), so in order to do this, the solo player will need to change their password every time they change sides for the masking to work properly.
Just to make sure I understand:
- Start the module, and join as side A.
- Start logging to a log file (
.vlog) - Do the moves and actions, flipping counters, cards, etc.
- End the log
Then
- Start the module, and join as side B.
- Start logging to a log file (
.vlog) - Do the moves and actions, flipping counters, cards, etc.
- End the log
Rinse and repeat.
To me, that sounds a little convoluted. Why not
- Start the module,
- Join as side A
- Starting logging
- Do moves, etc.
- Save log
- Join as side B
- Do moves etc.
- Save log
Rinse and repeat.
Or
- Start the module,
- Starting logging
- Join as side A
- Do moves, etc.
- Join as side B
- Do moves, etc.
- Rinse and repeat
- Save log
There’s no need to leave VASSAL - you just change the side. Since you are the only player, there’s no other player that has taken up any side, so you are free to change sides as you see fit. See also How to play in Hotseat or Solitaire.
Well, there is a way to avoid that - pass the option -Dvassal.conf=<directory> with different directories for player A and B. The passwords can then be different. Note, this only works on MacOS and Linux, and possibly only on direct (--direct --load <module>) launches.
Yours,
Christian
This is true if the “Can be masked by” setting in a Mask trait is set to Any player…
But if you use Any side instead, you can get the effect of flipping/hiding/masking something in one player side, then take a different player side and immediately be unable to unflip/unhide/unmask the piece. No module password change required.
You’re all making this MUCH more complicated than it needs to be, because Vassal was DESIGNED for “hot-seat” play (competitors alternating interaction with the game through a single computer).
There’s no reason to come up with multiple passwords, multiple storage directories, or any of that, because VASSAL already does what is necessary.to present each player the SAME view as if he were playing a remote opponent on the other side of a network connection.
Here’s how you do it.
Start Vassal, load the module. and choose the desired scenario.
Start at player A.
Play as player A. Click on the button that looks like this:
===>
<===
to resign from being player A, and choose Player B.
Play as player B.
Resign from playing as Player B, choose Player A
Play as player A
etc.
Masking is automatically done by resigning.
As I already indicated, this isn’t reliably so–all depends on the choices made in the configuration of a Mask trait.
Some of what is described above relies on the module implementing “SIDES” (e.g., Axis vs. Allied).
While I don’t play hotseat, I sometimes need to TEST a module I’ve updated and need to see if MASKing is working correctly (and other stuff). The process I follow:
- Start a new game (using your regular name & password)
- Join the server, create a new room
- Launch a 2nd instance of the Vassal Module
- Look for a new game online
- Join the room you created
- Go into preferences and choose a different name & password
This works best if you have 2 monitors and can put one game screen on each monitor. If not, it’s somewhat easy to get confused…
If masking isn’t done in the module, adding all those extra steps while using the same .vlog file isn’t going to do anything different than just using the main-menu “resign” button to switch sides.
Either pieces of opposing sided are assigned to a side, or they are not.
Either pieces are masked, or they are not.
There’s is no in between.
As to your running two clients in parallel to the same networked game – I understand the need to test a module, but still, that doesn’t change the fact that either a module has correct masking or it doesn’t. If it does, simply using the resign button to switch sides is sufficient.
If the mask trait isn’t properly set up, then adding 5 extra steps isn’t going to make it suddenly work properly.
I’m not entirely sure if you were referring to my post or not, however your reference to testing makes it appear so…
I regularly play a game online w/ 3 opponents which does NOT have sides implemented. Masking IS correctly implemented.
The game is perfectly playable in that fashion, with the understanding that anyone can mask any unit (theirs or others). However, only the player who masked the unit can unmask the unit (assuming everyone has different Vassal Passwords).
Implementing sides adds significant complexity, particularly for games that may have different combinations of players & positions.
None of the Vassal Modules I’ve worked on have implemented sides. All have masking. They all work and play just fine.
When following the directions I provided, this is the result:
Player ME_1: I mask a unit. I can still see the unit on SCREEN_1.
Player ME_2 / SCREEN_2: The unit is masked and I see only the MASK defined for that piece.
Again, this assumes that I’ve set different Vassal Passwords in the 2 instances, so Vassal believes I’m 2 different players.
It works.
@Korval and @akulkis00 - you guys are talking past each other.
As @JoelCFC25 pointed out above and reiterated it “depends on the choices made in the configuration of a Mask trait”.
In the Mask trait you can set Can be masked by to
Any Player- player ownsAny Side- side ownsAny of the Specified Sides- sides own
(these also applies to the Invisible trait).
In the first case, Any Player, the player (really the password) that masks a piece owns the piece and can see the actual piece. Other players (other passwords) will see the defined View when masked image. This is the case @Korval is considering.
In the second or third cases, Any Side or Any of the Specified Sides, the side (what a player joined the session as - e.g., Axis or Allies) that masks the piece owns the piece and can see the actual piece. Other sides (those sides the player did not join as, or is not one of the specified sides) will see the defined View when masked image. This is the case @akulkis00 is considering.
Both configuration types, player owns and side(s) own(s), have their use cases. Typically, however, the side(s) own(s) is the appropriate configuration. When a German division is not known to the Soviet player, then it is because the player is playing the Soviet side. It is rarer that it is the actual player - rather than the side - that owns a piece.
@Korval: You could consider to use different -DVASSAL.conf=<directory> for the two test players - then you do not need to change password.
Out of curiosity, I’d love to hear my about the added complexity. I think what you are looking for is covered by the Any of the Specified Sides option, but I might be wrong.
@Korval and @akulkis00 - you may be aware of the difference. However, others may not - hence the clarification.
Yours,
Christian
Regarding Sides… What little I know is based on chatting w/ Brent/Joel (and subject to my possible misunderstanding(s)).
Vassal 3.0 makes defining sides cumbersome/complex and that is a design goal of 4.0 to make that easier.
When you have a game with 6 Nations and from 1-6 players, there are numerous permutations that have to be pre-defined by the module designer. IIRC, Vassal 4.0 will allow that to occur more dynamically (e.g., assign German & Italy to player: A).
Now because laziness is the mother of invention (or something), I found it easier to not define any sides and simply let players hide/mask those units that belong to them. Yes, it’s possible they incorrectly hide/mask a unit they shouldn’t. However, I haven’t found that to be an issue in the games I play.