Tweaked resource locations

Tweaked resource locations.  Full compile.
This commit is contained in:
Jaysyn904
2024-12-12 14:52:10 -05:00
parent 48de66668b
commit dfb15e43ec
29 changed files with 2411 additions and 244 deletions

View File

@@ -3638,13 +3638,17 @@
}
]
},
"TileBrdrDisabled": {
"type": "byte",
"value": 0
},
"Tileset": {
"type": "resref",
"value": "ttf01"
},
"Version": {
"type": "dword",
"value": 115
"value": 116
},
"Width": {
"type": "int",

View File

@@ -11163,13 +11163,17 @@
}
]
},
"TileBrdrDisabled": {
"type": "byte",
"value": 0
},
"Tileset": {
"type": "resref",
"value": "ttr01"
},
"Version": {
"type": "dword",
"value": 28
"value": 29
},
"Width": {
"type": "int",

View File

@@ -2907,13 +2907,17 @@
}
]
},
"TileBrdrDisabled": {
"type": "byte",
"value": 0
},
"Tileset": {
"type": "resref",
"value": "tdc01"
},
"Version": {
"type": "dword",
"value": 33
"value": 34
},
"Width": {
"type": "int",

View File

@@ -2907,13 +2907,17 @@
}
]
},
"TileBrdrDisabled": {
"type": "byte",
"value": 0
},
"Tileset": {
"type": "resref",
"value": "tdm01"
},
"Version": {
"type": "dword",
"value": 48
"value": 49
},
"Width": {
"type": "int",

View File

@@ -11163,13 +11163,17 @@
}
]
},
"TileBrdrDisabled": {
"type": "byte",
"value": 0
},
"Tileset": {
"type": "resref",
"value": "ttr01"
},
"Version": {
"type": "dword",
"value": 31
"value": 32
},
"Width": {
"type": "int",

View File

@@ -2907,13 +2907,17 @@
}
]
},
"TileBrdrDisabled": {
"type": "byte",
"value": 0
},
"Tileset": {
"type": "resref",
"value": "tdm01"
},
"Version": {
"type": "dword",
"value": 20
"value": 21
},
"Width": {
"type": "int",

View File

@@ -108,6 +108,13 @@
"value": ""
}
},
{
"__struct_id": 4,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 4,
"Comment": {

View File

@@ -181,6 +181,27 @@
"value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive."
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {

View File

@@ -409,6 +409,27 @@
"WaypointList": {
"type": "list",
"value": [
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {

View File

@@ -415,6 +415,20 @@
"type": "cexostring",
"value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive."
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
}
]
}

View File

@@ -228,6 +228,20 @@
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {
"type": "cexostring",
"value": ""
}
},
{
"__struct_id": 5,
"Comment": {

File diff suppressed because it is too large Load Diff

View File

@@ -2153,7 +2153,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": 0.8590285181999207
"value": 0.8590283393859863
},
"X": {
"type": "float",
@@ -5720,6 +5720,189 @@
"type": "float",
"value": 9.5367431640625e-006
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "PLANT07, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep105"
},
"XOrientation": {
"type": "float",
"value": 0.7242472767829895
},
"XPosition": {
"type": "float",
"value": 71.96202850341797
},
"YOrientation": {
"type": "float",
"value": -0.6895403265953064
},
"YPosition": {
"type": "float",
"value": 136.7816925048828
},
"ZPosition": {
"type": "float",
"value": 5.861921310424805
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "PLANT07, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep105"
},
"XOrientation": {
"type": "float",
"value": 0.02454144880175591
},
"XPosition": {
"type": "float",
"value": 85.82593536376953
},
"YOrientation": {
"type": "float",
"value": -0.99969881772995
},
"YPosition": {
"type": "float",
"value": 44.93580627441406
},
"ZPosition": {
"type": "float",
"value": 0.009999969974160194
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "PLANT07, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep105"
},
"XOrientation": {
"type": "float",
"value": -0.67155921459198
},
"XPosition": {
"type": "float",
"value": 22.54919624328613
},
"YOrientation": {
"type": "float",
"value": -0.740950882434845
},
"YPosition": {
"type": "float",
"value": 131.7505645751953
},
"ZPosition": {
"type": "float",
"value": 0.01000009663403034
}
}
]
}

View File

@@ -8866,6 +8866,189 @@
"type": "float",
"value": 1.601874828338623e-006
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "MUSHROOM1, offset 1"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep047"
},
"XOrientation": {
"type": "float",
"value": 0.5956992506980896
},
"XPosition": {
"type": "float",
"value": 29.9152717590332
},
"YOrientation": {
"type": "float",
"value": 0.8032075762748718
},
"YPosition": {
"type": "float",
"value": 33.27630996704102
},
"ZPosition": {
"type": "float",
"value": 0.2000000178813934
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "MUSHROOM1, offset 1"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep047"
},
"XOrientation": {
"type": "float",
"value": -0.6895406842231751
},
"XPosition": {
"type": "float",
"value": 44.97855377197266
},
"YOrientation": {
"type": "float",
"value": -0.7242469787597656
},
"YPosition": {
"type": "float",
"value": 56.69761657714844
},
"ZPosition": {
"type": "float",
"value": 0.2036042213439941
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "MUSHROOM1, offset 1"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep047"
},
"XOrientation": {
"type": "float",
"value": -0.65317302942276
},
"XPosition": {
"type": "float",
"value": 76.34947967529297
},
"YOrientation": {
"type": "float",
"value": -0.7572087049484253
},
"YPosition": {
"type": "float",
"value": 76.38377380371094
},
"ZPosition": {
"type": "float",
"value": 0.1999999731779099
}
}
]
}

View File

@@ -457,7 +457,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": 3.067928552627564
"value": 3.067928075790405
},
"X": {
"type": "float",
@@ -683,7 +683,7 @@
},
"CR": {
"type": "float",
"value": 4.0
"value": 5.0
},
"ResRef": {
"type": "resref",
@@ -702,7 +702,7 @@
},
"CR": {
"type": "float",
"value": 4.0
"value": 5.0
},
"ResRef": {
"type": "resref",
@@ -717,11 +717,11 @@
},
"Difficulty": {
"type": "int",
"value": 9
"value": 5
},
"DifficultyIndex": {
"type": "int",
"value": 4
"value": 3
},
"Faction": {
"type": "dword",
@@ -962,7 +962,7 @@
},
"CR": {
"type": "float",
"value": 4.0
"value": 5.0
},
"ResRef": {
"type": "resref",
@@ -981,7 +981,7 @@
},
"CR": {
"type": "float",
"value": 4.0
"value": 5.0
},
"ResRef": {
"type": "resref",
@@ -996,11 +996,11 @@
},
"Difficulty": {
"type": "int",
"value": 9
"value": 5
},
"DifficultyIndex": {
"type": "int",
"value": 4
"value": 3
},
"Faction": {
"type": "dword",
@@ -1133,7 +1133,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": 2.331647634506226
"value": 2.331647396087647
},
"X": {
"type": "float",
@@ -1226,7 +1226,7 @@
},
"CR": {
"type": "float",
"value": 4.0
"value": 5.0
},
"ResRef": {
"type": "resref",
@@ -1245,7 +1245,7 @@
},
"CR": {
"type": "float",
"value": 4.0
"value": 5.0
},
"ResRef": {
"type": "resref",
@@ -1260,11 +1260,11 @@
},
"Difficulty": {
"type": "int",
"value": 0
"value": 5
},
"DifficultyIndex": {
"type": "int",
"value": 4
"value": 3
},
"Faction": {
"type": "dword",
@@ -1490,7 +1490,7 @@
},
"CR": {
"type": "float",
"value": 4.0
"value": 5.0
},
"ResRef": {
"type": "resref",
@@ -1509,7 +1509,7 @@
},
"CR": {
"type": "float",
"value": 4.0
"value": 5.0
},
"ResRef": {
"type": "resref",
@@ -1528,7 +1528,7 @@
},
"CR": {
"type": "float",
"value": 11.0
"value": 12.0
},
"ResRef": {
"type": "resref",
@@ -1543,7 +1543,7 @@
},
"Difficulty": {
"type": "int",
"value": 9
"value": 0
},
"DifficultyIndex": {
"type": "int",

View File

@@ -1070,7 +1070,7 @@
},
"CR": {
"type": "float",
"value": 3.0
"value": 4.0
},
"ResRef": {
"type": "resref",
@@ -1093,7 +1093,7 @@
},
"CR": {
"type": "float",
"value": 14.0
"value": 15.0
},
"ResRef": {
"type": "resref",
@@ -1274,7 +1274,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1293,7 +1293,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1312,7 +1312,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1331,7 +1331,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1481,7 +1481,7 @@
},
"CR": {
"type": "float",
"value": 3.0
"value": 4.0
},
"ResRef": {
"type": "resref",
@@ -1666,7 +1666,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1685,7 +1685,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1704,7 +1704,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1944,7 +1944,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1963,7 +1963,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -1982,7 +1982,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2132,7 +2132,7 @@
},
"CR": {
"type": "float",
"value": 3.0
"value": 4.0
},
"ResRef": {
"type": "resref",
@@ -2283,7 +2283,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2302,7 +2302,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2321,7 +2321,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2376,7 +2376,7 @@
},
"CR": {
"type": "float",
"value": 0.25
"value": 0.3333333432674408
},
"ResRef": {
"type": "resref",
@@ -2600,7 +2600,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2619,7 +2619,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2638,7 +2638,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2657,7 +2657,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2676,7 +2676,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2695,7 +2695,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -2750,7 +2750,7 @@
},
"CR": {
"type": "float",
"value": 0.25
"value": 0.3333333432674408
},
"ResRef": {
"type": "resref",
@@ -2807,7 +2807,7 @@
},
"CR": {
"type": "float",
"value": 3.0
"value": 4.0
},
"ResRef": {
"type": "resref",
@@ -3107,7 +3107,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -3126,7 +3126,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -3145,7 +3145,7 @@
"__struct_id": 2,
"Orientation": {
"type": "float",
"value": -3.141562461853027
"value": -3.141561985015869
},
"X": {
"type": "float",
@@ -3554,7 +3554,7 @@
},
"CR": {
"type": "float",
"value": 3.0
"value": 4.0
},
"ResRef": {
"type": "resref",
@@ -3893,7 +3893,7 @@
},
"CR": {
"type": "float",
"value": 15.0
"value": 17.0
},
"ResRef": {
"type": "resref",
@@ -13405,6 +13405,128 @@
"type": "float",
"value": 0.01000011898577213
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "CLAY, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep012"
},
"XOrientation": {
"type": "float",
"value": -0.8314697742462158
},
"XPosition": {
"type": "float",
"value": 16.76742935180664
},
"YOrientation": {
"type": "float",
"value": -0.5555699467658997
},
"YPosition": {
"type": "float",
"value": 83.76017761230469
},
"ZPosition": {
"type": "float",
"value": -5.7220458984375e-006
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "CLAY, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep012"
},
"XOrientation": {
"type": "float",
"value": 0.3826837241649628
},
"XPosition": {
"type": "float",
"value": 18.63476181030273
},
"YOrientation": {
"type": "float",
"value": -0.9238793849945068
},
"YPosition": {
"type": "float",
"value": 83.14923858642578
},
"ZPosition": {
"type": "float",
"value": 0.01000607013702393
}
}
]
}

View File

@@ -520,7 +520,7 @@
},
"CR": {
"type": "float",
"value": 0.3333333432674408
"value": 0.5
},
"ResRef": {
"type": "resref",
@@ -897,7 +897,7 @@
},
"CR": {
"type": "float",
"value": 0.3333333432674408
"value": 0.5
},
"ResRef": {
"type": "resref",
@@ -1190,7 +1190,7 @@
},
"CR": {
"type": "float",
"value": 0.3333333432674408
"value": 0.5
},
"ResRef": {
"type": "resref",
@@ -1487,7 +1487,7 @@
},
"CR": {
"type": "float",
"value": 0.3333333432674408
"value": 0.5
},
"ResRef": {
"type": "resref",
@@ -1784,7 +1784,7 @@
},
"CR": {
"type": "float",
"value": 0.3333333432674408
"value": 0.5
},
"ResRef": {
"type": "resref",
@@ -6174,189 +6174,6 @@
"WaypointList": {
"type": "list",
"value": [
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "METAL01, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep010"
},
"XOrientation": {
"type": "float",
"value": 0.0
},
"XPosition": {
"type": "float",
"value": 49.49417114257813
},
"YOrientation": {
"type": "float",
"value": 1.0
},
"YPosition": {
"type": "float",
"value": 64.24769592285156
},
"ZPosition": {
"type": "float",
"value": 0.2499999850988388
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "METAL01, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep010"
},
"XOrientation": {
"type": "float",
"value": 0.8932240009307861
},
"XPosition": {
"type": "float",
"value": 33.23796844482422
},
"YOrientation": {
"type": "float",
"value": 0.4496119320392609
},
"YPosition": {
"type": "float",
"value": 69.30213928222656
},
"ZPosition": {
"type": "float",
"value": 0.2499996721744537
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "METAL01, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep010"
},
"XOrientation": {
"type": "float",
"value": -0.5555790662765503
},
"XPosition": {
"type": "float",
"value": 49.76737976074219
},
"YOrientation": {
"type": "float",
"value": -0.8314636945724487
},
"YPosition": {
"type": "float",
"value": 75.85926818847656
},
"ZPosition": {
"type": "float",
"value": 0.2499995231628418
}
},
{
"__struct_id": 5,
"Appearance": {
@@ -6636,6 +6453,311 @@
"type": "float",
"value": 0.0
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "METAL02, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep013"
},
"XOrientation": {
"type": "float",
"value": 0.6343934535980225
},
"XPosition": {
"type": "float",
"value": 38.73237991333008
},
"YOrientation": {
"type": "float",
"value": -0.7730103135108948
},
"YPosition": {
"type": "float",
"value": 76.04955291748047
},
"ZPosition": {
"type": "float",
"value": 0.2440319061279297
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "METAL02, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep013"
},
"XOrientation": {
"type": "float",
"value": 0.4275552928447723
},
"XPosition": {
"type": "float",
"value": 48.48181915283203
},
"YOrientation": {
"type": "float",
"value": -0.9039891958236694
},
"YPosition": {
"type": "float",
"value": 75.98097991943359
},
"ZPosition": {
"type": "float",
"value": 0.2499961853027344
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "METAL01, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep010"
},
"XOrientation": {
"type": "float",
"value": 0.8932240009307861
},
"XPosition": {
"type": "float",
"value": 33.87748718261719
},
"YOrientation": {
"type": "float",
"value": 0.4496119320392609
},
"YPosition": {
"type": "float",
"value": 38.83402252197266
},
"ZPosition": {
"type": "float",
"value": 0.2499961853027344
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "METAL02, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep013"
},
"XOrientation": {
"type": "float",
"value": -0.817584753036499
},
"XPosition": {
"type": "float",
"value": 50.33624267578125
},
"YOrientation": {
"type": "float",
"value": 0.5758082866668701
},
"YPosition": {
"type": "float",
"value": 64.07465362548828
},
"ZPosition": {
"type": "float",
"value": 0.2499961853027344
}
},
{
"__struct_id": 5,
"Appearance": {
"type": "byte",
"value": 3
},
"Description": {
"type": "cexolocstring",
"value": {}
},
"HasMapNote": {
"type": "byte",
"value": 0
},
"LinkedTo": {
"type": "cexostring",
"value": ""
},
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "METAL02, offset 0"
}
},
"MapNote": {
"type": "cexolocstring",
"value": {}
},
"MapNoteEnabled": {
"type": "byte",
"value": 0
},
"Tag": {
"type": "cexostring",
"value": "cnr_resourcepoint"
},
"TemplateResRef": {
"type": "resref",
"value": "cnr_resourcep013"
},
"XOrientation": {
"type": "float",
"value": 0.9891765117645264
},
"XPosition": {
"type": "float",
"value": 33.92621994018555
},
"YOrientation": {
"type": "float",
"value": -0.1467303484678268
},
"YPosition": {
"type": "float",
"value": 70.26404571533203
},
"ZPosition": {
"type": "float",
"value": 0.2499961853027344
}
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -72,7 +72,28 @@ void main()
// This section (new to V3.05, similar to CnrBirdOnDeathInitialize) allows
// for easy setup of item drops upon the death of the identified mob.
//:: Stink Beetles
CnrMobOnDeathInitialize("cnrBeetleStink", "cnrStinkGland");
//CnrMobOnDeathInitialize("zep_beetlestnkf", "cnrStinkGland"); // <-- Too small to harvest
CnrMobOnDeathInitialize("zep_beetlestnkt", "cnrStinkGland");
CnrMobOnDeathInitialize("zep_beetlestnkh", "cnrStinkGland");
CnrMobOnDeathInitialize("btlstink001", "cnrStinkGland");
CnrMobOnDeathInitialize("nw_btlstink", "cnrStinkGland");
//:: Bombadier Beetles
CnrMobOnDeathInitialize("cnrBeetleBomber", "cnrBellBomb");
CnrMobOnDeathInitialize("zep_beetlebomb", "cnrBellBomb");
CnrMobOnDeathInitialize("udbombbeetle", "cnrBellBomb");
CnrMobOnDeathInitialize("nw_btlbomb", "cnrBellBomb");
//:: Fire Beetles
CnrMobOnDeathInitialize("nw_btlfire", "nw_it_msmlmisc08");
CnrMobOnDeathInitialize("nw_btlfire02", "nw_it_msmlmisc08");
CnrMobOnDeathInitialize("zep_beetlefireh", "nw_it_msmlmisc08");
CnrMobOnDeathInitialize("zep_beetlespith", "nw_it_msmlmisc08");
CnrMobOnDeathInitialize("zep_beetlefiret", "nw_it_msmlmisc08");
CnrMobOnDeathInitialize("zep_beetlespitt", "nw_it_msmlmisc08");
}

View File

@@ -0,0 +1,113 @@
//:://////////////////////////////////////////////////
//:: NW_C2_DEFAULT7
/*
Default OnDeath event handler for NPCs.
Adjusts killer's alignment if appropriate and
alerts allies to our death.
*/
//:://////////////////////////////////////////////////
//:: Copyright (c) 2002 Floodgate Entertainment
//:: Created By: Naomi Novik
//:: Created On: 12/22/2002
//:://////////////////////////////////////////////////
//:://////////////////////////////////////////////////
//:: Modified By: Deva Winblood
//:: Modified On: April 1st, 2008
//:: Added Support for Dying Wile Mounted
//:://///////////////////////////////////////////////
const string sHenchSummonedFamiliar = "HenchSummonedFamiliar";
const string sHenchSummonedAniComp = "HenchSummonedAniComp";
const string sHenchLastHeardOrSeen = "LastSeenOrHeard";
#include "x2_inc_compon"
#include "x0_i0_spawncond"
// Clears the last unheard, unseen enemy location
void ClearEnemyLocation();
void main()
{
object oKiller = GetLastKiller();
object oMaster = GetMaster();
int nAlign = GetAlignmentGoodEvil(OBJECT_SELF);
if(GetLocalInt(GetModule(), "X3_ENABLE_MOUNT_DB") && GetIsObjectValid(oMaster))
SetLocalInt(oMaster, "bX3_STORE_MOUNT_INFO", TRUE);
// If we're a good/neutral commoner,
// adjust the killer's alignment evil
if(GetLevelByClass(CLASS_TYPE_COMMONER)
&& (nAlign == ALIGNMENT_GOOD || nAlign == ALIGNMENT_NEUTRAL))
{
AdjustAlignment(oKiller, ALIGNMENT_EVIL, 5);
}
//Start Hench AI
if(GetLocalInt(OBJECT_SELF, "GaveHealing"))
{
// Pausanias: destroy potions of healing
object oItem = GetFirstItemInInventory();
while(GetIsObjectValid(oItem))
{
if(GetTag(oItem) == "NW_IT_MPOTION003")
DestroyObject(oItem);
oItem = GetNextItemInInventory();
}
}
if(GetLocalInt(OBJECT_SELF, sHenchSummonedFamiliar))
{
object oFam = GetLocalObject(OBJECT_SELF, sHenchSummonedFamiliar);
if(GetIsObjectValid(oFam))
{
//if(DEBUG) DoDebug(GetName(OBJECT_SELF) + " destroy familiar");
DestroyObject(oFam, 0.1);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_UNSUMMON), GetLocation(oFam));
}
}
if(GetLocalInt(OBJECT_SELF, sHenchSummonedAniComp))
{
object oAni = GetLocalObject(OBJECT_SELF, sHenchSummonedAniComp);
if(GetIsObjectValid(oAni))
{
//if(DEBUG) DoDebug(GetName(OBJECT_SELF) + " destroy ani comp");
DestroyObject(oAni, 0.1);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_UNSUMMON), GetLocation(oAni));
}
}
ClearEnemyLocation();
//End Hench AI
// Call to allies to let them know we're dead
SpeakString("NW_I_AM_DEAD", TALKVOLUME_SILENT_TALK);
//Shout Attack my target, only works with the On Spawn In setup
SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK);
// NOTE: the OnDeath user-defined event does not
// trigger reliably and should probably be removed
if(GetSpawnInCondition(NW_FLAG_DEATH_EVENT))
SignalEvent(OBJECT_SELF, EventUserDefined(1007));
craft_drop_items(oKiller);
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
}
void ClearEnemyLocation()
{
DeleteLocalInt(OBJECT_SELF, sHenchLastHeardOrSeen);
DeleteLocalLocation(OBJECT_SELF, sHenchLastHeardOrSeen);
object oInvisTarget = GetLocalObject(OBJECT_SELF, sHenchLastHeardOrSeen);
if (GetIsObjectValid(oInvisTarget))
{
DestroyObject(oInvisTarget);
DeleteLocalObject(OBJECT_SELF, sHenchLastHeardOrSeen);
}
}