Creation/Dev/GScript: Difference between revisions

From Graal Bible
(Removed the empty related links)
(Simplified a little bit)
Line 3: Line 3:
Its syntax and some of its semantics might seem familiar to those who program in [[WikiPedia:C (Programming Language) |C]] or [[WikiPedia:Java_programming_language|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.
Its syntax and some of its semantics might seem familiar to those who program in [[WikiPedia:C (Programming Language) |C]] or [[WikiPedia:Java_programming_language|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 ([[Creation/Dev/Old GScript|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 for [[Clientside]] tasks like [[GUI | GUI programming]], special effects and custom [[NPC weapon|weapons]], and [[Serverside]] systems like player housing, complex baddies or pets.
 
It is used, with minor differences, for [[Clientside]] tasks like [[GUI | GUI programming]], special effects with nifty 3d lighting and custom [[NPC weapon|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]].


'''If you would like to contribute to the GraalBible's GScript documentation, you might want to [[Creation/Dev/GScript/Contribute|read this article]].'''
'''If you would like to contribute to the GraalBible's GScript documentation, you might want to [[Creation/Dev/GScript/Contribute|read this article]].'''
Line 33: Line 29:
* [[Creation/Dev/Database_Communication|Indexed Database Communication]]
* [[Creation/Dev/Database_Communication|Indexed Database Communication]]
* [[Creation/Dev/Excalibur's scripting guide|Excalibur's Scripting Guide]]
* [[Creation/Dev/Excalibur's scripting guide|Excalibur's Scripting Guide]]
'''External Links'''
* [http://skyld.vip.graal.net GScript Wiki]
* [http://twinny.vip.graal.net Twinny's Scripting Page]


'''Script Function List'''
'''Script Function List'''


These are frequently updated, to get the latest list run Graal with the -listscriptfunctions option:
These are frequently updated, to get the latest list run Graal with the -listscriptfunctions option. You can also get help about script functions with the ''/scripthelp <string>'' command on RemoteControl chat.
* [[Creation/Dev/Script/Clientside_Functions|Client side]]
* [[Creation/Dev/Script/Clientside_Functions|Client side]]
* [[Creation/Dev/Script Functions: NPC Server|Server side]]
* [[Creation/Dev/Script Functions: NPC Server|Server side]]
'''External Links'''
* [http://skyld.vip.graal.net GScript Wiki]
* [http://twinny.vip.graal.net Twinny's Scripting Page]
* Non-official [[GScript IRC channel]].

Revision as of 18:38, 28 September 2007

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.

It is used for Clientside tasks like GUI programming, special effects and custom weapons, and Serverside systems like player housing, complex baddies or pets.

If you would like to contribute to the GraalBible's GScript documentation, you might want to read this article.

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

Basic information

Specific Features

Tutorials

Script Function List

These are frequently updated, to get the latest list run Graal with the -listscriptfunctions option. You can also get help about script functions with the /scripthelp <string> command on RemoteControl chat.

External Links