Staredit Network

Staredit Network -> SCMDraft -> Scmdraft2 Trigger(er)
Report, edit, etc...Posted by Cole on 2006-04-22 at 01:41:49
I was really bored and I've been looking for a quickly project to get me back into C#, so I wrote this up fairly quickly. It's not done and my final version will use a text system to store everything. I also lost all my work getting VC2005 Express C++ working with mpq's so I decided to just write a simple application.

What is this basic program?
It basically is a Trigger Editor. A 3rd party trigger editor like Trigedit but a bit easier. You can then just copy and paste the code right into trigedit and click compile. Also has a save\load feature with files(to load up and save code).

It's simple you click on new trigger, it will automatically write in new trigger text. You can drag a condition over and put it where you want it. It will also display the trigger format on the bottom. It is still in all complete text and same syntax as Trigedit. To compile just copy it all over to Trigedit and click compile.

Also the interface is far from done, I'm gonna look to end up including a list of Condtions\Actions\Units&Buildings\Comparisions\Ai Scripts\Score Types\States\Alliance Status\Movement Types\States\Resource Types\Players\etc.. similar to how Starforge does it or a different method whatever I can get working with my limited knowledge of C# and without giving me a headache. I'm overall just hoping to make something that will hold over until a better trigedit is released.

I know it's not all that usefull right now, but hopefully later versions should prove to be something, just give me some ideas on the interface and I'll look into them.

Current Problems\Incompletions:
-Players Button does nothing
-Drag and Dropping inside the text editor is a bit messed up.
-Checkmark does nothing
-Lines with more than one condition\action will not have a proper display format on the bottom(Happens with Starforge aswell)

requires the .NET Framework 2.0

There shouldn't be any other problems than those. It's an extremely small download(minus the 20meg .net framework)

TriggerEr:[attachmentid=18504]
Report, edit, etc...Posted by Kupo on 2006-04-23 at 16:53:58
Awesome, il be sure to test this out, although i still like the normal trigedit.
Report, edit, etc...Posted by Cole on 2006-04-24 at 22:10:38
I basically want to get those who dislike Trigedit do to not knowing it's Syntax or something feel more comfortable. I like the ability to see all my Triggers at once, combine the ability to see the syntax easier it works out quite nice.

Anyway I've changed the program quite a bit since that version. It's smaller(yes smaller 5kb when packed). It also gets all of it's data from a text file. This will allow you to add anything. You want the ability to click on something and have a full trigger added in, well this will allow ya to do that. Drag & Drop should work proper. Redid the interface a bit.

Once I work on the text file a bit more I will release it. The syntax is pretty simple.

Right now im kind of trying to figure out how to do something better and error free.

ADDITION:
I'll be releasing a new version during the week:
Anyway Improvements\Fixes\Info so far:
-Syntax Shower can detect multiple Triggers a line
-Loads all data from a text file with easy to read\write syntax
-Uses a Parent & Child system for displaying the data
-Uses a double click system than the drag & drop system
-New GUI
-Should be errorless
-Rewrote almost every line of my code.

All I gotta do for the next release make the program load the Syntax Shower data from the text file, finish the text file. The longest part being finishing the Text File.

Anyway if you got any nice ideas just list them here. I do have a few ideas on what im going to add next though:
-Mass Trigger Maker
-Everything Resizable
-The interface being completely moddable via text file.
-Intergrated ability to drag\drop items around to customize interface and write this data to a text file.

Though im not gonna start any of these until im done with the current version. If you have any ideas just list them.

ADDITION:
Ok here is my next version, it is overall a lot better due to the text file format.

All syntax should be right, though I turned off the Syntax Shower but the way it's set up it wont be to hard to figure out the syntax.
Anyway it's overall quite an improvement.

I updated the original attachment for you. I do suggest you download this, my next version should show a complete list of the triggers with their comment and the Syntax Shower will be enabled.
Next Page (1)