• 0

    posted a message on [Library] STARCODE v1.4

    I wouldn't think that Huffman coding would work too well unless you could figure out a suitable tree beforehand. If you had to store the tree in the bank, it'd most likely cancel out most of the benefit of the compression…

    Posted in: Trigger Libraries & Scripts
  • 0

    posted a message on Change resource icon?

    The resource icon is referred to by GameData\Assets.txt, which I don't believe is exposed anywhere in the editor. But you should be able to replace that via the import manager; the default version is in Liberty.SC2Mod. It's a pretty small file.

    They're the following keys:

    • UI/ResourceIcon0
    • UI/ResourceIcon1
    • UI/ResourceIconSupply

    It's entirely possible that this won't fix OneTwoSC's problem, though.

    Posted in: Miscellaneous Development
  • 0

    posted a message on data editor-broodlord help

    The broodlord uses a carrier-like hanger to produce broodlings, but it does it with a hidden build queue and with autobuild. I don't know off the top of my head how it does damage, though…

    Posted in: Miscellaneous Development
  • 0

    posted a message on Zealot's double attack can cause trigger bugs.

    There are lots of units whose attacks are basically channeled abilities, doing one attack immediately and one a hair later. For example, the Viking and the Banshee both launch two projectiles in a similar fashion. So does the Phoenix, but both projectiles launch at exactly the same time (one could probably hit first, though).

    It's most likely completely intentional that the second attack automatically launches if the first one does. Your triggers will just have to be resilient.

    Posted in: Miscellaneous Development
  • 0

    posted a message on On-screen transparent overlay

    Does anyone know of a method by which I could overlay a transparent reference image over the editor while I'm terraining? There's a lot of situations in which I would like to have a point of reference without having to constantly switch programs. The main case I'm thinking of is overlaying part of the terrain from a SC1 map. Any solution would be welcome—making a program transparent, an image viewer that could display transparently over the SC2 editor, a program for either PC or Mac… I just need ideas. Thanks!

    Edit: Well, I whipped up a simple program for Mac in half an hour… but it doesn't do resizing or scaling, so any suggestions are still welcome.

    Posted in: General Chat
  • 0

    posted a message on Problem: Gas harvesting...

    I've heard that RIch Vespene Geysers do this. Check if you planted down rich geysers instead of normal geysers—it's an easy mistake to make, since rich geysers have the same icon as normal geysers and are listed first.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Video, Triggers] Hero Revival

    Hey. nice tutorial, but I have one comment.

    There's no reason to do:

    foreach unit in (some_unit_group)
        add unit to (some_other_unit_group)
    

    You could just use an assignment statement.

    Posted in: Tutorials
  • 0

    posted a message on New interesting portraits

    @38dedo: Go

    That'd be the Shrike Turret.

    Posted in: General Chat
  • 0

    posted a message on Patch 16 Patch Notes

    I believe you can add Custom Script directly in the editor now, though I haven't confirmed it.

    Posted in: General Chat
  • 0

    posted a message on [solved] Region - Add a Positive Rectangle

    I believe the parameters for a rectangle are (Minimum X, Minimum Y, Maximum X, Maximum Y). So the rectangle contains everything where Minimum X ≤ X ≤ Maximum X and Minimum Y ≤ Y ≤ Maximum Y. So your rectangle (120, 120, 1250, 125) starts at the point (120, 120) and has a width of 1130 and a height of 5. Is that what you intended?

    Posted in: Galaxy Scripting
  • 0

    posted a message on SC2 Development Stack Exchange site

    So the people who make Stack Overflow are working on a system by which communities can make customized question-asking-and-answering sites. This has been available before—it's called Stack Exchange—but previously it has been a paid service. Now they're getting a free version out, and I think it would be awesome if some support could be drummed up for a StarCraft II Galaxy Editor subsite on Stack Exchange. It would work very similarly to Stack Overflow (if you've never been there, check it out—it's a pretty good site), and it would be entirely community-run. The format is sort of a cross between a forum, a wiki, and a upvote/downvote site. It's good for questions and answers, but not for much else, so it wouldn't really intersect with fansites' territory. I have a feeling that if we could get it going, it'd be rather well frequented, especially once the Battle.net Marketplace comes out.

    If you're interested, head over to the proposal (you can sign in using your Google account or an OpenID), follow it, and maybe submit an example question or two. I don't think the entire system for getting a Stack Exchange site set up is in place yet, but once it is, we'd need 60 followers, ten examples of on-topic questions, and ten examples of off-topic questions (the example questions help the site work out what its role in life is). Thanks all.

    Posted in: Off-Topic
  • 0

    posted a message on [Info] Patches 14-15.1 Editor Changes

    @Bibendus: Go They wiped Battle.net when Patch 15 came out, yes.

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on Strange behavior with unit; It sees the Flying Unit's ground lines.

    I believe ZeroAme is correct. The flyer helper lines use the IsFlying validator, which checks if the unit's height is >= 1. You can either change the unit's height or change the validator to exclude your hero.

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.