Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.



Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > Major Games > Starcraft > Starcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 05-06-2005, 08:48 PM   #1 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 18
Posts: 4,494
Brain stump. Is there a way?

I'm on a stump right now. What I'm wondering is:
Is there a way to add minerals every time you create a worker that requires only a few triggers.
Example:
Build a SCV, it gets removed and you get 2 minerals every second. Build another SCV(now you have 2), it gets removed and you get 4 minerals every second. I don't want to have 50 triggers that do that. Can it be done with just a few?
Lwek is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 05-06-2005, 09:03 PM   #2 (permalink)
BattleForums Senior Member
 
-Azrael666-'s Avatar
 
Join Date: Jan 2005
Location: near Watertown, NY
Age: 23
Posts: 2,985
Well I know the way to do it with 50 triggers, but obviously so do you I'm going to mull it over for a few minutes.

I've determined that that's the only way to do it. Since there aren't variables, you'd have to make an individual trigger for adding 2 minerals, 4 minerals, etc anyways, there's no way around that. I love a question that makes me think though
__________________



WHEN WILL TEH EGG HATCH!?!! MEOWZ!!1
-Azrael666- is offline   Reply With Quote
Old 05-07-2005, 04:01 AM   #3 (permalink)
BattleForums Junior Member
 
Armored-Core's Avatar
 
Join Date: Oct 2004
Age: 18
Posts: 52
Unfortunately, I believe Azrael is right. I will think about it and let you know if I come up with anything.
__________________
Armored-Core is offline   Reply With Quote
Old 05-07-2005, 09:48 PM   #4 (permalink)
BattleForums Member
 
Join Date: Jul 2003
Age: 23
Posts: 342
Are you guys serious? There's a pretty easy way.

Conditions:
Current player brings at least 1 worker to Somewhere
Actions:
Remove 1 worker at Somewhere for current player
Add 1 to deaths of "workers made A" for current player
preserve trigger

Conditions:
Some timing condition
Current player has at least 32 deaths of "worker made A"
Actions:
Subtract 32 deaths of "worker made A" for current player
Add 32 deaths of "worker made B" for current player
Give 64 minerals to current player
preserve trigger

Conditions:
Some timing condition
Current player has at least 16 deaths of "worker made A"
Actions:
Subtract 16 deaths of "worker made A" for current player
Add 16 deaths of "worker made B" for current player
Give 32 minerals to current player
preserve trigger

...and so on until...

Conditions:
Some timing condition
Current player has at least 1 deaths of "worker made A"
Actions:
Subtract 1 deaths of "worker made A" for current player
Add 1 deaths of "worker made B" for current player
Give 2 minerals to current player
preserve trigger

And finally:

Conditions:
Some timing condition
Current player has at least 32 deaths of "worker made B"
Actions:
Subtract 32 deaths of "worker made B" for current player
Add 32 deaths of "worker made A" for current player
Preserve trigger

Conditions:
Some timing condition
Current player has at least 16 deaths of "worker made B"
Actions:
Subtract 16 deaths of "worker made B" for current player
Add 16 deaths of "worker made A" for current player
Preserve trigger

...and so on...

So you need the initial trigger, plus two each for 32, 16, 8, 4, 2, and 1 deaths. That's 13 total. And if you want to double the number of possible workers, all you need to do is add 2 more triggers.

If you had a small area off to the side of the map where you could hold the SCVs, you would only need one trigger per death value...
Heimdal is offline   Reply With Quote
Old 05-07-2005, 10:06 PM   #5 (permalink)
BattleForums Senior Member
 
-Azrael666-'s Avatar
 
Join Date: Jan 2005
Location: near Watertown, NY
Age: 23
Posts: 2,985
I love binary systems. I guess I should have thought about it for more than a few minutes
__________________



WHEN WILL TEH EGG HATCH!?!! MEOWZ!!1
-Azrael666- is offline   Reply With Quote
Old 05-07-2005, 11:13 PM   #6 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 18
Posts: 4,494
Quote:
Originally Posted by Heimdal
Are you guys serious? There's a pretty easy way.

Conditions:
Current player brings at least 1 worker to Somewhere
Actions:
Remove 1 worker at Somewhere for current player
Add 1 to deaths of "workers made A" for current player
preserve trigger

Conditions:
Some timing condition
Current player has at least 32 deaths of "worker made A"
Actions:
Subtract 32 deaths of "worker made A" for current player
Add 32 deaths of "worker made B" for current player
Give 64 minerals to current player
preserve trigger

Conditions:
Some timing condition
Current player has at least 16 deaths of "worker made A"
Actions:
Subtract 16 deaths of "worker made A" for current player
Add 16 deaths of "worker made B" for current player
Give 32 minerals to current player
preserve trigger

...and so on until...

Conditions:
Some timing condition
Current player has at least 1 deaths of "worker made A"
Actions:
Subtract 1 deaths of "worker made A" for current player
Add 1 deaths of "worker made B" for current player
Give 2 minerals to current player
preserve trigger

And finally:

Conditions:
Some timing condition
Current player has at least 32 deaths of "worker made B"
Actions:
Subtract 32 deaths of "worker made B" for current player
Add 32 deaths of "worker made A" for current player
Preserve trigger

Conditions:
Some timing condition
Current player has at least 16 deaths of "worker made B"
Actions:
Subtract 16 deaths of "worker made B" for current player
Add 16 deaths of "worker made A" for current player
Preserve trigger

...and so on...

So you need the initial trigger, plus two each for 32, 16, 8, 4, 2, and 1 deaths. That's 13 total. And if you want to double the number of possible workers, all you need to do is add 2 more triggers.

If you had a small area off to the side of the map where you could hold the SCVs, you would only need one trigger per death value...
I had been thinking something like this but once it reached over 10 triggers, I stopped thinking. I'm trying to get it to 100 SCVs and 100 Probes.
Although this is the best idea I've got.
Lwek is offline   Reply With Quote
Old 05-08-2005, 02:55 PM   #7 (permalink)
BattleForums Member
 
Join Date: Jul 2003
Age: 23
Posts: 342
Then you only need 2 more triggers (the highest death count for one trigger will be 64) and you'll be able to make 127 probes/scvs. That's 15 triggers total. If you had a holding area, you could do it in 8 triggers by giving the scvs/probes to other players to mark them as "counted."
Heimdal is offline   Reply With Quote
Old 05-09-2005, 05:35 AM   #8 (permalink)
BattleForums Junior Member
 
Armored-Core's Avatar
 
Join Date: Oct 2004
Age: 18
Posts: 52
I am a little confused as to how this would work if he wants 2 minerals for a kill, 4 minerals for 2 kills, 6 minerals for 3 kills, 8 minerals for 4 kills and so on. To me it looks like you are only covering 1, 2, 4, 8, 16, and 32 deaths. Unless I read wrong? Please explain in simpler terms, I have a hard time reading long strains of triggers.
__________________
Armored-Core is offline   Reply With Quote
Old 05-09-2005, 10:55 AM   #9 (permalink)
BattleForums Senior Member
 
-Azrael666-'s Avatar
 
Join Date: Jan 2005
Location: near Watertown, NY
Age: 23
Posts: 2,985
It's a binary system. Let's say he had accumulated 37 deaths total. The first set of triggers would subtract 32 from A, then 4, then 1, and give him the respective amounts, thus adding 74 minerals. While it subtracts the said amounts from A, it adds them to B, which keeps track of his total. The second set of triggers simply refills A from B, and then the process can start over again.
__________________



WHEN WILL TEH EGG HATCH!?!! MEOWZ!!1
-Azrael666- is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« Help with .scx Maps | New Ums Project »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 11:19 AM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0