Thread Tools
Old January 28, 2002, 16:15   #1
FRITZ
Settler
 
Local Time: 19:53
Local Date: October 31, 2010
Join Date: Nov 2001
Location: Berlin-Germany
Posts: 24
SLIC: BeginScheduler
Dear fans of CTP2,

I have made one Slic-Handler for the game.
Slic is a very, very interesting tool to make a good scenario. You can download the BeginScheduler-Handler from my Homepage:
http://home.t-online.de/home/dteetz/
The Handler looks for great enemy armies and these will attack your cities and armies.
I have taken my informations to build this Handler from Dales AirMoveHandler and the Slic-informations from Locutus (very helpful was to control a Slic-code by the message-box).

I have also built in this Handler into my scenario.

I hope everything works better than before.

Activision has created a very, very good game with many possibillities to create a good scenario.

Best wishes

Fritz
FRITZ is offline  
Old January 29, 2002, 05:25   #2
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 19:53
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Hi just downloaded the thing I will let you know how I get on with it
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old January 29, 2002, 05:31   #3
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:53
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
DP
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old January 29, 2002, 05:32   #4
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:53
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Downloaded too.
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old January 29, 2002, 09:15   #5
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 19:53
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
some very good ideas in there.

try some other handlers
battleaftermath
battle
citybeginturn etc.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old February 1, 2002, 00:09   #6
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:53
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Code:
messagebox 'EveryTurn' {
Show();
Text(ID_DROUGHT_TEXT);
Button(ID_EXIT)
{
kill();
}
}
What should i right to this message? Could you give me an idea?
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old February 1, 2002, 03:26   #7
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 21:53
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
PHP Code:
messagebox 'EveryTurn' {
Show();
Text(ID_DROUGHT_TEXT);
Button(ID_EXIT){
kill();
}

So far no real idea Pedrunn. But maybe the error lies in your language folder. By the way an error message would be very helpfull.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old February 2, 2002, 12:33   #8
FRITZ
Settler
 
Local Time: 19:53
Local Date: October 31, 2010
Join Date: Nov 2001
Location: Berlin-Germany
Posts: 24
I used the messagebox to check my code.

If you have some own code-check, than you should have not a German data folder but an English one.
FRITZ is offline  
Old February 5, 2002, 06:42   #9
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 16:53
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Crash Alert!
I'm playing a 10 civs game, huge map and pollution on. I have a lot of Slics and many changes.
While playng i always had game crashs after turn 40 or later. When i load it again through Autosave it would continue the game as nothing had happenned but after some turns: more crashs again.

I looked my Slics and your code was the only one untested. I just took it off and BINGO! No more crashs!

Did you test it? Did you experienced the same problems?

If not you should take a look.
My opinion is that it has something to do with the barbarians since the time crashs starts is time they usually appear.
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old February 10, 2002, 14:02   #10
FRITZ
Settler
 
Local Time: 19:53
Local Date: October 31, 2010
Join Date: Nov 2001
Location: Berlin-Germany
Posts: 24
Maybe you could change the number of players in the Slic-code. But I am not a very skilled slic-code programmer at the present time. I tested the slic-code myself only 10-20 rounds maybe that there is a mistake somewhere. Slic-programming is a hard work.
Maybe I should use the array g.player instead of player[i].
FRITZ is offline  
Old August 22, 2002, 17:18   #11
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 21:53
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by FRITZ
Maybe I should use the array g.player instead of player[i].
I I missed this. In most cases you should use g.player, if you don't want to have any problems with DebugSlic=Yes. If the event does contain a player variable then it can be used.

But actual I am bumping this thread, because I would like to see your SLIC: BeginScheduler in the new Apolyton Directory CTP2 Modifications Text and SLIC category .

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 15:53.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team