Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

Dylbill

Uploaded by

dylbill

Virus scan

Safe to use

Tags for this mod

About this mod

Adds features to the console menu. Displays extra data for selected items. Saves command history and item data to Json file, and loads said data when loading a save. copy / paste to and from system clipboard.

Requirements
Permissions and credits
Changelogs

     Check Out My Other Mods


Description

This Adds features to the console menu.

Features:
- Displays extra data for selected items - Name, RefId, BaseId, Type and Mod Origin 
- Saves command history and item data to Json file, and loads said data when loading a save. (This is the main reason I made this mod.)
- Can now scroll console info with the mouse wheel, as well as using page up and down. 
- Set the percentage of the screen the console takes up. 
- Copy and Paste to and from system clipboard.
- New console commands.

Controls
You can scroll lines in the console info and paste either the form ID from the line or the entire line to the the command entry. 
To scroll lines, hold Ctrl and use the mouse wheel or page up / page down. 
Ctrl + F = Paste highlighted line form ID
Ctrl + L = Paste entire highlighted line 
Ctrl + V = paste from clipboard
Ctrl + C = copy to cliboard
Ctrl + X = cut (to clipboard)
Ctrl + A = select all 

New Console Commands
ShowActorValues
ShowBaseActorValues
GetSoulSize
GetVoiceType

Click on an actor while the console is open and enter any of those commands to view their values.

Installation: Please Read!!!
Extract the files to your Skyrim/Data folder. (And all of the requirements listed below.)

If you're not using the No .esp mod
Load your game, open the console, type "Player.APS ConsoleTweaks" (without the quotes) and hit enter. 

You should see a "ConsoleTweaks Attached" notification if successful.  
APS stands for AttachPapyrusScript. This attaches the ConsoleTweaks script to the player without the need for an ESP. 

Requirements
SKSE64
SkyUI
ConsoleUtil SE
PapyrusUtil SE
Dylbills Papyrus Functions version 4.6 or later.
Address Library for SKSE Plugins

Soft Requirement:
No .esp (required for auto binding the ConsoleTweaks script to the player.)

Note that this mod will work on LE. If installing this on LE, install the LE versions of the above mods, except for my mod Dylbill's Papyrus Functions. The only version of that is on SE and it's fine to install on LE. 

Compatibility
This mod will not be compatible with other mods that alter the console.swf. 

Customization
To customize, open the Settings.txt file found in Data/Interface/ConsoleTweaks. 
Here you can set
- Screen Percent, (between 20 and 100)
- MaxJsonObjData, (set's how many Obj Data strings are saved to the list in the Json File. Max this can be set to is 100)
- InfoScrollsWithMouseWheel, (Set to 0 to disable scrolling console info with mouse wheel.) 

And the strings that are used in the console menu: 
RefId:
BaseId: 
Type: 
Mod:

Json Data
When you close the console, your command history, console info and current selected console object are saved to: 

Data/SKSE/plugins/ConsoleTweaks/ConsoleTweaks_StringData.json 

When you load a save, it set's your command history and current console target from that file automatically. 
This is helpful for making and testing mods, as you can quit your game, change something in your mod, then load the game 
and console data remains intact. 

In this file you can also view recently selected object's data: Name, RefId, BaseID, Type and which mod it's from (same as is displayed in the console.) 

Note to mod authors
The console flash now sends a few mod events that you can make use of. One is when you execute a command, which means you can implement new console commands that call papyrus functions. 

Exampe script: 
Spoiler:  
Show


Event OnInit()    
RegisterForModEvent("ConsoleTweaks_ConsoleSelect", "OnConsoleTweaks_ConsoleSelect")
;event recieved when a reference is selected in the console   

RegisterForModEvent("ConsoleTweaks_ConsoleCommandExecuted", "OnConsoleTweaks_ConsoleCommandExecuted")
;event recieved when a console command is executed
EndEvent 

Event OnConsoleTweaks_ConsoleSelect(string a_eventName, string a_strArg, float a_numArg, form a_sender)    
ObjectReference Ref = ConsoleUtil.GetSelectedReference()
;get selected ref using consoleutil
EndEvent

 Event OnConsoleTweaks_ConsoleCommandExecuted(string a_eventName, string a_strArg, float a_numArg, form a_sender)
;a_strArg is Executed Command   
If a_strArg == "My Console Command"     
  ;do something    
Endif
 Endevent
 

Credits
The skse and skyui teams.
I used schlangster's flash source to compile the .swfs. https://github.com/schlangster/skyui using cs4
and the console menu decompiled from mardoxx's source here: https://github.com/Mardoxx/skyrimui as a base reference.