Zum Inhalt springen
Gothic MultiplayerMultiplayer
Gothic MP Wiki

Types

Common value types of the API: item, character and weapon class names, impact tags.

Value types used in the signatures of both the client-side and the server-side API.

ItemClass

Game class name of an item, exactly as the game names it (case-sensitive). Examples: "ItMi_Orenugget" (ore nugget), "ItMw_1H_Sword_01" (one-handed sword), "ItFo_Potion_Health_01" (healing potion), "ItAm_Arrow" (arrow).

Type: string

CharacterClass

Game class name of a character to create. Two kinds are accepted:

  • a human character definition ("CommonPlayerDefinition" - looks and plays like the player, "CharacterDefinition_Human_OC_GRD_Jackal_201" - a specific NPC with its stats, skills, inventory and appearance);
  • a spawn definition of the game ("SpawnAIAgentDefinition_BigMolerat") - the character exactly as the game spawns it, with its own AI. Monsters, animals and orcs can be created only this way.

Type: string

WeaponClass

Game class name of a weapon, ammunition, projectile or spell projectile definition (what dealt a hit), e.g. "ItMw_1H_Sword_01", "ItAm_Arrow".

Type: string

ImpactTag

Name of a gameplay tag describing the impact of a hit, e.g. "Combat.HitType.Standard", "Combat.HitType.Knockback", "Combat.HitType.Additive".

Type: string