Thread Tools
Old January 6, 2002, 22:30   #1
lev
Warlord
 
lev's Avatar
 
Local Time: 19:00
Local Date: October 31, 2010
Join Date: May 1999
Location: Beaverton, OR, USA
Posts: 102
Hidden undersea terrain (as in CtP1)
Does anyone know if there is any way to hide the undersea terrain until a player gets submarine technology, as it was in Ctp1? It's a feature I miss...
__________________
Lev Koszegi
lev is offline  
Old January 9, 2002, 19:28   #2
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
I agree, I miss this feature too. The only way I can think of to bring it back is to create some new terrain types (which are duplicates of the existing ocean type terrains) and change all the graphics of the current ocean type terrains to shallow water. Then, when the right advance is discovered by the human, use SLIC to terraform all old ('shallow looking') ocean terrain type tiles to the new ('deep looking') tiles. The terraforming process could well be a bit time-consuming though, esp. on big maps...
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old January 10, 2002, 20:29   #3
lev
Warlord
 
lev's Avatar
 
Local Time: 19:00
Local Date: October 31, 2010
Join Date: May 1999
Location: Beaverton, OR, USA
Posts: 102
That could work
Yeah, that could work, but it might indeed be slow. I wonder how Ctp1 handled it? Was there some sort of "show ocean floor" flag, or something?
__________________
Lev Koszegi
lev is offline  
Old January 11, 2002, 09:25   #4
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
I think so. The problem is, if you can simply edit the source code all you have to do is change the stuff that get's sent to your monitor. Basically it's not all that different from popping up the city window or something like that. If you have to do this through SLIC you actually have to change the gamestate, meaning you have to go through the entire memory (and part of this memory could well be located on the (slow) harddisk) and manually change every single tile.

(I don't know how computer-savvy you are so I tried to put this explanation in layman's terms, I hope it made sense and didn't offend you or anything )
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old January 11, 2002, 12:55   #5
lev
Warlord
 
lev's Avatar
 
Local Time: 19:00
Local Date: October 31, 2010
Join Date: May 1999
Location: Beaverton, OR, USA
Posts: 102
Don't worry, no offense taken. I had just hoped it was a flag that you could set in some text file somewhere; if it's in the source code, then I guess we're stuck.
__________________
Lev Koszegi
lev is offline  
Old January 11, 2002, 15:32   #6
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 21:00
Local Date: October 31, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Well, IIRC there *was* a flag in a text file (don't remember what it was called though, but I can look it up)- so you could change the advance at which the change occured - but unless I'm very much mistaken that flag no longer exists or at least doesn't work anymore.
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old January 11, 2002, 17:31   #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: 21:00
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
In CTP1 there was a flag in the Advance.txt: ALLOWS_DEEP_OCEAN. The enabling advance for it was: ADVANCE_OIL_REFINING. There is also a flag in the CTP2 Advance.txt: DeepOcean. And surprise the enaibling advance is the same. Therefore this flag has no effect on the game it is there but just for your joy or something else.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old January 12, 2002, 02:48   #8
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 13:00
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
The flag to show deep ocean was one of a number of flags that worked in Ctp1 but not in Ctp2.
__________________
For Civ IV: The Medmod V v1.0.
For Medieval: Total War- The Medieval Mod IV v4.0.
The entire Medmod series is available at my Apolyton-hosted webpage.
WesW is offline  
Old September 30, 2002, 20:00   #9
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 20:00
Local Date: October 31, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
Could it be done then cause I really do miss this too????
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old September 30, 2002, 20:19   #10
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:00
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
The only way i can think of is terraforming the volcanos and rifits in the beggining of the game making just deep sea terrain. Still we save the volcanos and rifts in arrays. If a player has the advance to enable the seeing of the undersea terrain we terraform the volcanos and rifts saved in the arrays back as they should be. In the beggining of the turn of the player without this advance we remove volcanos and rifts throgh terraform again. when the turn of the player has the advance we terraform the volcanos and rifts saved in the arrays back again. And by terraforming in and out we simulate the feature.
I got tired just in thinking about it
__________________
"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 September 30, 2002, 20:23   #11
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 20:00
Local Date: October 31, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
That would work (im getting tired thinking about you thinking about it)

Once again WHY the *@$k did activision not included this anyway or rather EX-clude it as it was in CtP1 . Frustrating to say the least.
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old October 1, 2002, 11:01   #12
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: 21:00
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Unfortunatly this terraforming method would need a lot of time.

I think Activision did not included the deep sea feature, because the hadn't the time to implement it the flag is there.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old October 1, 2002, 11:08   #13
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:00
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Quote:
Unfortunatly this terraforming method would need a lot of time.
I was afraid of that.
Still terraform isnt as problematic as the CreateImprovement event.

We could make a global appearance though. If a player gets the advance all players can see the deep sea terrain. Or it could be slowly showed up to the player with the advance when moving units over it.
__________________
"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 October 1, 2002, 11:18   #14
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: 21:00
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by Pedrunn
I was afraid of that.
Still terraform isnt as problematic as the CreateImprovement event.
That's correct.

Quote:
Originally posted by Pedrunn
We could make a global appearance though. If a player gets the advance all players can see the deep sea terrain. Or it could be slowly showed up to the player with the advance when moving units over it.
In the case of doubt the global appearance is better when moving a ship over it. I can't imagine how to realize the second idea properly. But for the first idea I would rather create additional terrain for the sea volcanos instead of storing them into arrays, so you don't have to think about it if I reload slic.

Actual the best sollution would be to get the source code and implement it directly.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old October 1, 2002, 11:27   #15
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:00
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Quote:
so you don't have to think about it if I reload slic.
This would be catastrophic for the game

Quote:
I would rather create additional terrain for the sea volcanos instead of storing them into arrays,
But it has to be saved in arrays otherwise how will i know where to put the volcanos and rifts?
Simulating the map creation?!? I Dont think so, too much work!
__________________
"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 October 1, 2002, 15:26   #16
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: 21:00
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by Pedrunn

This would be catastrophic for the game


But it has to be saved in arrays otherwise how will i know where to put the volcanos and rifts?
Simulating the map creation?!? I Dont think so, too much work!
I thought you wanted the effect of CTP1 in the game so the deep terrain must look like shallow water, but it should be impossible for non deep water ships to enter this terrain, so you have to add one more dummy terrain that looks like shallow water but is in fact deep water, so you only need to add another dummy terrain with the features of water volcanos and another one for contnental shelf and another one...

So in this case you have only to replace water volcanos with dummy water volcanos, deep water with dummy deep water and so on no need for arrays or stuff like this, the map must be your memory.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old October 1, 2002, 19:04   #17
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:00
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Quote:
Originally posted by Martin Gühmann
I thought you wanted the effect of CTP1 in the game so the deep terrain must look like shallow water,
Oh, it has been so long since my last CTP1 play that i cant barely remember what the game look like. Still I like to do things in my way and i think the ancient-renassaince people knew the difference of deep and shallow sea. They only didnt have radar to know how the bottom was like. So if i ever do this deep sea will be in the ancient-renassaince age.

Quote:
Originally posted by Martin Gühmann
So in this case you have only to replace water volcanos with dummy water volcanos, deep water with dummy deep water and so on no need for arrays or stuff like this, the map must be your memory.
You are a genius, Martin! This is a amazing idea . It will totally solve the reloadslic problem
__________________
"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 October 2, 2002, 06:50   #18
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 19:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Pedrun this may be the wrong time to tell you this but if you want I have got a mod you may be interesting all it is missing is some code to implement it but how about deep undersea mountains.

The late stage of ctp you can basically settle any were underwater the only thing that makes in interesting is trying to pick up goods. With underwater mountains a person would be forced to look for a clear spot in the ocean bed.

The only problem is that activsion never left a way to integrate these mountains in like trenches of volcanoes so we will need some slic for the.
integration
__________________
"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 October 2, 2002, 11:35   #19
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: 21:00
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
The Big Mc actual we never tried what would happen if you use for two terrains the same internal type, therefore it could be possible to add a new terrain.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old October 2, 2002, 23:44   #20
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:00
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Where are the graphics for the underwater moutains?
__________________
"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 October 3, 2002, 09:22   #21
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 19:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Right first thing first

Using the two internal types confuses the hell out of the game and you get volcanoes as rifts or what ever depending on terrain type you steel and which one is read last in the teran.txt as it forgets about the first one and uses the second one. Sometimes it can be used to advantage like my gaia bomb which uses the internal type dead to trick the AI into every time a nuke goes off to make a forest instead of a dead tile.

Pedrun the pics are at my house I will get them for you possible Monday.

What you want them as just the tile graphics or as a complete tile file.
__________________
"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 October 3, 2002, 09:32   #22
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:00
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Just the tile graphics are ok.
__________________
"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 October 3, 2002, 11:02   #23
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 19:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
right monday it is then.
__________________
"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 October 3, 2002, 19:26   #24
Dale
Emperor
 
Dale's Avatar
 
Local Time: 05:00
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Straight from ADVANCE.TXT:

Quote:
ADVANCE_OIL_REFINING {

Prerequisites ADVANCE_INDUSTRIAL_REVOLUTION
Prerequisites ADVANCE_RAILROAD

Cost 47870
Icon ICON_ADVANCE_OIL_REFINING
Branch 0
Age AGE_SIX
DeepOcean
KeyAdvanceAdvice KEY_GROWTH_ADVANCE_ADVICE
}
Notice DeepOcean

This enables viewing of the seabed. Just move that command to your submarine tech, and you're laughing.
Dale is offline  
Old October 4, 2002, 11:43   #25
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: 21:00
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by Dale
Notice DeepOcean

This enables viewing of the seabed. Just move that command to your submarine tech, and you're laughing.
No idea what do you mean, Dale. The problem here is that you can see the seabed from the beginning of the game and that this flag just doesn't work.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old October 6, 2002, 20:41   #26
Dale
Emperor
 
Dale's Avatar
 
Local Time: 05:00
Local Date: November 1, 2010
Join Date: Dec 2000
Posts: 3,944
Hey yeah, you're right. Silly me. Left over from CTP1.
Dale is offline  
Old October 7, 2002, 08:49   #27
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 19:00
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
pedrun I got the underwater mountains for you.

enjoy

pc give me the code when you do it.
Attached Files:
File Type: zip new folder.zip (16.2 KB, 8 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 October 7, 2002, 12:29   #28
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:00
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
They look so nice

How you make them? I am really surprised!
__________________
"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 October 7, 2002, 12:48   #29
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 20:00
Local Date: October 31, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
They do look good Big Mc

Btw there is a post way back about 2 unused ocean tiles types from ctp1

not a good reference but there refered to in the "Color00.txt

Quote:
COLORSET_COLOR 0 0 75 # Trench
COLORSET_COLOR 0 0 25 # Rift
hmm i should go and dig out that post
but maybe you could put these into ctp2 from ctp1 too. To make the ocean abit more diverse
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old October 7, 2002, 12:50   #30
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 20:00
Local Date: October 31, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
heres the thread:

http://apolyton.net/forums/showthrea...threadid=35230
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG 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 15:00.


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