Commenting
Feb 23 2009, 2:41 pm
By: Vrael  

Feb 23 2009, 2:41 pm Vrael Post #1



Starcraft comments being counted as strings really bugs me. I would love to organize the triggers in my map according to comments, but the string limit is in the way of course. For those of you with knowledge of how an editor is built (programmers I guess), how diffcult would it be to implement a feature in SCMDraft that stores comments in a separate file? Perhaps when you click on the trigger in classic trigedit you can comment it using a separate comment feature that stores comment data for the map in some other .txt file or something, rather than actually writing it to the text triggers themselves. Is this feasible?



None.

Feb 23 2009, 2:49 pm Magicide Post #2

Sleeping wolves wake hungry.

It's a good idea, I'm often getting rather pissed at this too.

Hopefully it's possible.




Feb 23 2009, 2:57 pm Lt.Church Post #3



I'd love this aswell, but im afraid i doubt itll come to light, same with farty's trigplug i was hyped for that and i was let down :(



None.

Feb 23 2009, 3:16 pm payne Post #4

:payne:

The best way to deal with it is to separate your triggers into categories and sub-categories, eg:
Trigger 1:
Condition: Never
Action: Comment("Weapons
1- Flamethrower
2- Machine Gun
3- Sniper")
Trigger 2:
Flamethrower trigger
etc...

So you just saved 2 strings :D



None.

Feb 23 2009, 3:23 pm Pigy_G Post #5



Yeah, and for other ways like location names, you can make a seperate text document, then say like

Location 0 = Death
Location 1 = Sword
Location 2 = Hero

ect. but I agree, it would be cool if more steps were taken for string saving.



None.

Feb 23 2009, 4:05 pm Vrael Post #6



Yea I try and use all the tricks for commenting, like if I have a bunch of triggers all related (a system with a specific function for instance) I give them all the same comment (since exact same strings only count once), and stuff like payne suggested, or I don't comment at all, and I even have a separate .txt file to help me keep track of things, but some sort of Editor function would be of great help. I have nothing but intution, but intuition says someone like SI who made SCMDraft could probably implement a comment system fairly easily? I could be wrong, but it would be so helpful.



None.

Feb 23 2009, 5:17 pm Kaias Post #7



I agree, something like this has long been needed; as well as the ability to sort these triggers into sections that we can minimize and expand.



None.

Feb 23 2009, 8:07 pm Heinermann Post #8

SDE, BWAPI owner, hacker.

I'm sure implementing a new section in the CHK would not be difficult. Following the same format as the STR section, one could have a COMM section specifically only for comments. Of course a seperate file would be better, but the former would be easier to implement. This is up to SI though, so bug him about it.




Feb 23 2009, 10:17 pm Falkoner Post #9



If you use Tuxlar's trigger method that he used in AstroGears, comments can just be added into the text triggers with no string usage.



None.

Feb 24 2009, 1:26 am O)FaRTy1billion[MM] Post #10

👻 👾 👽 💪

Quote from Pigy_G
Yeah, and for other ways like location names, you can make a seperate text document, then say like

Location 0 = Death
Location 1 = Sword
Location 2 = Hero

ect. but I agree, it would be cool if more steps were taken for string saving.
Location __ still takes a string.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Feb 24 2009, 1:54 am Toothfariy Post #11



i think if anyone does this, they defintaly need to include a sort of tree where one can organize their triggers much as theres a tree for mircosoft windows.

that would make mapping a whole ton easier



None.

Feb 24 2009, 3:05 am midget_man_66 Post #12



There is a spot in scmdraft for plugins. What is this spot for... hmm.

could a plugin be added so that the editor could keep comments on the triggers, and not internal coments withing the triggers? (this is the issue at hand, yes?)
So that when a map is saved, the plugin would give the option of saving the comments.txt file. then, when you open the map again the plugin will recognize it... and you get your comments. im not one for programming anything else but my calculator, but it sounds viable.

(i nominate farty!)



None.

Feb 24 2009, 5:35 am Rantent Post #13



I have never reached the string limit in any map... You guys are all crazy string users.



None.

Feb 24 2009, 3:04 pm Lt.Church Post #14



rantent arena maps use massive amounts of strings for one as you generally need to label each move, each enviromental cycle,each additional command,each location(which theyll be alot of if you plan on gridding or atleast multi loc'ing your heros). by no means is it crazy.



None.

Feb 24 2009, 7:43 pm UnholyUrine Post #15



What I do is I also categorize groups of triggers..

For example, I'd comment "Choose archer" for one of the triggers.. the rest of the triggers below it until the next comment is all about the archer...



None.

Feb 24 2009, 11:18 pm O)FaRTy1billion[MM] Post #16

👻 👾 👽 💪

If SCMDraft's text triggers weren't so awful you could fill them with //comments.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Feb 24 2009, 11:35 pm Vrael Post #17



Quote from Falkoner
If you use Tuxlar's trigger method that he used in AstroGears, comments can just be added into the text triggers with no string usage.
What method is that? Also, keep in mind not all of us can use text triggers effectively. I can edit them well enough with notepad++ when I want to change things, but I still use classic for creating a new trigger, since I don't know the syntax for every text command.


Quote from midget_man_66
There is a spot in scmdraft for plugins. What is this spot for... hmm. could a plugin be added so that the editor could keep comments on the triggers, and not internal coments withing the triggers? (this is the issue at hand, yes?) So that when a map is saved, the plugin would give the option of saving the comments.txt file. then, when you open the map again the plugin will recognize it... and you get your comments. im not one for programming anything else but my calculator, but it sounds viable. (i nominate farty!)
Exactly.

Quote from Rantent
I have never reached the string limit in any map... You guys are all crazy string users.
We just have bigger projects than what you've made then?

Quote from UnholyUrine
What I do is I also categorize groups of triggers.. For example, I'd comment "Choose archer" for one of the triggers.. the rest of the triggers below it until the next comment is all about the archer...
We do this also, but it really isn't enough sometimes.


Quote from O)FaRTy1billion[MM]
If SCMDraft's text triggers weren't so awful you could fill them with //comments.
Well, //comments wouldn't be very helpful for us classic trigedit users.



None.

Feb 25 2009, 1:07 am O)FaRTy1billion[MM] Post #18

👻 👾 👽 💪

Quote from Vrael
Quote from O)FaRTy1billion[MM]
If SCMDraft's text triggers weren't so awful you could fill them with //comments.
Well, //comments wouldn't be very helpful for us classic trigedit users.
Which is one reason why I said it was awful.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Feb 27 2009, 11:16 pm Suicidal Insanity Post #19

I see you !

Quote from O)FaRTy1billion[MM]
Quote from Vrael
Quote from O)FaRTy1billion[MM]
If SCMDraft's text triggers weren't so awful you could fill them with //comments.
Well, //comments wouldn't be very helpful for us classic trigedit users.
Which is one reason why I said it was awful.
feel free to make something better then ;)


And if anyone takes a close look at the plugin specs, there is a unused variable for a second string section for exactly this purpose, it just was never activated because the whining about compatibility with starforge/staredit got on my nerves for string recycling, and this would only be worse.




Feb 27 2009, 11:37 pm Kaias Post #20



And if anyone takes a close look at the plugin specs, there is a unused variable for a second string section for exactly this purpose, it just was never activated because the whining about compatibility with starforge/staredit got on my nerves for string recycling, and this would only be worse.
The compatibility is so terrible it doesn't even matter anymore, don't worry about it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Roy, momonetj48, 3miac581ha7, lil-Inferno, Dem0n, C(a)HeK