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 > Call To Power II > CtP2-Source Code Project > CTP2 Automatic Database Records Generation
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:31
Post  Old Post 10-11-2003 22:46 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
PROJECT: CTP2 Automatic Database Records Generation Put an end to popups!

Looks like modifing the databases is very easy, I found this script for example that creates a PersonailtyRecord.h and a PersonalityRecord.cpp, so just changing this script (personality.cdb) and using ctpdb.exe on it and we have some complex changes done very easily, well the only problem is to figure out how does it work, it looks like it should work when I compile the whole *exe but then I should see new files in the ..\ctp2_code\gs\newdb\ folder and all these *Record.* there are dated from August the 24th, so obviously it didn't work on my computer.

code:
Personality { // This describes the extent to which an AI will send out units to explore Bits Exploration { Wide, Medium, Minimal } // This describes the magnitude of an AI's empire and the speed to // which it will expand Bits Expansion { Maximum, Average, Minimum } // This describes the degree to which the AI will focus on // scientific discovery and the area or branch of specialization. // As well as the primary motivation for diplomatic interactions. Bits Discovery { Scientist, Military, Economic, Ecotopian, Diplomatic } // This describes the liklihood that the AI will attack. This can // also be considered the disposition of the personality. Bits Conquest { Agressive, Neutral, Passive } // This describes how likely the AI will be to violate agreements // and follow through on threats. It also specifies how the // regard of an AI will be changed by the dishonest actions of // others. Bits Trustworthiness { Chaotic, Neutral, Lawful } // This describes in general terms the methodology used by an AI // to accomplish its goals and whether or not the AI cares if its // actions cost the regard of other empires. Evil actions might // include killing settlers, the use of slavery and the first // strike launch of nuclear weapons. The regard consequences of // an evil act will be less for an evil empire than a neutral or // good one. Bits Alignment { Evil, Neutral, Good } // Send this greeting if stronger militarily StringId StrongGreeting // Send this greeting if weaker militarily StringId WeakGreeting // Follow through percent Float ThreatFollowThrough // Description show in Intelligence Details StringId Description }


Well it looks like some modifications here and the database is extended, of course these new values wouldn't work as long as you don't use their functions created by ctpdb.exe.

Edit: Looks like I discovered too late that I forgot the label of that thread.

-Martin

Last edited by Martin Gühmann on 11-11-2003 at 00:43

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:31
Post  Old Post 25-11-2003 04:07 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Got spare money?

Looks like it is very easy just modify the *cbs file and everything else is done automaticly.

-Martin

Pyaray is offline Pyaray
Warlord
Santa Ana, CA, USA
Oct 2000
time: 21:31
  Old Post 25-11-2003 08:24 Visit Pyaray's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton buy from Amazon

That's exactly how that should work (changing the script regens C++ code). If it's not working that way, there is a problem with dependencies. Check to see if the custom build setting has a dependency on the .cpp/.h files.

Pyaray

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:31
  Old Post 02-12-2003 02:26
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

It works fine. I added a BombardUnitList and BombardUnitsPercent to strategies.txt. (Always wanted to be able to distinguish between bombarding units and other ranged units at this level.) Still got work to finish off in governor.cpp, but it's looking good.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:31.
Apolyton Time is 00:31.
    top of page
Rate This Thread:
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.0257 seconds (86.33% PHP - 13.67% MySQL) with 36 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