 |
|  |
 |
|
ahenobarb
|
|
After several months of work, the Complete Guide to SLIC is finished. It runs to about 250 pages and is divided into three sections. The first section covers how to write SLIC code, the second section provides a walk through of writing SLIC code (in this case it is a demo script to return cattle to the game, with some changes that prevent the original problems), section 3 contains the appendices for SLIC commands etc. The document is in .pdf format, but it is about 3.75MB, so it is too large to post in the forum. It will need to be posted in the modification section, if someone just tells me where to send it.
I first conceived the idea when I was trying to learn how to write script codes with SLIC. There was not a comprehensive guide and it was difficult to sort through the bits and pieces out there to understand how everything worked. This guide hopefully will cut through the confusion.
The Guide can be found Here: http://apolyton.net/dir/index.php?&...ts=4311&cat=240
Last edited by ahenobarb on 29-09-2003 at 23:30
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:30
|
|
Sounds good Ahenobarb, but the attachment's not working.
You should be able to put it into the Directory, but you'll have to PM Locutus to get the mechanics sorted.
Actually, he'll undoubtedly PM you as soon as he sees this thread.
|
|
|  |
 |
|
ahenobarb
|
|
I had the same problem with the attachment, but if you right-click and "save target as... " you can get the attachment. I'll wait for Locutus to get in touch with me.
Last edited by ahenobarb on 18-09-2003 at 03:05
|
|
|  |
 |
|
ahenobarb
|
|
The full SLIC guide is ready for downloading with the link above.
I added a link in the files forum, but it is not there. Do I need to await approval, or did I do something wrong?
|
|
|  |
 |
|  |
 |
|  |
 |
|
ahenobarb
|
|
quote: Originally posted by Locutus
Yup, you need my approval, which I'm in the process of giving (it's been a while so I have to get used to it all over again )
In the meantime, did you read my (unfinished) SLIC manual as well? Parts of our guides are very, very similar, which proves either of two things: (1) you used my guide as basis for yours or (2) great minds think alike. Probably the latter |
Your guide is where I got my start with SLIC.
To produce the outline for the first part of the guide, I used your guide and SAM's learn C for Linux in 21 days -- that told me an acceptible order for basic programming stuff so beginners can learn. The other chapters in section I (sort of) follow the order of the documents activision produced: messages, alerts, etc.
The outline of the second part is in the order that I wrote the demo code.
I had hoped to list only functions and commands that actually work in the appendices (that's why I asked about the Duration command), but this proved too time consuming. PErhaps with the source code, commands that don't work can be made to function again.
|
|
|  |
 |
|  |
 |
|
ahenobarb
|
|
Quick question Locutus. Is it possible to use the picture on the cover of the guide instead of the default CTP II photo in the files forum? I can provide a .jpg of the picture if you let me know where to send it.
|
|
|  |
 |
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:30
|
|
quote: Originally posted by Locutus
Ah yes, Tamerlin didn't remove the session ID (sid) part of the link, so the Dir did indeed think you were him. One should always remove the 'sid=xxxx&' part from the URL when linking to parts of the Directory... |
Well Tamerlin you should edit your post, it looks the session ID is still there. Well I don't know whether there is a timeout for directory sessions, too. But in the case of doubt it is better to do it.
Now lets go to the errata, well I found just two of them but just because I didn't bothered to search for them. 
quote:
You can add an infinite number of city types to CTP2 and no one has yet run into a limitation on the number of city sprites that can be used in the game -- that does not mean that there is not a limit, just that no one has reached it yet. |
Well the infinite number of city types might not be right but it is probably a very high number, but actual 64 are enough (for each civ one).
But that noone reached the limit of city sprites is wrong I tried it and I found the same limit for units, otherwise CityMod2 would contain some more city sprites, like 8 sprites for each set of modern city sprites and I would have added all the CTP1 Genetic and Diamond sprites.
quote:
No one has yet reached the limit of Good sprites, City sprites, or Tile sprites. If a guess could be ventured, based on what has been seen in the unit sprites, they are probably limited to 200 as well. |
For city sprites I just confirmed the limit for Good sprites I am not shure if I tries it, but it wasn't so importent to test it, but I am shure the limit is the same like for City sprites and probably the 200 limit is also valid for effect sprites even if I never tried it.
-Martin
|
|
|  |
 |
|  |
 |
|
ahenobarb
|
|
quote: Originally posted by Martin Gühmann
Now lets go to the errata, well I found just two of them but just because I didn't bothered to search for them. 
Well the infinite number of city types might not be right but it is probably a very high number, but actual 64 are enough (for each civ one).
But that noone reached the limit of city sprites is wrong I tried it and I found the same limit for units, otherwise CityMod2 would contain some more city sprites, like 8 sprites for each set of modern city sprites and I would have added all the CTP1 Genetic and Diamond sprites.
For city sprites I just confirmed the limit for Good sprites I am not shure if I tries it, but it wasn't so importent to test it, but I am shure the limit is the same like for City sprites and probably the 200 limit is also valid for effect sprites even if I never tried it.
-Martin |
That's the kind of stuff I need to know so I can update the book. There are a few places where it wasn't clear what the answers were or what certain flags did (or sometimes from sheer exhaution/boredom, I didn't bother to fill in the information), if anyone knows the answers or can correct anything in the guide let me know and I'll update the information.
of course, it would have been best to release the guide without any errors, but with only 1 pair of eyes on it, it would never have been released.
I'll be in and out for the next 3 weeks, mostly out, but I'll check back and make sure any corrections are incorporated and up date the guide.
|
|
|  |
 |
|
ahenobarb
|
|
Martin, would this be more accurate?
Cities You can add a large but finite number of city types to CTP2. There is a limit of 200 city sprites that can be used in the game.
Sprites CTP2 only supports 200 different unit sprites and city sprites. This means that if you have more than 200 units, you will have to reuse some of the sprites and two or more units will look exactly the same in the game. No one has yet reached the limit of Good sprites or Terrain Tile sprites -- that does not mean that there is not a limit, just that no one has reached it yet. If a guess could be ventured, based on what has been seen in the unit and city sprites, they are both probably limited to 200 as well.
|
|
|  |
All times are GMT. The time now is 05:30. Apolyton Time is 00:30. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|