-
Posts
556 -
Joined
-
Last visited
-
Days Won
37
Content Type
Profiles
Forums
Downloads
Events
Articles
HC Platform Requests
Posts posted by kmart494
-
-
Geof,
Internally, SimPlot runs on objects. All ships, planes, etc are child class objects of the Unit class. Even the waypoints are objects of a Waypoint class, with two object arrays for each unit: FutureWaypoints (set by players in the Waypoints window) and PastWaypoints. When a unit moves and reaches a FutureWaypoint, the waypoint is then moved to the PastWaypoint array, then movement continues until the end of the turn. At the beginning of every movement phase, if no waypoint exists at that location, a new waypoint is added to the PastWaypoint array so players may iterate through the turn-based replay later. This way, the app need not calculate where every unit was at a given time.
Each waypoint has a "time stamp" on it. Maybe for database purposes, that would be good enough to have only one table of waypoints per unit?
Kevin
-
I am curious about this approach. I haven't messed with databases in a long time, but my language of choice XOJO does support SQLite.
Do you think the game would be run from database inquiries, or should the entire database be loaded at app start?
One very significant problem with multiplayer games is data security. In SimPlot1, I used home-spun text files to store and transmit unit data to players. Turns out, players were looking into those files to get information they would otherwise not see. The current .spscn files are actually JSON files with a bit of encryption (so gentle I bet you can figure it out). Is was necessary to include ALL unit history to make the replay work correctly, even units that had only been "recently discovered".
I would appreciate your insight into this matter.
Kevin
-
Answered over at the Discord forum.
-
I take it you are using the latest version. If so, then I must apologize since I have had problems with the MacOS version, and there will be no further updates for SimPlot2.
If you have access to a Windows computer, then I recommend trying that version. It is much more stable.
Development of SimPlot3 will begin soon, so there is some silver lining to the cloud.
-
The background images were designed to be centered at (0,0) game coordinates.
-
I'm sorry to say that MacOS development for SimPlot has lagged behind the Win10 version due to Apple Gatekeeper issues. Therefore, you likely do not have the most recent version, which addresses the issues you are having. Do you have a Win10/11 computer to use? If not, I will try to update the MacOS version (no promises, though).
-
-
-
-
SimPlot version 2.3.3 is ready for download.
Fixed:
- Problems loading MapMaker maps after saving and reloading a scenario.
- Units deleted but "Show as Sunk" would temporarily disappear.
-
1
-
Anything older than H4 were not created in pdf format. Larry has told me the file types of the original documents are not supported by modern software.
-
I made a video showing how to play a refereed double-blind game.
-
1
-
-
I uploaded a new version of Harppon: Captain's Edition to the Vassal website.
Version 1.1 - Requires Vassal Version 3.6.7 or later.
- Now can host up to 2 NATO and 2 Soviet players.
- Added graphics for depicting ship/aircraft sensor ranges.
- Added an Invisible trait to counters to support double-blind play.
- Added a Referee player to support double-blind play.
- All counters except missiles are on player-specific counter sheet windows.
- Flown aircraft will automatically return to the base Ready Aircraft box when the Next Turn button is pressed.
-
A module for the classic 1990 game Harpoon:Captain’s Edition is now available for download.
https://vassalengine.org/wiki/Module:Harpoon:_Captain's_Edition
-
1
-
-
Actually, the discrepency with the decimal place is internal to SimPlot. Many decimal values are truncated to a certain number of places, then cast as an integer value to be saved. This saves file space as Xojo will save too many decimal places in JSON. I forgot I had done that. The value in your file is correct.
What's not correct is the drawing routine in SimPlot. It turns out that a background image from MapMaker was being drawn first, then the background fill is drawn. That "covers up" the image. The next release will have the fix. I might release it this weekend, but the unit formations are not yet tested.
-
I think I discovered the problem. Your map image has a scale of .353 pixels/nmi, but the json file shows 353 pixels/nmi. This will not render correctly in SimPlot. I will look at the source code to see where the app went wrong.
-
Is your raw picture in the same folder as the map json file? It should appear there if the checkbox is set True.
-
The formation ships will have to "teleport" to their new locations since I am not going to code a movement AI. I actually researched how ships move in a formation, and it is very complicated (also depends on the type of formation). I don't want to sped any time on that right now.
The NTDS symbols can be adjusted using F9. Try different Symbol Scale or Symbol Size settings
I will reduce the transparency down to 25% and see if that helps. Otherwise, I will have to turn it off.
-
Under the File menu there is a screenshot function.
I am looking into ways to reduce the file size without sacrificing the data.
-
The unit's Track Number is a four digit number starting at a random point and incremented by one. The internal UnitId property starts at 001 and increments by one for each new unit. The UnitId is also prefixed by a letter indicating the type of unit.
You can create units using a blank scenario and export them (Units/Export menu item). Send the JSON file to your friend. Your friend can then import the unit (using the Units/Import menu item). The UnitId and Track Number will be assigned at the time of importation.
-
I would like to know how important the turn replay and historic movement track features are to your experience using SimPlot with Harpoon V.
The upcoming issue is the complexity of not only the code to execute turn replay, but also the amount of data that must be stored in the way of historic movement tracks to support turn replay. The more features I add to SimPlot, the more coding that must be done and the more data that must be collected to support turn replay.
Already I have eliminated range arcs/circles from historic consideration. That means the arcs/circles will not appear and disappear during the course of replay, but rather they will stay on/off based on their last status.
I am in the process of expanding the formation editor features, but it occurs to me a formation will change its composition (units and their locations within the formation) over time. Even a change to the formation leader will cause the turn replay to not function right unless the changes are tracked by time. (Especially because all the formation bearings and distance are based on the leader.) This requires additional code and data storage (larger file sizes) to implement correctly.
I have to admit I really like the concept of a live turn replay. It was originally a response to players of multi-player games that felt disconnected by the multi-player experience (processing multiple turns between player interactions). The replay would give a player an opportunity to "catch up" with the action since the last turn. Perhaps an alternative could be offered in the way of screenshots saved into Red, Blue, and All folders based on the referee "Show Side" setting.
Movement tracks are s lightly lesser issue for coding, but they are a huge issue for file sizes. Already I have begun offering players the option to not save movement tracks in their turn files. The movement tracks do at least allow players to "turn back the clock" in case of an error during movement. That means tracking movement for at least one turn. But, I would like to know if displaying the total historic tracks during a scenario is useful to you.
Kevin
-
I did not yet incorporate that feature, so it is disabled for now. But, it will come soon.
-
SimPlot MapMaker for MacOS
View File
This is an experiment in using SimPlot MapMaker on Intel 64 bit MacOS.
The dmg file will download but must be activated by clicking on it in the download pane of the browser or double-click on it using Finder (in the Downloads folder).
The dmg will open as an attached device (sorry--there is no installer yet for SimPlot MapMaker). If a window pops up showing the SimPlot MapMaker.app file, please close it. Running SPMM from that window will only provide a temporary storage space for the application.
Using Finder, create a new sub-folder in your Applications folder (ex: SimPlot MapMaker). Drag and drop the SimPlot MapMaker.app file from the attached device to your new folder. Close the attached device (click the close button next to it in Finder).
You are now ready to use SimPlot MapMaker by double-clicking the SimPlot MapMaker.app file. You may get a security warning, but allow it to continue opening the application.
This is a beta version and most things work. You must have a png background image (e.g. from Google Maps). You must also measure the pixels per nautical mile of the image. When you get the project started, you can draw polygons on top of the background. I use it to create land polys with other overlays. As an option, the original background can be used as a part of the final map (using the image with some overlays, but not a complete repaint).
-
Submitter
-
Submitted12/11/2021
-
Category
-
-
A new problem was discovered with SimPlot 2.3 Build 15. If you specified altitudes or depths with your waypoints, then those values were not reloading correctly and causing the file not to load. The altitude/depth values became multiplied every time you saved the scenario, and the values grew until they broke the JSON parser.
The easiest way to self-correct your files is to perform a text search for "AltitudeDepth" (this will appear in the PastWaypointArray and FutureWaypointArray JSON items for each unit). All waypoints have this attribute, but the problem will only occur with air and subsurface units. Anyway, any value you find after "AltitudeDepth" that is wacky should be replaced with a zero. Please keep in mind the value will normally have an extra three zeros since it is supposed to track the altitude/depth to three decimal places (after conversion from a decimal to integer). Anything that is greater than that has been multiplied too much and should be replaced with a zero.
Build 17 for Win10 is ready for download. The MacOS version will follow shortly.

SimPlot - Importance of replay and movement tracks
in General
Posted
Thank you, Geof.
I like the idea of eliminating the data movement. The original idea of the future/past waypoints was to facillitate the drawing of paths ahead of and behind a given unit. The replay feature had not yet been invented, so I was working with what I had when it did come along.
FYI, internally SimPlot tracks units by a unique identifier called UnitID. It uses a letter followed by a three digit number. For example, the first surface ship created would be S001, then S002, etc. The idea of the Track Number came in version 2 when I wanted to create a realistic way of displaying unknown units. In the real world, all detected units are assigned a TN. That and the "domain" (air, surface, subsurface, space) are the minimum information that a commander can see. The UnitID is still a part of SP2, and probably should remain as the TNs for each side may have to be unique. More thought needs to go into it.