BattleTech
0 of 0

File information

Last updated

Original upload

Created by

crab

Uploaded by

crabtruckington

Virus scan

Safe to use

Tags for this mod

About this mod

This simple script will massively reduce the number of vehicles that RogueTech spawns as part of lances.

Requirements
Permissions and credits
Changelogs
IMPORTANT:
DO NOT attempt to get official help for this script from the RogueTech team

DO NOT report any bugs related to this script or your game after using this script to the RogueTech team

This simple script will massively reduce the number of vehicles that RogueTech spawns as part of lances. It does this by removing all possible Vehicle spawns from the "Combined Arms" Lance definition files, leaving only Mechs as viable spawn choices. As a result, the difficulty of missions may be slightly higher. Mechs are harder to bring down than a vehicle after all!

It should work on all versions of RogueTech though I have only tested it on the latest. There will still be vehicle spawns in the game, but will only be on missions with a "special" lance type, like a convoy, or hard coded vehicles.

Version 1.3 changes how vehicles are removed from the spawn pool, which in turn removes even more vehicles! We now add a basic mech definition with low restrictions that should always be a valid spawn target. We also check to make sure there is at least one valid Mech in each lance, and if there isnt, a default one is added. This fixes some bugs where a vehicle lance is requested by the contract, but there are no valid choices in the lance file. Convoys will still be composed entirely of vehicles.

As of version 1.2, you can now optionally remove VTOLs from the spawn pool!
VTOLs will be replaced with a (hopefully) equivalent vehicle. This will undoubtedly increase the difficulty as ground vehicles are harder to kill than VTOLs. On the plus side, no more waiting 30 seconds for a VTOL to take its turn!

Note: As of version 1.1 of this script, you no longer need to download any additional Ruby Gem files or the developer edition! I did not realize that as of version 2.6, Ruby has now incorporated the JSON parsing gem into its core package. Sorry everyone who went through that process before!

Usage:
  1. Install RogueTech! https://www.nexusmods.com/battletech/mods/79
  2. Download Ruby https://www.ruby-lang.org/en/downloads/ . I recommend version 2.7 but version 3.0+ and version 2.6 should work. You can download the normal user version or the developer version, whichever you prefer.
  3. Download this script, unzip the files rtUnVehicle.rb and DefaultMechs.rb from the archive and place them in their own directory. Try to avoid directories with special characters, and do not put it in a special system directory like "Program Files" or your User folder. I recommend something like C:\RTUnVehicle
  4. Go to your BattleTech installation folder that you have already installed RogueTech into, and copy the \Mods\RogueTech Core\Lances  folder (and all its subfolders and files!) into the same directory you unzipped rtUnVehicle.rb into. Your folder should now look like the screenshot, with a Lances  folder, rtUnVehicle.rb  , and DefaultMechs.rb files.
  5. Open a cmd prompt, navigate to C:\RTUnVehicle (or wherever you placed the files), and type ruby rtUnVehicle.rb to run the script
  6. Once the script has finished (This may take a minute or two on slower machines) follow the instructions provided to copy the subdirectories in NewLances  back into the RogueTech Lances directory.
  7. Enjoy the vehicle-less bliss!

If you run into any issues, please include the error output of the script as well as the generated log file!
To revert back to standard RogueTech, reinstall using the RogueTech launcher or restore the backup you made of the Lances folder.

DISCLAIMERS:

DO NOT attempt to get official help for this script from the RogueTech team
DO NOT report any bugs related to this script or your game after using this script to the RogueTech team, they will not help you
This mod and its developer are not in any way related to the RogueTech project or its creators.
This script is provided AS-IS. I make no claims to ownership of any part of RogueTech, BattleTech, HareBrainedSchemes, their Intellectual Property, Copyrights, Trademarks, artwork, or anything else.
Any reference to the above is done under the assumption of Fair Use.
This mod does not provide any files from the RogueTech project, it simply modifies files the end user has on their machine.
This mod does not provide any files from the RogueTech project

Feel free to review the script in notepad or your editor of choice if you have any concerns about it. I have included plenty of comments to describe the process for people who are not familiar with Ruby scripting.
Feel free to modify the script to your liking as well, the concept is very simple, and there are plenty more customizations you could make if you want to change the Lance spawning behavior.