Thread Tools
Old December 2, 2002, 03:02   #1
ahenobarb
Prince
 
ahenobarb's Avatar
 
Local Time: 11:55
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 437
No Fault
Hello everyone,

I was playing around with map settings and looked at the profile.txt and userprofile.txt files and found something interesting. Both of these files list the plugins to use when CTP2 creates a map. Specifically, these files are:

geometric.dll
crater.dll
plasma2.dll

I don't know about the others, but the crater.dll file is responsible for the crater lakes that you sometime find in the map (kinda a no-brainer really). Don't know what plasma does, but geometric probably tells the computer to put continents in a line on x & y axis, also it must say that underwater trenches are set on a diagonal.

Anyway, I noticed that plasma.dll is listed twice. So I figured there must be a mistake and sure enough in the ctp2_program/ctp/map directory there is another .dll called fault.dll. I added this to the profile files listed above and it doesn't seem to cause any problems. I don't know exactly what it does, but in the map.txt file there is are some lines that say:

MAP_BORDER_SIZE 15
MAP_FAULT_LINES 0
MAP_FAULT_LENGTH 1.0
MAP_NS_BORDER_SIZE 5

I put 1000 fault lines into a map with a faul length of 100.0 and have played without anything bad happening. Still doesn't seem to do anything, but perhaps some game play will reveal something interesting.

Anybody know anything about this file?

Also, what are the border settings here, I played with them an haven't noticed anything.

BTW: you must use the other .dll files, removing them from the profiles will cause a crash.
ahenobarb is offline  
Old December 2, 2002, 04:59   #2
Devil of Truth
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Prince
 
Devil of Truth's Avatar
 
Local Time: 13:55
Local Date: November 1, 2010
Join Date: Sep 2002
Location: Keep honking... I'm reloading.
Posts: 351
Interesting stuff. Tried it myself – also no problems (but no gain either). Maybe they intended to include fault lines for earthquakes, volcanoes etc. but ditched the idea.
__________________
If something doesn't feel right, you're not feeling the right thing.
Devil of Truth is offline  
Old December 2, 2002, 06:44   #3
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 12:55
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
I think this has something to do with the deep sea trenches that where in CtP1 but never included (strangly) in CtP2, its even listed in the Great Library, but never appears ingame.

Incase u havent played it, it would have appeared like fault lines do now only it was a trench and Sea cities couldnt build on it.

I wonder if it can be got to work again, it would only need the exact same rules as the fault lines currently have only different tiles used (the trench ones obviously)

-James
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old December 2, 2002, 10:32   #4
ahenobarb
Prince
 
ahenobarb's Avatar
 
Local Time: 11:55
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 437
Quote:
Originally posted by SMIFFGIG
I think this has something to do with the deep sea trenches that where in CtP1 but never included (strangly) in CtP2, its even listed in the Great Library, but never appears ingame.

Incase u havent played it, it would have appeared like fault lines do now only it was a trench and Sea cities couldnt build on it.

I wonder if it can be got to work again, it would only need the exact same rules as the fault lines currently have only different tiles used (the trench ones obviously)

-James
I noticed as well that the trench graphic is still in CTP2, you can access it through the world map editor in cheat mode. Perhaps there's a way to bring it back? It would probably take a lot of work though.

I was hoping that I would get earthquakes, if I put fault lines in the map.txt file. I cycled through 150 turns without one, so maybe the fault file was just for the trenches.
ahenobarb is offline  
Old December 2, 2002, 11:10   #5
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 08:55
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Quote:
I noticed as well that the trench graphic is still in CTP2, you can access it through the world map editor in cheat mode. Perhaps there's a way to bring it back? It would probably take a lot of work though.
But we need graphics for it in the .til file
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old December 2, 2002, 13:22   #6
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 11:55
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
pedrun is right there are no turns or ends for the trenches. how ever if you keep them in a straight line plus a bit of work in psp it is possible to use some of the things used for deep sea rifts on this one. eg it is possible to seal one of these trenches by using the ends of a rift.

Any way try opening the terains.txt and mod the entry for the deep sea trenches there is a movement type if I am not mistaken at the bottom change that to the relevant deep sea movement type and you can move from the shallows where you can put it; to the deep sea were if you look you can sea that they match.
__________________
"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 August 7, 2003, 11:01   #7
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 13:55
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
I tried both entries in the map.txt:

MAP_FAULT_LINES 0
MAP_FAULT_LENGTH 1.0

And I got lines of mountains and hills on my map, or fault lines. So you shouldn't use to short lines like you have in the example above that should be only one mountain you get from it. And you should make shure that you modify the right map.txt entry that will be used for the map creation otherwise you just pick the wrong map and don't see the effect therefore.

Another aspect is that these map plug ins do have the same names like in CTP1 but have different sizes.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old August 28, 2003, 16:51   #8
st_swithin
CTP1/2 GODDESS
 
Local Time: 11:55
Local Date: November 1, 2010
Join Date: Nov 2002
Location: 10069
Posts: 198
Hey, MC.M! How're they hanging?!
st_swithin 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 07:55.


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