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 > Civilization: Call To Power > CtP-Creation > Mr Ogre? (TP, letīs put all SLIC questions here)
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Depp is offline Depp
Prince
Stockholm, Sweden
Jan 1970
time: 05:13
Talking  Old Post 22-07-1999 20:06
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Mr Ogre? (TP, letīs put all SLIC questions here) Support Apolyton, buy Galactic Civilizations

Sorry to bother, but it seems that more question arise all the time about SLIC. Just wanna pop these questions... (nagging again, i know. Im just a perfectionist )

Is there no SetPlayerByIndex? Just want to have all the players as they started to be able to use all their names in the demographics... (and know how many they are)

I noticed that player.1.gold worked but player.1.discoveries gave the number 148 (total number of advances????), when i had researched 10/70, what does it really show? is there any other variable for the amount of sciences one have discovered or must one check each and every with HasAdvance(player, advance_name)?
Which by the way i didnīt get to work, even this didnīt work
if HasAdvance(g.player, ADVANCE_AGRICULTURE) {
code
}
this never happend, whatīs wrong? i tried changing everything...

And the total pop? must one sum all from the cites or? I thought since it is displayed everyturn it must be a variable...

More, Land. Is there a variable for the amount of land owned or?

Can one change the size of messageboxes or have multiple textcommandos in the same window (i have tried but failed)

Textvariables like player.1.civ, can you make those user defined?

Depp is offline Depp
Prince
Stockholm, Sweden
Jan 1970
time: 05:13
Post  Old Post 23-07-1999 02:16
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Iīll keep on, but this one must be easy, itīs only me that is stupid.

I use a loop to check all cities(aCity is the counter), and
SetCityByIndex(1, player, aCity); is said to be used to snoop through cities.

But how can one make a loop that calls on city.1 then city.2 then city.3?

can one write city.aCity or?

Depp is offline Depp
Prince
Stockholm, Sweden
Jan 1970
time: 05:13
Unhappy  Old Post 24-07-1999 16:44
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Put an end to popups!

Bumping this againg... (i cry myself to sleep every night for not being able to continue :-) )

Diemar is offline Diemar
Chieftain
Tåstrup, Sjælland, Denmark
Jul 1999
time: 05:13
Post  Old Post 26-07-1999 18:07
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Well I can’t really identify your specific problem, you need to post some more details on this problem if you want any useful help.

Enslave them all!

Thomas Diemar

Mr Ogre is offline Mr Ogre
Warlord
Azeroth
Jan 1970
time: 05:13
Post  Old Post 27-07-1999 23:55 Visit Mr Ogre's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton

There's a SetPlayer() function that does what you want, I think. IE SetPlayer(1, 2) will make player.1 refer to player #2.

You're right about player.discoveries. It's useless. It SHOULD be returning the number of advances that player has discovered, but isn't. It's fixed for 1.2, thanks for pointing it out.

For HasAdvance, you need to preface the second argument with ID_. It's keying off string IDs, and string IDs in SLIC always use ID_whatever. So, try if(HasAdvance(g.player, ID_ADVANCE_AGRICULTURE)) and see where that gets you. It's confusing, I know, sorry.

You can't have multiple text commands per messagebox, or change the size. There's nothing for total population, you'll have to add it up yourself.

There are some small additions for dealing with strings in 1.2. It's not everything people have asked for, but I think it'll allow most of what people are actually trying to do.

Sorry it took so long to answer these.

Depp is offline Depp
Prince
Stockholm, Sweden
Jan 1970
time: 05:13
Talking  Old Post 28-07-1999 04:23
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Thanks alot man! X-Mas again!

Depp is offline Depp
Prince
Stockholm, Sweden
Jan 1970
time: 05:13
Question  Old Post 28-07-1999 04:36
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Tired of ads?

Another short one:

SetCityByIndex(index, player, cityindex)

Both me and TP have been trying "snoop through a players cities" with this one and failed, getting a out of bounds value.
We have used mostly Index=1 ,player=player, and cityindex=countervariable, and tried acess the city.1.stuff. But then comes the out of boundry error.

Now that i think of itī, it might be that we use player=player, maybe one need a number like for SetPlayer(). I will try that, but if you can, please clear this confusion!

Thanks a million already, canīt wait for patch 1.2 !

Mr Ogre is offline Mr Ogre
Warlord
Azeroth
Jan 1970
time: 05:13
Post  Old Post 29-07-1999 22:52 Visit Mr Ogre's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Tired of ads?

Urgh. My fault, glad you caught it. SetCityByIndex is broken. I fixed it just now. Wait for 1.2.

Depp is offline Depp
Prince
Stockholm, Sweden
Jan 1970
time: 05:13
Wink  Old Post 30-07-1999 02:35
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Full PM-box? Change here!

Im glad it was busted! I felt so stupid not getting it to work properly

Mr Ogre, do you want tips on what SLIC commands to implement or? Maybe tolate for 1.2 or?

TP is offline TP
Warlord

Jun 1999
time: 05:13
Post  Old Post 30-07-1999 10:50
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Avatar Enlargement: We've got the solution

Depp,

We all know since a couple of days that the patch has already left the programmers and is in testing. So I don't think there is much room to change things now.

Let's trust Activision on the whole patch and Mr. Ogre on the SLIC part. I am sure there will be enough things which will undermine the relationship to my girl-friend :-)

TP

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:13.
Apolyton Time is 00:13.
    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.0444 seconds (91.10% PHP - 8.90% MySQL) with 30 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