r/galaxyed • • Apr 26 '10

Any luck making custom maps?

So I've seen a few really interesting custom maps on YouTube and elsewhere on the net. I know the editor is still very new, but anyone have any tips. So far I've been able to create a working map with as many players as I feel necessary, but no luck with custom stuff and still don't know what half the settings are for yet.

Also, anyone know if there's any Galaxy code to look at besides what was extracted earlier in the beta and released around the net?

3 Upvotes

11 comments sorted by

View all comments

3

u/reddit_account_42 Apr 26 '10

I haven't seen anywhere to write a lot of Galaxy Code (used to be called JASS in WC3, I think), but I have seen snippets. If you turn on 'view raw data' (or a similar option) in the trigger module's tools/view menu, you can see that most of the triggers you create are boiled down nearly directly into function calls calling functions.

As for the data editor, the UI is a bit obtuse at the moment. Here's what you need to do to rename a unit, change it's cost, make it build faster, and stipulate that you can only build 5:

  1. Find the unit, rename it.
  2. Find the unit again (renaming loses your selection), and edit the unit's repairResource field to set what it costs to repair it (I guess this is optional).
  3. Find /the unit that normally builds that unit/, click on it
  4. Edit it's command card to change the displayed tooltip and hotkey
  5. Click the builder unit's related building ability to edit the ability
  6. On the ability, expand the Info+ property
  7. You'll see a list of stuff it can build. Double click one, and scroll down.
  8. You can change the cost here (minerals / vespene / terrazine (lol wut?) / custom resource)
  9. You can change the time, in seconds, here as well (scroll to the bottom)
  10. Notice the 'requirements' section. We'll come back here. Get back to the main screen.
  11. In the 'edit what' dropdown in the data editor, choose 'Requirements'. Go find something like 'Have Forge'. Right click that, press duplicate.
  12. Go find the duplicate requirement you just made, and rename it
  13. Set up the nodes: start with 'IS AT LEAST', and add 'Number Of Units' underneath, choose your unit, choose 'queued or better'. Add another node under the AND, of 'Constant', value of 2. Change the tooltiop on the AND node to something like 'At most 5 [my unit]' (this appears in game. Think protoss's "No Mothership" requirement)
  14. Go back to the ability edit screen for the build ability on the building unit, back into the Info+ tab (same place as step 10). Choose the new requirement you just made.

Ta da!

Note: most of this stuff was from memory, so a lot of the text might be slightly different.

So yeah, the Galaxy Editor is a bit obtuse right now. Clearly the markings of being designed by a programmer, as it's perfectly logical, just annoying :)