Staredit Network > Starcraft I Database > File: TrigEditPlus : Advanced trigger editor for SCMDraft2

Sunken Treasure
(Reload)
TrigEditPlus : Advanced trigger editor for SCMDraft2
Download
Filename: TrigEditPlus0.083.1.zip
Filesize: 425.81KB

Thumbnail

Rating
Not enough votes.
Log in to rate

File Information
General
Uploaded on:Aug 31 2014, 11:22 pm
Uploaded by:trgk
Author:Not Given.
Downloads:792

File Contents
TrigEditPlus.sdp
File Description
Advanced trigger editor for SCMDraft2.

How to install : Extract the attachments to SCMDraft2 folder. SciLexer.dll should be at the same directory with SCMDraft2.exe.
How to run : Click "TrigEdit++" instead of "Trigger Editor" menu.

Useful for editing EUD triggers. This program was initially designed to be EUD editor, but it became a lot better.

This program uses Scintilla and Lua.


Features:
1. Syntax highlighting.
2. Starforge-like autocompletion.
3. Lua code Every valid lua code is valid in TrigEditPlus, so you can do something like this:
Code
for i = 1, 5 do
   Trigger {
       conditions = [
           Bring("Player " .. i, AtLeast, 1, "Terran Marine", "MyLcation");
       ],
       actions = [
           SetDeaths("Player " .. i, SetTo, 30, "Terran Marine");
       ]
   }
end

note that the lua code will be replaced by normal triggers after the trigger is compiled.
4. EUD Support. You can write EUD conditions & EUD actions very easily.
Code
           SetDeaths(123456, SetTo, 789, 0);



Various shortcuts:
1. Ctrl + Shift + D : Unfold all triggers
2. Ctrl + Shift + F : Fold all triggers
3. F5 : Compile
4. Ctrl+S : Save. Basically same with the 'Compile'. but it doesn't produce 'Trigger successfully compiled' message when there are no errors.'
5. Ctrl + T : New trigger template

All Images

Comments
Tassaar930 wrote on Jun 17 2020, 9:59 am:
I've actually noticed that the newer version that interfaces with new SCMDraft (0.9.x) is a little bit unstable and produces random bugs (strings randomly breaking and repeatedly increasing in size until they exceed string section limits, string corruption, random junk characters being inserted in strings that you did not edit; maybe others). It also has some annoying crashes and doesn't support disabled triggers.

The older version (0.06beta - was around in 2017 I think), has 0 bugs that I've encountered while using, and I've used it a LOT in the past. Transmission actions however are unsupported and anything saved with a transmission in the trigger list will cause string corruption and blanked transmission actions. The older version interfaces with 0.8.0 scmdraft.

I'll upload the older version separately actually.

Veta wrote on Apr 25 2017, 12:23 pm:
This is really well done, thank you.

Chia-Tyrant wrote on Jan 11 2015, 12:46 pm:
Unlike scmdraft's text-based editor, this supports extended unit and player IDs.

Awesome. Thank you! \:\)

[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
[2020-9-21. : 5: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, jun3hong, Voyager7456, UndeadStar