PDA

View Full Version : question about altering a map


Zoltain
12-03-2004, 11:36 PM
How do u make it so trading minerials and gas is possible in a map?

Sikawtic
12-04-2004, 1:23 AM
Okay, since nobody else took initiative, I'll take a shot at it.

First off, understand that actions in starcraft are controlled by triggers. To create/edit triggers goto "Scenario>triggers". once in here you should see 3 triggers, if you don't like what they do (they are set up to create a melee) then delete em.

Now, you must create somewhere for the people to initiate a trade. after you have an area with a selector unit, and somewhere for the players to bring it to set off the trade, you must add a location at that spot, and another where you would like the unit to spawn.

to create locations: layer>location, then drag to create a box over the area you would like to spawn, and the area(s) that would initiate the trades. name the locations something that will remind you of there use. Now, open up your triggers (scenario>triggers) and goto "New...".
Click all of the players that can send money.

click next.

click "new..." and set the dropmenu to "accumulate".
Then set the sentence as follows:
current player accumulates at least ##(the number you will be giving to another.) vespene/minerals

click ok, and click "new..." again.

goto "bring" set the sentence as follows:
current player brings at least 1 (find the selector unit) to (location used for the mineral/vespene trade)

then click ok, and then next.

click "new..." once again and goto "move units" set the sentence as follows:
move all (selector unit) at anywhere to (spawn location)

then click ok, and add another, this time go to "set resources"

... ... ... this is taking a LONG time, someone else can take over, or you can try to figure the rest out yourself. at least i got a start eh? Sorry if I wasn't descriptive enough...

Hawthorne
12-04-2004, 2:43 AM
Well here's how it works.
On a single area of the map make as much beacons as there are players.
Then make a location over each one.Make a civilian for each players and then here's how the trigger works:
Condition.
Current Player brings at least 1 men to 'red money'
Current Player has accumulated at least 500 minerals & gas.
Actions:
Modify resources for current player: Subtract 500 minerals & vespene
Modify resources for player 1: Add 500 minerals & vespene
Wait 1000 milliseconds
Preserve trigger.

It's the same with the other players
You just need to copy and change the location and the player to whom the money is given.

StealthyDeath
12-04-2004, 2:59 AM
You'll have to create more then one just for each player. What if a player only wants to give 100 or 250?

Zoltain, trading minerals and gas would be millions of triggers. It can't be done unless you have specific amounts players are allowed to trade. A trade money system like Warcraft 3 cannot be done if that is what you're asking.

Zoltain
12-04-2004, 12:36 PM
OK thnx guys...

1 more question.......

You Know that Fastest money map... how do u make a map with that setting? If it is a special map editor can i download it some where??

Thnx

Aqo
12-04-2004, 12:58 PM
OK thnx guys...

1 more question.......

You Know that Fastest money map... how do u make a map with that setting? If it is a special map editor can i download it some where??

Thnxerh... I suggest you not playing money maps... but if you seriusly wanna spend your time playing this currupted melee all you have to do is to double click the resourses and type 50000 or whatsoever bigger than 2500 number... but I seriusly suggest you NOT doing this...

StealthyDeath
12-04-2004, 12:58 PM
If you meant having minerals exactly on top of each other, get SCMDraft 2 or StarForge. Download links can be found in the Mapper and Modder Resources Thread.