Thread Tools
Old July 27, 2002, 15:26   #1
ahenobarb
Prince
 
ahenobarb's Avatar
 
Local Time: 05:03
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 437
argue about symbols
When editing a .slc, what does "Arguement 1 requires a symbol" mean?

On another matter, there should be some better information on writing SLIC code. Who knew that you can put an event inside a HandleEvent function with "Event:"? That wasn't written anywhere.

But hey, this is fun! I just wish I didn't have to ask so many questions and had a reference guide to look at instead of several disparate files.

BTW tut2_main.slc is hilarious, what oppressed programmer wrote all that stuff?
ahenobarb is offline  
Old July 27, 2002, 15:50   #2
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: 07:03
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by ahenobarb
When editing a .slc, what does "Arguement 1 requires a symbol" mean?
Argument 1 should be clear there is something not ok with the first argument you used in the function. The symbol thing is a little bit more cryptic. As I don't know the function/event you tried to use I have no idea what the symbol could have a type.

Quote:
Originally posted by ahenobarb
HandleEvent function with "Event:"? That wasn't written anywhere.
Actual Event: triggers the following event.

Quote:
Originally posted by ahenobarb
But hey, this is fun! I just wish I didn't have to ask so many questions and had a reference guide to look at instead of several disparate files.
I guess you never visit this part of Apolyton. Yeah it is a long time ago since I copied the improtant information to my hard drive. But it is interestin that we have still three CTP2 Modification Forums, even if the three links point all to the same old not anymore online uBB forum.

Quote:
Originally posted by ahenobarb
BTW tut2_main.slc is hilarious, what oppressed programmer wrote all that stuff?
Yeah the famous tut2_main.slc, we have a lot of quotes from that in our Apolyton quote database, maybe Activision hadn't the money to clean up this file, they were nearly bancrupt, they can be lucky that they survived.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old July 27, 2002, 17:21   #3
ahenobarb
Prince
 
ahenobarb's Avatar
 
Local Time: 05:03
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 437
Quote:
Originally posted by Martin Gühmann


Argument 1 should be clear there is something not ok with the first argument you used in the function. The symbol thing is a little bit more cryptic. As I don't know the function/event you tried to use I have no idea what the symbol could have a type.
I am using the following event.

Event:ImprovementComplete(TerrainImprovementDB(TIL EIMP_WATCH_TOWER));

Originally there were other arguements (the .xls file prepared by Locutus says that this event should take a location, the resulting location, the player, and the improvement) but CTP2 said there should only be one arguement, so I dropped all the others, that's when I started hearing about "symbols".

Quote:
Actual Event: triggers the following event.
Yes, and actually you taught me that through your .slc that gives the AI the ability to build forts. But, it's not written anywhere that I have seen in the modifcation section. The best way I have found to figure this stuff out is "Monkey See, Monkey Do".
ahenobarb 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 01:03.


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