Galaxy Editor Pitfalls

Strilanc

Veteran Scripter
Learning to use a new editor is an exercise in frustration and discovery. I figured we should make a list of "gotchas" that new editors might also run into.

I'll start. Post your own below and I'll include the good ones in the main post.

- Unlike WC3 and SC1, start locations are not a unit. You create start locations using the Point layer and assign them under Player Properties. This actually makes a lot of sense, when you think about it.
- Units don't have an actor property, it's the other way around. That's why duplicating a unit without duplicating its actor causes it to have no graphics (the actor points to only the old unit).
- A unit's cost (time/minerals/etc) is not specified in the unit data, but in the training ability data. For example, the SCV cost is specified in the command center's Train ability.
- Maps start with a relatively thick border which is out of bounds. So if you make a really small map you won't be able to place any units unless you modify the bounds.
- If a unit has a behavior with 0 points it will fail the "has behavior" condition, which would be alright except that 0 points is the default. Increase behaviors' min point value past 0 to workaround the issue.
- The "pick each" loops seem more convenient, because you don't have to introduce a local variable, but they can't be nested. Don't use them, unless you like surprise errors when calling functions that happen to use the same loop.
- If you duplicate a unit (and its actor) your unit shows up as a red sphere, because the actor's model paths are updated to include the new unit's id (and no such models exist). Set the paths back to see the original unit.
 

SerraAvenger

Cuz I can
Never had problems with them myself. Seems that wingdnosring had, though =D
EDIT:
-Checking the "custom script" flag for a function converts it to the "customscriptaction", rather than making galaxy available.
-There is two GUI function types: "function" and "action"
-The GUI "function" cannot use custom script. (only as a customscriptaction)
 

Ancanus

[ancanus@TheHelper.net]# _
I believe he means the .exe process is still running on the task manager, even though there is no active editor windows on his taskbar.

@Black.sheep, this only occurs to me whenever I have any of the terrain, data, or the trigger modules open. As soon as you close all of these, the process exits.
 

D.V.D

Make a wish
Pitch yes, roll no. Roll you had to make units face custom models with a specif roll and to get all possible rolls, u would need 360 animations of that unit each with a different roll or 360 units each with a different roll.
 

overload119

New Member
- Custom script is a joke, it lags like a mofo
- Collapsed If/Then/Else will always be uncollapsed when you refresh the trigger
 

Ancanus

[ancanus@TheHelper.net]# _
- Lack of Documentation. Fix this, and we will come up with workarounds for all the previously mentioned.
 

Dan

The New Helper.Net gives me great Anxiety... o.O;;
There is two GUI function types: "function" and "action"
I fail to understand how this is a pitfall. Functions must return a value and actions do not; however, an action definition is the same as a function of type action. A function of type action CAN return a value if you would like it to, though. Functions are undoubtedly what they started with, and gave them the capabilities of being "functions" "actions" "condition" and "events"... but then they split actions and conditions off for us to use and have a different picture. I think of that as convenience.

Feel free to explain. :) I don't understand what you mean...
 

SerraAvenger

Cuz I can
I fail to understand how this is a pitfall.
Because a) both get compiled the very same way (not considering custom script) and b) both are callable from any place using customscript and c) there is no such difference in galaxy and d) it is just counter intuitive.

Pitfall = unexpected behaviour, not "bad behaviour" or "limitation".

If I create a function and give it a return type, I expect it to be callable from any place where it would be semantically appropriate. This is not the case, so it is a pitfall.
 

Strilanc

Veteran Scripter
I'm not sure if I agree with the function/action distinction being a pitfall. One returns a value and the other doesn't. It's a reasonable place to draw a line.
 

SerraAvenger

Cuz I can
I'm not sure if I agree with the function/action distinction being a pitfall. One returns a value and the other doesn't. It's a reasonable place to draw a line.
According to Dan: "A function of type action CAN return a value if you would like it to"

I still stand my point. You decide what goes in, though. I have nothing to add to my argumentation right now.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Good luck to the hurricane path people. Is TH still in Houston?
  • Ghan Ghan:
    I think so
    +1
  • The Helper The Helper:
    Yeah we got nothing here did not even rain
  • Ghan Ghan:
    We could use some rain.
  • The Helper The Helper:
    I am not complaining though Hurricanes are not fun I have been through alot of them
  • Blackveiled Blackveiled:
    I evacuated for it just incase since I live in La Porte pretty much right on the water (in Houston area). Didn't see anything. It's a good thing for me anyways.
  • Ghan Ghan:
    It's too bad that Blizzard messed up so terribly with Reforged.
  • Ghan Ghan:
    Still has a 0.6 user metacritic score.
  • Ghan Ghan:
    (Out of 10)
  • Varine Varine:
    I haven't even tried it yet because everyone said it sucked. How do you get .6 out of ten?
  • The Helper The Helper:
    I am waiting for Dwarf Fortress to come out on Steam then I am on it.
  • Accname Accname:
    I play Dwarf Fortress from time to time.
  • Accname Accname:
    Its Okay.
  • Accname Accname:
    But the performance is sub-par. Does not seem to be well optimized.
  • Varine Varine:
    Is the Steam version coming with a graphical overlay or is it using the ASCII graphics still?
  • tom_mai78101 tom_mai78101:
    Steam version has the graphical overlay.
  • The Helper The Helper:
    Steam Version has graphics, a new interface and will be integrated in the steam mod stuff
  • Blackveiled Blackveiled:
    I didn't think WC3 Reforged was that bad. It pretty much did what it stated (to me at least), but then again I can care less about reforged campaigns and all that. I just care about gameplay.
  • Varine Varine:
    I think people were hoping for a resurgence in mod support. I have little interest in the actual game tbh
  • Varine Varine:
    Plus I know they added that Dota precedent clause where Blizzard can steal your shit which isn't cool.
  • Ghan Ghan:
    They sold Reforged to the community as primarily a huge graphical uplift with high res textures and redone cinematics.
  • Ghan Ghan:
    They even showed one of the redone cinematics at Blizzcon and that very cinematic wasn't even in the released game.
  • Ghan Ghan:
    So I think folks were angry about that.
  • Varine Varine:
    Didn't the backwards compatability have issues too?

    Members online

    Affiliates

    Hive Workshop
    Top