How create a random unit?
exaple...if playing a Individual Defence! There create a random unit but map is protect!
None.
You'll have to use switch randomization. The basic idea behind it is to randomize a specific number of switches so afterwards you can check each combination to archieve a different effect. Per example:
P1
Always
Randomize Switch 1
Randomize Switch 2
Randomize Switch 3
P1
Switch 1 is cleared
Switch 2 is cleared
Switch 3 is cleared
Create unit A
P1
Switch 1 is cleared
Switch 2 is cleared
Switch 3 is set
Create unit B
P1
Switch 1 is cleared
Switch 2 is set
Switch 3 is cleared
Create unit C
...
All the possible combinations would be:
clear clear clear
clear clear set
clear set clear
clear set set
set clear clear
set clear set
set set clear
set set set
You'd have to create a trigger for each of them.
More generally you can archieve up to 2^n (2 to the n) different effects using n switches (in that example 3 switches mean 2^3 = 8 possibilities).
?????
Another way is to have a deathcount going constantly up to the amount of different units you have, and then being reset, and you make a trigger for each death, this allows you to stray off the binary powers much more easily.
None.
Another way is to have a deathcount going constantly up to the amount of different units you have, and then being reset, and you make a trigger for each death, this allows you to stray off the binary powers much more easily.
The switches part works better I believe, when you do it with death counters it seems to hit some options more than others.
None.
Death counters with hyper triggers are almost completely random, and if you want to make them really random, just randomize a switch, and add 1 or 2 depending on whether it is cleared or set.
None.
Or do it the binary death counter way, where it actually generates a random number.
None.
Generating random numbers have an advantage: you can set different probabilities for the different effects that can be archieved.
e.g. if you get a random number between 0 and 99 you could make thing A happen if the number is at most 30, thing B happen if it is at most 75 and thing C happen if it at most 99. So the probability of A to happen would be 30%, B's 45% and C's 25%.
?????
Hey man things about random triggers for creating units is that after awhile you will start seeing certain units more then other. For instance in "Random Unit Wars" you had a strong chance of getting ghosts for the first 5 units. Also, seeing infested was very common with full house. So when you play your game and you plan on making more versions of it. Watch for that and attempt to balance it.
Seeing favorites is very uncommon but sometimes they are prominit.
None.
Generating random numbers have an advantage: you can set different probabilities for the different effects that can be archieved.
e.g. if you get a random number between 0 and 99 you could make thing A happen if the number is at most 30, thing B happen if it is at most 75 and thing C happen if it at most 99. So the probability of A to happen would be 30%, B's 45% and C's 25%.
That's the type of system I used in my improved Pokemon map.
None.
Hey man things about random triggers for creating units is that after awhile you will start seeing certain units more then other. For instance in "Random Unit Wars" you had a strong chance of getting ghosts for the first 5 units. Also, seeing infested was very common with full house. So when you play your game and you plan on making more versions of it. Watch for that and attempt to balance it.
Seeing favorites is very uncommon but sometimes they are prominit.
There are two possibilities:
1) The "random"-triggers of those maps are favoring some units, similar to what Clokr_ said about the 0-99 DC.
2) You are seeing things. Starcraft's randomizer does not create the same numbers all the time - it probably uses some clock to seed like most randomizers. Since the time at which someone starts a game can be considered "random" in this context, SC's randomizer creates "random" values. Now if you are seeing more units of one type than you see of another and possibility 1) is false, nothing is wrong yet. You have to play MANY games to be able to say that there is something wrong
with a probability of X percent.
None.
Hey man things about random triggers for creating units is that after awhile you will start seeing certain units more then other. For instance in "Random Unit Wars" you had a strong chance of getting ghosts for the first 5 units. Also, seeing infested was very common with full house. So when you play your game and you plan on making more versions of it. Watch for that and attempt to balance it.
Seeing favorites is very uncommon but sometimes they are prominit.
There are two possibilities:
1) The "random"-triggers of those maps are favoring some units, similar to what Clokr_ said about the 0-99 DC.
2) You are seeing things. Starcraft's randomizer does not create the same numbers all the time - it probably uses some clock to seed like most randomizers. Since the time at which someone starts a game can be considered "random" in this context, SC's randomizer creates "random" values. Now if you are seeing more units of one type than you see of another and possibility 1) is false, nothing is wrong yet. You have to play MANY games to be able to say that there is something wrong
with a probability of X percent.
I can tell that SC's random number generator is not as good as it'd be expected. All you have to do is create a map with a whole lot of units and set them to junk yard dog (critters will also work). You'll probably get zones where the critter density is higher the whole game (maybe it has to do with them trying to go through the map edges, but I don't think so...).
?????
Why are so many people trying to make pokemon games?
I didn't make it, I just edited one of the original ones, and I did it a long time ago too mainly for a clan and friends who liked to play the map.
http://www.staredit.net/?topic=35
None.
Question. Would it be possible to create a random unit by having a group of units in one area, and labeling a location over all of them, and then when they are needed you just have to use a trigger like (Teleport 1 men at location ____).
I thought of that and I think it might be possible. Of course, I never tried it cause I never really had a use for a random unit. It could screw up and always give you the same unit every play through. What do you guys think, since your all veterans at map making and stuff.
None.
But thats the point
so its
COMPLEATLY random not just switch fire with the random unit though it sometimes never reaches the location so usualy it has to be a confined space and sometimes it just freezes
. I personaly say switch/unitcreation for best results. For instance have swith 255 set when switchs 1,2,3 are set and a unit created when switch 255 is created thus making
SURE a player is picked incase of trigger misfire, also switchs can be "nulled" if some one lags as soon as the game starts so make sure you do have hyper triggers built into the map if you are using the switchs, but then again having a fail safe system cant be beat.
None.
The Randomize Switch option has been thoroughly tested by members of (U)UnKnOwN and does in fact generate acceptably random numbers.
None.