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-General/Help/Strategy/Multiplaying > corporations?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
20.Mar: DAWN OF A NEW AGE
05.Jan: TORONTO-AREA EXPERT SOUGHT
08.Oct: 7TH APOLYTON CTP2 SP TOURNAMENT
CivGroups
Call to Power II Multiplayer (55): Not a Member - Join
Apolyton Storywriters' Guild (56): Not a Member - Join

bottom of page
   - CALL TO POWER 2 @ GOGAMER $9.99 - CALL TO POWER 2 @ GAMESTOP $14.99 - CALL TO POWER 2 @ CHIPS&BITS $24.95
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
yimboli is offline yimboli
Settler

Dec 2003
time: 00:37
  Old Post 25-06-2004 22:28
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
corporations? Support Apolyton buy from Amazon

wow, my first post in a long time.

i've checked the newbie guide and FAQ, and have searched the forums, but I cannot find anywhere what the deal is with corporations. I liked the idea of setting up franchises to pay for my units and add to public works. So I built like 5 corporations and send them to the major islands, and have now built franchises in roughly 80% of the cities that don't belong to me. But is there some way to see the benefits? i.e. my unit upkeep is still listing a non-zero percentage of my production, but I was sure that with all my franchises, I wouldn't have to pay a bit! also, what is the chance that a franchise will work? I've had a few fail. Also, is that blue rectangle with what looks to be gears inside it the symbol for a corporation? I think it is but i want to be sure.

Any additional information on corporations would be most helpful.

-Tim

child of Thor is offline child of Thor
Emperor
UK
Jan 2002
time: 05:37
  Old Post 26-06-2004 01:11
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

the blue symbol with the gears next to it(it appears next to the city name), just means that currently the player of the colour in the symbol(in this case blue probably means you) has a franchise running in that city.

And yes there is some confusion over what benefit you get. In the manual it says its production - but i'm sure someone here discovered that it might have been gold instead?
And if it was production it calculated it in a weird way?

I just liked the fact that i had 'tagged' the city

Last edited by child of Thor on 26-06-2004 at 01:16

yimboli is offline yimboli
Settler

Dec 2003
time: 00:37
  Old Post 26-06-2004 02:09
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Enter the AD-FREE zone

I read somewhere that franchises would help upkeep your units. since units cost production to upkeep, the franchises take production from the enfranchised city and that goes towards unit upkeep. again, I forget the source of this information, but it also said that any production from franchises that went over your unit upkeep production cost would go to public works.

according to the great library, franchises extract 10% of production. is this accurate? I don't know! there's no nifty display that tells me how much production I'm pulling in from franchises, or how much unit upkeep is mitigated! I dont like when stuff happens in a game behind the scenes and I can't see an indicator or some kind of direct affect. this is driving me nuts.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:37
  Old Post 26-06-2004 03:19 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Help yourself to an AD-FREE life

There was a display for benefits from special attacks in CtP1, but not now. The effect of franchises can be extracted from the source, though...

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:37
  Old Post 26-06-2004 06:19 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton or Terrorists Win

yes it would be nice to have a tab or somethig that should benefits from special attacks (including revolts, reform, etc)

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:37
  Old Post 26-06-2004 18:47 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Suffering from ads?

This is a part of the code that counts production in a city, where the franchise effect is taken into account.

code:
sint32 net_production = gross_production - crime_loss; if( m_franchise_owner >= 0 ) { franchise_loss = ceil(double(net_production) * g_theConstDB->GetFranchiseEffect()); } else franchise_loss = 0; return gross_production; }


Gross production is what you get from laborers, city economic radius, with workday modifiers, etc. Net production is gross production minus crime.

To calculate the franchise effect, the net production of a city is multiplied by franchise effect constant from the text file const.txt (0.1 in default game or SAP2, 0.4 in GoodMod). Then, the ceiling of that result is the franchise loss. A ceiling means the smallest integer that is greater than the number that the ceiling's taken from.

To take an example:

Gross production (normal prod, laborers, mines, workday, whatever) = 100.
Crime Loss = 15 (not using the formula for it now, just imagine)
Franchise Coefficient = 0.4 (GoodMod)

Franchise Loss = Ceiling((100-15)*0.4)=Ceiling(34). The smallest integer greater than 34 is 35. So, such a city would lose 35 production to a franchise.

yimboli is offline yimboli
Settler

Dec 2003
time: 00:37
  Old Post 26-06-2004 21:22
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

wow, i like that paste from the source code. i really should check that out. i've done quite a bit of design/programming in C++ and matlab (which has ceil, floor, and fix functions )

I still have a question, though. When I put a franchise in one of france's city, it extracts 10% of their net production... and where does that go? in other words, how does it benefit me?

thanks! this is good stuff.

-Tim

Last edited by yimboli on 26-06-2004 at 21:35

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:37
Post  Old Post 26-06-2004 22:19 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by yimboli
I still have a question, though. When I put a franchise in one of france's city, it extracts 10% of their net production... and where does that go? in other words, how does it benefit me?


Probably it goes to you, at least I know it has some effect, therefore I increased the coefficeint in GoodMod, so that you might detect the effect. In CTP1 I think it was in the diplomanager that showed the gains from each civ. I think the production from each civ should be displayed in the Diplomanager and the total production gained by your civ should be displayed in the natiional manager.

-Martin

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:37
  Old Post 27-06-2004 05:14 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Tired of ads?

Ahh good to know that you know C++, then my explanations are clearly too detailed, could've just pasted the relevant code . If you're curious, then the file is CityData.cpp, that's the one concerning itself with numbers relating to cities and 'side effects' such as franchises, bioinfections, etc.

Yes, the effect of franchise SUPPOSEDLY goes to you. Did so in CtP1. Not sure about now, though.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:37
  Old Post 27-06-2004 05:26 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Suffering from ads?

OK, more code

code:
if( m_franchise_owner >= 0 ) { if(!projectedOnly) g_player[m_franchise_owner]-> AddProductionFromFranchise(m_productionLostToFranc hise); }


So yes, that goes to you...

The AddProductionFromFranchise function has nothing interesting. It just increments the class-level private variable that holds total production you get from franchises, and sends a network packet if in a MP game...

yimboli is offline yimboli
Settler

Dec 2003
time: 00:37
  Old Post 29-06-2004 02:38
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Call to Power 2

martin: i like where you're going with those ideas. i'm all in favor of one single display box that shows ALL exploits (franchises, conversion, stolen technologies, any others?) - and also include them in appropriate already-existing displays. :]

solver: interesting, i'm not sure what the projectedOnly boolean is for. whats the convention with g_ and m_? also, I take it g_player is an array/vector of pointers to abstract data objects??
i'm gonna hafta download the source for this when I get back to the states and take a close look at it - i'm really interested to know how they implement all this stuff. the best I've done with object oriented design and programming games with neat displays is a mastermind game with EZ Windows (comes with Borland C++).

no one has yet answered my question though. I know that the stolen production goes to me, but *where* specifically in my empire is it allocated? I doubt this would be in CityData.cpp cuz I'd imagine the allocation would be empire-wide. Anyway, thanks for everyone's input.

-Tim

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:37
  Old Post 29-06-2004 02:42 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Full PM-box? Change here!

The projectedOnly bool was, I think, to give the real production of city not accounting for losses.

I don't have the source at hand now, but I think that m_franchise_owner was a local, class level variable, whereas g_player refers to an array holding data for each player (human and AI) in the game.

Can't really say where exactly the production goes. I think that it might go not to one of your cities, but to the production pool that goes to maintaining your troops. That's a wild guess though.

You really should download the source and join the coding team .

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:37.
Apolyton Time is 00:37.
    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.0422 seconds (88.40% PHP - 11.60% MySQL) with 49 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