Staredit Network

Staredit Network -> UMS Assistance -> Fastest x2: Is there any way to detect gas?
Report, edit, etc...Posted by MarcX on 2006-04-22 at 02:55:16
I've tried to implement a fastestx2 setting in a use map settings melee map.
This map is intended for melee fights taken up a notch.


For this I used the p14 map revealer unit trick.


As far as I've been able to tell, this trick makes everything go a little faster.

It is not my goal to make everything exactly twice as fast, so I didn't not time to check if it's actually 2x, just a little faster will do.


However, I've noticed the time spent in the refinery is exactly the same.

This results in approximately 20% less gas mined in the same period of time if the geyser is the optimal distance away from your command building.


I have been wondering about ways to compensate for this. Perhaps you guys can come up with some interesting proposals.


Proposal 1:

For every refinery a player controls, add 1 gas every 320 milliseconds

(320 can be refined with more accurate timing I will do later)

Pro: Very easy to implement
Con: Will add gas even if the player isn't mining

Proposal 2:

For every gas container that disappears from the map, perform the following cycle.

Add 2 gas
Add 2 gas
Add 1 gas
Add 2 gas
Add 1 gas

This results in an average of 1.6 gas added per container that disappears from the map.

Pro: More accurately reflects the gas mined.
Con: I would need your help on this because I have no idea how to implement it.
Another (very minor) con: If an scv holding a container dies, you get gas even though your container wasn't returned to the command building.



Many thanks for your help. smile.gif
Report, edit, etc...Posted by Zeratul_101 on 2006-04-22 at 04:00:43
QUOTE(MarcX @ Apr 22 2006, 12:54 AM)
Proposal 2:

For every gas container that disappears from the map, perform the following cycle.

Add 2 gas
Add 2 gas
Add 1 gas
Add 2 gas
Add 1 gas

This results in an average of 1.6 gas added per container that disappears from the map.

Pro: More accurately reflects the gas mined.
Con: I would need your help on this because I have no idea how to implement it.
Another (very minor) con: If an scv holding a container dies, you get gas even though your container wasn't returned to the command building.
[right][snapback]470258[/snapback][/right]


i'm not a hundred percent sure but I've heard that the mineral chunks you can place as units are actually different than the mineral chunks from mining minerals because if you notice, an scv with mined minerals will leave no chunk behind if it is killed. On the other hand, an scv carrying a mineral chunk will leave a chunk behind.

i know you're talking about gas, but i'm pretty sure this applies to it to.
Report, edit, etc...Posted by MarcX on 2006-04-22 at 12:25:24
QUOTE(Zeratul_101 @ Apr 22 2006, 02:00 AM)
i'm not a hundred percent sure but I've heard that the mineral chunks you can place as units are actually different than the mineral chunks from mining minerals because if you notice, an scv with mined minerals will leave no chunk behind if it is killed.  On the other hand, an scv carrying a mineral chunk will leave a chunk behind.

i know you're talking about gas, but i'm pretty sure this applies to it to.
[right][snapback]470267[/snapback][/right]


Exactly. So I can't use a bring or commands trigger. Can I?
Report, edit, etc...Posted by KaboomHahahein on 2006-04-22 at 16:07:22
The Mineral Chunk can be activated by the bring trigger but it will take a lot of time, not sure how you are going to do it. Also, I am not 100% sure it works for the gas ones, I've only tried using the bring trigger for mineral chunks.
Report, edit, etc...Posted by MarcX on 2006-04-22 at 16:18:27
What do you mean with 'will take a lot of time'?

Also, what kind of trigger detects this?


I tried "All players bring at least 1 vespene tank type 1 to anywhere" and the trigger didn't fire. Until I placed a tank powerup. Same story with mineral chunks.

Can you detect sprites?
Report, edit, etc...Posted by Zeratul_101 on 2006-04-22 at 18:02:25
QUOTE(MarcX @ Apr 22 2006, 02:18 PM)
What do you mean with 'will take a lot of time'?

Also, what kind of trigger detects this?
I tried "All players bring at least 1 vespene tank type 1 to anywhere" and the trigger didn't fire. Until I placed a tank powerup. Same story with mineral chunks.

Can you detect sprites?
[right][snapback]470577[/snapback][/right]


no, can't detect sprites, honestly though, i don't think your idea is possible
Report, edit, etc...Posted by Mini Moose 2707 on 2006-04-22 at 19:10:05
You could simply adjust the gas cost of everything in the map. It would be time consuming and tedious, but it would work perfectly.
Report, edit, etc...Posted by Syphon on 2006-04-22 at 20:39:08
QUOTE(Mini Moose 2707 @ Apr 22 2006, 06:09 PM)
You could simply adjust the gas cost of everything in the map. It would be time consuming and tedious, but it would work perfectly.
[right][snapback]470679[/snapback][/right]


There's that.

But would instead of the anywhere...

Center a location on all town centers for each player. Make it the same location.

Then...

Make a trigger that accounts for all types of gas, not just the first.




You could do specific increments add specific gas, as in:


Trigger
Description:
SPORKZ^_^;;!
Players:
¤ Player 1
Conditions:
¤ Player 1 Accumulates Exactly 100 Gas
Actions:
¤ Add 20 Gas for Player 1
¤ Preserve Trigger


This would also automatically adjust the gas prices... Somewhat. It would work, but it would take alot of triggers. I don't know what the closest multiple to 100 would be, but I would do it roughly every 100 minerals add 20 more.




Way three, do your way of adding it accourding to time, but center locations on the extractors, refineries, or assimilators and only do it accourding to number of scvs, probes, or drones in the location. Not gas getters controlled.
Report, edit, etc...Posted by MarcX on 2006-04-23 at 02:40:50
QUOTE(Mini Moose 2707 @ Apr 22 2006, 05:09 PM)
You could simply adjust the gas cost of everything in the map. It would be time consuming and tedious, but it would work perfectly.
[right][snapback]470679[/snapback][/right]


You are a genius.

And I'm a moron for not coming up with that myself tongue.gif
Report, edit, etc...Posted by uberfoop on 2006-04-24 at 23:13:00
yeah, adjusting gas costs to the correct proportions is the only way to do it. triggers wouldnt work because this isnt warcraft 3 and you cant make variable arrays.
Next Page (1)