lalotus.blogg.se

Gmod file editor
Gmod file editor





gmod file editor

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.

  • Run jEdit and open one of your GMod Lua files.
  • Save all changes made to the "catalog" file and close jEdit.
  • Make sure you use an extension that will not conflict with any other language highlighting you may want to still use. NOTE: If you choose the extension changing solution for this step.
  • Locate this code either commenting it out with XML comments ( ) or by changing the file extension to something else other than Lua, so it does not conflict with the GMod higlighting:.
  • In the file, add this code somewhere between the and tags:.
  • Open the "catalog" file (found in the /modes subfolder) with jEdit.
  • Close jEdit if open and extract the contents of the archive (gmodlua.xml) to the /modes subfolder of your jEdit installation path.
  • NOTE: If you wish to also have the standard Lua highlighter enabled at the same time, following the instruction outlined in the last step will be a necessity everytime you want to highlight code GMod Lua style.įollow these steps to set up the GMod Lua highlighter with jEdit.

    gmod file editor

    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.

    gmod file editor

    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".

    gmod file editor

    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.







    Gmod file editor