Working on scripts

This commit is contained in:
Vladislav Khorev committed 2026-05-17 14:39:02 +03:00
1 parent c086fe1ef0
commit 4044acefb2
35 files changed
+107190 -185

No files matched your search

+3
View File
@@ -3,6 +3,7 @@
{
"name": "Plane",
"texturePath": "resources/w/exterior/Segmented_Plane002.png",
"textureDarkandsPath": "resources/w/exterior/darklands_Segmented_Plane002.png",
"meshPath": "resources/w/exterior/Segmented_Plane002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
@@ -16,6 +17,7 @@
{
"name": "door",
"texturePath": "resources/w/exterior/door002.png",
"textureDarkandsPath": "resources/w/exterior/darklands_door002.png",
"meshPath": "resources/w/exterior/ext_door001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
@@ -29,6 +31,7 @@
{
"name": "inai",
"texturePath": "resources/w/exterior/Ext_Building004.png",
"textureDarkandsPath": "resources/w/exterior/darklands_Ext_Building004.png",
"meshPath": "resources/w/exterior/ext_building001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
-12
View File
@@ -48,18 +48,6 @@
"positionZ": 0.0,
"scale": 1.0
},
{
"name": "Bed001",
"texturePath": "resources/w/dorm/ikea_bed_bake002.png",
"meshPath": "resources/w/dorm/ikea_bed001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0
},
{
"name": "Chair001",
"texturePath": "resources/w/dorm/ikea_chair_bake002.png",
@@ -0,0 +1,176 @@
{
"objects": [
{
"name": "Plane",
"texturePath": "resources/w/exterior/Segmented_Plane002.png",
"textureDarkandsPath": "resources/w/exterior/darklands_Segmented_Plane002.png",
"meshPath": "resources/w/exterior/Segmented_Plane002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": 0.0,
"positionZ": 0.0,
"scale": 1.0,
"interactive": false
},
{
"name": "door",
"texturePath": "resources/w/exterior/door002.png",
"textureDarkandsPath": "resources/w/exterior/darklands_door002.png",
"meshPath": "resources/w/exterior/ext_door001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": 0.0,
"positionZ": 0.0,
"scale": 1.0,
"interactive": false
},
{
"name": "inai",
"texturePath": "resources/w/exterior/Ext_Building004.png",
"textureDarkandsPath": "resources/w/exterior/darklands_Ext_Building004.png",
"meshPath": "resources/w/exterior/ext_building001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": 0.0,
"positionZ": 0.0,
"scale": 1.0,
"interactive": false
},
{
"name": "tree001",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": -1.5707963267948966,
"rotationZ": 0.0,
"positionX": 10.0,
"positionY": 0.0,
"positionZ": 12.0,
"scale": 1.0,
"interactive": false
},
{
"name": "tree002",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": 1.5707963267948966,
"rotationZ": 0.0,
"positionX": -12,
"positionY": 0.0,
"positionZ": 19.0,
"scale": 1.0,
"interactive": false
},
{
"name": "tree003",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -12.0,
"positionY": 0.0,
"positionZ": 8.0,
"scale": 1.0,
"interactive": false
},
{
"name": "tree004",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": -1.5707963267948966,
"rotationZ": 0.0,
"positionX": -12.0,
"positionY": 0.0,
"positionZ": 0.0,
"scale": 1.0,
"interactive": false
},
{
"name": "tree005",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": 1.5707963267948966,
"rotationZ": 0.0,
"positionX": -12.0,
"positionY": 0.0,
"positionZ": -8.0,
"scale": 1.0,
"interactive": false
},
{
"name": "tree006",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 8.49915,
"positionY": 0.0,
"positionZ": -2.59884,
"scale": 1.0,
"interactive": false
},
{
"name": "tree007",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": -1.5707963267948966,
"rotationZ": 0.0,
"positionX": 14.5936,
"positionY": 0.0,
"positionZ": 5.3401,
"scale": 1.0,
"interactive": false
},
{
"name": "tree008",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": 1.5707963267948966,
"rotationZ": 0.0,
"positionX": 23.9295,
"positionY": 0.0,
"positionZ": 9.00583,
"scale": 1.0,
"interactive": false
},
{
"name": "tree009",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 29.8128,
"positionY": 0.0,
"positionZ": -1.45278,
"scale": 1.0,
"interactive": false
},
{
"name": "tree010",
"texturePath": "resources/w/exterior/tree001.png",
"meshPath": "resources/w/exterior/tree003.txt",
"rotationX": 0.0,
"rotationY": -1.5707963267948966,
"rotationZ": 0.0,
"positionX": 33.1771,
"positionY": 0.0,
"positionZ": 14.609,
"scale": 1.0,
"interactive": false
}
]
}
@@ -3,6 +3,7 @@
{
"name": "Plane",
"texturePath": "resources/w/exterior/Segmented_Plane002.png",
"textureDarkandsPath" : "resources/w/exterior/darklands_Segmented_Plane002.png",
"meshPath": "resources/w/exterior/Segmented_Plane002.txt",
"rotationX": 0.0,
"rotationY": 0.0,
@@ -15,6 +16,7 @@
{
"name": "door",
"texturePath": "resources/w/exterior/door002.png",
"textureDarkandsPath" : "resources/w/exterior/darklands_door002.png",
"meshPath": "resources/w/exterior/ext_door001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
@@ -76,6 +78,7 @@
{
"name": "stairs",
"texturePath": "resources/w/exterior/Staircase001.png",
"textureDarkandsPath" : "resources/w/interior/darklands_Staircase001.png",
"meshPath": "resources/w/exterior/int_stairs001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
@@ -27,6 +27,20 @@
"scale": 1.0,
"interactionRadius": 0.3,
"activateFunction": "on_journal_pickup"
}
},
{
"name": "Bed001",
"texturePath": "resources/w/dorm/ikea_bed_bake002.png",
"meshPath": "resources/w/dorm/ikea_bed001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 0.0,
"positionY": -0.1,
"positionZ": 0.0,
"scale": 1.0,
"interactionRadius": 1.0,
"activateFunction": "on_bed_sleep"
}
]
}
@@ -0,0 +1,18 @@
{
"objects": [
{
"name": "Container001",
"texturePath": "resources/w/exterior/ikea_container001.png",
"meshPath": "resources/w/exterior/ikea_container001_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": 4.74077,
"positionY": 0.0,
"positionZ": 16.9085,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_container_clicked"
}
]
}
@@ -13,6 +13,20 @@
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_bookshelf_clicked"
},
{
"name": "BookshelfTeacher001",
"texturePath": "resources/w/interior/ikea_bookshelf001_tex001.png",
"meshPath": "resources/w/interior/ikea_bookshelf_teacher001_001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -4.94591,
"positionY": 0.96841,
"positionZ": 0.430933,
"scale": 1.0,
"interactionRadius": 0.5,
"activateFunction": "on_bookshelf_teacher_clicked"
},
{
"name": "Computer001",
@@ -52,9 +66,23 @@
"positionX": 1.97952,
"positionY": 0.95746,
"positionZ": 0.85755,
"scale": 0.5,
"scale": 1.0,
"interactionRadius": 0.3,
"activateFunction": "on_book_pickup"
},
{
"name": "ReportCard001",
"texturePath": "resources/w/interior/report_card_tex001.png",
"meshPath": "resources/w/interior/book001.txt",
"rotationX": 0.0,
"rotationY": 0.0,
"rotationZ": 0.0,
"positionX": -5.10169,
"positionY": 0.95746,
"positionZ": 0.440886,
"scale": 1.0,
"interactionRadius": 0.3,
"activateFunction": "on_report_card_pickup"
},
{
"name": "Note001",
+4
View File
@@ -0,0 +1,4 @@
{
"npcs": [
]
}
@@ -0,0 +1,30 @@
{
"teleports": [
{
"id": "tp_loc2_to_loc1",
"positionX": 8.2,
"positionY": 0.0,
"positionZ": -9.9,
"radius": 1.5,
"active": true,
"destinationLocation": "uni_interior",
"destinationPositionX": 2.64621,
"destinationPositionY": 0.0,
"destinationPositionZ": -9.37259,
"destinationRotationY": -1.5708
},
{
"id": "tp_loc2_to_dorm",
"positionX": -21.7327,
"positionY": 0.0,
"positionZ": -34.1036,
"radius": 2.5,
"active": true,
"destinationLocation": "location_dorm",
"destinationPositionX": -8.32343,
"destinationPositionY": 0.0,
"destinationPositionZ": -0.152264,
"destinationRotationY": 1.5708
}
]
}
@@ -0,0 +1,29 @@
{
"trigger_zones": [
{
"id": "darklands_exit001",
"positionX": 11.747,
"positionY": 0.0,
"positionZ": -6.34282,
"radius": 3.0,
"hysteresis": 0.5,
"enabled": true
},{
"id": "darklands_exit002",
"positionX": 13.3522,
"positionY": 0.0,
"positionZ": -10.0046,
"radius": 3.0,
"hysteresis": 0.5,
"enabled": true
},{
"id": "darklands_exit002",
"positionX": 9.92273,
"positionY": 0.0,
"positionZ": -15.5795,
"radius": 3.0,
"hysteresis": 0.5,
"enabled": true
}
]
}