mklabs / tw-devtool-console.app

Modding Devtool Console for Total War games as a Desktop application

Home Page:https://steamcommunity.com/sharedfiles/filedetails/?id=1574469690

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TW Modding Devtool Console

An electron application for Total War games that lets you execute LUA code while the game is running.

It aims to provide a basic REPL (read eval print loop) to assist in mod scripting.

Supports Troy and Warhammer 2.

Modding Console App

Install

Windows 7+ platforms are supported (64-bit only).

Windows

Download the .exe file.

Features

This application is basically an enhanced version of the Modding DevTool Console mod for Warhammer 2

  • Better editing with syntax highlighting and proper multiline support (Press Enter to execute, Shift+Enter to insert a new line)
  • History of commands (navigate through them with Up / Down arrow while on the command prompt)
  • _0 special variable is a reference to the last UIComponent clicked within the game
  • Use print() to debug variables
  • Implicit return on the last statement
  • Inspect variables and tables like cm or core

Possible improvements: auto-completion, log files panel, support for more games (Three Kingdoms, Thrones of Britannia, ...)


Dev

Built with Electron.

Run

$ npm install
$ npm start

About

Modding Devtool Console for Total War games as a Desktop application

https://steamcommunity.com/sharedfiles/filedetails/?id=1574469690

License:MIT License


Languages

Language:JavaScript 48.2%Language:HTML 20.6%Language:Lua 16.7%Language:CSS 14.5%