• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Console Commands Mod

StompyNZ

New member
https://github.com/7D2DSDX/Mods/tree/master/ConsoleCmd - base mod to enable commands

https://github.com/7D2DSDX/Mods/tree/master/ConsoleCmdLibrary - library of commands

Just install the mod and add your console commands to any other mod that compiles into Mods.dll and it will get added to the game :)

ConsoleCmd

The base mod is required and does the patch to enable any other commands that extend IConsoleCommand class to be registered on world startup.

ConsoleCmdLibrary

The library contains commands to do various actions in the game world (Single Player) (the below are mostly the same as BCM commands of the same name).

Abstract - base class for other commands to extend to get shared functionality (SendOutput and param parsing etc)

loc - Reports and stores your position

block - Various block commands such as fill and swap

import - Imports a prefab at your location or the location given

export - Exports a prefab to disk in the given area (loc and player pos, or co-ords)

Credits: TormentedEmu and SphereII gave heaps of help understanding PatchScripts, and the Guppy discord crew for moral support and motivation :)

 
Last edited by a moderator:
Added a second mod with some new commands for single player - details in first post

Note:

Block scan isnt working atm as I need to refactor the output

There is currently no undo on the block and import commands

Help docs are not finished yet :p

 
Last edited by a moderator:
Back
Top