Staredit Network

Staredit Network -> UMS Assistance -> Income D
Report, edit, etc...Posted by cop29 on 2006-01-12 at 19:48:58
Here is the setup.

there are 2 teams of 3 players. Each team can build bunkers to defend their path. There r 2 separate path's. Also, each player can use a civ to choose a unit (such as marine) to start at the begining of the opposite team's path, this unit will than try to reach the end. If it reaches the end, that team loses a life.
As players send units, set amounts of Cunstom Score is added to the leaderboard. Send 1 marine, custom scores goes up by 1, other units have other values. By the way, sending units costs minerals and so does building defenses (bunkers).
After the round of about 2 minutes, the timer reaches ZERO. at this time, i need each player to recieve the amount of custom score he has as minerals. if he sent 7 marines, and has 7 custom score, he gets 7 minerals. Timer Restars.
Here is thebig problem, i need the custom score to keep accumulating, so if he sends 5 marines the next round, he now has a total of 12 custom score and the leaderboard will read 12.
How do i get this to work without subtracting custom score?
Please Help
Answer with very small words as i am new to StarForge and do not know any tech. terms.
Thanks
~Nick
Report, edit, etc...Posted by R0y- on 2006-01-12 at 20:23:43
~~This sounds like Line Tower Wars from war3~~

I'm not sure what you're asking really.. You're wondering how to not subtract the custom score? I don't know how it's possible when you have "add x custom score" in triggers.

You're real problem is making it so the player receives the exact amount of money the custom score equals into minerals. I don't think you can do this with a single trigger. What I would do is go through and make every single trigger for every income possibility. ex.

Trigger
Players:
¤ Player X
Conditions:
¤ Current Player has Custom Score of 1
¤ (other conditions)
Actions:
¤ Modify resources for Current Player: add 1 mineral
¤ (other actions)


You would have to go through to the maximum income which would take forever, unless of course there is another way that I am unaware of.
Report, edit, etc...Posted by n0b0dy- on 2006-01-12 at 20:49:57
Cop, read the tuts; if you REALLY can't figure out the solution, pm me, oo.vic.oo, or the maker of spawn defense...(i'm going 2 bed so i cant answer it right now sry...)
Report, edit, etc...Posted by Corbo(MM) on 2006-01-12 at 20:55:47
QUOTE(R0y- @ Jan 12 2006, 07:23 PM)
~~This sounds like Line Tower Wars from war3~~

I'm not sure what you're asking really.. You're wondering how to not subtract the custom score? I don't know how it's possible when you have "add x custom score" in triggers.

You're real problem is making it so the player receives the exact amount of money the custom score equals into minerals. I don't think you can do this with a single trigger. What I would do is go through and make every single trigger for every income possibility. ex.




Trigger
Players:
¤ Player X
Conditions:
¤ Current Player has Custom Score of 1
¤ (other conditions)
Actions:
¤ Modify resources for Current Player: add 1 mineral
¤ (other actions)


You would have to go through to the maximum income which would take forever, unless of course there is another way that I am unaware of.
[right][snapback]404252[/snapback][/right]

actually from where i c it its more complex than that becuz as you said he had a score of seven then brings 5 marines he nows have 12 with that trigger u made roy he has 1 custom score and he will only recieve 1 mineral and that's it, and if you preserve the trigger in the first custom it will keep giving minerals
ok my solution:
assuming the countdown/timer/wait w/e it is is now 0 and reached the limit
TRIGGER 1
CONDITIONS
+player x score(custom is) at least 1
+countdown/timer/wait conditions are met
ACTIONS
set switch 1
preserve trigger

TRIGGER 2
CONDITIONS
switch 1 is set
player x custom score is at least 1
ACTIONS
substract 1 custom score
create 1 (any unit you want) at location (a location far away from game area)
preserve trigger

TRIGGER 3
CONDITIONS
player x custom score is exactly 0
player x brings at least 1 (unit that was created before) at (location)
ACTIONS
clear switch 1
set switch 2
preserve trigger

TRIGGER 4
CONDITIONS
switch 2 is set
player x brings at least 1 (unit) at (location)
ACTIONS
add 1 custom score for player x
add 1 mineral
preserve trigger

TRIGGER 5
CONDITIONs
player x brings exactly 0 any units to (location)
ACTIONs
clear switch 2
preserve trigger


what we went thorugh here?
when the timer was 0 we detected that the player actually had score and activated a switch, this switch was activated to convert the custom scores into units that would be created in a place where no other unit in the map will mess up the trigger i suggest in the corners, then when the player had no custom score left the switch was cleared and another switch was set, this new switch would convert the units that we created before into minerals and it should also give back the custom score we substracted before and converted it to units

suggestions:
the unit should be something like a drone or something a unit that is not being in use, make another big location covering that actual spawning location so when a player brings a flyer unit it gets moved to mid or anywhere else, or else if you got no flyers just add water in terrain
Report, edit, etc...Posted by LegacyWeapon on 2006-01-12 at 20:57:38
Let's keep all the calculations internal wink.gif
Report, edit, etc...Posted by Oo.Vic.oO on 2006-01-13 at 15:15:59
well the way i did it is to add gas everytime u send units. when timer is 0, it subtracts 1 gas and add 1 mineral, custom and death until u have no gas. When you have no gas, is resets the timer. Then you do, subtract 1 death, add 1 gas.
Report, edit, etc...Posted by Corbo(MM) on 2006-01-13 at 15:35:10
i guess that, that way is easier than mine
my Respect to vic
Report, edit, etc...Posted by cop29 on 2006-01-14 at 13:08:21
Oo.Vic.oO
Im going to try that right now, i was just over complicating the whole thing, thanks man. ill be back with the results.
~Nick
Report, edit, etc...Posted by Snipe on 2006-01-14 at 14:11:07
QUOTE(cop29 @ Jan 12 2006, 06:48 PM)
Here is the setup.

there are 2 teams of 3 players. Each team can build bunkers to defend their path. There r 2 separate path's. Also, each player can use a civ to choose a unit (such as marine) to start at the begining of the opposite team's path, this unit will than try to reach the end. If it reaches the end, that team loses a life.
As players send units, set amounts of Cunstom Score is added to the leaderboard. Send 1 marine, custom scores goes up by 1, other units have other values. By the way, sending units costs minerals and so does building defenses (bunkers).
After the round of about 2 minutes, the timer reaches ZERO. at this time, i need each player to recieve the amount of custom score he has as minerals. if he sent 7 marines, and has 7 custom score, he gets 7 minerals. Timer Restars.
Here is thebig problem, i need the custom score to keep accumulating, so if he sends 5 marines the next round, he now has a total of 12 custom score and the leaderboard will read 12.
How do i get this to work without subtracting custom score?
Please Help
Answer with very small words as i am new to StarForge and do not know any tech. terms.
Thanks
~Nick
[right][snapback]404209[/snapback][/right]


interesting.. i don't understand what you want really.. but it doesn't matter i would hope those other dudes answered you. Also you might want to pick another title. Income D already been done and it sure is a fun map.
Report, edit, etc...Posted by Carlsagan43 on 2006-01-14 at 15:28:58
I couldnt find income D in the DLDB but I have played it before. WHy?
Report, edit, etc...Posted by Oo.Vic.oO on 2006-01-14 at 17:56:59
cuz i didnt submit it tongue.gif
Report, edit, etc...Posted by Snipe on 2006-01-14 at 20:58:18
I knew it sounded familier... It was Vic's hehe.. i thought devlin made 1. Ok so it was Vic and its popular even now. People come into clan Oo Saying who's vic and omg vic is awsome lol. yeah it's made bud.
Report, edit, etc...Posted by Lithium on 2006-01-15 at 06:05:14
Can you give us a full detail of your/someone elses trigger? =/
Report, edit, etc...Posted by AgenT_Nick on 2006-01-15 at 08:41:19
QUOTE(Snipe @ Jan 14 2006, 07:58 PM)
I knew it sounded familier... It was Vic's hehe.. i thought devlin made 1. Ok so it was Vic and its popular even now. People come into clan Oo Saying who's vic and omg vic is awsome lol. yeah it's made bud.
[right][snapback]405946[/snapback][/right]

yea i was playing my slot td one day and sum kid wanted to no if i was vics friend. i told him yes and he might come to next game. lol he got all his friends in and vic didnt come haha. but anyways nice to see ya nick biggrin.gif
Next Page (1)