Staredit Network > Forums > SC1 Mapping Tools > Topic: Notepad++ language for TrigEdit++ code
Notepad++ language for TrigEdit++ code
Aug 10 2017, 3:46 pm
By: BumpelSnake  

Aug 10 2017, 3:46 pm BumpelSnake Post #1



I find it very ineffective to work withing the TrigEdit++ window, so I figured I'd do it rather in Notepad++ but I couldn't find a language for nice and smooth recognition, so I made a custom language myself.

Feel free to use!



Attachments:
trigeditplus.xml
Hits: 9 Size: 6.15kb

Post has been edited 2 time(s), last time on Aug 10 2017, 6:07 pm by BumpelSnake.



None.

Aug 26 2017, 12:05 am Wormer Post #2



Thanks for that!

As an addition, there been Notepad++ highligting for SCMD TrigEdit included with MacroTriggers distribution. Here is the standalone file (download).

Also have a look at TrigEdit highlighting for Vim :) Among other things it has colored text messages preview and errors detection as you type. Download includes StarCraft color theme for Vim and SCMD TrigEdit highlighting invoked for *.trigger files.


Post has been edited 1 time(s), last time on Aug 27 2017, 3:28 pm by Wormer.



Some.

Aug 26 2017, 3:04 am trgk Post #3



Oh thanks!

Feel free to give me some feedbacks!



EUD

Aug 27 2017, 10:39 am Wormer Post #4



trgk, is there a resource (besides the download link) where to read more about Trigedit++ syntax, use cases, map examples, discussion, etc.?



Some.

Apr 3 2018, 5:14 am martosss Post #5



Actually, Trigedit is based on Lua and, hence, if you pick Lua it does a relatively good job. Nevertheless, I'll try your theme for now.
First impressions:
1) It has even more personalization than Lua.
2) I'm using a dark background in my Notepad++, so the current theme colouring had to be totally changed to fit in(switching black with white text and white with dark background).



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:08 pm]
IlyaSnopchenko -- sraw531
sraw531 shouted: is there an "easy" (without modding/EUD) way to make flying command centers have a movement speed of ~0 when trying to fly, but can still land/lift?
Funny that it was just what I did when trying to prevent flying buildings from flying... though that was still through iscript/AICE - set the flingy speed to 0 after each liftoff (as it's reset to a hardcoded value each time the building lifts off)
[05:01 am]
Oh_Man -- https://youtu.be/eG9lTgu0R-M This guy must have got sued by like 5 different companies. 🤣
[01:00 am]
sraw531 -- is there an "easy" (without modding/EUD) way to make flying command centers have a movement speed of ~0 when trying to fly, but can still land/lift?
[12:50 am]
sraw531 -- surprisingly easy to change all the hero marines into normal marines, and vice versa, across the map though.
[12:10 am]
sraw531 -- really hate when SCMdraft replaces deaths with " Memory(17, At least, 1);", makes it so I can't do mass replace for triggers when it changes to memory type :(
[11:02 pm]
MTiger156 -- x
[10:51 pm]
sraw531 -- and sometimes Y
[05:20 pm]
UndeadStar -- e
[2020-9-21. : 4:40 pm]
lil-Inferno -- u
[2020-9-21. : 1:25 pm]
MTiger156 -- a
Please log in to shout.


Members Online: Roy, tolenpaker, jun3hong, jjf28, exomepal