Creation/Dev/GScript: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 31: | Line 31: | ||
* [[Creation/Dev/Output Methods|GS2 Features: Output methods]] | * [[Creation/Dev/Output Methods|GS2 Features: Output methods]] | ||
* [[Creation/Dev/GScript/Constants|GS2 Features: Constants]] | * [[Creation/Dev/GScript/Constants|GS2 Features: Constants]] | ||
* [[Creation/Dev/GScript/ | * [[Creation/Dev/GScript/Understanding GUI Profiles|GS2 GUI Features: Understanding GUI profiles]] | ||
'''Tutorials''' | '''Tutorials''' |
Revision as of 03:52, 6 August 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.
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:
Starting Guide
Script Functions (to get the latest list run Graal with the -listscriptfunctions option)
- Script Functions: Client (2) (including info on GUI controls)
- Script Functions: NPC Server
IRC Functionality
- Graal IRC Scripting: Graal v4 IRC Scripting Reference
- Graal IRC Scripting: Troubleshooting Scripting Reference
New-Engine Specific
- Graal v4 Particle Engine
- GS1 To GS2: Guide for fixing scripts to work with the new engine
- GS2 Features: Effective ways to use classes
- GS2 Features: Output methods
- GS2 Features: Constants
- GS2 GUI Features: Understanding GUI profiles
Tutorials
Index of all script-related articles