boredwithlife0b Posted December 17, 2021 Report Posted December 17, 2021 Hi all, I'm trying to help the umpire in a scenario he is adjudicating on simplot. I have a bit of knowledge in manipulating JSON so I though ti'd try to lend him a hand creating units with their weapons and sensors prefilled. I'm having a problem understanding how the tracking number is iterated, when I create a new unit it doesn't show up on the map, due I believe to the lack of the proper tracking number. Quote
kmart494 Posted December 18, 2021 Report Posted December 18, 2021 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. Quote
boredwithlife0b Posted December 24, 2021 Author Report Posted December 24, 2021 Thanks neighbor! I'm trying to make life a little easier by scripting creation of ships and aircraft with python. Sounds like I can first create a blank scenario to get the random seed number, and then feed that JSON into the script to seed whatever else I need! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.