Thread Tools
Old April 5, 2001, 11:58   #1
PaulWilliams
Settler
 
Local Time: 09:58
Local Date: October 31, 2010
Join Date: Mar 2001
Location: France
Posts: 23
Wonder video and other mysteries.
Can the gurus help out on a small mystery?

I have been trying to add CTP1 wonders to CTP2 in an exercise to see how everything works:

I successfully added Stonehenge, complete with video.

The video worked. Since then I have done other things and now the video does not work - there is just a brief flash of the (blank) video screen and that's it. Stonehenge is built though.

I am b*****ed if I can work out what I did that upset it! All the CTP2 videos work, but not the CTP1.

Btw: Can the Labryinth do the same thing in CTP2? The programming statements for wonders are different and so far I have been unable to find out how to get those free trade routes...
PaulWilliams is offline  
Old April 5, 2001, 15:39   #2
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: 11:58
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
I tried also to implement a CTP1 wonder the AI_ENTITY the video worked for me. The videos goes into the ..\ctp2_data\default\videos\ folder. Than you have to rename them. The name of the videos must be put in the uniticon.txt correctly. Otherwise CTP2 won't find them and the effect is an brief black screen.

Now back to my AI_ENTITY wonder: I was only able to implement it half, because the AllCitiziensContent flag works but not the BreakDownChance flag. There I took a look into the ctp2.exe. The first flag can be found there but not the second one.

You should solve the task to implement a wonder that allows free trade routes by the flag: FreeTradeRoutes

-Martin

PS: Here is a list of all program statement taken from the ctp2.exe that can be used in the wonder.txt. There are also unused ones. I don't know the effect of every statement, may be someone can explain what these statements effects:

ProductionCost
DefaultIcon
Movie
Description
EnableAdvance
ObsoleteAdvance
ReduceReadinessCost
ReduceReadinessCostValue
EmbassiesEverywhere
DecCrimePercent
DecCrimePercentValue
IncKnowledgePercent
IncKnowledgePercentValue
DecEmpireSize
DecEmpireSizeValue
IncHappinessEmpire
IncHappinessEmpireValue
CloseEmbassies
ReformCities
FreeSlaves
IncConvertedCitiesFeePercent
IncConvertedCitiesFeePercentValue
GoldPerWaterTradeRoute
GoldPerWaterTradeRouteValue
GoldPerTelevision
GoldPerTelevisionValue
GlobalRadar
SpiesEverywhere
GoldPerInternationalTradeRoute
GoldPerInternationalTradeRouteValue
ProtectFromBiologicalWarfare
PollutersToParks
PollutersToParksValue
EnableParkRangers
ReduceWorldPollution
ReduceWorldPollutionValue
AllCitizensContent
EliminateNukes
AllBoatsDeepWater
IncreaseBoatMovement
IncreaseBoatMovementValue
FreeTradeRoutes
DecreaseMaintenance
DecreaseMaintenanceValue
RandomAdvanceChance
RandomAdvanceChanceValue
IncreaseHp
IncreaseHpValue
MultiplyTradeRoutes
MultiplyTradeRoutesValue
ForcefieldEverywhere
IncreaseScientists
IncreaseScientistsValue
OtherCivRandomAdvanceChance
OtherCivRandomAdvanceChanceValue
IncreaseProduction
IncreaseProductionValue
BonusGold
BonusGoldValue
IncreaseFoodAllCities
IncreaseFoodAllCitiesValue
TemporaryFullHappiness
TemporaryFullHappinessValue
RevoltingCitiesJoinPlayer
NoPollutionUnhappiness
EmbassiesEverywhereEvenAtWar
IncreaseSpecialists
IncreaseSpecialistsValue
IncreaseCathedrals
IncreaseCathedralsValue
IncreaseBrokerages
IncreaseBrokeragesValue
IncreaseRegard
IncreaseRegardValue
PreventConversion
ProtectFromBarbarians
StartGaiaController
GLHidden
BuildingEverywhere
BuildingEverywhereValue
PollutionPercent
PollutionPercentValue
PollutionAmount
PollutionAmountValue
Martin Gühmann is offline  
Old April 6, 2001, 10:00   #3
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 04:58
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
Do you have all the flags from the units.txt files and are there any extras that have not been used in the game, but are present in the .exe file?

I'm looking for a flag that I can use in the unit.txt file that is not already in use. I can make do with an existing one, but would rather not.
hexagonian is offline  
Old April 6, 2001, 15:54   #4
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: 11:58
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
I posted in the CTP2-Help forum some documentation help requests about the feat.txt, the advance.txt and for you hexagonian the unit.txt. I used edit++ to take a look into the ctp2.exe and I found the stattements there.
And there are some unused flags for example the flags which deals with land, sea and space mines.

Here is the forum list:
http://www.apolyton.net/forums/Forum43/HTML/000540.html http://www.apolyton.net/forums/Forum43/HTML/000538.html http://www.apolyton.net/forums/Forum43/HTML/000536.html

-Martin


Martin Gühmann is offline  
Old April 7, 2001, 23:59   #5
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:58
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
THANK YOU, MARTIN.

Now if we only knew which worked and which didn't.
WesW is offline  
Old April 10, 2001, 15:28   #6
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: 11:58
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
I got hexagonian's consent to post the on his http://www.mydocsonline.com account.

login is hexagonia
password is hextapul

A special thanks to Hexagonian
-Martin
Martin Gühmann 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 05:58.


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