Creation/Dev/GScript: Difference between revisions

From Graal Bible
mNo edit summary
No edit summary
Line 16: Line 16:
'''Script Functions'''
'''Script Functions'''
(to get the latest list run Graal with the -listscriptfunctions option)
(to get the latest list run Graal with the -listscriptfunctions option)
* [[Creation/Dev/Script/Client|Script Functions: Client]] (including info on GUI controls)
* [[Creation/Dev/Script/Client|Script Functions: Client]] [[Creation/Dev/Script/Clientside_Functions|(2)]] (including info on GUI controls)
* [[Creation/Dev/Script Functions: NPC Server|Script Functions: NPC Server]]
* [[Creation/Dev/Script Functions: NPC Server|Script Functions: NPC Server]]



Revision as of 13:14, 10 May 2006

GScript is Graal's scripting language.

Its syntax and some of its semantics might seem familiar to those who program in C or Java. In some ways it is more dynamic, e.g. supporting dynamicly joining and leaving of classes, and brings support for easy management of online game content.

GScript started as a very limited language (Old GScript) and has since kept up with improvements to the game engine and can now be used for pretty sophisticated scripts that greatly customise the gaming experience.

It is used, with minor differences, for Clientside tasks like GUI programming, special effects with nifty 3d lighting and custom NPC Weapons or "engines", and Serverside systems like player housing, complex baddies or pets.

GScript can be discussed in the non-official GScript IRC channel.

In your scripting quest, you may find the following articles to be of use:

Starting Guide

Script Functions (to get the latest list run Graal with the -listscriptfunctions option)

IRC Functionality

New-Engine Specific

Index of all script-related articles