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 > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Changing type of barbarian units?
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
steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 23-10-2001 03:25
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Changing type of barbarian units? Support Apolyton, buy Civilization III: Complete

(oops I posted this to the other group accidentally, I guess it belongs here. Don't flame me its warm enough already for this time of year!)

Has anyone got any pointers on how to change the type of unit that barbarians turn up with?

I note that the unit type changes thru the game; can this be hooked into?

My idea is that in the modern age, barbarians are (ahem) 'terrorists'

barbarian infectors, spies, corporate branches (?) and worst of all eco rangers appearing within the borders of ones civilisation would be quite the challenge!

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 23-10-2001 17:32 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Civilization 2

hello

Nice timing

I have a question is this for a scenario or the main game, if it is for a scenario you may want to look at the script file for The Magnificent Samurai. they have a small amount of slic coding which means that a group of barbarians appear when you move.

you can select what kind of barbarians you want and the chances of them appearing.

I hope this is helpful for you.

THE BIG Mc

steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 24-10-2001 03:10
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Got spare money?

hey cool! I'll look at that!

Maybe a scenario, maybe a game.
I just think the barbarians should be a threat in any age;
they just have to change their manner of operation,
just like in real life!

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:15
  Old Post 24-10-2001 11:06
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Lose 30 kilos (of popups)

Yes, it must be done through SLIC.

Normally COMP. select barbarians depending of their Attack Bonus (look in risks.txt), but special units don't have one (Attack 0).

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 25-10-2001 14:22 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Inflate your Upload Space

I had a Look at the slic again but could not find anything of use.

At the moment I am making a future scenario after 2300 I have built up a set of new units and had an idea. I made a unit which could carry land units around the place ( like the cargo helicopter in ctp2)
the idea I had was at random intervals the enemy could get reinforcement using this capsule.

It may improve the AI aggressiveness if the capsule land near one of my cites I think you may be able to use this for the barbarians
if you use the monsters of the magnificent samurai scenario you may be able to have a barbarian attack like a space raid with the capsule landing near one of your cites and the monsters attacking it.

If you like this idea let me know I will let the capsule be available to you for download.

any way I will look at the slic agin and again until I can get my idea working .

will you put the slic on line when you have finished I may be able to use it on my scenario

The Big Mc:

steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 25-10-2001 14:26
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Put an end to popups!

Thanks for the offer!
Actually, I'm really not much of a programmer, and the thought that I'd have to get into the scripting puts me off... I'd hoped it might have been a simple parameter somewhere

I guess what I'm hoping now is to be able to inspire someone who has the appropriate skills!

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 25-10-2001 14:49 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Suffering from ads?

I will have a go. it will be a good thing to put in my scenario so i will possibly post it to you. actually i am a bit scared of slic too.

Have you had a look at my question yet.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 26-10-2001 15:03 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton or Terrorists Win

I had a look at the magnificent samurai scenario it looks so easy all I have to do is take out the by movement bit and replace it with the start of the turn bit.:d

Then I Decided To be clever and have a hippy van come up after a bit and steel your city or make all the citizens really up set.

what I want to now now is how do you get a aircraft carrier full of planes to appear, or put some real hippy in the car,(using the Indians sprites from ctp 1)

I will be away next week so I will try to get to a computer no promises)

the Big Mc

steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 26-10-2001 15:50
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton buy from Amazon

This sounds great!

Do you think that its possible to set it up so that the type and number of units is easily configured? ie: in a config file rather than in a slic script?

The other thing I wonder is if the AI can do anything useful with barbarian 'special' units!

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
Talking  Old Post 05-11-2001 18:05 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Increase Your PM Length


I am chasing all the bugs out of the script at this moment.the number of units that will be done by a random Command so it will be any number the computer likes.and what they are are also random you pick 4 units and the probability you like.


the number of units that will be done by a random Command so it will be any number the computer likes.and what they are are also random you pick 4 units and the probability you like.

as for the units these are easy to change even in slic I will give you a help file so it won't be so hard

What I want to know from you is what four units were you thinking about,

The Big Mc

steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 06-11-2001 02:16
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

I was thinking infector, corporate branch, lawyer, ecoterrorist maybe cruise missile... clerics and televangelists. Spy could be good to incite rebellion.

Thats more than 4 but just chew it over.

Couple of thoughts spring to mind;
Some special attacks make no sense for the barbarians (eg spies stealing tech, corporate branch stealing productivity).

I tried editing a barbarian infector into the game but it just stayed where it was, so I gave the barbarians some cash, and it just walked around.

These attacks do cost money and the barbarians typically have none. Maybe they can be scripted so they can do the attack with no money or maybe script the barbarians some cash?

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
Talking  Old Post 06-11-2001 14:57 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton buy from Amazon

A bit a go I did some research into making new orders (this was only a Small success)

I managed to find a way to delete, add and modify (to a limit)
Any special attack I can remember something about the cost of an attack some wear.

I will send you the terror glider the nexts chance I have on going online this is a unit a bodged together from a spy plane.

It has the basic controls of slaver bio infect and a few others.

The other type of unit I developed was the siren a kind of hi tech spy.

When you did your experiment did the barbarian unit have a city?
For some of these special events a unit needs a city to make it happen.

I Think I have already got past your so called problem what we have to do is set it up so that the unit does not use the barbarian nation flag but a national flag of its own and then change the nation to read terrorist or (dark green peace) or something like that.

I will have a look to see if they work.
Why a cleric when you have a televangelists?


Me Big Mc

steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 06-11-2001 16:06
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton or Terrorists Win

No, in my experiment there was no barbarian city.
I hope this isn't a real problem! They usually don't have one...


> Why a cleric when you have a televangelists?

Depends on whats available to other civs; it would seem daft to have the terrorists showing up with televangelists when no actual civs have them.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 06-11-2001 19:46 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Browse Apolyton AD-FREE

I thought this was going to put it on a scenario not the full game if your trying to put it in the game that's a few more lines of code and I hate doing slic.

It's taken my a week to get this far

any way it is easy to do but i would need a start advance to start this up like the ecotopian advance or something.

any way ill try to set up two versions for you.

the big mc

Ps am i in a time warp or is it 2000 were you come from because its 2001 over here.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 06-11-2001 19:53 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton buy from Amazon

I thought this was going to put it on a scenario not the full game if your trying to put it in the game that's a few more lines of code and I hate doing slic.

It's taken my a week to get this far

any way it is easy to do but i would need a start advance to start this up like the ecotopian advance or something.

any way ill try to set up two versions for you.

the big mc

Ps am i in a time warp or is it 2000 were you come from because its 2001 over here.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 07-11-2001 17:22 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Help yourself to an AD-FREE life

sorry double post just can't be bothered to waste time deleting it.

I had a look and your problem is just getting bigger I just can't seam to get any enemy to attack with anything good

Something has just hit me (probably a book)

when you tried the attack on what setting did you have the AI on easy or hard.

I always mod in easy what if to get the special attacks working you need rock hard on.

The idea for the capsules is coming on I recon I could have it up and running shortly I finish this one.

problem is that I can't seam to get pas one error diplomacy 40 syntax error.

the big mc :

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:15
  Old Post 07-11-2001 18:43
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Increase Your PM Length

Some hints for you guys:
in order to make barabrian unse those special abilities, you need to cheage values in strategies.txt (it is in ctp2_data\default\aidata folder)
there is an entry for barabarian strategy. There are some goals which are set to 0. You should chage goals like soothsay, sue, convert, enslave, etc... to values in defeult strategies. That way barabarians specail units would use their abilities

Note: This doesn't work for franchisnig (I don't know why)
also in these following abilities goals are not suppeorted:
-Plaque city (infector), Advertise (Corp. Branch), Incite Uprising (Abolionist)

Other abilities will do fine.

Also there is a thread in last few weeks, where I added those missing abilities for AI (franchising still doesn't work for AI)
Don't remember the name of thread.

steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 08-11-2001 01:56
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Support Apolyton buy from Amazon

I'll have to try changing those values!
Thanks for the pointter!

Do the barbarians still need cash to launch those attacks?

As for it not working on franchising;
well, that is all about draining productivity, right?
If the barbarians don't have a city, wheres it gonna go?
Maybe thats why...

On the other claw,
Did you get barbarian slavers to do anything?
If so, I wonder where the population went!

As for the difficulty level, I'm at 'hard'

It sounds as if we are getting close!

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:15
  Old Post 08-11-2001 06:04
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Increase the size of your Attachments

I didn't tried all of those, but they surely need cash.
About slaver, I don't know, I haven't experimented that much.

Franchising still puzzles me, since it also doesn't work for other AIs (not only barbarian).

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
Talking  Old Post 08-11-2001 15:19 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Browse Apolyton AD-FREE

thank you player one it's a same you are stopping moding.

I got past the diplomacy problem I think it's a problem with the code I'll mod it a bit and then get it working right.



the next problem

money

how do modern terrorists get it. Advances, I will put in a bit of code so that a spy will come along every so often steel an advance and then sell it to the AI players for lots of gold,


steel stuff

in my mod slaving is back because it is a future mod you steel robots and parts for robots.


I will launch this code after I finish tinkering with this mod.

also whey are all the dates and clocks on this site off.

the big mc

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 08-11-2001 16:25 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:
Originally posted by The Big Mc
how do modern terrorists get it.

I vote a mysterious anonymous backer...

code:
AddGold(0, 5000);



Oh, and the dates and times are probably set up incorrectly in your control-panel options. Click on the "control panel" link up the top, and there should be some things you can change under "options".

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
Talking  Old Post 08-11-2001 17:47 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Help yourself to an AD-FREE life

nice one did not think of that .

I had this idea so that as well as the barbarians getting more evil you will also get the AI being so much more fun.

however I may add that line just to realy set the barbarians up on there long road to world anarchy

the big mc

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 08-11-2001 18:25 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Help yourself to an AD-FREE life

does any one no how to pull up a random city so I can put the barbarians ne'er there

this is technically my first go at slic and I would appreciate some one helping me with this difficulty.

I was going to put them at a random location but to get it to work right I would need a month of Sundays.

Also it has come to my mind that we have a big problem about to make a stink.

underwater cities would be all but impervious to attack
so I am coming up with a new unit (yeah its another magic unit which can fly around the world 50 times and stay as a sub)

the terror sub (Patient pending) I will have to make it available and I would like ideas on what to it's attacks could be.

THE BIG MC

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
Talking  Old Post 12-11-2001 15:46 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Support Apolyton buy from Amazon

hello speak to me.

I finished it, I finished the mod.

all I want to know is the random values what percentage of attack do you want one out of a hundred turns or what.

also I had a problem getting the bandits to only attack me.

the mod works good I have also just finished half a mod on bank robbery for the bandits its good.

THE BIG MC

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

Cool

I think one attack every 50 turns should be ok, but only starting in the industrial/modern age.
quote:

does any one no how to pull up a random city so I can put the barbarians ne'er there

Erm.. Get a random player:

code:
int_t NumPlayers; int_t randnum; NumPlayer = preference("NumPlayers"); randnum = random(NumPlayers);

Then pick a random city:
code:
int_t i; int_t randcity; city_t tmpCity; GetCityByIndex(randnum, random(PlayerCityCount(randnum)), tmpCity);


Sorry about all the nested functions

Btw, shouldn't underwater cities be impervious? It would be quite hard to get terrorism underwater, and then they'd have to get in. I imagine underwater cities would be quite heavily guarded.

steve.wray is offline steve.wray
Settler
New Zealand
Dec 2000
time: 05:15
  Old Post 13-11-2001 01:01
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Support Apolyton, buy Call to Power 2

I'd say around the same chances as a normal barbarian attack?
And yes, starting in the industrial age.

Also, I think that it should preferentially target the top ranking civs. Not exclusively, just a bit more biased against them.

And, yeah, underwater cities could do with being impervious to them! For starters, the terrorist units would *have* to 'randomly arrive' on a piece of underwater road tubing

or else they would drown!

The bank robbery mod sounds interesting!

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
Wink  Old Post 13-11-2001 15:38 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I sorted most the problems out I set it up so its a 1 in 100 chance of being attack per city per tern opening the chance up for multiple attack and possible some big attacks.

also I want to limit the attacks to the players civ.

Come on the AI needs all the help it can get after the industrial age.

and the underwater city aren't so safe any more. there is a shadow coming.

my brand new mod which is at about 20% at the moment is should allow terrorists to hold city for ransom.

and this mod is a 80% I got it working all the left to add is is a bit of code which will protect the AI and a different bit to enable the thing for the modern age.

I will mail steve.wray and the wombat the beta relish which is 80% so you can see how it will work to get an idea of the random values.

Bank raid works good again this is at 90% because again it does not protect the AI and it takes the same amount of gold each time.

THE BIG MC

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 13-11-2001 16:05 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Inflate your Upload Space

lets have an experiment how many people who will download the beta version and then get back to me.
hers the first one tearor mod

Attachment: mc_ter.zip
This has been downloaded 12 time(s).

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
  Old Post 13-11-2001 16:06 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Tired of ads?

and heres banck rob
just open them in the normal way


THE BIG MC

Attachment: banck .zip
This has been downloaded 9 time(s).

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:15
Talking  Old Post 15-11-2001 16:11 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#30 Report this post to a moderator
Enter the AD-FREE zone

hello again I am taking to my self.

Shadow mod is coming on last night I was so close to getting it working but the pay and don't pay buts are so hard to click on for some strange reason.

I fell I did not explain shadow mod so good well her goes.

you get a message saying that terrorists are going to kill a random city. (including underwater ones)You then get the option of paying the ransom or saying no. if you pick yes you lose some money and that's it. (or is it) If you click no then the terrorist may or may not kill one of your cites (at random).You then get the chance of hunting the terrorists down for a small amount of public works. if you find them you get a small happy bones if you fail you lose them and your public works cash.

I thought about adding the last bit about hunting them down in bank raid If there isdemand I may just put it in.

The BIG MC

oh and terror mod has been downloaded 5 times and bank mod about 4 so go on tell me what they are like.

Last edited by The Big Mc on 15-11-2001 at 19:55

  < 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:
archivepost
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.0557 seconds (93.20% PHP - 6.80% MySQL) with 31 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