January 28, 2002, 16:15
|
#1
|
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
|
|
|
|
January 29, 2002, 05:25
|
#2
|
King
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
|
|
|
|
January 29, 2002, 05:31
|
#3
|
King
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
|
|
|
|
January 29, 2002, 05:32
|
#4
|
King
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
|
|
|
|
January 29, 2002, 09:15
|
#5
|
King
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
|
|
|
|
February 1, 2002, 00:09
|
#6
|
King
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
|
|
|
|
February 1, 2002, 03:26
|
#7
|
Super Moderator
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!"
|
|
|
|
February 2, 2002, 12:33
|
#8
|
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.
|
|
|
|
February 5, 2002, 06:42
|
#9
|
King
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
|
|
|
|
February 10, 2002, 14:02
|
#10
|
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].
|
|
|
|
August 22, 2002, 17:18
|
#11
|
Super Moderator
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!"
|
|
|
|
Posting 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
|
|
|
All times are GMT -4. The time now is 15:53.
|
|