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 > Civilization: Call To Power > CtP-Creation > changing the barbarians
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 22-10-2001 10:52
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
changing the barbarians Put an end to popups!

I've always thought that the barbarians in Civ don't scale very well.
At first they are dangerous, then irritating, then once you get to the modern age they are just annoying distractions.

I think theres a case for moderm era barbarians to be characterised as 'terrorists.'

To this end, I'd like to enable barbarians to arrive with modern age units... preferably stealth units, like spies and infectors.
Maybe even corporate branches


Also, barbarian stealth units should appear *inside* a civs borders... and behave as destructively as possible.

Ewww imagine barbarian eco rangers like this.
Now thats a scary challenge!


My first look thru the config files etc didn't show anything
so I wondered if anyone had any pointers?

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:15
  Old Post 22-10-2001 17:22 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Avatar Enlargement: We've got the solution

The only barbarian related file is risks.txt, ut that doesn't allow the kind of things you wish to do.

In theory you could do this with SLIC. If you want them appearing in empires then use the create unit function to make one which is about 3 or 4 squares from a city chosen at random from among the players land cities on each players turn given a certain probability. I believe that the barbarians are always player 0.

To determine which units to create you'd probably have to tiresomely check whether each player has certain advances.

If you're not a programmer I could give you a few pointers on how to do that.

The problem is that the Barbarian AI may not be able to cope with unconventional warfare units - you could do some experimenting to find out with simpler SLIC triggers.

John

steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 23-10-2001 02:18
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

I noticed that the type of the barbarian unit that turns up changes over time -- at first they are warriors, and over time they seem to get 'upgraded',
I was hoping to be able to hook into that upgrade process.

Are you saying that this is somehow hardcoded?

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:15
  Old Post 23-10-2001 13:45 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Tired of ads?

The only method youhave of affecting barbarian choice are these lines from risks.txt (which are repeated for each risk level - the sample here is from 'huts only'):

BARBARIAN_CHANCE 0.00 #Chance of barbarians appearing at random

# When choosing barbarian types, all units available to players
# are looked at. The best unit that will be considered is the RANK_MAX'th
# best unit available to anyone (0 meaning the best unit)
# The worst that will be considered is the RANK_MIN'th.
# value is determined solely by attack strength.
BARBARIAN_RANK_MAX 15
BARBARIAN_RANK_MIN 30
MAX_SPONTANEOUS_BARBARIANS 1
FIRST_BARBARIAN_TURN 20
LAST_BARBARIAN_TURN 350
MINIMUM_BARBARIAN_DISTANCE 5

So you can change the chance that barbarians will appear, the maximum number which will appear at a time, on which turns they will appear and how close to existing (cities/units?) they will appear.

The only way to affect the coice of unit is to change the RANK_MIN and RANK_MAX. Unfortunately, since they rank solely by attack strength, you're never going to get barbarian unconventional warfare units because they have attack strength zero. You could change those numbers to something like 1 and 10, and then the barbarians will get the best units available to the most advanced player, but that's as harsh as it gets.

The only way you'll get eco terrorists is with SLIC triggers.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:15.
Apolyton Time is 00:15.
    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.0382 seconds (89.83% PHP - 10.17% MySQL) with 29 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