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 > Alternative Civs > Freeciv > Ignorance...Palaces/capitals
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
moseslei is offline moseslei
Settler
Falls Church VA USA
May 2000
time: 05:14
Thumbs down  Old Post 13-05-2000 17:20 Visit moseslei's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Ignorance...Palaces/capitals Support Apolyton or Terrorists Win

I haven't looked far enough into the code, I guess... what happens when a civilization has no capital? Palace sold, or captured by another player? I guess my question is, how are things like bribe cost and corruption calculated when there is no palace?

Moses

CapTVK is offline CapTVK
King
Voorburg, the Netherlands, Europe
Jan 1970
time: 05:14
Post  Old Post 13-05-2000 18:41 Visit CapTVK's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton

Don't know enough about the inner workings of FreeCiv yet to answer that question. But I do know that when your capital is destroyed in Civ2, the distance from capital is set at 33 for all your cities until you've build another palace. FreeCiv seems to work the same way. I destroyed the Mongol capital and most other cities could be bribed much easier. Although there's always the chance your dip gets caught if you've already done something in that city, even when bribing! Civ2 doesn't have this feature.

Needless to say it becomes a bribefest when your capital is destroyed whether it's Civ1/2 or FreeCiv. And that's my final verdict...

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 13-05-2000 22:37 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization 2

try http://www.freeciv.org/lxr/source/s...nittools.c#L239
and http://www.freeciv.org/lxr/source/s...cityturn.c#1468
and http://www.freeciv.org/lxr/source/s...citytools.c#458

CapTVK is offline CapTVK
King
Voorburg, the Netherlands, Europe
Jan 1970
time: 05:14
Post  Old Post 14-05-2000 04:00 Visit CapTVK's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Put an end to popups!

Thanks Thue,
I found the bribing part, here it is:

code:
/ ************************************************** ************************ 232 calculate how expensive it is to bribe the unit 233 depends on distance to the capital, and government form 234 settlers are half price 235 236 Plus, the damage to the unit reduces the price. 237 238 ************************************************** ************************/ 239 int unit_bribe_cost(struct unit *punit)240 { 241 struct government *g = get_gov_iplayer(punit->owner);242 int cost; 243 struct city *capital;244 int dist; 245 int default_hp = get_unit_type(punit->type)->hp;246 247 cost = (&game.players[punit->owner])->economic.gold+750; 248 capital=find_palace(&game.players[punit->owner]);249 if (capital) { 250 int tmp = map_distance(capital->x, capital->y, punit->x, punit->y); 251 dist=MIN(32, tmp);252 }253 else254 dist=32; 255 if (g->fixed_corruption_distance) 256 dist = MIN(g->fixed_corruption_distance, dist); 257 cost=(cost/(dist+2))*(get_unit_type(punit->type)->build_cost/10); 258 /* FIXME: This is a weird one - should be replaced */ 259 if (unit_flag(punit->type, F_CITIES)) 260 cost/=2;261 262 /* Cost now contains the basic bribe cost. We now reduce it by:263 264 cost = basecost/2 + basecost/2 * damage/hp265 266 */267 268 cost = (int)((float)cost/(float)2 + ((float)punit->hp/(float)default_hp) * ((float)cost/(float)2)); 269 270 return cost; 271 } 272


Seems very similar to the original bribing in Civ1 (+750 in the formula, dist to capital etc..) But why are settlers only half price? Wouldn't those units be very vulnerable this way?
[This message has been edited by CapTVK (edited May 13, 2000).]

Kumiorava is offline Kumiorava
Prince

Jan 1970
time: 00:14
Post  Old Post 14-05-2000 04:24
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization 2

This post was full of ****.
[This message has been edited by Kumiorava (edited May 17, 2000).]

CapTVK is offline CapTVK
King
Voorburg, the Netherlands, Europe
Jan 1970
time: 05:14
Post  Old Post 17-05-2000 19:03 Visit CapTVK's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Increase Your PM Length

To get things back on topic, what's the reason for settlers going half-price?

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 17-05-2000 19:29 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Increase Your PM Length

No idea
Maybe because settlers are ordinary people far from home, they are less hardy than dedicated soldiers?

Kumiorava is offline Kumiorava
Prince

Jan 1970
time: 00:14
Post  Old Post 18-05-2000 04:06
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Inflate your Upload Space

Ooops... looks like I misread your previous post, CapTVK. A bit.
My last post is full of ****. Disregard it.

I wonder what the deal with the settlers is, but if it disturbs you, just edit the source and be done with it.

CapTVK is offline CapTVK
King
Voorburg, the Netherlands, Europe
Jan 1970
time: 05:14
Thumbs up  Old Post 20-05-2000 03:23 Visit CapTVK's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Man, through what sort of coloured glasses do you look at posts? Brown ones?

Anyway, about the settlers bit. Yes, I could probably edit this part myself and figure out how to compile it for Windows or Linux the hard way. But that's not the point, the point is that I'm browsing through the source to see what similarities there are between Civ1/2 and FreeCiv.
If I find something strange/different/interesting I'll post comment or question about it, settlers going at a 50% discount is one of them. I just want to know what the reason for this discount, gamebalance? personal taste of the programmer? et...

There's nothing better than constructive criticism....
[This message has been edited by CapTVK (edited May 19, 2000).]

paulz is offline paulz
Freeciv Webmaster
San Diego, CA, USA
May 2000
time: 21:14
Post  Old Post 20-05-2000 05:26 Visit paulz's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

quote:

Originally posted by CapTVK on 05-19-2000 06:23 PM
If I find something strange/different/interesting I'll post comment or question about it, settlers going at a 50% discount is one of them. I just want to know what the reason for this discount, gamebalance? personal taste of the programmer? et...


You will probably get more and better answers to questions about the code on freeciv-dev@freeciv.org. I have been reading the mailing lists for quite a long time and I don't ever remeber this one coming up. The (Great) Danes may have coded it this way in the beginning and no one questioned it. You could also check the archives of course, http://arch.freeciv.org but that only goes so far back. (The mailing lists were hosted somewhere else before.)

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:14
Post  Old Post 20-05-2000 15:58 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Enter the AD-FREE zone

That mailing list is a pain to search, you have to search it 3 months at a time...

CapTVK is offline CapTVK
King
Voorburg, the Netherlands, Europe
Jan 1970
time: 05:14
Post  Old Post 21-05-2000 00:40 Visit CapTVK's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Inflate your Upload Space

quote:

Originally posted by paulz on 05-19-2000 08:26 PM
You will probably get more and better answers to questions about the code on freeciv-dev@freeciv.org. I have been reading the mailing lists for quite a long time and I don't ever remeber this one coming up. The (Great) Danes may have coded it this way in the beginning and no one questioned it. You could also check the archives of course, http://arch.freeciv.org but that only goes so far back. (The mailing lists were hosted somewhere else before.)


Thanks, I'll try it out. I'm curious for the reason.

taw is offline taw
Settler
pl
May 2000
time: 05:14
Post  Old Post 21-05-2000 12:59
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton buy from Amazon

Reason why settlers has discount is that
bribing settlers shouldn't be
much more expensive than bribing small city

CapTVK is offline CapTVK
King
Voorburg, the Netherlands, Europe
Jan 1970
time: 05:14
Thumbs up  Old Post 21-05-2000 14:11 Visit CapTVK's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Put an end to popups!

quote:

Originally posted by taw on 05-21-2000 03:59 AM
Reason why settlers has discount is that
bribing settlers shouldn't be
much more expensive than bribing small city


So it's a quick hack to fix a problem.

Problem is that this 'solution' leads to another problem that you now can bribe settlers for the same price as one/two-size cities. And knowing what bribing is capable off in Civ2MP I would have made bribing smaller cities more difficult instead of lowering the price for settlers. Lowering the bribe price of settlers is only counter intuitive thinking: "Bribing settlers is far more expensive than bribing small cities so we should make settlers cheaper to bribe!" hmmmmm...

Kumiorava is offline Kumiorava
Prince

Jan 1970
time: 00:14
Post  Old Post 25-05-2000 08:25
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Help yourself to an AD-FREE life

Ummm...
How about raising the price of the cities, maby?

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    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.0420 seconds (90.31% PHP - 9.69% 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