Back to Blog
Useful starsector console commands7/26/2023 ![]() The console mod loads command classes itself, so you can place the java files anywhere in your mod folder you want – data/console/commands is a good choice as data/console already exists to contain commands.csv. You do not need to add Console.jar to your mod_info.json.Īll commands are contained in their own separate Java class. To add custom commands to the console you’ll need a mod that contains two things: your commands’ scripts, and the file data/console/commands.csv to register them in. This tutorial is intended to explain the new process in detail. A major design goal of version 2.0 was to make implementing these commands as painless as possible. Using this mod as a cheating tool will suck all of the fun out of Starsector for you. The command “list” will help with this alternatively these IDs can be found in the data files, usually in the CSVs or variant files. Most importantly, you will need to know the internal IDs of various objects in order to use any commands dealing with them. This means it does require some knowledge of Starsector’s inner workings. ![]() While I’ve tried to keep everything as user-friendly as possible, this is primarily intended as a tool to aid mod development. More commands! If you have any requests let me know in this thread and I’ll try to add them to the next version.These work in both contexts, but function in different ways. Some commands are listed under both campaign and combat. AddCommandPoints, BlockRetreat, EndCombat, Flameout, ForceDeployAll, God, InfiniteAmmo, InfiniteCR, InfiniteFlux, Kill, NoCooldown, Nuke, RemoveHulks, Repair, Reveal, Rout, ShowAI, ShowBounds, ShowLoc, SpawnAsteroids, Suicide, ToggleAI, Traitor.AddCredits, AddCrew, AddFuel, AddHullmod, AddItem, AddMarines, AddOfficer, AddOrdnancePoints, AddShip, AddSkillPoints, AddSpecial, AddSupplies, AddWeapon, AddWing, AddXP, AdjustRelation, AllBlueprints, AllCommodities, AllHullmods, AllHulls, AllWeapons, AllWings, FactionInfo, FindItem, FindShip, ForceDismissDialog, ForceMarketUpdate, GoTo, Hide, Home, InfiniteFuel, InfiniteSupplies, Jump, Kill, List, OpenMarket, PlanetList, Repair, Respec, Reveal, SetCommission, SetHome, SetRelation, ShowLoc, SpawnDerelict, SpawnFleet, Storage, Suicide, Survey.Alias, BugReport, Clear, DevMode, DumpHeap, Help, List, ModInfo, Reload, RunCode, Settings, SourceOf, Status.Should be compatible with all mods, even total conversions.Doesn’t require a new game, and can be safely untagged from a running game without issues.Write, compile and run code in-game using the Janino library.A large list of included commands, and the ability to add your own custom commands to the console.You can fix this by disabling the console’s background: open saves/common/config/lw_console_ in a program like Notepad and change “showBackground” to false. Sometimes the game will crash when opening the console at very high resolutions.If you want to change the key that summons the console or the command separator, you can change these and several other console settings by using the “settings” command during a campaign. RunCode is an exception and can’t be used with the command separator. For example, “god nocooldown reveal infiniteflux infiniteammo” would run all of these combat cheats in a row. You can enter multiple commands by separating them with a semicolon. For more information on a specific command use ‘help ‘. For a full list of supported commands enter ‘help’ in the console. While the commands themselves aren’t case sensitive, arguments are. Once in the game, you can summon the console with control+backspace and enter your commands. Put it in the mods folder and make sure it’s tagged in Starsector’s launcher. This is installed just like any regular mod.
0 Comments
Read More
Leave a Reply. |