Page 1 of 1

Sublime Text 3: Syntax highlighting for SOF1 (v20231113)

Posted: 08 Apr 2022, 03:13
by Acadie
Sublime Text: Syntax highlighting for SOF1
Author: d3nd3,Acadie
Description: Provide syntax highlighting in Sublime Text software for many different scripting language type in Soldier of Fortune.
Extension type: BPF, DS, GPM, FUNC, CFG, QE4, QDT, RMF, SP, WRS
Setup:
Extract the file to:
  • %HOMEDRIVE%\%HOMEPATH%\AppData\Roaming\Sublime Text 3\Packages\User
         (C:\user\myprofile\AppData\Roaming\Sublime Text #\Packages\User)
 

NOTE: In case there is no highlight showing. To activate, go to View> Syntax > User > "syntax type"
NOTE2: While there's no perfection, it is possible on a exceptional occurrence to encounter a faulty highlight. Fortunately the issue is minor and will only break a word or two in proximity.

Re: Sublime Text 3: Syntax highlighting for SOF1

Posted: 05 Feb 2023, 23:10
by Acadie
Updated to V20230205 for the Sofplus function highlight. There's only 1 file to change which is ./sublime_sofplus_syntax/sofplus.sublime-syntax

Re: Sublime Text 3: Syntax highlighting for SOF1

Posted: 06 Feb 2023, 15:28
by Grim
you should contact a couple of people here who are familiar with scripts, maps and the innards of online games.

I believe that an interesting hybrid software version would be created, from the maps to the way the game is played and its remaster.

ps: thanks again for the last jump map I saw from you in the gallery

Re: Sublime Text 3: Syntax highlighting for SOF1 (v20230424)

Posted: 24 Apr 2023, 16:47
by Acadie
V20230424
  • Added file extension .qdt for script file when using SoFData.exe.
  • Local cvar on Sofplus function that has the same name as in-game command won't get highlighted.
  • Other minor bug fixe and some few update here and there since my last post.