Staredit Network > Forums > SC1 Mapping Tools > Topic: Need ideas for a program
Need ideas for a program
Feb 16 2010, 10:00 pm
By: Oo.DaMeiN.oO  

Feb 16 2010, 10:00 pm Oo.DaMeiN.oO Post #1



I am writting a program to make trigger creation quicker for me and I need some ideas on how to word somethings to be more universal incase someone else uses this.


So heres what it does:

Shows a box with a drop-down menu and in the drop-down menu it will list all the conditions you can use.
When you click said condition it copies a specific text that I have assigned to the clipboard and you can just paste it into a text document.

So for example, the first on the list is called NewTrigger
If you click this the following text automatically gets copied to your clipboard

Code
Trigger(" "){
Conditions:


Actions:

}

//-----------------------------------------------------------------//


And then all you have to do is press CTRL+V and you have a new trigger setup. Now what I need suggestions on is what to make the lists names and any other suggestions on my example.

The reason I ask is that at the moment I have the next one: AccumulatesAtLeastGas. This copies:

Code
Accumulate("Player x", At least, x, gas)


But the whole "AccumulatesAtLeastGas" seems a bit poor and I would like to make this look nice :)

Any suggestions/comments would be welcomed, thanks :)



None.

Feb 17 2010, 2:15 am Falkoner Post #2



So.. You're making a trigger duplicator, which is already inferior to scripting languages like MacroTriggers or ProTRG, and which has already been made at least 2 times that I can think of off the top of my head? Not to be rude or anything, but it seems to me that there's no sense in reinventing the wheel.



None.

Feb 17 2010, 9:15 am The Starport Post #3



Actually, given the limited domain of Starcraft triggers, it wouldn't at all be out of place to build a GUI editor that works with them as a language would. That was indeed something I was working on about half a year ago, but never followed through on it (along with my javascript trigger API, TriggerScript).



None.

Feb 17 2010, 12:49 pm Oo.DaMeiN.oO Post #4



I understand where you're come from Falkoner, its just that I love to have the flexibility to set exactly what I want and have it do exactly what I want. The MacroTrigger never seemed to work for me.



None.

Feb 17 2010, 6:07 pm CecilSunkure Post #5



You should try ProTrg then :P

It goes hand in hand with Python, so learning it will be also learning an actually useful language. Woot. Hmm, good luck with this project though.



None.

Feb 18 2010, 12:28 am Oo.DaMeiN.oO Post #6



I might someday, if this doesn't live up to my expectations.

But! I thought of an even better way of doing this and I just got all the conditions put in today so tomorrow I'm gonna post it on here and let some people try it out to see what they think.

Instead, you now have a dropdown list and once you click it, before it just copies things it will ask a few questions.

For instance, if you choose Bring At Least from the list.

It first asks "For which player(s) is this for?" and then "What units?" and then "How many?"

And lets say you put in: Player 1 and then Terran Marine and then 3

It will then copy the following to your clipboard:

Bring At Least("Player 1", "Terran Marine", At Least "3");

And all of the conditions, and later actions will be created via your input.



None.

Feb 18 2010, 3:37 am DevliN Post #7

OVERWATCH STATUS GO

How is that then different from the original trigger editor?



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Feb 18 2010, 1:52 pm Oo.DaMeiN.oO Post #8



Here's the program, if you want to try it and give me feed back that would be great, thanks :)

Link


Here's a short demo too.

Video

Post has been edited 1 time(s), last time on Feb 18 2010, 4:45 pm by Oo.DaMeiN.oO.



None.

Feb 18 2010, 4:52 pm ImagoDeo Post #9



No offense, but you'd probably save yourself a lot of time and effort by simply learning MacroTriggers. Your system, at the moment, sounds like it's less powerful than the original trigger editor - if you intend for it to duplicate triggers, that's often rather useless. Duplicating triggers with variations, which is what MacroTriggers and ProTRG can do, is so much more useful that it's a little frightening. I once created over twenty five thousand triggers with one 500-line input file for MacroTrigs.

If you can make this program more powerful than that, it'll be nice. But I doubt you can.

Also, with the release of SC2 so close, all this is going to be obsolete within a few months. It's just not worth it.



None.

Feb 18 2010, 6:03 pm DevliN Post #10

OVERWATCH STATUS GO

Haven't played with it yet, but this still just looks like a more complicated version of the original trigger editor that comes with the game.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy