Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Creation/AI/Mods/Scenarios > Needs maths lessons ===>
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:35
  Old Post 10-04-2004 14:26 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Needs maths lessons ===> Suffering from ads?

Okay here is the idea. I have these unit values and i want to work out the value of all units, using the result of the 1v1 combat simulator. (attachment)

Ignore the 'ranged' values and ranged units, ignore the fact that one unit has more movement or vision than another or that one unit might have flanking (those all will be balanced manually afterwards). Use the starting point of 150 shields for a Warrior. I get some numbers but cant be sure if theyre right. Have i made a fool of myself again?

code:
a/d/r firep. armor move vision cost support warrior 10/10/0 1 1 1 1 150 archer 10/10/20 1 1 1 1 hoplite 10/15/0 1 1 1 1 samurai 20/10/0 1 1 1 1 mounted archer 10/10/20 1 1 4 2 pikemen 10/25/0 1 1 1 1 catapult 10/10/30 1 1 1 1 knight 25/15/0 1 1 3 2 infantryman 20/35/0 2 1 1 1 facist 25/35/0 2 1 1 1 cavalry 35/20/0 2 1 4 2 cannon 10/10/50 2 1 1 1 machine gunner 40/30/0 2 1 1 1 artillery 10/10/70 3 2 3 2 tank 50/35/0 3 2 5 2 marine 60/40/0 2 1 1 1 paratrooper 60/40/0 2 1 2 3 mobile SAM 10/10/80 3 2 3 2 hover infantry 80/50/0 3 2 5 3 fusion tank 65/45/0 4 3 8 3 war walker 10/10/95 4 3 5 3 leviathan 90/100/0 4 3 10 3

Attachment: ctp2_combat_sim_final_1.zip
This has been downloaded 6 time(s).

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:35
  Old Post 10-04-2004 23:47 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton

Man, am i off my rocker? I thought it would be quite simple for someone who knew what they were doing.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:35
  Old Post 11-04-2004 13:25 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Full PM-box? Change here!

I'd be glad to help, but I don't have Excel so I can't run it.

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:35
  Old Post 11-04-2004 14:37 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Enter the AD-FREE zone

Not sure if it will work but have you tried opening it with IE? I cant tell if its just because ive got Excel installed that it works, probably.

Added to website too http://www.geocities.com/ctp2strate...sim_final_1.xls

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:35
  Old Post 11-04-2004 14:56 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

can't download it there seams to be a problem with your site

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:35
  Old Post 11-04-2004 15:04 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Full PM-box? Change here!

Yeah sorry its yahoo blocking it i expect, go from the links page it wont do that then, but i dont know if it works in IE without excel installed.

http://www.geocities.com/ctp2strategy/links.htm

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:35
  Old Post 11-04-2004 15:42 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton buy from Amazon

Nope, won't work in IE without Excel.

Here, though, is a viewer for Excel files:

http://www.microsoft.com/downloads/...&displaylang=EN

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:35
  Old Post 12-04-2004 00:20 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Suffering from ads?

I've got it, but you can't edit the values to get the functions to run.

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:35
  Old Post 12-04-2004 02:03 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Remove this text

Ah well thanks for trying

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 12-04-2004 03:44 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

Well, I can open the spreadsheet in excel, but I can't help you because I don't quite understand what it is you're trying to do...

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:35
  Old Post 12-04-2004 04:59 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton buy from Amazon

Okay to explain better, if a Warrior is 150 shields and we say the chance of a Warrior beating a Hoplite is 46%, i want to know the comparitive value of the Hoplite and so the compartive value of all units to one another exactly.

edit: misread posts

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 12-04-2004 05:21 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Enter the AD-FREE zone

Well, you could try to use odds ratios. If the probability is p the odds ratio is p/(1-p)

I doubt that the ratios you'll get will be transitive, so you probably won't be able to consistently value all units so that their relative values are related in some simple way to their victory probabilities (unless you give them all the value zero ).

e.g. Warrior vs. Hoplite - 44%, so odds ratio 80% and hoplite value 150/0.8=150*1.25=187.5

Hoplite vs. Samurai - 47%, so odds ratio 87.5% and samurai value 187.5/0.875=214.3

Samurai vs. Warrior - 57%, so odds ratio 133% and Warrior value 214.3/1.33=160.7

You don't get back to where you started at...

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:35
  Old Post 12-04-2004 05:45 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Thats why i didnt like the numbers i got, i never got consistant ratios between them all. Is there any other way?

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:35
  Old Post 12-04-2004 17:15 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Got spare money?

Well... There are a few things you could try.

If you want to stick with the odds ratios you can either choose one unit (e.g. the Warrior) to be the base unit and set all of the others in relation to it, or alternatively you could retain the whole overdetemined system, and solve it via a least-squares method, to get the best possible fit.

If you don't want to do that, I think you'll have to abandon the application of these probabilities altogether and just come up with some formula based on the various values that "feels about right" to you. I can see that this would be unsatisfactory.

Personally, I favour the least-squares solution, but that is the most complicated way to proceed...

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:35
  Old Post 12-04-2004 17:41 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
If you want to stick with the odds ratios you can either choose one unit (e.g. the Warrior) to be the base unit and set all of the others in relation to it,


I did something similar to this on my first try i think and i ended up with snow-balling costs for later units, maybe it was slightly different what i did.

I know how least-squares method works (thanks to google) i might give that an (experimental) try.

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:35
  Old Post 13-04-2004 23:04
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Got spare money?

The file can be opened and modified with OpenOffice, which can be downloaded for free. Open Source is your friend.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:35.
Apolyton Time is 00:35.
    top of page
Rate This Thread:
Forum Jump:
Forum 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
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0519 seconds (91.46% PHP - 8.54% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net