Infoportions

From Blood Wiki
Revision as of 11:56, 18 July 2012 by VorteX (Talk | contribs)

Jump to: navigation, search

Template:Article unfinished

Pieces of information storing player's (or game) progress. They are used to identify if player was maked some action (touched some trigger, killed monster, activated batmark, checked out monologue mark etc.). Infoportions store data across levels and also used for game stats and achievements.

Infoportions could be local or global. Local infoportions belongs to player/npc, while global belongs to game and being active on all players.

While all infoportions shared name space, there is some standarts of naming to get rid of collisions.

  • Inventory-related infoportions are prefixed by "inv_"
  • Level-related and level-interaction infoportions are prefixed by the worldnum and mapnum they are targeted to (w1m1_, w1m4_ etc.)
  • Kain's eventual comments (snow, rain etc.) are prefixed by "comment_".
  • Global infoportions always prefixed by #

For level designer, generic way to use infoportions is Trigger event and Pattern scripts. Clever usage of them helps to make buttons that open doors in other levels, spawn additional monsters if Kain was maked some special action and other event chains.

See also

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox