• 0

    posted a message on Changing Default Build Order

    @Anthius: Go

    Update - I used an MPQ editor to make a 'triggerlibs' folder in the map archive, then added my own terran0.galaxy ( which happened to be the blizzard version with one change) and it DOES appear to load the modified file for that map.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Duplicating Melee AI

    I am trying to find the .galaxy files for the 'default' AI and paste them back in as my own triggers/functions so that I can tweak it. I figured the easiest thing to do would be follow whatever function the default startup trigger calls and get the galaxy code for it. However, I'm stumped because the function that gets called in the default mapinit trigger is 'meleeinitAI()' which I am unable to find in any of the .galaxy files using the MPQ editor. There's plenty of AI related .galaxy files like 'meleeAI.galaxy' and 'terran.galaxy' but I can't figure out how the default trigger is calling them. Does anyone know a) where to find the functions the default trigger calls or b) what function in meleeAI.galaxy I need to call with a custom trigger to get the AI rolling?

    Posted in: Galaxy Scripting
  • 0

    posted a message on Changing Default Build Order

    I saw that the default melee initialization action calls a function called MeleeInitAI();, I assume this function is built in to starcraft and eventually calls the terranX.galaxy file. I was thinking I could delete this action and call my own version of it by simply copying the built in version and making it reference my own terranx.galaxy file. However even though I can see all the trigger lib in the base.sc2data file there doesn't appear to be a function called 'meleeinitAI' in any of the files that are visible, are there 'hidden' native function calls that I can't copy out and customize? Is there some better way to tweak the default build order for a map?

    Posted in: Galaxy Scripting
  • 0

    posted a message on Changing Default Build Order

    I notice that the default build orders for melee AI are contained in the base.SC2data file under terranX.galaxy, zergX.galaxy, etc, where X is a number from 1-5 and represents very easy to insane. If I wanted to modify these default built orders for my custom map is it as simple as changing this file and saving it into the map? Or does saving it to the map not override the original?

    I see that there are entire custom AI's out there, but I pretty much want the keep the existing melee AI and just have them build slightly different units in slightly different orders. Any thoughts would be appreciated.

    Posted in: Galaxy Scripting
  • To post a comment, please or register a new account.