| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
My Ancestors were Vikings
|
Is it possible to program a WW calculator?
I would like to request for someone to try and make a WW calculator, ex-
let's say I have Maximum AI opponents and I'm at war with 6 of them, and I"m in Demo or Rep and the WW is building up. Does anyone know how to tell which one of the 6 is causing the most WW so I can make peace with him? Up until now it's just been a guessing game, sometimes though I'll make peace with the wrong civ and it won't effect my WW one bit, and some of these mistaken peace treaties I've given them something for peace. Is this even possible? I would probably try to give it a whack but I haven't programmed any thing since my mainframe COBOL days back in '89-'91 Thanks!
__________________
Ambition is a poor excuse for not having enough sense to be lazy.-- SW |
|
|
|
|
|
#2 |
|
Warlord
Join Date: Mar 2003
Location: Norway, Oslo
Posts: 184
|
I only have vanilla civ, some adjustment might be needed for PTW.
In the savegame, WWP are stored in the LEAD section. After the "LEAD" key word there are 3172 bytes, then the wwp are stored as a sequence of reverse 4-bytes integers. I have not figured out which number corespond to which civ. I guess thats not too hard. It looks like wwp only are updated between turns. The first LEAD block is for the barbarian, the second for the human, followed by 30 blocks for AI opponents. You could probably find these numbers with a hex-editor. |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CivIV MUST have a program. A program-unit maker | WerBackIII | Civ - Ideas & Suggestions | 3 | Oct 08, 2005 05:21 PM |
| German vessels WW I and WW II | sethos | World History | 1 | Mar 30, 2005 06:21 AM |
| Nuke program instead of Apollo program? | Rita Poon | Civ3 - Creation & Customization | 2 | Feb 15, 2005 02:01 PM |
| WW revisited: How long does it take WW to debilitate your empire under Democracy? | Trinity | Civ3 - General Discussions | 30 | Jul 07, 2002 11:29 AM |
| WW & MPPs revisited: how long does it take WW to debilitate your nation under demo? | Trinity | Civ3 - Stories & Tales | 0 | Jul 05, 2002 10:14 AM |