-
Notifications
You must be signed in to change notification settings - Fork 6
Pack Npcs
This task is responsible for packing npc definitions into an OSRS game cache.
Parameters:
-
packMode: APackConfigenum pointing to what thing you want to pack. -
npcDirectory: AFileobject pointing to the directory that contains the toml Definitions.
packConfig(PackMode.NPCS, File(""))Npc Configuration Properties:
-
id: The Unique identifier for the configuration. -
inherit: ID of another configuration this one should inherit properties from. Default is -1. Optional. -
size: Default size or scale of the entity. Default is1. -
category: Category identifier for classifying the entity. Default is-1. -
models: A mutable list of model identifiers for the entity.nullby default. -
chatheadModels: A mutable list of chat head model identifiers.nullby default. -
standAnim: Animation identifier for the standing pose. Default is-1. -
rotateLeftAnim: Animation identifier for rotating left. Default is-1. -
rotateRightAnim: Animation identifier for rotating right. Default is-1. -
walkAnim: Animation identifier for walking. Default is-1. -
rotateBackAnim: Animation identifier for rotating back. Default is-1. -
walkLeftAnim: Animation identifier for walking left. Default is-1. -
walkRightAnim: Animation identifier for walking right. Default is-1. -
actions: A mutable list of custom interaction options for the entity. All entries arenullby default. -
originalColours: A mutable list of original color codes.nullby default. -
modifiedColours: A mutable list of modified color codes after processing.nullby default. -
originalTextureColours: A mutable list of original texture color codes.nullby default. -
modifiedTextureColours: A mutable list of modified texture color codes.nullby default. -
varbit: Variable bit identifier for additional configuration based on game logic. Default is-1. -
varp: Variable player identifier for configuration based on player-specific conditions. Default is-1. -
transforms: A mutable list of transformation identifiers.nullby default. -
isMinimapVisible: Indicates whether the entity is visible on the minimap. Default istrue. -
combatLevel: Combat level of the entity. Default is-1. -
widthScale,heightScale: Scaling factors for the entity's width and height. Defaults are128. -
hasRenderPriority: Indicates whether the entity should be rendered with priority over others. Default isfalse. -
ambient: Ambient light setting affecting the entity's appearance. Default is0. -
contrast: Contrast setting for the entity's appearance. Default is0. -
headIconArchiveIds: A mutable list of archive identifiers for head icons.nullby default. -
headIconSpriteIndex: A mutable list of sprite indices for head icons.nullby default. -
rotation: Default rotation setting for the entity when initialized. Default is32. -
isInteractable: Indicates whether the entity can interact with players or other entities. Default istrue. -
isClickable: Indicates whether the entity can be clicked on by the user. Default istrue. -
lowPriorityFollowerOps: Indicates whether follower operations for the entity are of low priority. Default isfalse. -
isFollower: Indicates whether the entity acts as a follower. Default isfalse. -
runSequence,runBackSequence,runRightSequence,runLeftSequence: Animation sequences for running in various directions. All default to-1. -
crawlSequence,crawlBackSequence,crawlRightSequence,crawlLeftSequence: Animation sequences for crawling in various directions. All default to-1. -
params: A map of integer keys to any type of values for additional parameters.nullby default. -
option1tooption5: Customizable interaction options for the entity. All arenullby default.
id= 3434
inherit= 1
name = "Man"
ioption2 = "Smack"-
Setup
- Coming Soon
- Tasks