Creation/Dev/NPC: Difference between revisions

From Graal Bible
No edit summary
No edit summary
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Non-Player-Characters; controlled by the computer. They are scripted in some way, in [[graal]] with the language [[GScript]].
[[Category:Scripting Reference]]
The acronym '''NPC''' expands to Non-Player-Characters; traditionally beings controlled by the game system and not players.
In [[Graal]], this term has a much broader meaning and applies not only to human characters or monsters, but also to example decoration and weapons; basically anything that is scripted in [[Creation/Dev/GScript|GScript]].
 
There are mainly three kinds of NPCs, [[Creation/Dev/NPC weapon|NPC weapon]]s which are held in the player's inventory, [[Creation/Dev/Local NPC|Local NPC]]s that belong to a level and [[Creation/Dev/Database NPC|Database NPC]]s that appear like [[Creation/Dev/Local NPC|Local NPC]]s but are treated specially.
 
[[Creation/Dev/NPC scripting|NPC scripting]] is a key element of creating your own [[Playerworld]].

Latest revision as of 13:29, 13 September 2009

The acronym NPC expands to Non-Player-Characters; traditionally beings controlled by the game system and not players. In Graal, this term has a much broader meaning and applies not only to human characters or monsters, but also to example decoration and weapons; basically anything that is scripted in GScript.

There are mainly three kinds of NPCs, NPC weapons which are held in the player's inventory, Local NPCs that belong to a level and Database NPCs that appear like Local NPCs but are treated specially.

NPC scripting is a key element of creating your own Playerworld.