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 > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Immediately showing Great Library link for advance breakthrough
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Azulthar is offline Azulthar
Settler
Amersfoort
Mar 2003
time: 06:26
  Old Post 04-03-2003 21:16
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Immediately showing Great Library link for advance breakthrough Increase the size of your Attachments

Hi,

What I'm trying to do is whenever you gain an advance, the Great Library entry for that advance will automatically pop up. However, I can't seem to find an event that is related to the discovery of a new advance.

Is there such an event, should I try a different approach or is it simply impossible?

(My goal with CTP2 is to mod it so it plays more like Alpha Centauri).


- Azulthar

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

The GrantAdvance event is the event on that you need to use in the event handler, the LibraryAdvance function is needed to open the Great Library.

code:
HandleEvent(GrantAdvance)'MG_ShowAdvance'post{ if(IsHumanPlayer(value[0])){ LibraryAdvance(value[1]); } }


Let's hope value[1] is the database index of the advance in question. The whole code just needs to be copied into a slic file that is already recognized by the game and of course if you add it to an already started game you have to /reloadslic. To do it just open the chat screen by typing the apostrophe key (') and enter: /reloadslic

Disclaimer: The code is untried, untested, might be buggy.

-Martin

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:26
  Old Post 05-03-2003 00:41
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Increase the size of your Attachments

Actually, value[0] is the AdvanceDB index. This works fine:

code:
HandleEvent(GrantAdvance)'MG_ShowAdvance'post{ if(IsHumanPlayer(player[0])){ LibraryAdvance(value[0]); } }

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:26
  Old Post 05-03-2003 14:24 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Azulthar

Nice to see a new face

What parts of alpha century do you want to convert to ctp2?

Azulthar is offline Azulthar
Settler
Amersfoort
Mar 2003
time: 06:26
  Old Post 05-03-2003 17:02
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Thanks all.

The Library entry pops up, but it's always showing the same entry (adv. military tactics). I've experimented a bit with the values but I can't remember if I tried value[0] is an argument. I will try it right now and let you know if it works.

The Big MC:
Not the graphics or the setting or anything like that. It's more the level of detail that AC had that appeals to me.

I'd also like to have just a few unique civs instead of the large number you get now (but all play the same). The first step towards this is to remove the random advances gained at the start of the game and then give some based on your civ. Hope this can be done.

*added*
Well, value[0] works! Then again, you already mention this in your post...

Last edited by Azulthar on 05-03-2003 at 17:32

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:26
  Old Post 05-03-2003 17:33 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Avatar Enlargement: We've got the solution

Very easy all you need to do is edit a file and no one will get the advances.

Alternately just put some slic together to remove the advances when the game begins.

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