December 10, 2003, 15:07
|
#91
|
Prince
Local Time: 09:18
Local Date: November 2, 2010
Join Date: Dec 2000
Location: Toronto, Canada (Canada's TRUE capitol :))
Posts: 309
|
Clarity from Mike ... thanx
And thank heavens my spearmen can still go "Gates of Fire" a la spartans ... once in a while
__________________
"Nothing exists except atoms and empty space; everything else is opinion"
-Democritus of Abdera
|
|
|
|
December 10, 2003, 15:15
|
#92
|
Chieftain
Local Time: 09:18
Local Date: November 2, 2010
Join Date: Jan 2003
Posts: 31
|
Extra Rolls
Mike,
Won't all that extra rolling eventually slow the game down, especially if you are playing a bunch of civs in the game.
|
|
|
|
December 10, 2003, 15:22
|
#93
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Apr 2002
Location: The warmonger formerly known as rpodos. Gathering Storm!
Posts: 8,907
|
MORE BEER FOR MIKE!!
__________________
The greatest delight for man is to inflict defeat on his enemies, to drive them before him, to see those dear to them with their faces bathed in tears, to bestride their horses, to crush in his arms their daughters and wives.
Duas uncias in puncta mortalis est.
|
|
|
|
December 10, 2003, 15:35
|
#94
|
Settler
Local Time: 17:18
Local Date: November 2, 2010
Join Date: Aug 2002
Posts: 12
|
Re: Combat
Quote:
|
Originally posted by Mike Breitkreutz FIRAXIS
Think of each round of combat as the attacker rolling dice to see if they hit the defender. If the number rolled is greater than or equal to the defense value, the attacker hits; otherwise, the defender hits. The change we made was to the way the attacker rolls the dice. The attacker now rolls multiple times and the result is the average of all the rolls.
|
What you are doing is effectively changing the PRNG. By averaging a number of rolls, you have changed the statistical distribution of results. This effectively changes the relative probability of discrete events (wins vs. losses).
Let me show this more graphically by exaggerating your example. Think of the attacker rolling a 10 sided dice with sides numbered from 1 to 10. Say that the defender has a defense value of 4. So as in your example, if the number rolled is greater than or equal to 4, the attacker hits, otherwise the defender hits. In this scenario, with one roll, the attacker hits 7 out of 10 times or 7/10 probability of the attacker hitting. Your example might be that we roll the dice 4 times and take the average. Well lets take this to an extreme so that I can graphically show you the effect of this change in distribution. Let's say that we roll the dice a TRILLION times and take the average of these rolls. What is the result? Intuitively, you should sense that the average will tend to stay close to the mean, or 5 1/2. Well 5 1/2 is greater than 4. Even without computing the exact odds, I think you would agree that in this case, the odds that the average are greater than or equal to 4 is much greater than 7/10 now.
So you see, this algorithm does change the resulting probabilities in much the same way as Tavis's original description.
Describe exactly how you are doing this (how many rolls, etc.) and we can calculate mathematically the exact effect.
BTW, I don't feel this is the right way to remove even the "perception" of streakiness, nor would I agree that removing the "perception" of streakiness is what should even be done if all it is, is a perception and not a reality.
|
|
|
|
December 10, 2003, 15:38
|
#95
|
Settler
Local Time: 17:18
Local Date: November 2, 2010
Join Date: Aug 2002
Posts: 12
|
Quote:
|
Originally posted by alexman
Thanks for the clarification Mike!
Now can you tell us how many times the 'die rolls' are averaged? It really does affect the odds of victory.
For example, if you average an infinite number of die rolls of 1-6, you will always get 3.5. If you need 4 or more for a victory, the odds of victory go from 33% (2 out of 6) to virtually zero.
|
Exactly. It does affect the odds even if only two 'die rolls' are averaged. Exactly how much the odds change depend on how many 'die rolls' go into the average.
|
|
|
|
December 10, 2003, 15:43
|
#96
|
Official Civilization IV Strategy Guide Co-Author
Local Time: 09:18
Local Date: November 2, 2010
Join Date: Dec 2002
Location: Not just another pretty face.
Posts: 1,516
|
::Mourns the fall of horsemen::
I don't like this *AT ALL.* Horsemen have been relegated to the category of the chariot, and chariots are an even bigger joke than ever before.
You might as well ignore the horse resource altogether now until chivalry! How very disappointing.
|
|
|
|
December 10, 2003, 15:46
|
#97
|
Deity
Local Time: 15:18
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Enthusiastic member of Apolyton
Posts: 30,342
|
Yes Mike, don't tease us!
The statistical distribution certainly changes, but (and it is hard to say for sure with the limited info) it is not quite in the way imagined earlier.
|
|
|
|
December 10, 2003, 15:47
|
#98
|
Emperor
Local Time: 11:18
Local Date: November 2, 2010
Join Date: Mar 1999
Location: Brasil
Posts: 3,958
|
wow, thank you Firaxis for this clever move -- a beta patch will be great for all of us!
As for the combat results imbroglio , I just don't care.
(No offense to all those dedicated civvers who love to deal with this calculations)
__________________
'Yep, I've been drinking again.'
|
|
|
|
December 10, 2003, 15:47
|
#99
|
Prince
Local Time: 09:18
Local Date: November 2, 2010
Join Date: Dec 1969
Location: North Carolina, USA
Posts: 447
|
If you are looking to change the randomness of the results but not the actual probabilities of success, why not just generate the 4 random numbers and then take the 4th as the result. That should cut those unnatural "uberunit" streaks to 1/4 the size they would have been. Alternately you could take each roll, but perform some kind of transform on a subset of them. (For example, for a 0-1 random number, take 1 minus the number for every other roll. So, if there are a bunch of high numbers in a row, they would be changed to alternate high/low/high/low.....
Edit:
I just had a thought. If you add 4 uniformly distributed random numbers 0-1 together and then just look at the decimal part, you should get a uniformly distributed random number from 0-1. Maybe that's what Mike means when he says "average the rolls" In this case the probabilities would not change, but unnatural streaks would get averaged out.
__________________
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness... T. Jefferson "The Declaration of Independence"
Last edited by Gyromancer; December 10, 2003 at 15:56.
|
|
|
|
December 10, 2003, 15:50
|
#100
|
Settler
Local Time: 17:18
Local Date: November 2, 2010
Join Date: Aug 2002
Posts: 12
|
Quote:
|
Originally posted by Gyromancer
If you are looking to change the randomness of the results but not the actual probabilities of success, why not just generate the 4 random numbers and then take the 4th as the result. That should cut those unnatural "uberunit" streaks to 1/4 the size they would have been. Alternately you could take each roll, but perform some kind of transform on a subset of them. (For example, for a 0-1 random number, take 1-the number for every other roll. So, if there are a bunch of high numbers in a row, they would be changed to alternate high/low/hig/low.....
|
You are presuming to know the behavior of the PRNG being used in Civ3 without ever seeing the algorithm. As such, such hacks will most likely fail since it is just as likely that a change as you are suggesting could make streaking even worse. This is because your suggestion is yet another transformation on the PRNG.
|
|
|
|
December 10, 2003, 15:52
|
#101
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Jan 2002
Posts: 7,017
|
Quote:
|
Originally posted by alexman
You can see for yourself. All the tools you need are in this thread.
|
I was not questioning your analysis, I was pointing out that I did not crunch the numbers myself. Halving the potency of Horsemen against their standard opponents seems wrong to me, and I'm trying to figure out why it is so (without doing any work!).
Dominae
__________________
And her eyes have all the seeming of a demon's that is dreaming...
|
|
|
|
December 10, 2003, 15:58
|
#102
|
Deity
Local Time: 15:18
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Enthusiastic member of Apolyton
Posts: 30,342
|
Quote:
|
Originally posted by Dominae
I was not questioning your analysis, I was pointing out that I did not crunch the numbers myself. Halving the potency of Horsemen against their standard opponents seems wrong to me, and I'm trying to figure out why it is so (without doing any work!).
Dominae
|
I get the impression the earlier results are not true, although they were valid for the situation we believed to be the case earlier.
|
|
|
|
December 10, 2003, 16:03
|
#103
|
Prince
Local Time: 09:18
Local Date: November 2, 2010
Join Date: Dec 1969
Location: North Carolina, USA
Posts: 447
|
Quote:
|
Originally posted by eliliang
You are presuming to know the behavior of the PRNG being used in Civ3 without ever seeing the algorithm. As such, such hacks will most likely fail since it is just as likely that a change as you are suggesting could make streaking even worse. This is because your suggestion is yet another transformation on the PRNG.
|
I wouldn't say "just as likely." Obviously such a change wouldn't create a truely random number. It would be meant to create one that a human with a limited time window and limited powers of observation (except maybe for Alexman... ) does not perceive as being nonrandom.
Anyway, my solution was really meant as an example of how such a transformation would work to avoid changing the underlying probabilities. I'm sure there are better transforms out there that would suit the internal workings of the game better.
__________________
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness... T. Jefferson "The Declaration of Independence"
|
|
|
|
December 10, 2003, 16:03
|
#104
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Jan 2002
Posts: 7,017
|
Here's a random idea (ha!) that intuitively could solve the problem a little better:
1. Use the old system for calculating combats.
2. Do each combat 5 times.
3. Award the win to the unit that wins the most combats.
So, instead of messing with things on the HP level, it's now on the combat level. This is no more work than the current solution (on average it should actually be less).
Now, I'm not really sure: does this introduce a bias or not, like the current system does?
Dominae
__________________
And her eyes have all the seeming of a demon's that is dreaming...
|
|
|
|
December 10, 2003, 16:05
|
#105
|
Firaxis Games Software Engineer
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Mar 1998
Posts: 5,360
|
Yes, any averaging will introduce a bias towards the unit that has a better chance of winning.
|
|
|
|
December 10, 2003, 16:06
|
#106
|
Prince
Local Time: 09:18
Local Date: November 2, 2010
Join Date: Dec 1969
Location: North Carolina, USA
Posts: 447
|
Quote:
|
Originally posted by Dominae
Here's a random idea (ha!) that intuitively could solve the problem a little better:
1. Use the old system for calculating combats.
2. Do each combat 5 times.
3. Award the win to the unit that wins the most combats.
So, instead of messing with things on the HP level, it's now on the combat level. This is no more work than the current solution (on average it should actually be less).
Now, I'm not really sure: does this introduce a bias or not, like the current system does?
Dominae
|
The bias is still there. Also, how do you decide how wounded the survivor will be?
__________________
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness... T. Jefferson "The Declaration of Independence"
|
|
|
|
December 10, 2003, 16:12
|
#107
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Jan 2002
Posts: 7,017
|
Ok, bad idea.
__________________
And her eyes have all the seeming of a demon's that is dreaming...
|
|
|
|
December 10, 2003, 16:12
|
#108
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Apr 2002
Location: The warmonger formerly known as rpodos. Gathering Storm!
Posts: 8,907
|
So much for ultra-early rushes!!
And Muskets and Rifles just got *much* more important.
__________________
The greatest delight for man is to inflict defeat on his enemies, to drive them before him, to see those dear to them with their faces bathed in tears, to bestride their horses, to crush in his arms their daughters and wives.
Duas uncias in puncta mortalis est.
|
|
|
|
December 10, 2003, 16:16
|
#109
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Apr 2002
Location: The warmonger formerly known as rpodos. Gathering Storm!
Posts: 8,907
|
The more I think about it, the more drastically I think this effects strategy.
Can we say "arms race"?
__________________
The greatest delight for man is to inflict defeat on his enemies, to drive them before him, to see those dear to them with their faces bathed in tears, to bestride their horses, to crush in his arms their daughters and wives.
Duas uncias in puncta mortalis est.
|
|
|
|
December 10, 2003, 16:17
|
#110
|
Firaxis Games Software Engineer
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Mar 1998
Posts: 5,360
|
Can we say "offense sells tickets but defense wins championships"?
|
|
|
|
December 10, 2003, 16:22
|
#111
|
Settler
Local Time: 17:18
Local Date: November 2, 2010
Join Date: Aug 2002
Posts: 12
|
Quote:
|
Originally posted by Gyromancer
I wouldn't say "just as likely." Obviously such a change wouldn't create a truely random number. It would be meant to create one that a human with a limited time window and limited powers of observation (except maybe for Alexman... ) does not perceive as being nonrandom.
|
No. Because what I meant when I said that you don't know anything about the PRNG is that you don't know that your transformation wouldn't actually create a less random one from the perspective of "a human with a limited time window and limited powers of observation". This is because inherent in your approach is an assumption that after you apply your transform, randomness is enhanced in some perceptible way, when this could be even the opposite of true. I'll give a stupid example. Take a sequence: 1 8 8 4 2 5 7 3 5 10 6
Seems a bit random. But maybe not. What if we start with the first number and take every third afterwards to "enhance randomness"?: 1 ... 4 ... 7 ... 10 ...
oops. From my "perception", things have gotten worse.
See, you didn't know anything at all about my sequence, so taking every 3rd, 4th, etc. doesn't solve any problem. In fact, it might make things worse.
If you don't know anything about the PRNG, you can't apply a transform to it, especially a linear one, and expect things to "improve".
Quote:
|
Originally posted by Gyromancer Anyway, my solution was really meant as an example of how such a transformation would work to avoid changing the underlying probabilities. I'm sure there are better transforms out there that would suit the internal workings of the game better.
|
Without knowledge of the PRNG algorithm, no.
|
|
|
|
December 10, 2003, 16:28
|
#112
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Apr 2002
Location: The warmonger formerly known as rpodos. Gathering Storm!
Posts: 8,907
|
It seems to me that what is being bemoaned is the likelihood of unlikely events taking place... at one extreme, Spear versus Tank, and at the other Horses attacking fortified Spears/Pikes... and that the general community reaction is that the curve might be off on the latter.
In other words, units of equal or near strength should be more likely to stray from absolute results, not the reverse.
__________________
The greatest delight for man is to inflict defeat on his enemies, to drive them before him, to see those dear to them with their faces bathed in tears, to bestride their horses, to crush in his arms their daughters and wives.
Duas uncias in puncta mortalis est.
|
|
|
|
December 10, 2003, 16:36
|
#113
|
King
Local Time: 07:18
Local Date: November 2, 2010
Join Date: May 2002
Location: California - SF Bay Area
Posts: 2,120
|
So, disparities in effective A and D values become more definitive with regard to likely overall combat outcome.
Would seem to make for some pretty drastic changes to the game, rippling well beyond combat itself. Does beelining for Navigiation, with the chance to sew up overseas trades for C3C's scarcer resources before others have a chance to trade for them, still make sense when you could beeline for Cavs and take on AI pikes?
Without actually having played with the thing, leads me to speculate that techs that offer combat unit upgrades just became a lot more powerful seducers of one's research budget.
Catt
|
|
|
|
December 10, 2003, 16:39
|
#114
|
King
Local Time: 08:18
Local Date: November 2, 2010
Join Date: Sep 2002
Location: Our house. In the middle of our street.
Posts: 1,495
|
Quote:
|
Originally posted by nbarclay
I suspect that the combat change is going to get really nasty when defense modifiers start piling up - especially trying to take big cities on hills. Terrain modifiers, fortification modifiers, and so forth that were balanced well under the old combat system will tend to give the defender a much greater advantage under the new.
|
While this change scares me a bit(as any change scares any human), I think it might be fun.
I've always thought it would be neat to actually have to lay seige to strong(strategically placed as well as well-defended) cities instead of just throwing more grunts at it.
This change could actually make bombardment much more important, but as has been shown in the past, the AI just doesn't get it. Which means this might do more to harm the AI than any good that could come of trying to eliminate the Uber Spearman. Besides, when I encountered old Uber S, I just assumed he was some sort of wicked smart MacGyver-type. It made losing a Tank to a guy with a pointy stick a lot easier to swallow.
Besides, if the AI still has spears when I have tanks, a couple of unlucky rolls isn't _that_ big a deal, to me.
Anyway, it'll be interesting to see if this makes catapults-arty more necessary, and if so, how the AI copes.
__________________
"Just once, do me a favor, don't play Gray, don't even play Dark... I want to see Center-of-a-Black-Hole Side!!! " - Theseus nee rpodos
|
|
|
|
December 10, 2003, 16:40
|
#115
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Apr 2002
Location: The warmonger formerly known as rpodos. Gathering Storm!
Posts: 8,907
|
Quote:
|
Originally posted by alexman
Can we say "offense sells tickets but defense wins championships"?
|
Yeah, but there's no league rules here... warfare in Civ has ALWAYS been about attacking at the point of relative advantage... now, the aggressor will 1) not attack with number of units advantage in the face of stronger defenders, 2) need, um, 50%? more units when faced with equal defense due to defense modifiers, and 3) go INSANE upon reaching an attack strength advantage.
UUs need to be discussed at length, btw, in light of this.
It changes the game a LOT... I am not sure if for good or bad though, especially when considered from a Seven Pillars standpoint. I could argue it either way: a) attack strength advantage becomes so powerful that game balance is thrown off, and winning the arms race is pretty much the game over strategy (shades of Vel's complaints), or b) stronger defense in general allows for other game-winning strategies.
__________________
The greatest delight for man is to inflict defeat on his enemies, to drive them before him, to see those dear to them with their faces bathed in tears, to bestride their horses, to crush in his arms their daughters and wives.
Duas uncias in puncta mortalis est.
|
|
|
|
December 10, 2003, 16:43
|
#116
|
King
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Philly
Posts: 2,961
|
So if one of my allies runs into my submarine with an ironclad... they will still declare war, but their chances of sinking the sub have been increased?
__________________
"Stuie has the right idea" - Japher
"I trust Stuie and all involved." - SlowwHand
"Stuie is right...." - Guynemer
|
|
|
|
December 10, 2003, 16:44
|
#117
|
Chieftain
Local Time: 14:18
Local Date: November 2, 2010
Join Date: Jun 2001
Posts: 86
|
Right, it would appear the principal problem is that in order to kill 'streaks', the probability of an nearly equal combat is skewed heavily toward the 'better' unit. So a horseman attacking a city is screwed badly with statisitical 50% reduction. Sure it is good that those spearmen will be slaughtered by a tank; whoever is still using them deserves it. But those spearmen will now slaughter your horses. This is not I would hope the intended change. We would have to see how this is exactly being implemented to be certain of the whole problem. The civ2 solution of FP seems more accurate at solving the problem of a godlike spear unit.
The biggest problem with this change if its used is that the computer does not seem as effective as a person in artillery implementation. This sort of change would require alot more bombardment on a targeted city (since city combats are generally the heaviest on D%) A MP game you'll see all those shells falling and should know where to mass your defense. Killing the 1 rated units into total uselessness isn't necessarily the best thing to come out either. No early rushes.
|
|
|
|
December 10, 2003, 16:49
|
#118
|
Emperor
Local Time: 10:18
Local Date: November 2, 2010
Join Date: Apr 2002
Location: The warmonger formerly known as rpodos. Gathering Storm!
Posts: 8,907
|
Uh, I just realized a real problem here... the change in distribution of strategic resources.
In each era, all civs now have access to resource free attacker and defender slowmovers of more or less equal strength... those civs WITHOUT resources are now screwed.
__________________
The greatest delight for man is to inflict defeat on his enemies, to drive them before him, to see those dear to them with their faces bathed in tears, to bestride their horses, to crush in his arms their daughters and wives.
Duas uncias in puncta mortalis est.
|
|
|
|
December 10, 2003, 16:53
|
#119
|
Emperor
Local Time: 08:18
Local Date: November 2, 2010
Join Date: Dec 1999
Location: Huntsville, Alabama
Posts: 6,676
|
One of the changes modders have made to deal with the problem of unlikely outcomes is to increase the number of hit points. If Firaxis would do that internally and round off the results (for example, doubling the number of hit points internally at the start of the battle and showing a hit point lost on the screen each time two are lost internally), that would push the outcomes toward the average without fundamentally upsetting the balance of power.
|
|
|
|
December 10, 2003, 16:54
|
#120
|
King
Local Time: 07:18
Local Date: November 2, 2010
Join Date: May 2002
Location: California - SF Bay Area
Posts: 2,120
|
Quote:
|
Originally posted by Stuie
So if one of my allies runs into my submarine with an ironclad... they will still declare war, but their chances of sinking the sub have been increased?
|
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT -4. The time now is 10:18.
|
|