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 > SLICers Needs
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
KHOMAR is offline KHOMAR
Settler
L'ISLE-ADAM
Feb 2004
time: 05:33
  Old Post 12-02-2004 13:05
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
SLICers Needs Support Apolyton, pre-order Civilization IV

-It could be useful to extend unitrecord parameters to all
parameters of units,all flags(BuildClasses??) for modmaking purposes.

-Possibly,we could need StringCompare function to be fixed.

-String Arrays allowed

-a value called "special" or something,for the "Prerequisite" heading which have the following effect:
The advance/unit is not allowed at game start and is allowed independently of any advance/building/wonder.
(other game parameters:date,country,chance,etc....SLIC programmed)

-possibility of inserting images in messages.(messagebox)

-An Auto-Mode for Units,with SLIC pre-programmable behavior (exploring,patrolling,etc..)

MrBaggins is offline MrBaggins
King

May 1999
time: 05:33
  Old Post 12-02-2004 17:11
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Re: SLICers Needs Support Apolyton buy from Amazon

quote:
Originally posted by KHOMAR
-It could be useful to extend unitrecord parameters to all
parameters of units,all flags(BuildClasses??) for modmaking purposes.


Not a huge problem. Extra flags will be fully documented, when we implement each functionality.

quote:

-Possibly,we could need StringCompare function to be fixed.

-String Arrays allowed


Any particular reason why? It would have been nice for finding out what government you are, or what you're researching but... those are simply dealt with by providing a function, returning an index (int), which is how they're stored in the db's by the way.

quote:

-a value called "special" or something,for the "Prerequisite" heading which have the following effect:
The advance/unit is not allowed at game start and is allowed independently of any advance/building/wonder.
(other game parameters:date,country,chance,etc....SLIC programmed)


Thats what BuildClasses will be able to do. SLIC will be able to interact by checking, and enabling/disabling both local and global buildclasses

quote:

-possibility of inserting images in messages.(messagebox)


If I recall, we already can... but you have to customize sizing ahead of time, right now.

quote:

-An Auto-Mode for Units,with SLIC pre-programmable behavior (exploring,patrolling,etc..)


Very interesting.

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:33
  Old Post 12-02-2004 17:34
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:

It would have been nice for finding out what government you are, or what you're researching but... those are simply dealt with by providing a function, returning an index (int), which is how they're stored in the db's by the way.


The database index of the player's current government:

code:
// added by PFT: player[ ].govtdbind class PlayerSymbol_Govtdbind : public SlicStructMemberData { DEF_MAKECOPY(PlayerSymbol_Govtdbind); BOOL GetIntValue(sint32 &value) const { sint32 pl; BOOL res = m_parent->GetDataSymbol()->GetPlayer(pl); Assert(res); if(res){ value= g_player[pl]->m_government_type; return TRUE; } else{ value=0; return FALSE; } }


I'm open to suggestions for a better term than "govtdbind". In all the other builtins they used "type" to mean dbindex; but here they used "GovtType" to return a string.

MrBaggins is offline MrBaggins
King

May 1999
time: 05:33
  Old Post 12-02-2004 17:40
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Got spare money?

Thanks Peter.

Why not change "GovtType" to "GovtType", by a search, then if its only used in that context, search and replace.

I'd suggest GovtStrType, maybe?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:33
Post  Old Post 12-02-2004 22:52 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Re: SLICers Needs Increase Your PM Length

quote:
Originally posted by KHOMAR
-possibility of inserting images in messages.(messagebox)


Yes this is something usefull, and so far as I know it is not possible to have something like this, so a resize function for a message box and a function that inserts an image would be cool.

quote:
Originally posted by KHOMAR
-An Auto-Mode for Units,with SLIC pre-programmable behavior (exploring,patrolling,etc..)


Do we have this already, don't we. In fact frenzy AI does something like this even if it is very poor code, or do you mean something that you can eanble as player by something else than a message box?

quote:
Originally posted by Peter Triggs
I'm open to suggestions for a better term than "govtdbind". In all the other builtins they used "type" to mean dbindex; but here they used "GovtType" to return a string.


Why don't you call it just player.government, Peter.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:33.
Apolyton Time is 00:33.
    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.0318 seconds (88.66% PHP - 11.34% 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