Sublime Text 3: Syntax highlighting for SOF1 (20260220)

User avatar
Acadie
Reactions: 16
Posts: 736
Joined: 23 Nov 2011, 16:42
Location: Canada

Sublime Text 3: Syntax highlighting for SOF1 (20260220)

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: CFG, BPF, DEF, DS, GPM, GIN, GPM, GSQ, IFL, LST, FUNC, QDT, QE4, 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.
You do not have the required permissions to view the files attached to this post.
User avatar
Acadie
Reactions: 16
Posts: 736
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
User avatar
Grim
Reactions: 4
Posts: 94
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
HELLO?
User avatar
Acadie
Reactions: 16
Posts: 736
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.
User avatar
Acadie
Reactions: 16
Posts: 736
Joined: 23 Nov 2011, 16:42
Location: Canada

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

Post by Acadie »

20240807
20240808
  • Bug fixes for most file type.
  • Added maplist .lst extension.
  • Better accuracy on func, ds, and rmf.
It's pretty much complete except function/cfg. There still work for these two.

Who is online

Users browsing this forum: Claudebot and 0 guests