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:599

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
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! \:\)

[02:02 pm]
Corbo -- Suicidal Insanity
Suicidal Insanity shouted: I had thought it loads it from the MPQs and parses it, so I was working on re-implmenting that with the MPQ code changes, and then noticed that it does grab the MPQ interface but then ignores it :X
nice
[09:23 am]
Suicidal Insanity -- I also still could use spec sheet for the formats to make sure I am using them correctly - it appears BWscript doesn't have string names? Or they are in a different spot?
[09:22 am]
Suicidal Insanity -- I had thought it loads it from the MPQs and parses it, so I was working on re-implmenting that with the MPQ code changes, and then noticed that it does grab the MPQ interface but then ignores it :X
[09:03 am]
Pr0nogo -- ok, i'll explore that when you have that changed
[08:54 am]
Suicidal Insanity -- if trigedit has such things
[08:54 am]
Suicidal Insanity -- Or maybe change it to a warning
[08:54 am]
Suicidal Insanity -- I just need to disable the verification, then it would allow arbitrary characters
[08:48 am]
Pr0nogo -- would be nice to change that and see if that allows arbitrary characters
[07:24 am]
Suicidal Insanity -- Pr0nogo
Pr0nogo shouted: trigedit won't compile or throw errors, i'll try with the custom aiscript files imported to the scmd mpq
Ya trigedit has the aiscript.bin file added to its resource - it doesn't load it from the MPQs
[06:13 am]
Pr0nogo -- agreed
Please log in to shout.


Members Online: Roy, Nekron, Arta(M)