Thread Tools
Old November 10, 2001, 08:49   #1
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 17:27
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
For the Big Mc - Hurricanes
I made a hurricane sprite, and also some SLIC to implement it as a barbarian air unit. However, unlike the pirates coding, it seems the barbarians do know how to use air units, so it is a little tricky to make them target cities. It seems the barbarians will use them, but aim for poorly defended units.
(The first playtest ended after two turns when both my settlers were killed by storms )

Sometimes if there are no units nearby, the hurricanes dies at sea, when it runs out of fuel. Otherwise they come cruising towards land with 40 movement points, kill something, and burn out. They only form at sea, but have to be able to cross land to do anything worthwhile.

In the attached zip file are:
Hurricane sprite,
Units.txt
newsprite.txt
uniticon.txt
ND_Hurricane.slc

To use, dump the files in their correct places, (probably use a scenario for now)
put the line
Code:
#include "ND_Hurricane.slc"
in a SLIC file that gets loaded (script or scenario.slc).
NOTE: at the moment, there is no alert message to the city hit, nor is there graphics or GL entries for the hurricane. If you want these, I can do them, but the whole concept may need changing, so I didn't bother for now. At the moment it uses fighter grpahics and GL entries.

gl_str.txt is not included, because you should never have to select the unit, so wont be bothered where it says UNIT_HURRICANE.
Attached Files:
File Type: zip hurricane.zip (72.0 KB, 16 views)
Immortal Wombat is offline  
Old November 12, 2001, 06:37   #2
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
nice one. this will really upset the apple cart.

I may do some tinkering I will let you know how I get on.

I have a question if this was meant for me why has it been download four times already.

THE BIG Mc

Last edited by The Big Mc; November 12, 2001 at 07:09.
The Big Mc is offline  
Old November 12, 2001, 11:30   #3
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 17:27
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Sure, tinker, this is just a starter

I posted it here specifically because you requseted it, but I'll let everyone else grab it to, might be nice...

Oh, and one of the downloads was me checking to see if the zip was ok. Sometimes it can get corrupted.
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old November 13, 2001, 06:45   #4
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Got the mod working good but i could not get it to atack ships so i had the idea of giving the storm a dead zone after starting and finishing its go.

The unit you made, I made a few alteration and got it to atack laviathans

it apears the storms atack was set too low so it could be killed too quick by a laviathens.

THE BIG MC
The Big Mc is offline  
Old November 15, 2001, 07:47   #5
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Quote:
However, unlike the pirates coding, it seems the barbarians do know how to use air units,
can a normal AI, In all my experience I have never seen an AI do this. It Stops one of my mods taking off did you ever find a way around this.

THE BIG MC
The Big Mc is offline  
Old November 15, 2001, 13:31   #6
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 17:27
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Quote:
Originally posted by The Big Mc
can a normal AI, In all my experience I have never seen an AI do this.
They don't build them, but they can use them. When you give boats to barbarians, they just sit in the water. At least the air units move...
Immortal Wombat is offline  
Old November 16, 2001, 06:26   #7
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Have you got a tornado sprite (the wind one) it could look good against the hurricane mod with your city being attack by a tornado and a hurricane.

I Would try to make it my self but I haven't got paintshop and I haven't a scrap of artistic blood in my body.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 16, 2001, 09:02   #8
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 17:27
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
I'll do one at the weekend if I can find the time
Immortal Wombat is offline  
Old November 19, 2001, 08:37   #9
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
I mad some alterations to hurricane this week end it now puts forest and jungle fires in. I also put in a regenerate string so that dead tiles now regenerate into grassland. cool or what.(what)

thanks I will take later.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 19, 2001, 09:25   #10
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 17:27
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Quote:
Originally posted by The Big Mc
I mad some alterations to hurricane this week end it now puts forest and jungle fires in. I also put in a regenerate string so that dead tiles now regenerate into grassland. cool or what.(what)

thanks I will take later.
I tried to do a regenerate thing for eartquake regions, how did you manage to get it work? Mine loses track of the tiles after a turn.
Immortal Wombat is offline  
Old November 19, 2001, 09:43   #11
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
I made the regenerate function select a tile every time to alter it selects a dead tile at random and changes the tile back into a grassland, as trees don't grow that much in brown field and polluted sites but some grassland things do.

it was the only way I found of doing it I need a new special effect I just got the cleric cloud over it at the moment
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 20, 2001, 09:09   #12
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
I had A go of making it more selective last night and failed I have an idea about using goods to mark up the tiles for regeneration As no good for dead tiles. I thought I would make one and lock on to this item to change the tile something daft like charcoal or something a high money good that disappears fast you have to be at the right spot at the right time.

__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 20, 2001, 13:30   #13
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 17:27
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Can you post the SLIC? It sounds good

BTW I'm thinking about making the ND code better, with volcano hotspots chosen at the start, and some rudimentary plate tectonics.
Immortal Wombat is offline  
Old November 21, 2001, 07:24   #14
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
I will But I will have to send you all of the hurricane slic too I used a lot of the variables of that to get it to work. I am still learning slic myself so I always look for the way I can do it. but if it helps I will post it next time. the slic should only change one tile a turn because I haven't got the good loc working yet.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 22, 2001, 06:19   #15
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
you wanted it here it is.

it replaces ND_hurricane and does regenerate and forest fires.
Attached Files:
File Type: slc nd_hurricane.slc (4.4 KB, 9 views)
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 22, 2001, 09:17   #16
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
would you put your earth quake slic on the form I would really like to have a look at it.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 22, 2001, 15:05   #17
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 17:27
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
I posted it in the Natural Disaster thread, and the new sprites thread as well. Here it is once more
Attached Files:
File Type: zip nd_08_09.zip (11.2 KB, 13 views)
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old November 23, 2001, 04:55   #18
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
have you had a look at the regenerate function yet. The next step is to make the changes on a wider area.

I unzip and have a look at the earth quake slic code and get back to you at brake time to day (10.30)
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 23, 2001, 08:12   #19
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
i had a look, looks interesting you put Plagues in could use part of that for shadow mod i which i have had a hard time set bio infect off may be what i need.


back to forest fires
good news is that if you teriform a tile into dead tile you can keep the improvments.

so far so good then i use the random tile selecter and then say if its dead with roada(new and un bildubl tile improvment chang to forest)

i should get paintshop tonight so i will have a go at a special efect.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old November 26, 2001, 08:47   #20
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 16:27
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
If any one has had problems with the mod above like my new slic coding for nd huricane don't panic you haven't a virus or something I found a bug in it which kills your game after a few turns. I have started to get around it put a better one on soon
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:27.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team