Post Reply

If you were logged in you would gain 3 XP for posting a reply.

Please respect our terms of use when participating in Nibbits.

Preview
Comment
We will show a masked version of your IP address as well as your name.

You are replying to:

  • Decided to write this because I haven't found much on people adding RESOURCES to maps, but have found a few people asking how. It is really easy once you figure it out. I pretty much learned myself by looking at someone's map who knew what they were doing.

    First, you are going to need to get a hold of "Ladik's MPQ Editor". You can get it tons of places. Download a copy of this.

    Then you need to run it. From here, click on

    File > Open. Find ANY Map file you want to add the minerals too.

    Once you open it up, its going to ask you something, don't touch anything just click on "ok".

    On the right side of the program look for "Objects", not Objects.version. Double click on Objects and open with notepad.

    The only stuff you really need are the lines which include "MineralField" or "VespeneGeyser". You actually can delete all the Doodad lines out of it, makes the map clean and can help with lag.

    Look for lines like this:
    <Unit id="45" variation="5" position="99,21.5,0" scale=".6,.6,.6" section="zeus" unitType="HighYieldMineralField">

    or

    <Unit id="45" variation="5" position="99,21.5,0" scale=".6,.6,.6" section="zeus" unitType="MineralField">

    or

    <Unit id="45" variation="5" position="99,21.5,0" resources="100000000" scale=".6,.6,.6" section="zeus" unitType="VespeneGeyser">

    Different maps might have Something infront of VespeneGeyser to define a TYPE, for different level sets. If you don't want it to look weird don't change these.

    Now if you want to make the minerals/gas more then 1500 you need to make the line look like this.

    <Unit id="45" variation="5" position="99,21.5,0" resources="100000000" scale=".6,.6,.6" section="zeus" unitType="HighYieldMineralField">

    or

    <Unit id="45" variation="5" position="99,21.5,0" resources="100000000" scale=".6,.6,.6" section="zeus" unitType="VespeneGeyser">

    (note that I changed the scale from 1 to .6) I didn't know about this till I looked at one of syko's maps. Thanks.

    MAKE SURE THIS GOES DIRECTLY AFTER THE "position"!

    Anywhere else will make it so when you load up your map it will end game on start.

    You can also change the lines "MineralField" to "HighYieldMineralField" to make it collect more per run, as you would in game. I did this with the maps I made just to collect faster.

    After you add however many minerals you want each stack to be you can goto File > Save As and save it somewhere. MAKE SURE YOU DO NOT SAVE IT AT .TXT, if you do, you will have to go and delete the file extension from it and make sure it is just "Objects" with NO FILE EXTENSION.

    Go back to MPQ Editor and right click on "Objects" and click "add file". Go to the file you just save'd as and open that. It is going to ask you to overwrite. Click yes. I suggest you make a backup of the map you are working on just in case you do mess something up.

    Now, you can open up StarLauncher and select the map you just edited, set everything up to your liking and press Play. You should start the game as normal, but minerals will be replaced with however you set them.

    Registered User
    avatar

Support Nibbits by linking to us: