Hello fellow modders,
I had some time to spare and wanted to create a new syntax highlighting. Sadly notepad++ isn't the best choice so I have decided to use Sublime Text 3.
Of course, one could use the previously created one for notepad++, but Sublime Text 3 allows you much more to specify the grammar of your syntax and therefore allows you get much better results.
For those of you who are a bit more into programming, I wrote the file in JSON and then converted it into YAML. I haven't written it directly in .tmLanguage since the syntax is quite similar to XML, which sucks..
About:
The download includes a .tmLanguage file, which contains all the syntax highlighting for an Edu, descr_strat, campaign_script and edct in Medieval II Total War.
Download:
export_descr_unit
descr_strat
export_descr_character_traits
campaign_script
Install:
Copy the file into the following directory - C:\Users\[User_name]\AppData\Roaming\Sublime Text 3\Packages\User
Of course you have to download sublime Text 3, as well.
That can be done here: https://www.sublimetext.com/3
Plans for the future:
Next stop will be to create a syntax highlighting for the ancillary file.
How to use:
Click View->Syntax->scroll all the way down to 'User'-> 'TotalWarEDU' | 'TotalWarStrat' | 'TotalWarCampaignScript'
export_descr_unit:
descr_strat:
EDCT
Campaign_Script
I hope, I can make your life a bit easier with this small tweak
Regards,
Aneirin