292 lines
7.5 KiB
JSON
292 lines
7.5 KiB
JSON
{
|
|
"__data_type": "UTT ",
|
|
"AutoRemoveKey": {
|
|
"type": "byte",
|
|
"value": 0
|
|
},
|
|
"Comment": {
|
|
"type": "cexostring",
|
|
"value": "ON TRIGGER:\r\n nWhoCanTrigger: 0=Anyone, 1=PCs Only, 2=if string value,3=if\r\n specific Integer value, 4= PC and string, 5= PC and integer.\r\n sStringTrigger: string variable name/value must equal\r\n nIntegerTrigger: integer variable name/value must equal\r\n nTriggerScaling: 0=Always the same, 1=Based on triggering Level,2=Based on\r\n highest level PC connected to module's level.\r\n sEncounterTableNight: This is the name of a variable on this trigger less a\r\n value of 1 appended to end or it is the tag of a waypoint. The waypoint\r\n must have a variable sEncounter1 on it.\r\n sEncounterTableDay: Same as above. Only triggered during the day.\r\n nSpawnLocations: Number of standard spawn locations\r\n nSpawnInLocations: Number of spawn in at a distance and run to spawn location\r\n locations\r\n sSpawnLocation#: Either a waypoint tag or x/y coordinates\r\n sSpawnInLocation#: Either a waypoint tag or x/y coordinates\r\n nRespawnHours: Number of hours until respawn possible.\r\n\r\n ENCOUNTER TABLE:\r\n sEncounter# or variable# (see above): percentage/encounter.percentage/enc\r\n # above should correspond to level of PC. Note: you can skip numbers and\r\n it will pick the lowest # that is closest to the PC that it can find.\r\n percentage = % chance this encounter happens\r\n encounter = Waypoint Tag or a # on this trigger.\r\n sEncNum#: Type/Despawn/SpawnIn/MinPop/MaxPop/Appear/Move/Identifier\r\n # above will be the encounter number for the trigger or 1 if a waypoint.\r\n Type = G for Group or C for Creature (see Identifier)\r\n Despawn = D for day, N for night, P for when no PCs, # num hours, 0 never\r\n SpawnIn = S for standard, A for ambush, D for distant using Spawn In\r\n MinPop = Minimum number to spawn\r\n MaxPop = Maximum number to spawn\r\n Appear = S for standard, F for fly in if possible\r\n Move = 0 for stationary, S for short (3 meters), M for medium (7 meters),\r\n L for Long (14 meters), F for full area wander.\r\n Identifier = Group Tag (variable or Waypoint tag) or ResRef for creature\r\n sGroup1: or can be some other variable specified by identifier\r\n MoveAs.Population/ResRef.Population/ResRef\r\n MoveAs = How to move G for as group, S for separately\r\n Population = How many to spawn\r\n ResRef = ResRef of Creature"
|
|
},
|
|
"Cursor": {
|
|
"type": "byte",
|
|
"value": 0
|
|
},
|
|
"DisarmDC": {
|
|
"type": "byte",
|
|
"value": 10
|
|
},
|
|
"Faction": {
|
|
"type": "dword",
|
|
"value": 1
|
|
},
|
|
"HighlightHeight": {
|
|
"type": "float",
|
|
"value": 3.0
|
|
},
|
|
"KeyName": {
|
|
"type": "cexostring",
|
|
"value": ""
|
|
},
|
|
"LinkedTo": {
|
|
"type": "cexostring",
|
|
"value": ""
|
|
},
|
|
"LinkedToFlags": {
|
|
"type": "byte",
|
|
"value": 0
|
|
},
|
|
"LoadScreenID": {
|
|
"type": "word",
|
|
"value": 0
|
|
},
|
|
"LocalizedName": {
|
|
"type": "cexolocstring",
|
|
"value": {
|
|
"0": "Deva's Encounter Replacement System"
|
|
}
|
|
},
|
|
"OnClick": {
|
|
"type": "resref",
|
|
"value": ""
|
|
},
|
|
"OnDisarm": {
|
|
"type": "resref",
|
|
"value": ""
|
|
},
|
|
"OnTrapTriggered": {
|
|
"type": "resref",
|
|
"value": ""
|
|
},
|
|
"PaletteID": {
|
|
"type": "byte",
|
|
"value": 6
|
|
},
|
|
"PortraitId": {
|
|
"type": "word",
|
|
"value": 0
|
|
},
|
|
"ScriptHeartbeat": {
|
|
"type": "resref",
|
|
"value": ""
|
|
},
|
|
"ScriptOnEnter": {
|
|
"type": "resref",
|
|
"value": "ders_oe_trigger"
|
|
},
|
|
"ScriptOnExit": {
|
|
"type": "resref",
|
|
"value": ""
|
|
},
|
|
"ScriptUserDefine": {
|
|
"type": "resref",
|
|
"value": ""
|
|
},
|
|
"Tag": {
|
|
"type": "cexostring",
|
|
"value": "ders_trigger"
|
|
},
|
|
"TemplateResRef": {
|
|
"type": "resref",
|
|
"value": "ders_trigger"
|
|
},
|
|
"TrapDetectable": {
|
|
"type": "byte",
|
|
"value": 1
|
|
},
|
|
"TrapDetectDC": {
|
|
"type": "byte",
|
|
"value": 10
|
|
},
|
|
"TrapDisarmable": {
|
|
"type": "byte",
|
|
"value": 1
|
|
},
|
|
"TrapFlag": {
|
|
"type": "byte",
|
|
"value": 0
|
|
},
|
|
"TrapOneShot": {
|
|
"type": "byte",
|
|
"value": 1
|
|
},
|
|
"TrapType": {
|
|
"type": "byte",
|
|
"value": 0
|
|
},
|
|
"Type": {
|
|
"type": "int",
|
|
"value": 0
|
|
},
|
|
"VarTable": {
|
|
"type": "list",
|
|
"value": [
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "nWhoCanTrigger"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 1
|
|
},
|
|
"Value": {
|
|
"type": "int",
|
|
"value": 0
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "sStringTrigger"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 3
|
|
},
|
|
"Value": {
|
|
"type": "cexostring",
|
|
"value": ""
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "sIntegerTrigger"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 3
|
|
},
|
|
"Value": {
|
|
"type": "cexostring",
|
|
"value": ""
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "nTriggerScaling"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 1
|
|
},
|
|
"Value": {
|
|
"type": "int",
|
|
"value": 0
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "sEncounterTableNight"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 3
|
|
},
|
|
"Value": {
|
|
"type": "cexostring",
|
|
"value": ""
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "sEncounterTableDay"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 3
|
|
},
|
|
"Value": {
|
|
"type": "cexostring",
|
|
"value": ""
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "nSpawnLocations"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 1
|
|
},
|
|
"Value": {
|
|
"type": "int",
|
|
"value": 0
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "sSpawnLocation1"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 3
|
|
},
|
|
"Value": {
|
|
"type": "cexostring",
|
|
"value": ""
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "nSpawnInLocations"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 1
|
|
},
|
|
"Value": {
|
|
"type": "int",
|
|
"value": 0
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "sSpawnInLocation1"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 3
|
|
},
|
|
"Value": {
|
|
"type": "cexostring",
|
|
"value": ""
|
|
}
|
|
},
|
|
{
|
|
"__struct_id": 0,
|
|
"Name": {
|
|
"type": "cexostring",
|
|
"value": "nRespawnHours"
|
|
},
|
|
"Type": {
|
|
"type": "dword",
|
|
"value": 1
|
|
},
|
|
"Value": {
|
|
"type": "int",
|
|
"value": 2
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|