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 > DESIGN: CtP2 Source Code released - our actions [brainstorm & discussion]
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   
Pages (7): [ 1   2   3   4   5   6   7   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:29
  Old Post 31-07-2003 18:18 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#91 Report this post to a moderator
Avatar Enlargement: We've got the solution

well that’s ok as long as we all decide on one slic model we could have moded games with ½ the add slic comments in it. we need to decide on a slandered slic enhancement code that we all agree on and use that way a moder can tell when the code was enhanced with a mark on the file saying

stranded slic (date)

so people can know what they are getting.

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:29
  Old Post 31-07-2003 18:23 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#92 Report this post to a moderator
Support Apolyton, buy Call to Power 2

If everyone is going the route of using the source code to fix bugs and opening up more mod opportunities perhaps having Modswapper (or similar option) as part of the actual game set up should be pursued. This way all the changes that are to arise can be incorporated depending on the person playing the game instead of wickering a lot of code together.

But perhaps some of the other stuff done with SLC and modding like goods mod, city expansion, etc should be incorporated into a new Apolyton patch but it could probably be left as a mod and not coded.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:29
  Old Post 31-07-2003 18:42 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#93 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Yes, a built-in Modswapperism has already been proposed, J's thread, I believe.

ahenobarb is offline ahenobarb
Prince

Nov 2001
time: 05:29
  Old Post 31-07-2003 20:22
Edit/Delete Message Reply w/Quote
#94 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by The Big Mc
well that’s ok as long as we all decide on one slic model we could have moded games with ½ the add slic comments in it. we need to decide on a slandered slic enhancement code that we all agree on and use that way a moder can tell when the code was enhanced with a mark on the file saying


I think this is very important. The order of changes should be:

1) lift the finite limitations on the number of items you can add to the game, so the mod community can flourish (in doing this the coders will get to look at the code and learn a lot about how it is set up)

2) fix the real bugs in the game (worry about PBEM, and AI city management stuff later)

3) Improve SLIC -- fix broken functions, add new functions, etc.

Then when all of this has been done, we should consider whether the changes being proposed could be done with an improved SLIC language rather than a source code change. Changing the source code should be a last resort.

It is better to fix and improve SLIC and use it to make the majority of the additions we want because it will cause less inadvertant bugs and crashes and it is much easier for someone to cherry pick the additions they want to their own game and slip SLIC in and out than it is to have to make source code changes to incorporate someone's new feature into the game and recompile.

Imagine if there is a cradle like version of CTP2 (which cradle written into the source code) and someone has a space themed CTP2 in the later ages (written into a different source code) and you want both. It would takes days/weeks for you to put the code together on your own to get a hybrid of the two games. It is far better if these things were SLIC scripts that could be slipped in and out.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:29
  Old Post 31-07-2003 20:25 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#95 Report this post to a moderator
Put an end to popups!

you have a point

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:29
  Old Post 31-07-2003 20:26 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#96 Report this post to a moderator
Suffering from ads?

If stuff is SLC'd then effort should be made to keep stuff as mod specific as pssible. Like the worker slc or city expansion slc. If they remain pure, not having other slc functions then possibly we can make it at a start up screen where you pick which slc mods you want in the game. This might mean a space mod or a cradle mod's slc would have to be broken into components so a player can pick and choose this will allow a lot of customability although it may affect scenarios.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:29
  Old Post 31-07-2003 20:47 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#97 Report this post to a moderator
Browse Apolyton AD-FREE

the problem could be that many ideas and functions are related to what is in the exe

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:29
  Old Post 31-07-2003 21:18 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#98 Report this post to a moderator
Remove this text

Yet again, we want to create an "official baseline version". And BTW, PBEM is among the most serious bugs.

Now, say, we put in some code that allows to create the space layer in the source. We merely add the code - some SLIC functions, if need be, a button for toggling between space/Earth, like CtP1, that's it. Now, all of that gets worked via SLIC... it's an idea of every modder whether space should be in, it's easily enabled and disabled via SLIC.

We will, though, I assume, want to also have some mod for the "official baseline version", and then we can debate whether space should be in it, etc.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:29
Post  Old Post 31-07-2003 22:24 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#99 Report this post to a moderator
Support Apolyton, buy Civilization 2

quote:
Originally posted by Solver
Now, say, we put in some code that allows to create the space layer in the source. We merely add the code - some SLIC functions, if need be, a button for toggling between space/Earth, like CtP1, that's it. Now, all of that gets worked via SLIC... it's an idea of every modder whether space should be in, it's easily enabled and disabled via SLIC.


Actual the space layer should be eneabled via text files than via slic. IIRC in CTP1 the space button was enabled by the space ladder wonder. So if you remove this wonder in CTP1 no space button in the game. Well you can put a lot into the source code, but it should finally depend on what the modders use what you find in a mod.

Also porting some stuff from slic to c++ source code will make the game faster, and the implementaion easier. For instance, I don't need then to use this workaround with the good tile improvements. My computer needs on an ultra gigantic map half a minute to improve the map, the AI wouldn't consider the good tiles as improved, so that it would build an tile improvement on the good. I wouldn't have the problem that the Barbarians already know some civs. So I also like to have an additional flag pillagable for the goods and the restoration time in the goods.txt beside the gold, pruduction and food flag that gives additional food, production and gold to the terrain, I like also flags like TradeGold, TradeProduction and TradeFood, for stuff that the reciever city should get.

And I like to have the feature back that hided the deep sea in CTP1.

-Martin

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:29
  Old Post 31-07-2003 22:29 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#100 Report this post to a moderator
Put an end to popups!

To make the space in CtP2, you would at least have to add a button on GUI nonetheless, that could then be enabled by a wonder. Also, all those considerations of how special space cities are, moving in space (cargo pods), etc.

ahenobarb is offline ahenobarb
Prince

Nov 2001
time: 05:29
  Old Post 31-07-2003 22:42
Edit/Delete Message Reply w/Quote
#101 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Solver
Yet again, we want to create an "official baseline version". And BTW, PBEM is among the most serious bugs.

Now, say, we put in some code that allows to create the space layer in the source. We merely add the code - some SLIC functions, if need be, a button for toggling between space/Earth, like CtP1, that's it. Now, all of that gets worked via SLIC... it's an idea of every modder whether space should be in, it's easily enabled and disabled via SLIC.

We will, though, I assume, want to also have some mod for the "official baseline version", and then we can debate whether space should be in it, etc.


Precisely, there are things for which source code changes will be the only way to implement things. However, source code changes should be reserved for only those things that can only be this way, not for things that could be done with SLIC. A lot of trouble could be saved by increasing the power of SLIC. Perhaps someone could start a thread on SLIC changes? I'm out until next week.

Also as an aside, if/when we get into tinkering with the AI, it might be a good idea to take the original .cpp files and break them into several sub files. This way you could have several people working on different aspects of the AI at the same time and making changes without interfereing with each others work. Of course, we haven't actually seen the source yet so it is hard to know if this is possible.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:29
  Old Post 31-07-2003 23:31 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#102 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Yes, increasing SLIC power is on our list pretty high... but bear in mind that code directly implemented executes much faster. I propose that things such as options at city capture are put directly in the source.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:29
  Old Post 31-07-2003 23:54 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#103 Report this post to a moderator
Support Apolyton buy from Amazon

There's also the possibility of improving how SLIC works, so that SLICed stuff becomes faster, although this is likely to be tough at best.

Someone was worried about differing versions of SLIC. I was presuming that we would be using a version directive of some sort to distinguish enhanced SLIC from old stuff if necessary (It gets pretty hard to maintain backwards compatibilit any other way, especially since one of the things that needs to be changed is how SLIC handles simple arithmetic).

Last edited by J Bytheway on 01-08-2003 at 00:08

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:29
  Old Post 01-08-2003 00:07 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#104 Report this post to a moderator
Support Apolyton, buy Civilization 2

No matter what you do, interpreted scripts will always be much slower.

Turambar is offline Turambar
Prince
England
Apr 2002
time: 05:29
  Old Post 01-08-2003 00:23 Visit Turambar's homepage!
Edit/Delete Message Reply w/Quote
#105 Report this post to a moderator
Support Apolyton

Whoa! I disappear for a few months and this happens! Brilliant news!

Unfortunetly I'm a Java rather than C++ programmer, though I may get round to learning it one day.

Just one note of caution that comes to mind, when changing the source code we've got to be careful not to make more bugs than we fix!

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:29
  Old Post 01-08-2003 00:55 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#106 Report this post to a moderator
Put an end to popups!

how do you thick I feel i start everybody off with this latest push lose my connection for 15 days and miss the victory party

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:29
  Old Post 01-08-2003 00:57 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#107 Report this post to a moderator
Avatar Enlargement: We've got the solution

Victory party or not... we can get drunk when we get the code .

finfahey is offline finfahey
Settler

Dec 2002
time: 05:29
  Old Post 01-08-2003 03:44
Edit/Delete Message Reply w/Quote
#108 Report this post to a moderator
Put an end to popups!

I get that the general vibe of things is to:

1) Fix bugs.
2) Get the SLIC coding that doesn't work working (really an extension of 1)
3) Add new SLIC features to make modding more powerful.
4) Then, and only then, consider what can be added to the core game engine (because by then one knows that it can't be done with SLIC - and programmers will have acquired more confidence through familiarity with the code)

Perhaps there should be an ongoing list of things that can only conceivably be type 4 features. One already mentioned is the restoration of the space layer.

I don't think anyone's mentioned the idea of units from different players (provided they are allies) occupying the same square - as in SMAC. This would help with that annoying tendency that allies have of getting in the way - and it's quite an incentive to having allies, since you acquire overseas bases and a greater range of action.

Of course, this would only work if the limit on units per square was lifted (which has been mentioned), again as in SMAC. This needs a user interface change, of course - you need a scrolling list not a set of 12 boxes.

Heh - any thoughts on the SMAC unit workshop?

MrBaggins is offline MrBaggins
King

May 1999
time: 05:29
  Old Post 01-08-2003 06:46
Edit/Delete Message Reply w/Quote
#109 Report this post to a moderator
Got spare money?

SMAC unit workshop... nice idea in practice. In reality, the AI gets royally screwed.

finfahey is offline finfahey
Settler

Dec 2002
time: 05:29
  Old Post 01-08-2003 07:23
Edit/Delete Message Reply w/Quote
#110 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by MrBaggins
SMAC unit workshop... nice idea in practice. In reality, the AI gets royally screwed.


Agreed (though the defaults could be made reasonable, which they are mostly in SMAC, except the AI doesn't know zip about clean reactors). Forgot my smiley. In any case, involves a complete rethink as to how units work - it's a real big change. It's silly if it isn't in a future context like SMAC, I know.

But while I'm wasting time - just looking at ships:

Power source: paddle, oars, 1-mast, 2-mast [...], steam paddle wheel, steam prop...

Hull: Rushes, wooden (various sorts, e.g. copper-bottomed), iron, steel...

Armament: None, ram, greek fire, 1-deck solid-shot guns [...], ship-to-ship missiles...

Not to mention carrying capacity - and the artwork/GUI problems are horrific.

The problem is, I can just imagine the absurd combinations you could get out of that - for example a stern-wheeler river boat with ship-to-ship missiles (mind you, Phil Farmer had that in the Riverworld series of novels - hmmm, might be fun at that)

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:29
  Old Post 01-08-2003 09:32
Edit/Delete Message Reply w/Quote
#111 Report this post to a moderator
Help yourself to an AD-FREE life

Make a feature where the player can write strings on tiles (by clicking the right button for instance).

This way we can add a naming regions feature

"dark forest", "Grand Canyon", "Amazonia River", "Everest Mountain", "Iguacu Fall", etc...

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:29
  Old Post 01-08-2003 12:56 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#112 Report this post to a moderator
Tired of ads?

And for some players who claim to like it, add an in-game notepad.

"Nuke the russkies. Complete the Empire State. Lunch with Napoleon".

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:29
  Old Post 01-08-2003 13:27 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#113 Report this post to a moderator
Browse Apolyton AD-FREE

Everyone go to the off-topic thread, we are having a good chance of getting it next week!

MrBaggins is offline MrBaggins
King

May 1999
time: 05:29
  Old Post 01-08-2003 16:20
Edit/Delete Message Reply w/Quote
#114 Report this post to a moderator
Support Apolyton or Terrorists Win

Improve: Abstract ICBMs

Just as you don't build ACTUAL caravans anymore in CTP2 (and that allows the AI to actually generate trade routes,) it makes no real sense to build actual ICBMs. You could place a wall of meat around cities, and they are basically invulnerable.

Possibly you may wish to implement ranging, so that missiles can only be launched within (variable) squares of the city they are 'built' in. You'd probably want to pre-target them, where they'd be pre targetted, and launched in the event of an attack.

Nuclear tipped cruise missiles should be kept provided that we can improve the AI to the point where he could be competitive by the nuclear age, plus could viably use nukes in ships/subs.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:29
  Old Post 01-08-2003 16:20 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#115 Report this post to a moderator
Increase Your PM Length

link please

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:29
  Old Post 01-08-2003 16:25 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#116 Report this post to a moderator
Get a bigger avatar today!

http://apolyton.net/forums/showthre...200#post2229200

lazy

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:29
  Old Post 01-08-2003 16:30 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#117 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Thanks

MrBaggins is offline MrBaggins
King

May 1999
time: 05:29
  Old Post 01-08-2003 16:40
Edit/Delete Message Reply w/Quote
#118 Report this post to a moderator
Increase Your PM Length

quote:
Originally posted by The Big Mc
link please


Jesus! want us to click it for you too?

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:29
  Old Post 01-08-2003 18:54 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#119 Report this post to a moderator
Support Apolyton buy from Amazon

yes

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:29
Post  Old Post 01-08-2003 19:56 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#120 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by The Big Mc
yes


Done.

quote:
Originally posted by Solver
Everyone go to the off-topic thread, we are having a good chance of getting it next week!


Or maybe in two weeks or something like that. But of course the earlier the better.

-Martin

 
Pages (7): [ 1   2   3   4   5   6   7   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:29.
Apolyton Time is 00:29.
    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.0678 seconds (91.80% PHP - 8.20% 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