Mineral Help

Wing Zero

lol just as planned
Joined
Oct 27, 2002
Messages
12,206
Reaction score
16
ok i seen many rpg maps when u use mineral to upgrade it gose back to the amount u had before how do u do this?
 

IDc)wood

Member
Joined
May 30, 2003
Messages
12
Reaction score
0
Website
clan-id-crisis.cjb.net
I dont get what youre saying... when you have minerals and use them, you lose the minerals you spent and go back to the amount you had before...
 

Fyllo Zilotis

Member!
Joined
May 25, 2003
Messages
19
Reaction score
0
Website
Visit site
well usually this is done like it adds minerals when the person levels up. use triggers like this:

Player
<human player>
Conditions
<Player> <custom score> (level) is 1,
Actions
<set mineral> ammount to <#>
<preserve trigger>

do this for every level the person can be (probably best not to make too many levels)
 

Crookedfoot

Premium Member
Joined
Aug 6, 2002
Messages
1,077
Reaction score
0
Location
Middle of Nowhere
Website
www.battleforums.com
I think he is meaning that if he goes to say the Forge, and upgrades armor, the armor cost is set to 100 minerals, he upgrades, but gets a 100 mineral refund.

I don't think there is such a condition that can monitor upgrades.

If Custom score were to be the way to go, how would you define a trigger so that upgrades would be converted to Custom Value?

Since the refund concept makes the upgrades free, I'd recommend making them free.
If your looking to set some sort of limitation on when they can upgraded, I can imagine some different approaches.
But it would depend on what your doing in the map as to what could be done.

Such as the player gets a certain amount of kills, he gets a civilian in a protected area.
Take the civilian to a location that would designate getting an upgrade.
The civilian is removed giving you 100 Gas.
The cost of an upgrade is 100 Gas.
Have other locations for different credits.
1 for 100 minerals to buy something else.
1 for a hero, or many for different heros.

Again it depends on your map, and also how labor intensive you want to make it for the players, to get the bonus, or upgrade.
 

Wing Zero

lol just as planned
Joined
Oct 27, 2002
Messages
12,206
Reaction score
16
i gusse i should try both of them or try to find an unprotected map with the same trig im looking for
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
umm i read the answers up above and what fylo said has NOTHING to do with the question.

What i believe you meant was this, if a player purchased a marine for example, it would refund his money. Sometimes this is used by games so it can use minerals as a tracking money system and not have units be purchased for free.

if the player ALWAYS has 10 minerals for exmaple:
conditions:
player has less than 10 minerals
actions:
set minerals to 10

then copy this for 12, 14 or whatever you need ofor your trig.
 

Lwek

Member!
Joined
May 18, 2003
Messages
4,487
Reaction score
0
Website
www.Battleforums.com
THIS IS THE CORRECT WAY

Trigger 1
-
All the Human players not the force
-
Current player kills atleast 200 men
Current player kills atmost 500 men
-
Set switch 1
--------------
Trigger 2
-
Same as above
-
switch 1 is set
-
Modify resource for current player: 20 minerals
Preserve Trigger
-----------------------------
Then once they reach above 500 kills make a trigger that says
atleast 501
atmost 1000
set switch 2
switch 2 is set
modify resource to 30 minerals
preserve trigger
etc.
 

Wing Zero

lol just as planned
Joined
Oct 27, 2002
Messages
12,206
Reaction score
16
Originally posted by Battousai
yes i believe your right and if wing_zero is reffering to tthe DBZ map then that is the correct trigger

TEa thats the one i asked the creators nicley they ****ing flame me ans sya go away fag u noob trying to copy off my map thats wy i protected u idiot find it ur self damn it so hard to find an unprotected one
 

Wing Zero

lol just as planned
Joined
Oct 27, 2002
Messages
12,206
Reaction score
16
there protected
 

Lwek

Member!
Joined
May 18, 2003
Messages
4,487
Reaction score
0
Website
www.Battleforums.com
Re: THIS IS THE CORRECT WAY

Originally posted by Master Virus
Trigger 1
-
All the Human players not the force
-
Current player kills atleast 200 men
Current player kills atmost 500 men
-
Set switch 1
--------------
Trigger 2
-
Same as above
-
switch 1 is set
-
Modify resource for current player: 20 minerals
Preserve Trigger
-----------------------------
Then once they reach above 500 kills make a trigger that says
atleast 501
atmost 1000
set switch 2
switch 2 is set
modify resource to 30 minerals
preserve trigger
etc.
Did you even try my way?
 

Wing Zero

lol just as planned
Joined
Oct 27, 2002
Messages
12,206
Reaction score
16
Originally posted by SiLeNT(U)
than unprotect it, not such a big deal
hmm let see i dont think there is a possible way to do that

and master virus ill also try yours btw what is a switch?
 

Lwek

Member!
Joined
May 18, 2003
Messages
4,487
Reaction score
0
Website
www.Battleforums.com
Download this map and it will show you how to do it.
This is another way without switches that i suddenly thought of.
 

Wing Zero

lol just as planned
Joined
Oct 27, 2002
Messages
12,206
Reaction score
16
ah thanks
 

NewPosts

New threads

Top