Apolyton Civilization Site - Powered by vBulletin
  • Register
  • Help



Game advertisements by <a href="http://www.game-advertising-online.com" target="_blank">Game Advertising Online</a> require iframes.

  • Spotlight
    • News
    • Civilization 5
    • -- Civ5:G&K
    • Civilization 4
    • Civilization 3
    • Civilization 2
    • Civilization 1
    • Call to Power 2
    • Call to Power 1
    • Alpha Centauri
    • -- Alien Crossfire
    • Spotlight
    • CtP2
    • Modification
    • Slic2
    • SLIC2-Scripting-Language
    • SLIC2-Events
    • SLIC2-Builtins
    • SLIC2-Functions
    • SourceCode
    • Games
      • Current Games
      • Civilization 5
      • Civilization 4
  • Forum
    • Forum Home
    • Civilization 5
    • Civilization 4
    • Civilization 3
    • Civilization 1 & 2
    • Call to Power 2
    • Call to Power 1
    • Alpha Centauri
    • Alternative Civilizations
    • Other Games
    • Site Feedback & News
    • Off Topic
  • Downloads
  • Blogs
  • What's New?
  • MP Arena
  • Chat
  • Advanced Search
  • Home
  • Home
  • Spotlight
  • CtP2
  • Modification
  • Slic2

  • Slic2 RSS Feed

    SLIC2 Table of Contents 

    by
    Martin Gühmann
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on November 29, 2003 15:32

    SLIC2 scripting language
    SLIC2 is a C-like language that "moves" many things behind CTP2. By Activision * Go

    SLIC2 Events
    This is a complete listing of SLIC2 events. By Activision * Go

    SLIC2 Function Reference
    Reference of the SLIC2 Functions. By Activision * Go

    SLIC2 Built-in variable types
    There is one builtin "variable" and a number of builtin variable arrays available in SLIC2. This document contains a complete reference of the data that can be extracted from these types. By Activision * Go


    SLIC2-Scripting-Language 

    by
    Martin Gühmann
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on October 19, 2010 19:07
    Article Preview

    Original Author: Joe Rumsey
    Date: December 13, 2000

    This is the SLIC2 scripting language refference.

    Contents

    • Language
    • Message Boxes
    • Alert Boxes
    • Buttons
    • Built-in variables
    • Events
    • Functions
    • User variables
    • Database access
    • Miscellany

    ...
    Read More Read More

    SLIC2-Events 

    by
    Martin Gühmann
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on November 18, 2010 20:14
    Article Preview

    This is a complete listing of events. Some of these are not safe to use from SLIC. A few are just plain obsolete and do not do anything useful. Events with arguments prefaced by GEA_ cannot be generated from SLIC, but can be triggered on.


    ...
    Read More Read More

    SLIC2-Functions 

    by
    Martin Gühmann
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on November 18, 2010 20:29

    Following is an alphabetical list of every function available for use in SLIC scripts in Call to Power II.

    VOID Abort()
    Causes the current message to not be displayed. The code following an Abort() is still executed, however. Example:

    messagebox 'Msgbox'
    {
    Abort();
    AddGold(g.player, 100);
    }

    //No message will appear when 'Msgbox' is called, and the player will receive 100 gold.


    ...
    Read More Read More

    SLIC2-Builtins 

    by
    Martin Gühmann
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on November 17, 2010 20:57
    Article Preview

    There is one builtin "variable" and a number of builtin variable arrays available in SLIC. This document contains a complete reference of the data that can be extracted from these types. Note that for types supported as user types, all the members of these variables can be accessed in user variables as well. For example, the builtin unit array has a member named owner, which means that any variable of type unit_t also has a member named owner. Member data is accessed using standard c style dot notation. The one plain builtin variable is named "g" and contains three members:


    • g.year - the current round
    • g.year_str - the current year in string form. Only useful in string replacements.
    • g.player - the current player The rest of the builtins come in arrays, which are filled in when an event handler is called (but can also have values assigned by script code).

    ...
    Read More Read More

    EditPlus: updated SLIC-definitions, new CTP2-DB-definitions 

    by
    BureauBert
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on April 18, 2006 17:53

    Why not get back to CTP2-modding just to enjoy the luxury of syntax highliting in EditPlus?
    • for SLIC (Locutus' SLIC-definitions file updated for CTP2 AE)
    • for CTP2 AE database
    ...
    Read More Read More 2 Comments

  • CTP2 General

    • CTP2 Forums
    • CTP2 Downloads
    • CTP2 Gallery
    • CTP2 Links
    • CTP2 FAQ
  • Advertisement

    Game advertisements by <a href="http://www.game-advertising-online.com" target="_blank">Game Advertising Online</a> require iframes.
  • CTP2 Source Code

    • CTP2 Source Code Introduction
    • CTP2 Apolyton Edition
    • CTP2 Source Code Repository
    • CTP2 Source Code release Chat
    • CTP2 Source Code FAQ
  • CTP2 Modification

    • Overview
    • List of CTP1 sprites for CTP2
    • Scenario Editor
    • Map Editor
    • AI Customization
    • Diplomacy: Trust and Regard
    • tga picture sizes
    • Data Files
  • CTP2 SLIC2

    • SLIC2 Scripting Language
    • SLIC2 Events
    • SLIC2 Functions
    • SLIC2 Built in Variables
    • SLIC2 EditPlus Definitions
  • CTP2 Info

    • CTP2 Info Start Point
    • CTP2 Announcement
    • CTP2 Announcement Summary
    • CTP2 Artificial Intelligence
    • CTP2 Interface
    • CTP2 Combat/Units
    • CTP2 Civ Management
    • CTP2 Micromanagment
    • CTP2 Diplomacy
    • CTP2 Trade
    • CTP2 Multiplayer
    • CTP2 Graphics and Sound
    • CTP2 Included Maps/Scenarios
    • CTP2 Customisation
    • CTP2 Advances/Buildings/Wonders
    • CTP2 Miscellaneous
    • CTP2 System-Specs and Release
  • CTP2 Great Library

    • CTP2 Advances
    • CTP2 Buildings
    • CTP2 Units
  • CTP2 Documents

    • CTP2 Manual Part 1
    • CTP2 Manual Part 2
    • CTP2 Manual Part 3
    • CTP2 Manual Part 4
    • CTP2 Manual Part 5
    • CTP2 Endgame
    • CTP2 Readme
    • CTP2 Multiplayer Readme
    • WW2 Scenario Readme
  • CTP2 Reviews

    • CTP2 Overview of Reviews
    • CTP2 Three Years
    • Apolyton Day 1
    • Apolyton Day 2
    • Apolyton Day 3
    • Apolyton Day 4
    • Apolyton Day 5
    • Apolyton Day 6
    • Apolyton Day 7
    • Christoph-Nahr's Review
    • DarthVeda's Review
    • JDI_Falcon's Review
    • Tilemacho's Review
  • Links/Downloads/Images

    What's New...

    rar 01a Cradle IV Scenario and Maps Pack (31 Hits)
    rar 01 Cradle IV (v4.0) (83 Hits)
    Apolyton Pack 2.0
    zip Slic Template PRocessor (44 Hits)
    zip UnitCSV (48 Hits)
    Cradle AE 3.04 x4 advance cost & length (79 Hits)
    rar Forever Future 1.7 (4287 Hits)

    What's Hot...

    exe Patch: English Updater 1.2 (53551 Hits)
    zip CTP2 Patch v1.11 (46864 Hits)
    rar Apolyton CTP2 Edition: Revision 1111 (12-Jun-2011) (25917 Hits)
    exe CTP1 Apolyton Pack (25672 Hits)
    rar Civ3MultiTool (C3MT) (23448 Hits)
    exe SMAC 4.0 Patch/English (22525 Hits)
    zip Celestial Dawn's Mod v4.22 (21073 Hits)

    Take Your Chance...

    jpg Civ3 Play the World Screen (jul02-004) (29 Hits)
    zip West Europe (423 Hits)
    zip seaquest.zip (146 Hits)
    jpg Confirmed: Abrams Tank (45 Hits)
    jpg Rome (29 Hits)
    Commando (1195 Hits)
    zip Alone (866 Hits)
  • Order Civ5:G&K Now!

    26% Discount on Civ5: Gods & Kings now at DLGamer.com


    Apolyton voucher-code:
    Apolyton-10%OFF-CIV5GK



    Pre-order Civ5:Gods & Kings
    More Civilization content on DLGamer.com
  • Official Civ Twitter

Help

Contact Us
Help / FAQ
Partners

Official Civilization Site
Firaxis Games
2K Games
Deutsche Civilization Community
Become a partner
Advertise
Tools




All times are GMT -4. The time now is 11:30.
This is an independently owned and operated fan site.
Powered by vBulletin® Version 4.2.0
Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Staff Application 2.0.0 © 2011 by U.S. Military Life
Apolyton Civilization Site | Copyright © 2013 Apolyton Civilization Site