

You have a freecam to navigate around, and you can spawn objects (with preview!), move them around with your mouse or keys. If all is well, you file should now be correctly highlighted GMod Lua style.This is a tool reminiscent of MTA:SA Map Editor days.

Click OK and GMod Lua highlighting should be instantly applied. Otherwise on the Change document syntax highlight toolbar button (the one which in PSPad's default theme looks like a Visual Studio logo with "C++" written above it). If you don't have (standard) Lua highlighting enabled, GMod Lua highlighting should already be applied.

Open a GMod Lua file such as a SWEP file.In the right pane, under User Highlighters - scroll through the list of available language highlighters until you come to "GMod Lua".

Click on the Specification tab in the right pane. In the Highlighter Settings dialog browse throught the left-pane list of languages and check a placholder field ("").Point to Settings -> Highlighter Settings. Close PSPad if open and extract the contents of the archive (GMod Lua.INI) to the /Syntax subfolder of your PSPad installation path.when they're using C-style comments),īelow is a list of custom highlighters available for some commom text editors to provide GMod Lua highlightingįollow these steps to set up the GMod Lua highlighter with PSPad. Lua in its implementation in GMod differs slightly from that of standard Lua.įor those fussy people who would rather have their GMod Lua code highlighted properly (e.g.
