|
Post by scoops on Apr 13, 2015 15:04:46 GMT
Should I get hit by a bus tomorrow I've written the following. It's my first foray into C++ so I expect it's not the best code in the world but it does apparently do the job.
When run it will ask you for the number of ballast classes (over and above the standard car) and the max ballast (KG). It then asks for the dimensions of the car in cm and the mass of the car in KG with no ballast. It then writes a text file with the script for the additional ballast classes. The text needs to copied and added to the cars upgrades file near the start straight after the UnlockExperience=0 line.
I'm sure this would look better if it was written to be run in a GUI and to update a chosen upgrades file but not up to that level yet. Attachments:ballast.exe (79.64 KB)
|
|
|
Post by cageyh on Apr 14, 2015 19:11:59 GMT
Nice work Scoops!
|
|