Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Using SCMDraft Trigedit with unit ids
Using SCMDraft Trigedit with unit ids
May 13 2014, 10:20 am
By: sethmachine  

May 13 2014, 10:20 am sethmachine Post #1



Hi,

I am using leaderboards to show some deaths of units, e.g. "ID:366" (=Queen's Nest I believe).

But, if I try to compile these in Trigedit, it claims they are not units and therefore refuses to save. This means everytime I want to make a change to my triggers which requires a text macro, I have to delete the leaderboards and write them in Classic trigedit all over again.

Any way around this?



None.

May 13 2014, 10:26 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Wait until jjf finishes his editor. :P (that is a "no".)
Well, no for triggering with ScmDraft, that is. There's certain trigger editors that can integrate their generated triggers right into a map. Though I'm too out of touch to point you towards a specific one.

Alternatively never have the leaderboard triggers in your map and just add them for release candidates.




May 13 2014, 12:34 pm sethmachine Post #3



Is the source code open for SCMDraft? I don't know C or whatever language it is, but it's a simple matter of adding strings like "ID: x" where x is some integer. That'd be a few lines of code to add....



None.

May 13 2014, 1:02 pm Roy Post #4

An artist's depiction of an Extended Unit Death

No, the author of ScmDraft has consistently declined the release of its source code to anyone for various (read: dubious) reasons.

It's still possible to edit by reverse engineering the binary, but trying to add code that way is a nightmare, even if you're competent with C. You'll just have to deal with its shortcomings and various bugs.




May 13 2014, 4:05 pm jjf28 Post #5

Cartography Artisan

CHKDraft's text triggers are in complete working condition http://www.staredit.net/files/2741/, uses the same format as SCMDraft's, accepts numbers and ID notation for all fields.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

May 13 2014, 4:14 pm LoveLess Post #6

Let me show you how to hump without making love.

Using the Classic editor in SCMDraft allows for the flawless use of Unit IDs and Memory, however Trigedit wasn't made to fully support both as they still cause issues now/then.

So either use jj's editor for triggers or use classic to handpunch them. In the event that you need them for mass triggering... sorry



None.

May 14 2014, 6:30 am sethmachine Post #7



Is there no flag I can set which says ignore compiler errors? I know this can be done in Warcraft 3 for JASS, because if you did have an actual error the map will refuse to load.



None.

May 14 2014, 6:35 am jjf28 Post #8

Cartography Artisan

nope, not in either compiler, lotsa work for little-to-no end (ignoring some extranee punctuation might be useful but ignoring anything wrong with the actual triggers/conditions/actions/fields would be more confusing than helpful)



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:45 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: have i ever told u guys my SC2 pro-gamer story
how many GSL titles?
[2026-7-27. : 10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[2026-7-27. : 7:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[2026-7-26. : 11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
Please log in to shout.


Members Online: Vrael, RaNer, JohnnyTheWolf