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 > For IW about Natural Disaster Visual
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
Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:20
  Old Post 22-06-2002 19:19
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
For IW about Natural Disaster Visual Support Apolyton, buy Alpha Centauri

IW,
I remember once you said you want to have hurricanes to get at least one visual effect in the code. But I think i found a way to get those effects.

I added this line in the plague fuction

code:
AddEffect(PlaguedCity.location, "SPECEFFECT_BIO_TERROR", "SOUND_ID_BIO_TERROR");

and this othe one in the Earthquakes in the damaged city location (throw party sprite effect is dust rising).
code:
AddEffect(tmpCity.location, "SPECEFFECT_THROW_PARTY", "SOUND_ID_NUCLEAR_ATTACK");

and this othe one in the Earthquakes in the volcano location (the volcano exploding).
code:
AddEffect(VolcLoc, "SPECEFFECT_NUCLEAR_ATTACK", "SOUND_ID_NUCLEAR_ATTACK");


I have seem the plague effect already. It worked and looked really good. And the effect also is useful to point wich cities a sick (some info i miss in your code). Yet i havent seen the others.
What do you think? Have you thought of that before?

Last edited by Pedrunn on 23-06-2002 at 09:26

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

Pedrun now you are relay going to kill me I have in my tile file a graphical representation of a volcano I made by converting the sea volcano very cool I will post it to you on Wednesday

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:20
  Old Post 24-06-2002 19:22 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Browse Apolyton AD-FREE

Hehe, I see you're still busy reinventing the wheel, Big Mc (nice avatar, BTW ). There's already a vulcano pic in the 7 Samurai scenario

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:20
  Old Post 24-06-2002 22:58 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton

Yes the is a vulcano but it need four tiles instead of just one tile.

-Martin

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:20
  Old Post 25-06-2002 20:53
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

Sounds like we are expanding the idea

It has been several days and no response from IW!
I wonder where he is?

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:20
  Old Post 26-06-2002 14:38 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

locutos nice to see you again no not the weal this time.

the volcano on seven samurai is dormant which means it is a sleep not working.

but my volcano is working it looks nasty surrounded by dead tiles ( very scary ).

pedrun if you want to we could probably put the sleeping volcano in one tile and then put it on maps with a bit of code behind it so it blows up some time in the game.

I have forgot my tile file again ( forget my head if it was not screwed on) D'oh.

and locutos Iw got the avatar for me

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:20
  Old Post 27-06-2002 02:29 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by Pedrunn
It has been several days and no response from IW!
I wonder where he is?

Wales. In a Victorian fort on a rocky peninsula, counting dogwhelks.

But now I return

Pedrunn, its a very good idea Even if the current effects aren't ideal, more can be added. I like the idea of terraforming the mountain into a volcano, and then putting an eruption effect over it. And henceforth having it as a dormant (or extinct) tile. It would add a little storyline to the game. You can look back in later years and ponder that the mountain near your city once smothered half the populus...

The question arises (again) whether to predetermine volcanoes before the game begins, so that you can choose whether to settle nearby (eruptions, but fertile soil) or have the spontaneously appear.

Lou Wigman is offline Lou Wigman
Warlord
Newcastle,Australia
Jun 2001
time: 15:20
  Old Post 27-06-2002 08:24
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton buy from Amazon

Volcanoes can appear 'spontaneously'. The classic example comes from Latin/South America circa 1970. A farmer ploughing his field noticed smoke rising from the ground and within a year there was a whopping great volcano there.

Having said that, however, volcanoes will only appear in geologically active regions. In other words the chance of a volcano appearing depends on whether there are any other volcanoes nearby. Too tough for SLIC?

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:20
  Old Post 27-06-2002 18:07 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

I did at one point try to simulate tectonic boundaries, but I think it would be quite hard to keep track of.

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:20
  Old Post 27-06-2002 22:13
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Get a bigger avatar today!

I think that just set the tiles of moutains, water volcanos and rifts to be the tectonic boundaries are enough for gameplay porpouses.

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

I don’t believe this i have my tile file here with the volcano on it but I can't upload it I will try again Monday

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:20
  Old Post 28-06-2002 23:20 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Help yourself to an AD-FREE life

Just post the tile graphics as zipped targas. It makes it much easier to download.

Last edited by Immortal Wombat on 28-06-2002 at 23:25

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:20
  Old Post 01-07-2002 15:11 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Full PM-box? Change here!

ok i will get the tga for the volcano for next time

Lou Wigman is offline Lou Wigman
Warlord
Newcastle,Australia
Jun 2001
time: 15:20
  Old Post 04-07-2002 06:42
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton buy from Amazon

Some thought about volcanoes in a disaster mod.

On the face of it you would be stupid to build a city near a volcano. Yet right around the world this is exactly what has/is happening. The reasons are varied but at least one of them is that volcanic soils can be very rich indeed. Thus in Java famers are able to produce three crops each year.

To make it viable building a city near a volcano in CTP there needs to be a comparable attraction. Perhaps the volcano square should be given some very attractive food/commerce/production bonuses.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:20
  Old Post 26-07-2002 00:20 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Increase the size of your Attachments

i finaly got that vol here goes

Attachment: upload.zip
This has been downloaded 8 time(s).

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:20
  Old Post 27-07-2002 03:59 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Full PM-box? Change here!

Nice one. A post-eruption one certainly Now all you need to do is a pre-eruption one, and the borders for them both

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:20
  Old Post 06-08-2002 00:26 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

wombat already have the pre eruption one and all I need is to get the slic done.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:20
  Old Post 06-08-2002 01:38 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

yay

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:20
  Old Post 10-08-2002 01:09 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton, buy Call to Power 2

what you did not do the slic for me

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:20
  Old Post 10-08-2002 04:15 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

I could, its much more complex though.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:20
  Old Post 12-08-2002 23:09 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
Originally posted by The Big Mc
wombat already have the pre eruption one and all I need is to get the slic done.

Can you post the pre-eruption volcano?

This is the basic code. I don't know what results you want around the volcano tile, but this places volcanoes at the beginning and then replaces volcanoes as they erupt with the other tile improvement.

I don't know if it works all the time, I haven't tested it properly.

Attachment: iwv_volcanoerupts.slc
This has been downloaded 4 time(s).

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:20
  Old Post 28-08-2002 01:25 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Suffering from ads?

thanks again

SMIFFGIG is offline SMIFFGIG
Prince
Great Britain
Jul 2002
time: 05:20
  Old Post 03-09-2002 21:17 Visit SMIFFGIG's homepage!
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Browse Apolyton AD-FREE

How is this mod getting on, ANOTHER mod I am really looking forward to. Any screenies yet and what disasters have you included ?


SMIFFGIG

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:20
  Old Post 19-09-2002 17:03 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Lose 30 kilos (of popups)

I have some slic for you on Monday

It an ice age mod slowly turns the map to ice
I am also working on a dry mod to do the same but desert

They will be in my scenario

here is the code you sent me wombat I can’t get my version to work there is a bug a mile big in it

code:
//===================================== // // Volcanic Eruptions // Location_t VOLC_LOC[]; HandleEvent(BeginTurn) 'IWN_place_volcano' pre{ int_t i;//10 int_t j; location_t tmpLoc; int_t volc; unit_t BarbUnit; int_t num_volcs; num_volcs = 3; // this is the number of volcanoes that will appear. volc = 0; while(volc <= num_volcs){//20 i = random(GetMapWidth() -1); j = random(GetMapHeight() -1); MakeLocation(tmpLoc, i, j); if(TerrainType(tmpLoc) == terrainDB(TERRAIN_MOUNTAIN)){ volc = volc + 1; VOLC_LOC[volc] = tmpLoc; Terraform(VOLC_LOC[volc], 10); } } //30 DisableTrigger('IWN_place_volcano'); } HandleEvent(BeginTurn) 'IWN_volcano_erupts' pre { int_t rnd; location_t tmpLoc; location_t tmploc2; unit_t BarbUnit; int_t tmpnum; int_t i; rnd = random(500); if(rnd == 1){ tmpLoc = VOLC_LOC[rnd]; Terraform(tmploc, 40); for(i = -1; i < 7; i = i + 1) { tmpnum = i ; GetNeighbor(tmploc, tmpnum, tmploc2);//40 //nabors are also turned to dead Terraform(tmploc2, 17); } }


and here is the ice age code

code:
HandleEvent(BeginTurn) 'FIRESTORM' post { int_t xcoord; int_t ycoord; location_t tmpLocb; int_t i; int_t b; for(i = -1; i < 700; i = i + 1) {//done in 12 with 800 xcoord = Random(GetMapWidth()); ycoord = Random(GetMapHeight()); MakeLocation(tmpLocb, xcoord, ycoord); //50 if (TerrainType(tmpLocb) == 7) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 4); // Transform jungle } else { if (TerrainType(tmpLocb) == 1) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 4); // Transform to plain } else { if (TerrainType(tmpLocb) == 2) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 2); // Transform tundra } else { if (TerrainType(tmpLocb) == 3) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 3); // Transform snow } else { if (TerrainType(tmpLocb) == 4) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 3); // Transform grass } else { if (TerrainType(tmpLocb) == 5) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 4); // Transform desert } else { if (TerrainType(tmpLocb) == 6) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 4); // Transform swamp } else { if (TerrainType(tmpLocb) == 8) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 21); // Transform green mountin } else { if (TerrainType(tmpLocb) == 9) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 8); // Transform green hill } else { if (TerrainType(tmpLocb) == 18) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 20); // Transform sand dune } else { if (TerrainType(tmpLocb) == 19) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 9); // Transform sand montin } else { if (TerrainType(tmpLocb) == 20) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 8); // Transform poler hill } else { if (TerrainType(tmpLocb) == 21) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 21); // Transform poler monitn } else { if (TerrainType(tmpLocb) == 0) { AddEffect(tmplocb, "SPECEFFECT_FIRES", "SOUND_ID_NANO_TERROR"); Terraform(tmplocb, 4); // Transform poler hill } } } } } } } } } } } } } } } }

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:20
  Old Post 19-09-2002 17:18 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

700 times

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:20
  Old Post 19-09-2002 17:53
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Got spare money?

Instead of 700 hundred times and make a ice age last 1 turn (this may even cause slow pc player to wait until is all done) when truly happens in hundred of years you should make a random chance of activating and a round to end it up.
decreasing the how many times to terraform per turn
Something like:

code:
int_t disableIceAgeRound; HandleEvent(BeginTurn) 'ChanceOfEnablingIceAge' post { if(Random(10) == 0) { EnableTrigger('FIRESTORM'); disableIceAgeRound = GetCurrentRound() + 100; } } HandleEvent(BeginTurn) 'DisableIceAge' post { if(GetCurrentRound() == disableIceAgeRound) { DisableTrigger('FIRESTORM'); } }

Last edited by Pedrunn on 19-09-2002 at 18:00

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:20
  Old Post 23-09-2002 16:24 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Tired of ads?

Ops I had it on test mode when I sent it to you that. 700 should be like 7 and then it last 3 to 4 hundred turns.

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