[Server Hosting] Quest NPC Configuration - CommanderBeelo/DayZ-Expansion-Scripts GitHub Wiki

WORK IN PROGRESS - Please note that the content of this page may chage in the future and is not final!

Main Objective Configuration Parameters:

"ConfigVersion"

Integer.

Current config file verstion. NEVER CHANGE THIS!

"ID"

Integer.

Unique NPC ID. Make sure this ID is different for every single NPC configuration!

"ClassName"

String.

NPC Class name to use for this NPC. There is several different default types provided by the quest mod.

NPC Types:

ExpansionQuestNPCMirek
ExpansionQuestNPCDenis
ExpansionQuestNPCBoris
ExpansionQuestNPCCyril
ExpansionQuestNPCElias
ExpansionQuestNPCFrancis
ExpansionQuestNPCGuo
ExpansionQuestNPCHassan
ExpansionQuestNPCIndar
ExpansionQuestNPCJose
ExpansionQuestNPCKaito
ExpansionQuestNPCLewis
ExpansionQuestNPCManua
ExpansionQuestNPCNiki
ExpansionQuestNPCOliver
ExpansionQuestNPCPeter
ExpansionQuestNPCQuinn
ExpansionQuestNPCRolf
ExpansionQuestNPCSeth
ExpansionQuestNPCTaiki
ExpansionQuestNPCLinda
ExpansionQuestNPCMaria
ExpansionQuestNPCFrida
ExpansionQuestNPCGabi
ExpansionQuestNPCHelga
ExpansionQuestNPCIrena
ExpansionQuestNPCJudy
ExpansionQuestNPCKeiko
ExpansionQuestNPCEva
ExpansionQuestNPCNaomi
ExpansionQuestNPCBaty

AI NPC Types (Only usable if the Expansion-AI mod is loaded):

ExpansionQuestNPCAIMirek
ExpansionQuestNPCAIDenis
ExpansionQuestNPCAIBoris
ExpansionQuestNPCAICyril
ExpansionQuestNPCAIElias
ExpansionQuestNPCAIFrancis
ExpansionQuestNPCAIGuo
ExpansionQuestNPCAIHassan
ExpansionQuestNPCAIIndar
ExpansionQuestNPCAIJose
ExpansionQuestNPCAIKaito
ExpansionQuestNPCAILewis
ExpansionQuestNPCAIManua
ExpansionQuestNPCAINiki
ExpansionQuestNPCAIOliver
ExpansionQuestNPCAIPeter
ExpansionQuestNPCAIQuinn
ExpansionQuestNPCAIRolf
ExpansionQuestNPCAISeth
ExpansionQuestNPCAITaiki
ExpansionQuestNPCAILinda
ExpansionQuestNPCAIMaria
ExpansionQuestNPCAIFrida
ExpansionQuestNPCAIGabi
ExpansionQuestNPCAIHelga
ExpansionQuestNPCAIIrena
ExpansionQuestNPCAIJudy
ExpansionQuestNPCAIKeiko
ExpansionQuestNPCAIEva
ExpansionQuestNPCAINaomi
ExpansionQuestNPCAIBaty

Static Object Types:

ExpansionQuestObjectBoard

"IsAI"

Boolean.

Only used if the NPC is a AI type and the Expansion-AI mod is loaded next to the quest mod. Is this NPC a AI type set this flag to true (1). Make sure there is no other flag enabled like "IsStatic" and make sure its set to 0.

"Position"

Vector.

Position of the NPC to be spawned at in the world after server start.

"Orientation"

Vector.

Orientation of the NPC to be set when he gets spawned after server start.

"QuestIDs"

Array.

Quest IDs this NPC is involved in. No matter if this quest NPC is the quest-giver or quest-turn in NPC add the related quest ID here. Make sure you dont add any quest IDs here that are not related to this NPC in any way!

"NPCName"

String.

NPC name that gets displayed on the action.

"DefaultNPCText"

String.

Default text that gets displayed in the quest menu when interacting with this NPC and there are no quest available for the player.

"Waypoints"

Array.

Only used if the NPC is a AI type and the Expansion-AI mod is loaded next to the quest mod. Make sure "IsAI" is set to 1! Should contain the NPCs position as first waypoint entry! NPC will follow the waypoint path if there are more then one waypoints.

"NPCEmoteID"

Integer.

Only used if the NPC is a AI type and the Expansion-AI mod is loaded next to the quest mod. Make sure "IsAI" is set to 1! NPC Emote ID the NPC will play randomly sometimes.

"NPCEmoteIsStatic"

Boolean.

Only used if the NPC is a AI type and the Expansion-AI mod is loaded next to the quest mod. Make sure "IsAI" is set to 1! NPC Emote ID the NPC will play. Forces the NPC into this animation and he will never change it.

"IsStatic"

Boolean.

Is this NPC a Static Object type set this flag to true (1). Make sure there is no other flag enabled like "IsAI" and make sure its set to 0.


Example:

{
    "ConfigVersion": 1,
    "ID": 1,
    "ClassName": "ExpansionQuestNpcAIDenis",
    "IsAI": 1,
    "Position": [
        8584.26953125,
        14.729999542236329,
        10511.599609375
    ],
    "Orientation": [
        200.0,
        0.0,
        0.0
    ],
    "QuestIDs": [
        1,
        3,
        22
    ],
    "NPCName": "Peter",
    "DefaultNPCText": "Hm?",
    "Waypoints": [
        [
            8584.26953125,
            14.729999542236329,
            10511.599609375
        ]
    ],
    "NPCEmoteID": 46,
    "NPCEmoteIsStatic": 0,
    "NPCLoadoutFile": "NBCLoadout",
    "IsStatic": 0
}
⚠️ **GitHub.com Fallback** ⚠️