Sublime Text 3: Syntax highlighting for SOF1 (v20231113)

Post Reply
Reactions: 15
Posts: 718
Joined: 23 Nov 2011, 16:42
Location: Canada

Sublime Text 3: Syntax highlighting for SOF1 (v20231113)

Post 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.
Attachments
Sof1_Sublime_highlight_v20231113.zip
(99.7 KiB) Downloaded 9 times
FUNC file
FUNC file
RMF file
RMF file
Reactions: 15
Posts: 718
Joined: 23 Nov 2011, 16:42
Location: Canada

Re: Sublime Text 3: Syntax highlighting for SOF1

Post 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
Reactions: 2
Posts: 56
Joined: 13 Apr 2019, 08:18

Re: Sublime Text 3: Syntax highlighting for SOF1

Post 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
Reactions: 15
Posts: 718
Joined: 23 Nov 2011, 16:42
Location: Canada

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

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests