diff --git a/data/.gitignore b/data/.gitignore new file mode 100644 index 0000000..cd0d007 --- /dev/null +++ b/data/.gitignore @@ -0,0 +1 @@ +*.sh \ No newline at end of file diff --git a/data/randomizer/c10m1_caves.json b/data/randomizer/c10m1_caves.json new file mode 100644 index 0000000..8b5b434 --- /dev/null +++ b/data/randomizer/c10m1_caves.json @@ -0,0 +1,599 @@ +{ + "start-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/fence001_256.mdl", + "origin": [ + -11915.904296875, + -12439.828125, + -60.114044189453125 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_gate_post001.mdl", + "origin": [ + -12040.8154296875, + -12440.0732421875, + -62.587799072265625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_physics", + "model": "models/props_fairgrounds/traffic_barrel.mdl", + "origin": [ + -12271.28125, + -12510.3125, + -63.125 + ], + "angles": [ + 0.087890625, + 0.966796875, + 359.560546875 + ] + }, + { + "type": "prop_physics", + "model": "models/props_fortifications/traffic_barrier001.mdl", + "origin": [ + -12264.34375, + -12558.25, + -62.9375 + ], + "angles": [ + 0.1318359375, + 87.978515625, + 0.17578125 + ] + }, + { + "type": "prop_physics", + "model": "models/props_fortifications/traffic_barrier001.mdl", + "origin": [ + -12400.53125, + -12547.3125, + -62.28125 + ], + "angles": [ + 1.1865234375, + 89.82421875, + 359.7802734375 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/traffic_barrier001.mdl", + "origin": [ + -12461.025390625, + -12550.9521484375, + -61.31549072265625 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/concrete_barrier001_96_reference.mdl", + "origin": [ + -12499.2900390625, + -12445.533203125, + -63.105915069580078 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/concrete_barrier001_96_reference.mdl", + "origin": [ + -12300.2607421875, + -12462.9755859375, + -61.908607482910156 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_physics", + "model": "models/props_fortifications/traffic_barrier001.mdl", + "origin": [ + -12329.875, + -12550.34375, + -62.6875 + ], + "angles": [ + 0.52734375, + 90.0, + 0.263671875 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_street/traffic_plate_01.mdl", + "origin": [ + -12011.859375, + -11149.666015625, + -171.25546264648438 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + -12025.38671875, + -11109.0146484375, + -173.74700927734375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/barricade_short03a.mdl", + "origin": [ + -11998.8330078125, + -11170.7001953125, + -393.74703979492188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [] + } + ] + }, + "tunnel-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/fence002_256.mdl", + "origin": [ + -12305.330078125, + -8201.26953125, + -63.470260620117188 + ], + "angles": [ + 0.0, + -80.900001525878906, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence001_64.mdl", + "origin": [ + -12146.9091796875, + -8174.53955078125, + -54.375919342041016 + ], + "angles": [ + 0.0, + -78.899993896484375, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence002_128.mdl", + "origin": [ + -12428.767578125, + -8222.787109375, + -56.350173950195312 + ], + "angles": [ + 0.0, + -83.5, + 0.0 + ] + } + ] + } + ] + }, + "tunnel-fireblock": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_debris/barricade_short04a.mdl", + "origin": [ + -12780.0078125, + -7097.87060546875, + -37.269058227539062 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/barricade_tall03a.mdl", + "origin": [ + -12771.693359375, + -6939.4716796875, + -15.0430908203125 + ], + "angles": [ + -7.8000001907348633, + -21.700000762939453, + 0.0 + ] + }, + { + "type": "prop_physics", + "model": "models/props_junk/gascan001a.mdl", + "origin": [ + -12908.59765625, + -7023.974609375, + -36.187385559082031 + ], + "angles": [ + 52.600002288818359, + 24.700000762939453, + 0.0 + ] + }, + { + "type": "env_fire", + "origin": [ + -12889.045898, + -7018.3886709999997, + -40.51285 + ] + }, + { + "type": "env_fire", + "origin": [ + -12851.631835, + -6968.077636, + -30.222570000000001 + ], + "angles": [ + 45, + 0, + 0 + ] + } + ] + } + ] + }, + "door-lock": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [], + "inputs": [ + { + "hammerid": 1176407, + "input": "_lock" + }, + { + "hammerid": 1174506, + "input": "open" + } + ] + } + ] + }, + "ladder-block": { + "chance": 0.20000000298023224, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + -12891.716796875, + -5499.43408203125, + -375.98797607421875 + ], + "angles": [ + 98.399986267089844, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "fence-alt": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_wasteland/exterior_fence002c.mdl", + "origin": [ + -11697.9765625, + -5341.73388671875, + 40.727149963378906 + ], + "angles": [ + 0.0, + 211.90000915527344, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/exterior_fence002c.mdl", + "origin": [ + -11771.2158203125, + -5253.40869140625, + -9.2329940795898438 + ], + "angles": [ + 0.0, + 239.49998474121094, + 0.0 + ] + } + ] + } + ] + }, + "rock-alt": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock03.mdl", + "origin": [ + -11555.7490234375, + -5646.8154296875, + -1.5729141235351562 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock06.mdl", + "origin": [ + -11642.9599609375, + -5857.23828125, + -37.6112060546875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "saferoom-alt": { + "chance": 0.43000000715255737, + "variants": [ + { + "weight": 1, + "inputs": [ + { + "hammerid": 770179, + "input": "_allow_ladder" + } + ], + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_64_reference.mdl", + "origin": [ + -10650.54296875, + -5183.9306640625, + 287.97222900390625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + -10638.3193359375, + -5217.85693359375, + 337.71017456054688 + ], + "angles": [ + 0.0, + 90.0, + -90.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + -10769.931640625, + -5217.52197265625, + 336.56390380859375 + ], + "angles": [ + 0.0, + 90.0, + -90.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/porch_light003.mdl", + "origin": [ + -10522.001953125, + -4792.03125, + 704.442138671875 + ], + "angles": [ + 0.0, + -270.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + -10522.001953125, + -4810.03125, + 704.442138671875 + ], + "angles": [ + 90.0, + -180.0, + 0.0 + ], + "color": [ + 120, + 120, + 60, + 1 + ], + "scale": [ + 400, + 0, + 0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + -10335.0615234375, + -5002.806640625, + 427.35598754882812 + ], + "angles": [ + 0.0, + -45.0, + 45.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock01.mdl", + "origin": [ + -10480.419921875, + -4864.09765625, + 454.80535888671875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + -10456.0576171875, + -4847.4453125, + 554.75408935546875 + ], + "angles": [ + 30.0, + 15.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock03.mdl", + "origin": [ + -10554.8017578125, + -4835.55224609375, + 476.7152099609375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + -10572.90625, + -4879.24169921875, + 625.75018310546875 + ], + "angles": [ + 45.0, + 0.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c10m2_drainage.json b/data/randomizer/c10m2_drainage.json new file mode 100644 index 0000000..f58cf14 --- /dev/null +++ b/data/randomizer/c10m2_drainage.json @@ -0,0 +1,530 @@ +{ + "alt-ladder": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_street/traffic_plate_01.mdl", + "origin": [ + -10016.1005859375, + -7453.35009765625, + -443.93463134765625 + ], + "angles": [ + 0.0, + 65.800003051757812, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + -9980.8916015625, + -7454.259765625, + -446.35482788085938 + ], + "angles": [ + 6.5, + 96.599983215332031, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_01.mdl", + "origin": [ + -10039.8486328125, + -7452.08349609375, + -442.5953369140625 + ], + "angles": [ + 0.0, + -112.29999542236328, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/ladderrung.mdl", + "origin": [ + -10059.0595703125, + -7390.3544921875, + -677.887939453125 + ], + "angles": [ + 0.0, + 45.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/ladderrung.mdl", + "origin": [ + -10057.9013671875, + -7389.39404296875, + -544.333251953125 + ], + "angles": [ + 0.0, + 45.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/ladderrung.mdl", + "origin": [ + -10058.5615234375, + -7395.09228515625, + -426.95465087890625 + ], + "angles": [ + 0.0, + 30.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 1583809, + "input": "_allow_ladder" + } + ] + } + ] + }, + "waterway-ladder-alt": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + -8930.275390625, + -8305.8193359375, + -526.576171875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + -8927.1025390625, + -8303.8466796875, + -486.80609130859375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/plywood_leaning.mdl", + "origin": [ + -8846.89453125, + -8349.9345703125, + -530.11968994140625 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/ladder1.mdl", + "origin": [ + -8734.3857421875, + -7945.22119140625, + -476.2889404296875 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 1679580, + "input": "_allow_ladder" + } + ] + } + ] + }, + "roof-alt": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/fence001_64.mdl", + "origin": [ + -5908.875, + -6840.61328125, + -61.745254516601562 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence001_256.mdl", + "origin": [ + -6067.8837890625, + -6839.52099609375, + -62.629035949707031 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/wire_spool_01.mdl", + "origin": [ + -6148.74169921875, + -6951.2216796875, + -61.686874389648438 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence003_128.mdl", + "origin": [ + -6710.89013671875, + -7085.50830078125, + 472.45050048828125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence003_128.mdl", + "origin": [ + -6712.5966796875, + -6959.93310546875, + 469.82257080078125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence003_128.mdl", + "origin": [ + -6713.5087890625, + -6834.75390625, + 469.48907470703125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence003_128.mdl", + "origin": [ + -6713.37158203125, + -6709.55908203125, + 470.7098388671875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence003_128.mdl", + "origin": [ + -6713.6767578125, + -6583.19189453125, + 469.44522094726562 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence003_128.mdl", + "origin": [ + -6715.5146484375, + -6334.43505859375, + 469.35049438476562 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence003_64.mdl", + "origin": [ + -6714.8935546875, + -6254.423828125, + 469.8001708984375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence003_128.mdl", + "origin": [ + -6714.603515625, + -6458.64208984375, + 469.80709838867188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/billboard_ladder.mdl", + "origin": [ + -6209.619140625, + -6946.55859375, + 11.12042236328125 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal.mdl", + "origin": [ + -6361.5263671875, + -6393.09130859375, + 216.33383178710938 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal1.mdl", + "origin": [ + -6471.91845703125, + -6269.70703125, + 212.80351257324219 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/ladder1.mdl", + "origin": [ + -6667.130859375, + -5986.68603515625, + 132.356689453125 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_nuke/truck_nuke.mdl", + "origin": [ + -6630.9296875, + -5707.212890625, + -66.292953491210938 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_nuke/truck_nuke_glass.mdl", + "origin": [ + -6630.9296875, + -5707.212890625, + -66.292953491210938 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 1653137, + "input": "_allow_ladder" + }, + { + "hammerid": 1653137, + "input": "_allow_ladder" + }, + { + "hammerid": 1015679, + "input": "_allow_ladder" + }, + { + "targetname": "anv_mapfixes_cliprework_endrooftop1", + "input": "kill" + } + ] + } + ] + }, + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + -8697.275390625, + -5595.60107421875, + 57.812667846679688 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "saferoom-alt": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_update/plywood_128.mdl", + "origin": [ + -7509.79150390625, + -5562.42529296875, + 34.086753845214844 + ], + "angles": [ + 90.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + -7640.58154296875, + -5770.73583984375, + -35.000396728515625 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -7585.4267578125, + -5679.76123046875, + -64.071990966796875 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + -7641.6396484375, + -5904.57666015625, + -32.868637084960938 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c10m3_ranchhouse.json b/data/randomizer/c10m3_ranchhouse.json new file mode 100644 index 0000000..f98a685 --- /dev/null +++ b/data/randomizer/c10m3_ranchhouse.json @@ -0,0 +1,872 @@ +{ + "start-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_industrial/plywood_leaning.mdl", + "origin": [ + -9998.1240234375, + -5976.8115234375, + -63.740894317626953 + ], + "angles": [ + 0.0, + 30.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/train_box_small.mdl", + "origin": [ + -9974.2880859375, + -6118.11669921875, + -61.716838836669922 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_prodigy/concretebags.mdl", + "origin": [ + -10025.2666015625, + -5883.22998046875, + -65.923904418945312 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "walkway-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/train_box.mdl", + "origin": [ + -12207.1220703125, + -6945.41943359375, + -66.533561706542969 + ], + "angles": [ + 0.0, + -72.200004577636719, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_unique/spawn_apartment/lantern.mdl", + "origin": [ + -12300.4228515625, + -6279.44140625, + -6.6623954772949219 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + -12300.4228515625, + -6279.44140625, + 5.0 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ], + "color": [ + 128, + 128, + 40, + 6 + ], + "scale": [ + 100, + 0, + 0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + -12293.5595703125, + -6241.08203125, + -8.5262908935546875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_street/concertinawire128.mdl", + "origin": [ + -12818.419921875, + -6406.57861328125, + 296.95367431640625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_street/concertinawire128.mdl", + "origin": [ + -12813.16796875, + -6279.060546875, + 298.1142578125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "scale": [ + 24.0, + 1300.0, + 640.0 + ], + "type": "env_physics_blocker", + "model": "", + "origin": [ + -12811.0, + -7486.0, + 344.0 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_street/concertinawire128.mdl", + "origin": [ + -12810.900390625, + -6157.501953125, + 299.74493408203125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_street/concertinawire128.mdl", + "origin": [ + -12746.685546875, + -6075.103515625, + 322.720947265625 + ], + "angles": [ + -15.0, + -75.0, + 15.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_street/concertinawire128.mdl", + "origin": [ + -12551.65625, + -6054.7998046875, + 331.41900634765625 + ], + "angles": [ + -15.0, + -75.0, + -15.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_prodigy/concretebags3.mdl", + "origin": [ + -12432.1708984375, + -6864.7158203125, + 84.238723754882812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_prodigy/concretebags2.mdl", + "origin": [ + -12381.8740234375, + -6858.4208984375, + 84.783782958984375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/billboard_ladder.mdl", + "origin": [ + -12729.07421875, + -6439.4619140625, + -115.20359039306641 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "env_physics_blocker", + "origin": [ + -12661.723631999999, + -6030.2387689999996, + 390.03125 + ], + "scale": [ + 200, + 20, + 100 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_lighting/light_construction.mdl", + "origin": [ + -12687.447265625, + -6462.37060546875, + 327.71231079101562 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + -12687.447265625, + -6462.37060546875, + 325.71231079101562 + ], + "color": [ + 255, + 174, + 66, + 1 + ], + "scale": [ + 100, + 0, + 0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/lightsconce02.mdl", + "origin": [ + -12645.7490234375, + -6451.2509765625, + 65.456558227539062 + ], + "angles": [ + 0.0, + -75.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + -12645.7490234375, + -6461.2509765625, + 65.456558227539062 + ], + "color": [ + 255, + 255, + 255, + 1 + ], + "scale": [ + 200, + 0, + 0 + ] + } + ], + "inputs": [ + { + "hammerid": 1977470, + "input": "_allow_ladder" + } + ] + } + ] + }, + "bus-alt": { + "chance": 0.20000000298023224, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_exteriors/wood_stairs_120.mdl", + "origin": [ + -8811.7373046875, + -4662.97900390625, + -28.848186492919922 + ], + "angles": [ + 15.0, + -120.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_rock01.mdl", + "origin": [ + -8905.693359375, + -4749.5634765625, + -68.945755004882812 + ], + "angles": [ + 0.0, + 120.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_city01.mdl", + "origin": [ + -8567.6279296875, + -4586.8603515625, + 182.76356506347656 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_city01.mdl", + "origin": [ + -8520.4208984375, + -4515.20458984375, + 207.39697265625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_city01.mdl", + "origin": [ + -8515.80859375, + -4430.0283203125, + 216.67164611816406 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_shrubwall_256_deep.mdl", + "origin": [ + -8464.4404296875, + -4280.79052734375, + 257.256103515625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_city01.mdl", + "origin": [ + -8480.5703125, + -4208.1865234375, + 299.464111328125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_shrubwall_256_deep.mdl", + "origin": [ + -8350.72265625, + -3987.8447265625, + 299.40338134765625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_city01.mdl", + "origin": [ + -8415.7265625, + -4002.9345703125, + 325.5174560546875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_cluster01.mdl", + "origin": [ + -8178.10107421875, + -3823.930419921875, + 340.35406494140625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_city01.mdl", + "origin": [ + -8353.1552734375, + -3568.2080078125, + 339.48675537109375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_city01.mdl", + "origin": [ + -8432.44921875, + -3419.12890625, + 344.06353759765625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_tall_128.mdl", + "origin": [ + -8885.4365234375, + -3341.26611328125, + 89.478561401367188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/bus01_2.mdl", + "origin": [ + -10115.7216796875, + -3850.98583984375, + -51.557956695556641 + ], + "angles": [ + 0.0, + 30.0, + 0.0 + ] + } + ] + } + ] + }, + "road-block": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/flatnose_truck.mdl", + "origin": [ + -9240.6552734375, + -2012.052978515625, + -68.576622009277344 + ], + "angles": [ + 2.7999997138977051, + -69.800003051757812, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/semi_trailer.mdl", + "origin": [ + -9391.8505859375, + -1725.9949951171875, + -63.744346618652344 + ], + "angles": [ + 0.0, + -150.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_cluster01.mdl", + "origin": [ + -9060.8935546875, + -1981.488525390625, + -79.472511291503906 + ], + "angles": [ + 361.47744750976562, + 290.41342163085938, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_city01.mdl", + "origin": [ + -9137.193359375, + -1872.8369140625, + -66.923759460449219 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/tree_trunk_fallen.mdl", + "origin": [ + -9175.7890625, + -1948.06005859375, + -68.58587646484375 + ], + "angles": [ + 0.0, + 15.0, + -60.0 + ] + } + ] + } + ] + }, + "house-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/ladderwood.mdl", + "origin": [ + -7432.97314453125, + -1999.206787109375, + 79.5889892578125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + -7150.0849609375, + -1915.676025390625, + 10.239463806152344 + ], + "angles": [ + 97.099998474121094, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + -7290.74267578125, + -1960.7921142578125, + 19.227005004882812 + ], + "angles": [ + 90.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_furniture/dresser1.mdl", + "origin": [ + -7398.2978515625, + -2114.5703125, + 47.602935791015625 + ], + "angles": [ + -1.3999999761581421, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_01.mdl", + "origin": [ + -7476.78173828125, + -2402.757568359375, + 76.70550537109375 + ], + "angles": [ + -14.399998664855957, + 3.5999999046325684, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/pickup_truck_78.mdl", + "origin": [ + -7655.39990234375, + -2426.1650390625, + -35.162853240966797 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + -7299.39990234375, + -2275.986083984375, + 143.19889831542969 + ], + "angles": [ + -22.69999885559082, + 81.199996948242188, + 0.0 + ] + }, + { + "type": "infodecal", + "origin": [ + -7425.03125, + -1970.6417236328125, + 43.260505676269531 + ], + "model": "decals/checkpointarrow01_orange.vmt" + } + ], + "inputs": [ + { + "hammerid": 3585657, + "input": "_allow_ladder" + }, + { + "hammerid": 2531437, + "input": "_lock_nobreak" + } + ] + } + ] + }, + "test": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "infodecal", + "origin": [ + -7425.03125, + -2113.065185546875, + 120.91982269287109 + ], + "model": "decals/checkpointarrow01_orange.vmt" + } + ] + } + ] + }, + "church-bench-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "env_physics_blocker", + "origin": [ +-3030.610839, 1025.387817, 176.856323 + ], + "scale": [ + 50, 50, 100 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + -2886.108154296875, + 988.1993408203125, + 152.94607543945312 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_prodigy/concretebags2.mdl", + "origin": [ + -2879.0703125, + 1050.73486328125, + 151.86883544921875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_misc/tarp_lean.mdl", + "origin": [ + -3043.9990234375, + 967.62152099609375, + 153.176025390625 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_misc/bodybag_01/bodybag_01.mdl", + "origin": [ + -2975.43701171875, + 1031.024658203125, + 173.01751708984375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_misc/standing_tarp_narrow.mdl", + "origin": [ + -3103.696533203125, + 1034.6611328125, + 149.54476928710938 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c10m4_mainstreet.json b/data/randomizer/c10m4_mainstreet.json new file mode 100644 index 0000000..b22f717 --- /dev/null +++ b/data/randomizer/c10m4_mainstreet.json @@ -0,0 +1,1044 @@ +{ + "start-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/metal_pole001.mdl", + "origin": [ + -3077.85400390625, + -587.37005615234375, + 16.632408142089844 + ], + "angles": [ + -78.100006103515625, + 87.400001525878906, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/metal_pole001.mdl", + "origin": [ + -3047.4599609375, + -584.61297607421875, + 13.798984527587891 + ], + "angles": [ + -74.5, + 88.900009155273438, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_downtown/railing04_256.mdl", + "origin": [ + -3283.322509765625, + -759.43780517578125, + 56.297573089599609 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + } + ] + } + ] + }, + "store-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_interiors/shelvinggrocery01.mdl", + "origin": [ + -3059.07177734375, + -2101.567138671875, + -48.524745941162109 + ], + "angles": [ + -3.7000000476837158, + -87.299995422363281, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/hmmwv.mdl", + "origin": [ + -2967.53759765625, + -1996.6865234375, + -50.247592926025391 + ], + "angles": [ + 4.6000003814697266, + 90.799995422363281, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/lighthouse/props/wood_plank_128.mdl", + "origin": [ + -2952.69775390625, + -2087.302978515625, + 28.075748443603516 + ], + "angles": [ + 90.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/lighthouse/props/wood_plank_128.mdl", + "origin": [ + -2828.88671875, + -2087.210205078125, + 29.10877799987793 + ], + "angles": [ + 90.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/lighthouse/props/wood_plank_128.mdl", + "origin": [ + -2952.69775390625, + -2087.302978515625, + 48.075748443603516 + ], + "angles": [ + 90.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/lighthouse/props/wood_plank_128.mdl", + "origin": [ + -2828.88671875, + -2087.210205078125, + 49.10877799987793 + ], + "angles": [ + 90.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -2653.31494140625, + -1808.5572509765625, + -61.115554809570312 + ], + "angles": [ + 0.0, + 150.0, + 0.0 + ] + }, + { + "type": "env_player_blocker", + "origin": [ + -2720.2429189999998, + -1890.44165, + 41.382457000000002 + ], + "scale": [ + 60, + 40, + 80 + ] + } + ] + } + ] + }, + "bus-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/bus01_2.mdl", + "origin": [ + -1229.865478515625, + -1321.692626953125, + -62.991683959960938 + ], + "angles": [ + 0.0, + 15.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + -1293.3968505859375, + -1204.701171875, + -65.745742797851562 + ], + "angles": [ + 0.0, + 30.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -1263.7718505859375, + -1196.5823974609375, + -61.317760467529297 + ], + "angles": [ + 0.0, + -150.0, + 0.0 + ] + } + ] + } + ] + }, + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_physics", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + -1350.03125, + -2781.84375, + -47.5625 + ], + "angles": [ + 0.0, + 269.8681640625, + 0.17578125 + ] + } + ] + } + ] + }, + "bus-2": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/bus01_2.mdl", + "origin": [ + 1530.8623046875, + -1147.4859619140625, + 5.3739361763000488 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + } + ] + } + ] + }, + "van-up-alt": { + "chance": 0.5, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 2598.743896484375, + -2111.88671875, + 61.973171234130859 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + 2607.3896484375, + -2130.980224609375, + 65.154808044433594 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 2462.55224609375, + -2099.280517578125, + 54.807285308837891 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + 2462.55859375, + -2084.201171875, + 54.590476989746094 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 2343.31640625, + -2120.585205078125, + 58.241104125976562 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + 2350.137451171875, + -2093.274169921875, + 54.426013946533203 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/ceda_trailer_closed.mdl", + "origin": [ + 2026.471435546875, + -2318.116455078125, + 33.559989929199219 + ], + "angles": [ + 3.2999997138977051, + 177.60000610351562, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_equipment/metalladder002.mdl", + "origin": [ + 2718.921875, + -1743.96875, + 95.858322143554688 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_equipment/metalladder002.mdl", + "origin": [ + 2718.921875, + -1743.96875, + 225.85832214355469 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/furniture_lamp01a.mdl", + "origin": [ + 2901.518798828125, + -1802.595703125, + 369.54855346679688 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + 2901.518798828125, + -1802.595703125, + 369.54855346679688 + ], + "color": [ + 255, + 120, + 60, + 3 + ], + "scale": [ + 330, + 0, + 0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_office/desk_01.mdl", + "origin": [ + 2860.557373046875, + -2125.39013671875, + 335.87603759765625 + ], + "angles": [ + 0.0, + -45.5, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal1.mdl", + "origin": [ + 2926.966796875, + -2034.2320556640625, + 337.36669921875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/chair_office2.mdl", + "origin": [ + 2882.708740234375, + -2166.189453125, + 337.01690673828125 + ], + "angles": [ + 0.0, + 92.5, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/flower_barrel.mdl", + "origin": [ + 2903.974365234375, + -2208.59033203125, + 336.44699096679688 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/furniture_lamp01a.mdl", + "origin": [ + 2824.725830078125, + -2380.7138671875, + 369.36117553710938 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + 2824.725830078125, + -2380.7138671875, + 369.36117553710938 + ], + "color": [ + 255, + 120, + 60, + 2 + ], + "scale": [ + 240, + 0, + 0 + ] + } + ], + "variants": [ + { + "weight": 2, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/van.mdl", + "origin": [ + 2707.75244140625, + -1498.9013671875, + 88.477996826171875 + ], + "angles": [ + 0.10000038146972656, + 81.999992370605469, + -4.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/van_glass.mdl", + "origin": [ + 2707.75244140625, + -1498.9013671875, + 88.477996826171875 + ], + "angles": [ + 0.10000038146972656, + 81.999992370605469, + -4.0 + ] + } + ], + "inputs": [ + { + "hammerid": 2926408, + "input": "_allow_ladder" + }, + { + "targetname": "anv_mapfixes_cliprework_windows", + "input": "kill" + }, + { + "targetname": "anv_mapfixes_cliprework_balcony", + "input": "kill" + }, + { + "targetname": "anv_mapfixes_cliprework_awning", + "input": "kill" + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 2670.826416015625, + -2011.8172607421875, + 78.30047607421875 + ], + "angles": [ + 90.0, + 0.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 2926408, + "input": "_allow_ladder" + }, + { + "targetname": "anv_mapfixes_cliprework_windows", + "input": "kill" + }, + { + "targetname": "anv_mapfixes_cliprework_balcony", + "input": "kill" + }, + { + "targetname": "anv_mapfixes_cliprework_awning", + "input": "kill" + }, + { + "hammerid": 2740479, + "input": "_lock" + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_junk/dumpster_2.mdl", + "origin": [ + 1771.5364990234375, + -2206.287841796875, + 109.77334594726562 + ], + "angles": [ + -10.799999237060547, + 87.199996948242188, + 0.0 + ] + }, + { + "type": "_car", + "model": "models/props_vehicles/van.mdl", + "origin": [ + 1791.0679931640625, + -2096.375, + 23.955520629882812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 2926408, + "input": "_allow_ladder" + }, + { + "targetname": "anv_mapfixes_cliprework_windows", + "input": "kill" + }, + { + "targetname": "anv_mapfixes_cliprework_balcony", + "input": "kill" + } + ] + } + ] + }, + "FRED": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3537.0546875, + -4178.2451171875, + 42.308437347412109 + ], + "angles": [ + 0.0, + 90.800003051757812, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3561.50537109375, + -4243.30712890625, + 46.845859527587891 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3501.950439453125, + -4199.38720703125, + 43.789276123046875 + ], + "angles": [ + 0.0, + 56.200000762939453, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3477.67236328125, + -4222.869140625, + 45.431827545166016 + ], + "angles": [ + 0.0, + 56.200000762939453, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3496.946533203125, + -4190.05078125, + 50.712352752685547 + ], + "angles": [ + 0.0, + 79.900009155273438, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3504.73046875, + -4200.3515625, + 43.856182098388672 + ], + "angles": [ + 0.0, + 79.900009155273438, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3504.789306640625, + -4217.67919921875, + 45.065544128417969 + ], + "angles": [ + 0.0, + 76.400001525878906, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3500.93212890625, + -4234.46533203125, + 46.237728118896484 + ], + "angles": [ + 0.0, + 76.400001525878906, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3508.8271484375, + -4181.205078125, + 42.519214630126953 + ], + "angles": [ + 0.0, + 79.900009155273438, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3488.02392578125, + -4195.64306640625, + 59.923595428466797 + ], + "angles": [ + 0.0, + 79.900009155273438, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3476.1689453125, + -4200.9619140625, + 69.242889404296875 + ], + "angles": [ + 0.0, + 79.900009155273438, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3483.625244140625, + -4212.236328125, + 61.122882843017578 + ], + "angles": [ + 0.0, + 79.900009155273438, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3494.322265625, + -4206.44873046875, + 52.634510040283203 + ], + "angles": [ + 0.0, + 79.900009155273438, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 3489.544677734375, + -4222.20556640625, + 55.098117828369141 + ], + "angles": [ + 0.0, + 79.900009155273438, + 0.0 + ] + } + ] + } + ] + }, + "storefront-break": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [], + "inputs": [ + { + "hammerid": 5503133, + "input": "break" + }, + { + "hammerid": 1239079, + "input": "break" + }, + { + "hammerid": 1239085, + "input": "break" + }, + { + "hammerid": 1239082, + "input": "break" + }, + { + "hammerid": 1239076, + "input": "break" + }, + { + "hammerid": 1239060, + "input": "break" + } + ] + } + ] + }, + "busrun": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/bus01_2.mdl", + "origin": [ + -883.2579345703125, + -4106.8525390625, + -66.495567321777344 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "midnightrider": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_waterfront/tour_bus.mdl", + "origin": [ + -2400.587646484375, + -3491.239501953125, + -56.484817504882812 + ], + "angles": [ + 0.0, + 93.599998474121094, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/cara_95sedan_wrecked.mdl", + "origin": [ + -2536.472412109375, + -4105.857421875, + -66.587745666503906 + ], + "angles": [ + 0.0, + 48.500003814697266, + 0.0 + ] + } + ] + } + ] + }, + "saferoom-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/floodlight_generator_pose02_static.mdl", + "origin": [ + 891.928466796875, + -5254.1181640625, + -54.704494476318359 + ], + "angles": [ + 0.0, + 204.19998168945312, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/wire_spool_01.mdl", + "origin": [ + 938.223876953125, + -5358.0537109375, + -54.048954010009766 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "GNOME": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_junk/gnome.mdl", + "origin": [ + 1221.4747314453125, + -5711.86962890625, + -44.578498840332031 + ], + "angles": [ + -1.3999999761581421, + -149.39997863769531, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c10m5_houseboat.json b/data/randomizer/c10m5_houseboat.json new file mode 100644 index 0000000..4821c03 --- /dev/null +++ b/data/randomizer/c10m5_houseboat.json @@ -0,0 +1,255 @@ +{ + "start-alt": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/van.mdl", + "origin": [ + 3359.1982421875, + 3433.04638671875, + -68.673934936523438 + ], + "angles": [ + 0.0, + 21.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/flatnose_truck.mdl", + "origin": [ + 3585.08251953125, + 3378.024169921875, + -74.552680969238281 + ], + "angles": [ + -1.5999997854232788, + 183.99998474121094, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/semi_trailer.mdl", + "origin": [ + 3876.85791015625, + 3376.116943359375, + -70.900886535644531 + ], + "angles": [ + 0.0, + 88.400001525878906, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 3823.412841796875, + 3245.720458984375, + 145.166259765625 + ], + "angles": [ + -26.799999237060547, + -82.200004577636719, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 3859.290771484375, + 3231.25048828125, + 149.62367248535156 + ], + "angles": [ + -26.799999237060547, + -96.599998474121094, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_equipment/scaffolding_norails.mdl", + "origin": [ + 3869.619384765625, + 3089.66796875, + -57.604019165039062 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/dumpster.mdl", + "origin": [ + 3869.7705078125, + 2953.1474609375, + 148.66787719726562 + ], + "angles": [ + 0.0, + 86.700004577636719, + 0.0 + ] + } + ] + }, + { + "weight": 3, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/semi_trailer.mdl", + "origin": [ + 3548.080322265625, + 2966.39501953125, + -61.005458831787109 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/flatnose_truck.mdl", + "origin": [ + 3538.9208984375, + 3268.471435546875, + -69.479354858398438 + ], + "angles": [ + 2.3000001907348633, + 85.400001525878906, + 0.0 + ] + }, + { + "type": "_car", + "model": "models/props_vehicles/van.mdl", + "origin": [ + 3426.73583984375, + 3308.757568359375, + -68.673934936523438 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_equipment/scaffolding_norails.mdl", + "origin": [ + 3841.92919921875, + 2952.34814453125, + -64.182273864746094 + ], + "angles": [ + 0.0, + 89.700004577636719, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/dumpster.mdl", + "origin": [ + 3831.75, + 2950.09375, + 142.25 + ], + "angles": [ + 360.0, + 119.970703125, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_pipes/concrete_pipe001a.mdl", + "origin": [ + 3820.2841796875, + 2855.499755859375, + 168.77639770507812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/lighthouse/junkyard_crane_base.mdl", + "origin": [ + 4616.7353515625, + 2744.9990234375, + -21.089157104492188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/lighthouse/junkyard_crane_arm.mdl", + "origin": [ + 4595.56494140625, + 2748.435791015625, + -26.156791687011719 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/lighthouse/junkyard_crane_magnet.mdl", + "origin": [ + 3830.515380859375, + 2846.2939453125, + 265.34185791015625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "move_rope", + "targetname": "rope_1", + "model": "cable/metal.vmt", + "origin": [ + 3840.764648, 2797.061523, 774.764282 + ], + "keyframes": [ + [ + 3831.976562, + 2845.826416, + 300.080398] + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c12m1_hilltop.json b/data/randomizer/c12m1_hilltop.json new file mode 100644 index 0000000..e728d0c --- /dev/null +++ b/data/randomizer/c12m1_hilltop.json @@ -0,0 +1,242 @@ +{ + "picnic-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock02.mdl", + "origin": [ + -10761.6748046875, + -12257.02734375, + 469.06008911132812 + ], + "angles": [ + 0.0, + -120.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/urban_hedge_256_128_seethrough.mdl", + "origin": [ + -10814.9140625, + -12313.2783203125, + 399.46194458007812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss03.mdl", + "origin": [ + -10674.4404296875, + -12231.8505859375, + 492.33782958984375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "military-block": { + "chance": 0.23000000417232513, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -6744.55859375, + -9456.7919921875, + 397.58169555664062 + ], + "angles": [ + 5.3000001907348633, + 156.00001525878906, + 21.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -6785.2861328125, + -9543.974609375, + 440.609619140625 + ], + "angles": [ + 5.3000001907348633, + 156.00001525878906, + 16.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -6771.47314453125, + -9305.029296875, + 341.23486328125 + ], + "angles": [ + 105.29998779296875, + 147.00004577636719, + 15.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -6702.68310546875, + -9268.3876953125, + 337.90240478515625 + ], + "angles": [ + 0.0, + -180.0, + 9.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/army_truck.mdl", + "origin": [ + -6432.8603515625, + -9024.724609375, + 345.16558837890625 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -6693.66748046875, + -9146.2783203125, + 319.8212890625 + ], + "angles": [ + 0.0, + -180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -6711.986328125, + -9039.9140625, + 331.58908081054688 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_64_reference.mdl", + "origin": [ + -6697.0224609375, + -8934.22265625, + 369.13558959960938 + ], + "angles": [ + 0.0, + 129.69999694824219, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_64_reference.mdl", + "origin": [ + -6640.34033203125, + -8905.51171875, + 370.06362915039062 + ], + "angles": [ + 0.0, + 120.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + -6758.18701171875, + -9037.5341796875, + 315.73806762695312 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + -6720.35595703125, + -8926.146484375, + 369.85250854492188 + ], + "angles": [ + 0.0, + -49.299991607666016, + 0.0 + ] + } + ] + } + ] + }, + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + -6841.6533203125, + -8165.10693359375, + 177.30766296386719 + ], + "angles": [ + 15.0, + -90.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c12m2_traintunnel.json b/data/randomizer/c12m2_traintunnel.json new file mode 100644 index 0000000..1eab94f --- /dev/null +++ b/data/randomizer/c12m2_traintunnel.json @@ -0,0 +1,440 @@ +{ + "start-alt": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "inputs": [ + { + "hammerid": 1099683, + "input": "_lock" + } + ], + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/boxes_garage_lower.mdl", + "origin": [ + -6295.73193359375, + -6249.54736328125, + 213.03311157226562 + ], + "angles": [ + 0.0, + -45.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/boxes_garage_lower.mdl", + "origin": [ + -6288.99072265625, + -6304.99755859375, + 213.03311157226562 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "_comment": "sniper", + "type": "hammerid", + "model": "1728829", + "origin": [ + -6661.00927734375, + -6757.1279296875, + 244.98966979980469 + ], + "angles": [ + 0.0, + 231.9873046875, + 90.0 + ] + }, + { + "_comment": "rifle", + "type": "hammerid", + "model": "1728827", + "origin": [ + -6667.3134765625, + -6800.60107421875, + 244.94515686035157 + ], + "angles": [ + 0.0, + 55.986328125, + 270.0 + ] + }, + { + "_comment": "melee", + "type": "hammerid", + "model": "1960325", + "origin": [ + -6526.4541015625, + -6646.751953125, + 246.11729431152344 + ], + "angles": [ + 0.0, + 150.0, + 90.0 + ] + }, + { + "_comment": "chainsaw", + "type": "hammerid", + "model": "1960641", + "origin": [ + -6626.0, + -7089.2399999999998, + 249.77000000000001 + ], + "angles": [ + 0.0, + 300.0, + 0.0 + ] + } + ] + } + ] + }, + "uparea-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_assault/handtruck.mdl", + "origin": [ + -7986.2099609375, + -6347.89892578125, + 236.586669921875 + ], + "angles": [ + -60.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/boxes_frontroom.mdl", + "origin": [ + -8051.25, + -6409.30078125, + 198.46438598632812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/boxes_garage_lower.mdl", + "origin": [ + -7944.998046875, + -6408.04736328125, + 199.8568115234375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/boxes_garage_lower.mdl", + "origin": [ + -7953.4638671875, + -6359.94921875, + 202.5557861328125 + ], + "angles": [ + 0.0, + -30.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -8255.4423828125, + -6692.72119140625, + -61.475875854492188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -8262.015625, + -6804.2509765625, + -63.616081237792969 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -8348.0478515625, + -6868.05078125, + -62.182350158691406 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -8425.6787109375, + -6801.455078125, + -63.626220703125 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -8418.966796875, + -6689.6396484375, + -64.722412109375 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_64_reference.mdl", + "origin": [ + -8290.8447265625, + -6654.76171875, + -61.343902587890625 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + }, + { + "type": "env_physics_blocker", + "origin": [ + -8297.6445309999999, + -6634.7353510000003, + 33.751823000000002 + ], + "scale": [ + 20, + 20, + 100 + ] + }, + { + "type": "env_physics_blocker", + "origin": [ + -7983.7314450000003, + -6380.9072260000003, + 266.64172300000001 + ], + "scale": [ + 50, + 65, + 50 + ] + } + ] + } + ] + }, + "door-stair-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/de_prodigy/tirestack3.mdl", + "origin": [ + -8703.8681640625, + -7687.59033203125, + -61.975486755371094 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "1122269", + "origin": [ + -8649.0599999999995, + -7745.0500000000002, + -62.329999999999998 + ], + "angles": [ + 360.0, + 345.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "inputs": [ + {"hammerid": 996321, "input": "break"} + ], + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal.mdl", + "origin": [ + -8046.7119140625, + -7735.9990234375, + 168.10891723632812 + ], + "angles": [ + 0.0, + 15.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal.mdl", + "origin": [ + -8034.68115234375, + -7666.908203125, + 170.89945983886719 + ], + "angles": [ + 0.0, + 150.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/paintbucket01.mdl", + "origin": [ + -8028.8662109375, + -7648.91015625, + 251.39398193359375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/wire_spool_01.mdl", + "origin": [ + -8001.51904296875, + -7647.310546875, + -62.569675445556641 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/wire_spool_01.mdl", + "origin": [ + -7990.70166015625, + -7652.81201171875, + -9.9731273651123047 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/wire_spool_01.mdl", + "origin": [ + -7971.517578125, + -7706.97705078125, + -8.2384490966796875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/wire_spool_01.mdl", + "origin": [ + -7983.73583984375, + -7678.521484375, + 42.214107513427734 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/wire_spool_01.mdl", + "origin": [ + -7974.52587890625, + -7703.74169921875, + -60.41900634765625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c12m3_bridge.json b/data/randomizer/c12m3_bridge.json new file mode 100644 index 0000000..45f1ba2 --- /dev/null +++ b/data/randomizer/c12m3_bridge.json @@ -0,0 +1,665 @@ +{ + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + 8235.0732421875, + -9348.7255859375, + 623.675537109375 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + } + ] + } + ] + }, + "FRED": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 225.91033935546875, + -11863.41796875, + 85.855628967285156 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "log-skip": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_foliage/fallentree_dry01.mdl", + "origin": [ + 1841.7999267578125, + -9923.767578125, + 0.54225540161132812 + ], + "angles": [ + 0.0, + 0.0, + 150.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/rock_coast02_ls1.mdl", + "origin": [ + 2209.149658203125, + -10217.052734375, + 19.090202331542969 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_fallentree01.mdl", + "origin": [ + 1807.205810546875, + -10447.3662109375, + 204.13754272460938 + ], + "angles": [ + -15.0, + -30.0, + 0.0 + ] + } + ] + } + ] + }, + "start-tunnel-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_interiors/stair_metal_02.mdl", + "origin": [ + 20.509685516357422, + -10359.0771484375, + -54.781822204589844 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/stair_metal_02.mdl", + "origin": [ + -73.736312866210938, + -10522.80859375, + 71.181991577148438 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence004_128.mdl", + "origin": [ + -272.05593872070312, + -10667.8466796875, + 179.52755737304688 + ], + "angles": [ + 0.0, + 165.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + -65.136581420898438, + -10741.732421875, + 174.29977416992188 + ], + "angles": [ + -90.0, + -45.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + -12.042915344238281, + -10785.5869140625, + 174.23190307617188 + ], + "angles": [ + -90.0, + -45.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 69.876960754394531, + -10866.6826171875, + 177.17451477050781 + ], + "angles": [ + -90.0, + -45.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 159.08279418945312, + -10956.173828125, + 175.72329711914062 + ], + "angles": [ + -90.0, + -45.0, + 0.0 + ] + } + ] + } + ] + }, + "midtunnel-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic_override", + "model": "models/props_debris/wood_board04a.mdl", + "origin": [ + 1848.0999755859375, + -12959.2548828125, + 28.1285400390625 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] + }, + { + "type": "prop_dynamic_override", + "model": "models/props_debris/wood_board04a.mdl", + "origin": [ + 1844.65478515625, + -12976.1787109375, + 10.009685516357422 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic_override", + "model": "models/props_debris/wood_board04a.mdl", + "origin": [ + 1846.005615234375, + -12959.6318359375, + 1.9721698760986328 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] + }, + { + "type": "prop_dynamic_override", + "model": "models/props_debris/wood_board04a.mdl", + "origin": [ + 1854.0460205078125, + -12922.330078125, + 14.833538055419922 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/wood_board04a.mdl", + "origin": [ + 1852.3671875, + -12900.5380859375, + 5.3640232086181641 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic_override", + "model": "models/props_debris/wood_board04a.mdl", + "origin": [ + 1853.1259765625, + -12901.0908203125, + 27.962032318115234 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris256pile001a.mdl", + "origin": [ + 1693.46728515625, + -12939.8349609375, + 13.376462936401367 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris256pile001a.mdl", + "origin": [ + 1786.853759765625, + -12944.3115234375, + -14.397598266601562 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "tunnel-train-alt": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_trainstation/train_transporter.mdl", + "origin": [ + 2436.915771484375, + -13699.0322265625, + -55.43890380859375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/train_box_open.mdl", + "origin": [ + 3003.466796875, + -13703.083984375, + -60.298805236816406 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "train-wreck-block": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/train_boxwreck.mdl", + "origin": [ + 3469.042724609375, + -13754.8984375, + -75.095489501953125 + ], + "angles": [ + 0.0, + 30.0, + 0.0 + ] + } + ] + } + ] + }, + "train-block-right": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/train_box.mdl", + "origin": [ + 5229.52734375, + -13689.1142578125, + -59.850070953369141 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss03.mdl", + "origin": [ + 5159.36572265625, + -13807.232421875, + -57.69378662109375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss03.mdl", + "origin": [ + 5273.7490234375, + -13799.3759765625, + -61.588993072509766 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "house-door-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "inputs": [ + { + "hammerid": 996925, + "input": "_lock" + } + ], + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal2.mdl", + "origin": [ + 6347.26171875, + -12896.2421875, + -43.586635589599609 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal1.mdl", + "origin": [ + 6314.0556640625, + -12961.5986328125, + -39.346458435058594 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "house-window-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 6768.5859375, + -13031.8935546875, + 62.932830810546875 + ], + "angles": [ + -90.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 6644.044921875, + -13033.6396484375, + 61.639259338378906 + ], + "angles": [ + -90.0, + 90.0, + 0.0 + ] + } + ] + } + ] + }, + "safe-fence": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/wood_fence001_256.mdl", + "origin": [ + 7267.22607421875, + -11875.529296875, + 406.78115844726562 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/wood_fence001_128.mdl", + "origin": [ + 7455.80712890625, + -11870.5849609375, + 400.87564086914062 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + } + ] + } + ] + }, + "dead-cows": { + "chance": 0.20000000298023224, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow_smallpile.mdl", + "origin": [ + 7747.705078125, + -11799.0625, + 419.65185546875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow_smallpile.mdl", + "origin": [ + 7625.8583984375, + -11941.5458984375, + 390.115478515625 + ], + "angles": [ + 0.0, + 15.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow.mdl", + "origin": [ + 7960.34619140625, + -11818.291015625, + 455.69000244140625 + ], + "angles": [ + -60.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow.mdl", + "origin": [ + 7853.990234375, + -11648.150390625, + 433.58294677734375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow_smallpile.mdl", + "origin": [ + 7925.54833984375, + -11427.791015625, + 428.52413940429688 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow.mdl", + "origin": [ + 7506.5146484375, + -11836.275390625, + 404.26678466796875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c12m4_barn.json b/data/randomizer/c12m4_barn.json new file mode 100644 index 0000000..d61b266 --- /dev/null +++ b/data/randomizer/c12m4_barn.json @@ -0,0 +1,352 @@ +{ + "hut-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/pickup_truck_2004.mdl", + "origin": [ + 8483.3623046875, + -9466.4052734375, + 295.3076171875 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + } + ] + } + ] + }, + "scaffold": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_equipment/scaffolding.mdl", + "origin": [ + 10327.4248046875, + -8053.45361328125, + -61.56988525390625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_equipment/scaffolding_norails.mdl", + "origin": [ + 10327.3837890625, + -7740.3232421875, + -46.434089660644531 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "brickwarehouse-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_equipment/scaffolding_norails.mdl", + "origin": [ + 10570.6318359375, + -8339.2705078125, + -82.814994812011719 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 10550.67578125, + -8225.498046875, + 122.57307434082031 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 10617.2353515625, + -8207.609375, + 124.52154541015625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "brick-warehouse-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_doors/roll-up_door_full.mdl", + "origin": [ + 10639.4970703125, + -8886.544921875, + -14.511435508728027 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "house-scaff": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 11094.8935546875, + -6016.49462890625, + -66.993980407714844 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 11091.0634765625, + -5934.1015625, + -68.270095825195312 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 11096.2490234375, + -5835.8896484375, + -68.6973876953125 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 11088.78125, + -5737.67138671875, + -64.881011962890625 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 11089.3447265625, + -5650.00439453125, + -68.062995910644531 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 11096.2470703125, + -5502.96826171875, + -67.365585327148438 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 11046.78515625, + -5686.357421875, + -68.3018798828125 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + } + ] + } + ] + }, + "rocks": { + "chance": 0.20000000298023224, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss01.mdl", + "origin": [ + 11263.9072265625, + -5952.0126953125, + -328.84866333007812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss04.mdl", + "origin": [ + 11344.6923828125, + -5928.50732421875, + -391.48867797851562 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss04.mdl", + "origin": [ + 11125.1630859375, + -5885.30810546875, + -329.48138427734375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/rock_coast02f.mdl", + "origin": [ + 10989.5146484375, + -5843.35595703125, + -376.18524169921875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/rock_coast02_ls1.mdl", + "origin": [ + 10871.5830078125, + -5740.97412109375, + -340.04437255859375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "traincar-skip": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/train_box_small.mdl", + "origin": [ + 10437.5986328125, + -5486.3642578125, + -63.871009826660156 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c12m5_cornfield.json b/data/randomizer/c12m5_cornfield.json new file mode 100644 index 0000000..f5ce232 --- /dev/null +++ b/data/randomizer/c12m5_cornfield.json @@ -0,0 +1,178 @@ +{ + "train-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/train_flatcar_small.mdl", + "origin": [ + 10565.1142578125, + 2041.3280029296875, + -19.207952499389648 + ], + "angles": [ + -15.0, + 105.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/train_boxwreck.mdl", + "origin": [ + 10795.3330078125, + 2570.847900390625, + -75.722320556640625 + ], + "angles": [ + 0.0, + 75.0, + 30.0 + ] + } + ] + } + ] + }, + "corn-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + 8803.033203125, + 1936.9923095703125, + 201.50358581542969 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 8743.4296875, + 1632.52783203125, + 198.7589111328125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 8740.4501953125, + 1635.71240234375, + 235.67671203613281 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "stairs-block": { + "chance": 0.20000000298023224, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_downtown/dresser.mdl", + "origin": [ + 6723.9638671875, + 1026.1580810546875, + 434.28204345703125 + ], + "angles": [ + 0.0, + 75.0, + -30.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/dresser_short.mdl", + "origin": [ + 6746.05615234375, + 1051.2489013671875, + 438.54769897460938 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [], + "inputs": [ + { + "hammerid": 250539, + "input": "_lock_nobreak" + } + ] + }, + { + "weight": 1, + "entities": [], + "inputs": [ + { + "hammerid": 274460, + "input": "_lock_nobreak" + } + ] + }, + { + "weight": 1, + "entities": [], + "inputs": [ + { + "hammerid": 210930, + "input": "_lock_nobreak" + } + ] + }, + { + "weight": 1, + "entities": [], + "inputs": [ + { + "hammerid": 274460, + "input": "_lock_nobreak" + }, + { + "hammerid": 210930, + "input": "_lock_nobreak" + }, + { + "hammerid": 250539, + "input": "_lock_nobreak" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c13m1_alpinecreek.json b/data/randomizer/c13m1_alpinecreek.json new file mode 100644 index 0000000..b765a02 --- /dev/null +++ b/data/randomizer/c13m1_alpinecreek.json @@ -0,0 +1,493 @@ +{ + "start-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_foliage/fallentree01.mdl", + "origin": [ + -3212.951171875, + 442.80398559570312, + 117.58555603027344 + ], + "angles": [ + 34.100002288818359, + 208.80001831054688, + -11.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock04.mdl", + "origin": [ + -3222.472900390625, + 436.102294921875, + 81.231033325195312 + ], + "angles": [ + 0.0, + 71.100006103515625, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rockcliff_cluster03b.mdl", + "origin": [ + -3036.25048828125, + 483.80340576171875, + 129.02738952636719 + ], + "angles": [ + 0.0, + 24.200000762939453, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock04.mdl", + "origin": [ + -2815.442626953125, + 418.470703125, + 73.597740173339844 + ], + "angles": [ + 0.0, + 65.000007629394531, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock04.mdl", + "origin": [ + -2870.623291015625, + 44.285781860351562, + 155.05862426757812 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic_override", + "model": "models/props_debris/wood_board05a.mdl", + "origin": [ + -2756.4228515625, + 60.624160766601562, + 243.78292846679688 + ], + "angles": [ + -119.79998779296875, + 3.5999999046325684, + 0.0 + ] + }, + { + "type": "prop_dynamic_override", + "model": "models/props_debris/wood_board05a.mdl", + "origin": [ + -2775.25634765625, + 76.734382629394531, + 227.9774169921875 + ], + "angles": [ + -100.89999389648438, + 3.5999999046325684, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock04.mdl", + "origin": [ + -3126.873046875, + -79.320831298828125, + 29.748947143554688 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock01.mdl", + "origin": [ + -2895.9677734375, + -84.539680480957031, + 64.116531372070312 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock05.mdl", + "origin": [ + -2838.955078125, + 1.7689590454101562, + 125.87327575683594 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic_override", + "model": "models/props_debris/wood_board04a.mdl", + "origin": [ + -2846.916015625, + 12.398698806762695, + 188.89385986328125 + ], + "angles": [ + 64.000001525878901, + 64.099998474121094, + 0.0 + ] + } + ] + } + ] + }, + "bridge-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_tall_128.mdl", + "origin": [ + -1840.79052734375, + 2810.0400390625, + 121.74037933349609 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_exteriors/wood_stairs_120_swamp.mdl", + "origin": [ + -1756.10205078125, + 2820.28173828125, + 128.34774780273438 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_exteriors/wood_stairs_120_swamp.mdl", + "origin": [ + -1608.7769775390625, + 2820.693603515625, + 240.39585876464844 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_tall_256.mdl", + "origin": [ + -1469.48291015625, + 2763.292236328125, + 348.46734619140625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_tall_128.mdl", + "origin": [ + -1473.0872802734375, + 2570.576416015625, + 348.59811401367188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_rail_256_break.mdl", + "origin": [ + -1531.1256103515625, + 2650.1279296875, + 403.47293090820312 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_rail_256_break_b.mdl", + "origin": [ + -1395.18359375, + 2881.222412109375, + 402.17822265625 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_docks/dock02_pole02a.mdl", + "origin": [ + -1726.9632568359375, + 2820.0602539062502, + 8.0228729248046875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_exteriors/wood_stairs_swamp.mdl", + "origin": [ + -1413.8275146484375, + 2632.720458984375, + 364.1424560546875 + ], + "angles": [ + 0.0, + 165.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_exteriors/wood_stairs_swamp.mdl", + "origin": [ + -1365.60693359375, + 2619.85302734375, + 396.7713623046875 + ], + "angles": [ + 0.0, + 165.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss03.mdl", + "origin": [ + -2758.45458984375, + 2993.458740234375, + 271.85012817382812 + ], + "angles": [ + 30.0, + 105.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss05.mdl", + "origin": [ + -2633.27392578125, + 2979.890380859375, + 260.99285888671875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "house-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_tall_128.mdl", + "origin": [ + 357.606689453125, + 2687.626953125, + 435.0416259765625 + ], + "angles": [ + 0.0, + 25.600000381469727, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_exteriors/wood_stairs_120_swamp.mdl", + "origin": [ + 481.08209228515625, + 2757.514892578125, + 324.7967529296875 + ], + "angles": [ + 0.0, + 29.999998092651367, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_rock01.mdl", + "origin": [ + 409.67312622070312, + 2545.138427734375, + 376.74990844726562 + ], + "angles": [ + 0.0, + -18.200000762939453, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_fallentree_dry01.mdl", + "origin": [ + 442.01638793945312, + 2590.0751953125, + 438.77597045898438 + ], + "angles": [ + 8.4000005722045898, + -120.50002288818359, + 42.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_rock02.mdl", + "origin": [ + 308.96426391601562, + 2669.802490234375, + 331.05984497070312 + ], + "angles": [ + 0.0, + -49.800003051757812, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock02.mdl", + "origin": [ + 488.53561401367188, + 2612.981689453125, + 335.59677124023438 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock05.mdl", + "origin": [ + 804.12750244140625, + 2147.43505859375, + 461.74026489257812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/rock_moss04.mdl", + "origin": [ + 728.421630859375, + 2154.911376953125, + 509.59222412109375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "env_player_blocker", + "origin": [ + 1048.7502440000001, + 2286.2802729999999, + 736.14697200000001 + ], + "scale": [ + 20, + 60, + 100 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_doors/shackwall01_dmg02.mdl", + "origin": [ + 838.887451171875, + 2615.198974609375, + 485.13436889648438 + ], + "angles": [ + 0.0, + 270.70001220703125, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c13m2_southpinestream.json b/data/randomizer/c13m2_southpinestream.json new file mode 100644 index 0000000..7391ede --- /dev/null +++ b/data/randomizer/c13m2_southpinestream.json @@ -0,0 +1,929 @@ +{ + "start-alt": { + "chance": 0.29999999999999999, + "variants": [ + { + "weight": 1, + "inputs": [ + { + "hammerid": 3325052, + "input": "kill" + } + ], + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock03.mdl", + "origin": [ + 8063.6162109375, + 4711.021484375, + 435.69287109375 + ], + "angles": [ + 0.0, + 57.899997711181641, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock06.mdl", + "origin": [ + 8440.466796875, + 4568.7978515625, + 470.86236572265625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock06.mdl", + "origin": [ + 8235.4951171875, + 4668.234375, + 444.82452392578125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock03.mdl", + "origin": [ + 8413.2099609375, + 4724.30517578125, + 430.13116455078125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_exteriors/wood_stairs_120_swamp.mdl", + "origin": [ + 8750.208984375, + 4952.39697265625, + 486.78131103515625 + ], + "angles": [ + 10.399999618530273, + 190.10002136230469, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock06.mdl", + "origin": [ + 8580.2744140625, + 3202.163330078125, + 778.3365478515625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/militiarock03.mdl", + "origin": [ + 8721.994140625, + 3209.360595703125, + 801.4202880859375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "env_player_blocker", + "origin": [ + 8541.4150389999995, + 3356.8117670000001, + 883.43164000000002 + ], + "scale": [ + 100, + 100, + 200 + ] + }, + { + "type": "env_player_blocker", + "origin": [ + 8800.9667960000006, + 3167.9848630000001, + 809.71575900000005 + ], + "scale": [ + 100, + 100, + 200 + ] + } + ] + } + ] + }, + "tank-top": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_c17/lamppost03a_off.mdl", + "origin": [ + 6450.8828125, + 2924.975830078125, + 795.7847900390625 + ], + "angles": [ + -56.000003814697266, + 73.500007629394531, + 0.0 + ] + }, + { + "type": "prop_physics", + "model": "models/props_fortifications/traffic_barrier001.mdl", + "origin": [ + 5904.65625, + 2212.1875, + 708.15625 + ], + "angles": [ + 353.4521484375, + 1.8896484375, + 0.8349609375 + ] + }, + { + "type": "prop_physics", + "model": "models/props_fortifications/traffic_barrier001.mdl", + "origin": [ + 5847.78125, + 2275.1875, + 706.75 + ], + "angles": [ + 353.2763671875, + 359.47265625, + 6.240234375 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/concrete_barrier001_128_reference.mdl", + "origin": [ + 6047.00390625, + 2264.451904296875, + 725.32373046875 + ], + "angles": [ + 0.0, + -53.600009918212891, + 8.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/concrete_barrier001_128_reference.mdl", + "origin": [ + 6187.65625, + 2365.26806640625, + 747.71710205078125 + ], + "angles": [ + -2.2000000476837158, + -50.899993896484375, + 8.0 + ] + } + ] + } + ] + }, + "fire-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "env_fire", + "origin": [ + 4141.69677734375, + 2064.865966796875, + 507.79904174804688 + ] + }, + { + "type": "env_fire", + "origin": [ + 4035.591552734375, + 2097.902099609375, + 497.47994995117188 + ] + }, + { + "type": "env_fire", + "origin": [ + 4038.5986328125, + 1977.40185546875, + 493.3592529296875 + ] + }, + { + "type": "env_fire", + "origin": [ + 4273.07373046875, + 2103.75244140625, + 517.0040283203125 + ] + }, + { + "type": "env_fire", + "origin": [ + 4184.26123046875, + 2099.51953125, + 509.778076171875 + ] + }, + { + "type": "env_fire", + "origin": [ + 4243.0693359375, + 2027.4176025390625, + 510.12612915039062 + ] + }, + { + "type": "env_fire", + "origin": [ + 4059.63916015625, + 1992.3096923828125, + 495.3916015625 + ] + }, + { + "type": "env_fire", + "origin": [ + 4004.3125, + 2207.106689453125, + 584.03033447265625 + ] + }, + { + "type": "env_fire", + "origin": [ + 4152.10791015625, + 2111.970458984375, + 507.8797607421875 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/traffic_barrel.mdl", + "origin": [ + 4366.0029296875, + 2048.125244140625, + 520.280029296875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_physics", + "model": "models/props_fairgrounds/traffic_barrel.mdl", + "origin": [ + 4345.625, + 2142.3125, + 525.90625 + ], + "angles": [ + 355.2099609375, + 0.439453125, + 4.306640625 + ] + }, + { + "type": "prop_physics", + "model": "models/props_urban/oil_drum001.mdl", + "origin": [ + 4241.25, + 2091.375, + 514.21875 + ], + "angles": [ + 355.517578125, + 0.3955078125, + 3.69140625 + ] + }, + { + "type": "prop_physics", + "model": "models/props_urban/oil_drum001.mdl", + "origin": [ + 4221.84375, + 2124.1875, + 515.0 + ], + "angles": [ + 354.990234375, + 76.201171875, + 356.6162109375 + ] + }, + { + "type": "prop_physics", + "model": "models/props_urban/oil_drum001.mdl", + "origin": [ + 4221.75, + 2201.5625, + 520.03125 + ], + "angles": [ + 354.9462890625, + 2.9443359375, + 3.6474609375 + ] + }, + { + "type": "prop_physics", + "model": "models/props_urban/oil_drum001.mdl", + "origin": [ + 4192.84375, + 2071.3125, + 525.125 + ], + "angles": [ + 82.08984375, + 292.3681640625, + 119.619140625 + ] + }, + { + "type": "prop_physics", + "model": "models/props_urban/oil_drum001.mdl", + "origin": [ + 4119.875, + 2147.21875, + 507.8125 + ], + "angles": [ + 354.90234375, + 5.712890625, + 2.8564453125 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/oil_drum001.mdl", + "origin": [ + 4130.98486328125, + 2053.752197265625, + 503.59335327148438 + ], + "angles": [ + 365.12991333007812, + 217.76840209960938, + 0.0 + ] + } + ] + } + ] + }, + "highway-off-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/bus01.mdl", + "origin": [ + 1852.0150146484375, + 2277.59716796875, + 417.89657592773438 + ], + "angles": [ + -2.2000000476837158, + 87.5, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 1916.037353515625, + 2080.11767578125, + 431.43472290039062 + ], + "angles": [ + 1.3999999761581421, + 64.699996948242188, + -3.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 1805.2623291015625, + 2120.34765625, + 421.712158203125 + ], + "angles": [ + 1.3999999761581421, + 64.699996948242188, + -3.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 1729.287109375, + 2184.7919921875, + 414.34765625 + ], + "angles": [ + 1.3999999761581421, + 64.699996948242188, + -3.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/plank001b_192.mdl", + "origin": [ + 818.3138427734375, + 2586.1455078125, + 406.72894287109375 + ], + "angles": [ + 0.0, + 45.0, + 90.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 831.6185302734375, + 2658.977783203125, + 342.64297485351562 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 537.9483642578125, + 3792.169189453125, + 324.39517211914062 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 467.25665283203125, + 3927.203369140625, + 408.60842895507812 + ], + "angles": [ + 16.80000114440918, + -5.9000000953674316, + 0.0 + ] + }, + { + "type": "env_player_blocker", + "origin": [ + 1925.53601, + 2042.6861570000001, + 616.074523 + ], + "scale": [ + 180, + 100, + 200 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_64_reference.mdl", + "origin": [ + 885.08331298828125, + 2616.2177734375, + 346.06228637695312 + ], + "angles": [ + 0.0, + 47.700004577636719, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 1227.356689453125, + 2483.29833984375, + 372.23458862304688 + ], + "angles": [ + -8.3000001907348633, + 42.199996948242188, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 3263329, + "input": "kill" + } + ] + } + ] + }, + "fence-alt": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/van.mdl", + "origin": [ + -1554.3843994140625, + 5729.80419921875, + 269.34039306640625 + ], + "angles": [ + 0.0, + 113.40000915527344, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/van_glass.mdl", + "origin": [ + -1554.3843994140625, + 5729.80419921875, + 269.34039306640625 + ], + "angles": [ + 0.0, + 113.40000915527344, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/concrete_wall001_96_reference.mdl", + "origin": [ + -1698.583984375, + 5871.07568359375, + 275.17108154296875 + ], + "angles": [ + 0.0, + -87.100006103515625, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/concrete_wall001_96_reference.mdl", + "origin": [ + -1794.899169921875, + 5876.24365234375, + 271.95999145507812 + ], + "angles": [ + 0.0, + 83.5, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/ladder1.mdl", + "origin": [ + -1403.260498046875, + 5250.68994140625, + 335.41131591796875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/ladder1.mdl", + "origin": [ + -1105.2418212890625, + 5688.52099609375, + 344.0401611328125 + ], + "angles": [ + 0.0, + -105.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/concrete_wall001_96_reference.mdl", + "origin": [ + -980.11492919921875, + 5346.4384765625, + 273.03125 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 462596, + "input": "_allow_ladder" + }, + { + "hammerid": 462581, + "input": "_allow_ladder" + }, + { + "hammerid": 462573, + "input": "_allow_ladder" + }, + { + "hammerid": 462598, + "input": "_allow_ladder" + }, + { + "targetname": "anv_mapfixes_surfsup", + "input": "kill" + } + ] + } + ] + }, + "tent-skip": { + "chance": 0.69999998807907104, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_misc/standing_tarp_tall.mdl", + "origin": [ + 939.1912841796875, + 5708.32470703125, + 278.26528930664062 + ], + "angles": [ + 0.0, + 27.600000381469727, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_misc/standing_tarp_narrow.mdl", + "origin": [ + 955.85894775390625, + 5592.72705078125, + 270.97747802734375 + ], + "angles": [ + 0.0, + 13.800000190734863, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_01.mdl", + "origin": [ + 891.27593994140625, + 5819.47900390625, + 413.600830078125 + ], + "angles": [ + -26.200000762939453, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_01.mdl", + "origin": [ + 958.40008544921875, + 5773.87548828125, + 412.569580078125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/ladder1.mdl", + "origin": [ + 921.165283203125, + 5772.3896484375, + 335.659423828125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 485437, + "input": "_allow_ladder" + }, + { + "hammerid": 485439, + "input": "_allow_ladder" + } + ] + } + ] + }, + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + 114.79460144042969, + 8180.61328125, + 238.52392578125 + ], + "angles": [ + 0.0, + 61.5, + 0.0 + ] + } + ] + } + ] + }, + "saferoom-railing": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_mill/mill_railing_128.mdl", + "origin": [ + 145.42550659179688, + 8369.9580078125, + 88.305465698242188 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_mill/mill_railing_corner.mdl", + "origin": [ + 146.47019958496094, + 8468.048828125, + 86.427604675292969 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_mill/mill_railing_36.mdl", + "origin": [ + 264.43524169921875, + 8466.8330078125, + 84.256248474121094 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_mill/mill_railing_64.mdl", + "origin": [ + 209.44320678710938, + 8466.3974609375, + 84.256256103515625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "FRED": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/alligator.mdl", + "origin": [ + 127.92644500732422, + 8861.990234375, + -276.94577026367188 + ], + "angles": [ + 0.0, + 165.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c13m3_memorialbridge.json b/data/randomizer/c13m3_memorialbridge.json new file mode 100644 index 0000000..cea388c --- /dev/null +++ b/data/randomizer/c13m3_memorialbridge.json @@ -0,0 +1,238 @@ +{ + "junkyard-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/cara_69sedan.mdl", + "origin": [ + 4666.517578125, + -4668.2333984375, + 418.92123413085938 + ], + "angles": [ + 15.0, + 75.0, + -15.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/cara_95sedan_wrecked.mdl", + "origin": [ + 4734.72802734375, + -4501.05712890625, + 423.81634521484375 + ], + "angles": [ + -45.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/zapastl.mdl", + "origin": [ + 4753.47802734375, + -4469.5751953125, + 403.37753295898438 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_prodigy/tirestack3.mdl", + "origin": [ + 4815.59375, + -4421.0283203125, + 444.87600708007812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_prodigy/tirestack3.mdl", + "origin": [ + 4823.66357421875, + -4419.6044921875, + 407.50912475585938 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/cara_82hatchback_wrecked.mdl", + "origin": [ + 4703.01904296875, + -4685.78515625, + 375.15521240234375 + ], + "angles": [ + 0.0, + 30.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_prodigy/tirestack3.mdl", + "origin": [ + 4823.7275390625, + -4419.28125, + 370.14224243164062 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + 5406.31103515625, + -3274.575927734375, + 425.65420532226562 + ], + "angles": [ + 0.0, + -105.0, + 0.0 + ] + } + ] + } + ] + }, + "saferoom-alt": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_gate001_128.mdl", + "origin": [ + 6111.263671875, + -4826.7607421875, + 383.51702880859375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence002_128.mdl", + "origin": [ + 6097.30712890625, + -5015.82470703125, + 384.24444580078125 + ], + "angles": [ + 0.0, + 176.79997253417969, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence002_64.mdl", + "origin": [ + 6097.806640625, + -5042.54736328125, + 384.24429321289062 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/wire_spool_01.mdl", + "origin": [ + 6239.74755859375, + -5004.73828125, + 385.29116821289062 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/dumpster.mdl", + "origin": [ + 6345.59033203125, + -5022.0810546875, + 386.56964111328125 + ], + "angles": [ + 0.0, + 99.600013732910156, + 0.0 + ] + } + ] + } + ] + }, + "saferoom-trailer-block": { + "chance": 0.80000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/semi_trailer_freestanding.mdl", + "origin": [ + 6089.583984375, + -4472.66015625, + 382.65048217773438 + ], + "angles": [ + 0.0, + -21.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c14m1_junkyard.json b/data/randomizer/c14m1_junkyard.json new file mode 100644 index 0000000..d6fcda6 --- /dev/null +++ b/data/randomizer/c14m1_junkyard.json @@ -0,0 +1,341 @@ +{ + "start-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -4451.79541015625, + -8857.662109375, + -165.99571228027344 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -4575.86376953125, + -8913.611328125, + -165.7325439453125 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + -4445.240234375, + -8876.05078125, + -165.53819274902344 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + -4625.16552734375, + -8982.0107421875, + -160.43975830078125 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + -4682.56982421875, + -8964.6787109375, + -168.01664733886719 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_64_reference.mdl", + "origin": [ + -4769.24365234375, + -9001.498046875, + -176.02607727050781 + ], + "angles": [ + -30.0, + -30.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/sandbags_line2.mdl", + "origin": [ + -4893.8232421875, + -8966.0263671875, + -228.1749267578125 + ], + "angles": [ + 0.0, + -120.0, + 30.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/hmmwv.mdl", + "origin": [ + -4612.88916015625, + -8730.5478515625, + -186.68417358398438 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + } + ] + } + ] + }, + "water-helper": { + "chance": 0.60000002384185791, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_128.mdl", + "origin": [ + -2802.4033203125, + -5950.2724609375, + -382.4144287109375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_128.mdl", + "origin": [ + -2800.839111328125, + -6088.6396484375, + -383.72882080078125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ], + "variants": [ + { + "weight": 1, + "entities": [] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_128.mdl", + "origin": [ + -2794.874267578125, + -5625.00146484375, + -379.90435791015625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_128.mdl", + "origin": [ + -2798.776123046875, + -5486.0458984375, + -380.5999755859375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_128.mdl", + "origin": [ + -2806.12646484375, + -5337.2919921875, + -377.73880004882812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "bridge-alt": { + "chance": 0.5, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_rock01.mdl", + "origin": [ + -2282.300048828125, + -5671.53369140625, + -373.44729614257812 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_foliage/swamp_rock02.mdl", + "origin": [ + -2354.805419921875, + -5811.63818359375, + -380.6275634765625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ], + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_768_collapsed.mdl", + "origin": [ + -2387.3994140625, + -5721.208984375, + -379.93023681640625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris128pile001b.mdl", + "origin": [ + -2390.051025390625, + -5631.56689453125, + -373.44342041015625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow_smallpile.mdl", + "origin": [ + -2450.463134765625, + -5768.9521484375, + -380.85064697265625 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_exteriors/fence002.mdl", + "origin": [ + -2409.011962890625, + -5720.62109375, + -370.004638671875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "balcony-ladder-back": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/ladderwood.mdl", + "origin": [ + -1038.7279052734375, + -4756.287109375, + -242.18136596679688 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 2672703, + "input": "_allow_ladder" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c14m2_lighthouse.json b/data/randomizer/c14m2_lighthouse.json new file mode 100644 index 0000000..742bba4 --- /dev/null +++ b/data/randomizer/c14m2_lighthouse.json @@ -0,0 +1,54 @@ +{ + "platform": { + "chance": 0.80000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_384.mdl", + "origin": [ + -2642.70703125, + 3953.36181640625, + 664.279541015625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_tall_384.mdl", + "origin": [ + -2515.354248046875, + 3959.018798828125, + 665.6915283203125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_exteriors/stairs_house_01.mdl", + "origin": [ + -2915.685302734375, + 4094.0087890625, + 509.1387939453125 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c2m2_fairgrounds.json b/data/randomizer/c2m2_fairgrounds.json index e3998a8..80cb13c 100644 --- a/data/randomizer/c2m2_fairgrounds.json +++ b/data/randomizer/c2m2_fairgrounds.json @@ -128,7 +128,7 @@ "angles": [0.00, 127.97, 0.00] }, { - "model": "models/props_urban/fence_cover001_64.mdl", + "model": "models/props_urban/_cover001_64.mdl", "origin": [2868.79, 639.06, 4.47], "angles": [0.00, 1.59, 0.00] }, @@ -260,8 +260,8 @@ "variants": [ { "inputs": [ - {"hammerid": 3331344, "input": "Break"}, - {"hammerid": 3331353, "input": "break"} + {"hammerid": 3331344, "input": "kill"}, + {"hammerid": 3331353, "input": "kill"} ] } ] @@ -339,4 +339,4 @@ } ] } -} \ No newline at end of file +} diff --git a/data/randomizer/c5m4_quarter.json b/data/randomizer/c5m4_quarter.json index 40303e1..370ff71 100644 --- a/data/randomizer/c5m4_quarter.json +++ b/data/randomizer/c5m4_quarter.json @@ -536,7 +536,7 @@ "type": "prop_dynamic", "model": "models/props/cs_militia/ladderrung.mdl", "origin": [ - -1663.728515625, + -1669.728515625, 1838.1737060546875, 249.22232055664062 ], diff --git a/data/randomizer/c5m5_bridge.json b/data/randomizer/c5m5_bridge.json new file mode 100644 index 0000000..a55fa64 --- /dev/null +++ b/data/randomizer/c5m5_bridge.json @@ -0,0 +1,26 @@ +{ + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + -12075.0029296875, + 7066.861328125, + 128.22064208984375 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c6m1_riverbank.json b/data/randomizer/c6m1_riverbank.json new file mode 100644 index 0000000..0728675 --- /dev/null +++ b/data/randomizer/c6m1_riverbank.json @@ -0,0 +1,325 @@ +{ + "start-alt": { + "chance": 0.40000000596046448, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_downtown/railing02_256.mdl", + "origin": [ + 1145.3924560546875, + 3468.448974609375, + 98.244842529296875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_downtown/railing02_256.mdl", + "origin": [ + 1146.0556640625, + 3213.31005859375, + 98.043586730957031 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ], + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/van.mdl", + "origin": [ + 1637.127685546875, + 2831.88232421875, + 96.291152954101562 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/van_glass.mdl", + "origin": [ + 1637.127685546875, + 2831.88232421875, + 96.291152954101562 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + 1920.9532470703125, + 2880.474609375, + 280.4603271484375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ], + "color": [ + 255, + 255, + 200, + 1 + ], + "scale": [ + 600, + 200, + 200 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_equipment/metalladder002.mdl", + "origin": [ + 1664.21240234375, + 2650.03125, + 233.08331298828125 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_equipment/metalladder002.mdl", + "origin": [ + 1664.21240234375, + 2650.03125, + 116.08331298828125 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + 1675.2440180000001, + 2547.5998530000002, + 357.193939 + ], + "color": [ + 255, + 255, + 200, + 2 + ], + "angles": [ + 0.0, + 0.0, + 20.0 + ], + "scale": [ + 400.0, + 0.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 567175, + "input": "_allow_ladder" + }, + { + "targetname": "anv_mapfixes_commonhop_windows", + "input": "kill" + } + ] + } + ] + }, + "courtarea-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/semi_trailer_wrecked.mdl", + "origin": [ + 2466.358642578125, + 3441.0078125, + 17.375520706176758 + ], + "angles": [ + 1.100000262260437, + 3.1999998092651367, + -10.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/ladder1.mdl", + "origin": [ + 2375.712890625, + 3085.90478515625, + 43.571483612060547 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 509269, + "input": "_allow_ladder" + } + ] + } + ] + }, + "truckgone": { + "chance": 0.20000000298023224, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "hammerid", + "model": "291007", + "origin": [ + 4304.0, + 2800.0, + 28.019500732421875 + ], + "angles": [ + -0.53749799728393555, + 111.00700378417969, + -1.4004100561141968 + ] + }, + { + "type": "hammerid", + "model": "291011", + "origin": [ + 4064.0, + 2672.0, + 27.370500564575195 + ], + "angles": [ + -0.67301702499389648, + 245.85499572753906, + -3.6046199798583984 + ] + } + ] + } + ] + }, + "acar1": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "hammerid", + "model": "1025924", + "origin": [ + -505.19406127929688, + 1339.283447265625, + 195.73117065429688 + ], + "angles": [ + 358.8726806640625, + 222.51954650878906, + -1.0224609375 + ] + } + ] + } + ] + }, + "walkway-ladder-alt": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/de_nuke/truck_nuke.mdl", + "origin": [ + 202.65921020507812, + 1421.7216796875, + 191.51179504394531 + ], + "angles": [ + 0.0, + 65.300003051757812, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_nuke/truck_nuke_glass.mdl", + "origin": [ + 202.65921020507812, + 1421.7216796875, + 191.51179504394531 + ], + "angles": [ + 0.0, + 65.300003051757812, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/ladder1.mdl", + "origin": [ + 427.605224609375, + 1292.0462646484375, + 284.0791015625 + ], + "angles": [ + -15.0, + 180.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 357116, + "input": "_allow_ladder" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c6m2_bedlam.json b/data/randomizer/c6m2_bedlam.json new file mode 100644 index 0000000..48665cb --- /dev/null +++ b/data/randomizer/c6m2_bedlam.json @@ -0,0 +1,1314 @@ +{ + "start-alt": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_doors/shackwall01.mdl", + "origin": [ + 1534.1146240234375, + -487.38705444335938, + 72.41387939453125 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 1718.8143310546875, + -135.50987243652344, + -17.712417602539062 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_64_reference.mdl", + "origin": [ + 1795.1417236328125, + -126.20930480957031, + -21.934867858886719 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_64_reference.mdl", + "origin": [ + 1838.5640869140625, + -82.88763427734375, + -22.503555297851562 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/barricade001_128_reference.mdl", + "origin": [ + 1912.8857421875, + -119.76541137695312, + -21.278308868408203 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + } + ] + } + ] + }, + "start-stair-block": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/cement_truck01.mdl", + "origin": [ + 1906.486328125, + -983.703125, + 5.5259132385253906 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "club-alt": { + "chance": 0.40000000596046448, + "inputs": [ + { + "hammerid": 496618, + "input": "break" + }, + { + "hammerid": 496623, + "input": "_lock_nobreak" + } + ], + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_junk/dumpster.mdl", + "origin": [ + 928.57965087890625, + 367.8900146484375, + -16.285758972167969 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/trashcluster01a.mdl", + "origin": [ + 920.09869384765625, + 382.80279541015625, + 42.768714904785156 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/trashcluster01a.mdl", + "origin": [ + 967.2021484375, + 322.60580444335938, + -32.244670867919922 + ], + "angles": [ + 0.0, + 108.79999542236328, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_street/garbage_can_static.mdl", + "origin": [ + 880.18524169921875, + 318.37796020507812, + -35.257869720458984 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/trashcluster01a.mdl", + "origin": [ + 964.54437255859375, + 311.61166381835938, + -29.691158294677734 + ], + "angles": [ + 0.0, + -98.600006103515625, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_downtown/pooltable.mdl", + "origin": [ + 1427.151611328125, + 1003.9188232421875, + 49.145511627197266 + ], + "angles": [ + 93.099998474121094, + 165.89999389648438, + 180.0 + ] + } + ], + "variants": [ + { + "weight": 1, + "entities": [] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 594.21728515625, + 320.60147094726562, + 7.5856285095214844 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 548.10028076171875, + 278.27587890625, + -32.327568054199219 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 593.15496826171875, + 322.47427368164062, + -32.481056213378906 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_assault/forklift.mdl", + "origin": [ + 590.81207275390625, + 372.5787353515625, + -32.9415283203125 + ], + "angles": [ + 0.0, + 183.29998779296875, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 594.99700927734375, + 1236.5994873046875, + -5.7997732162475586 + ], + "angles": [ + -31.399995803833008, + 86.000007629394531, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/plywood_leaning.mdl", + "origin": [ + 623.4456787109375, + 1262.732421875, + -64.202964782714844 + ], + "angles": [ + 3.0, + -160.69996643066406, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_01.mdl", + "origin": [ + 546.36956787109375, + 1231.1895751953125, + -6.0470438003540039 + ], + "angles": [ + 6.4000000953674316, + -94.500007629394531, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 565.1502685546875, + 1253.87451171875, + -63.016384124755859 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "pipes-ladder-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props/de_train/ladderaluminium.mdl", + "origin": [ + 1292.0064697265625, + 1402.1429443359375, + -133.85769653320312 + ], + "angles": [ + -10.299999237060547, + 4.1999998092651367, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 774348, + "input": "_allow_ladder" + } + ] + } + ] + }, + "building-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_interiors/sofa_chair.mdl", + "origin": [ + 377.16549682617188, + 2361.8251953125, + -74.593948364257812 + ], + "angles": [ + 24.700000762939453, + 119.90000152587891, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal.mdl", + "origin": [ + 384.91848754882812, + 2311.279052734375, + -25.333511352539062 + ], + "angles": [ + -32.899997711181641, + 23.900005340576172, + -22.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_downtown/dresser.mdl", + "origin": [ + 321.37606811523438, + 2268.74072265625, + -22.790216445922852 + ], + "angles": [ + -4.7000002861022949, + -0.5, + -30.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/outhouse001.mdl", + "origin": [ + 462.75338745117188, + 1985.2037353515625, + -62.691764831542969 + ], + "angles": [ + 0.0, + 91.699996948242188, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_militia/ladderwood.mdl", + "origin": [ + 310.14352416992188, + 3164.399658203125, + -42.861541748046875 + ], + "angles": [ + 0.0, + 86.899993896484375, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 774319, + "input": "_allow_ladder" + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_industrial/plywood_leaning.mdl", + "origin": [ + 484.908935546875, + 2928.06298828125, + -174.15379333496094 + ], + "angles": [ + 0.0, + -59.500003814697266, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/dumpster_2.mdl", + "origin": [ + 467.10855102539062, + 2943.17724609375, + -175.50578308105469 + ], + "angles": [ + 0.0, + 121.00000762939453, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/dumpster.mdl", + "origin": [ + 1034.072998046875, + 2932.646484375, + -175.50711059570312 + ], + "angles": [ + 0.0, + -40.500003814697266, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + 987.89837646484375, + 3167.96875, + -68.915077209472656 + ], + "color": [ + 255, + 255, + 255, + 255 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 100.0, + 100.0, + 100.0 + ] + } + ], + "inputs": [ + { + "hammerid": 563561, + "input": "kill" + }, + { + "hammerid": 563566, + "input": "kill" + } + ] + } + ] + }, + "building-stair2-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_interiors/bed.mdl", + "origin": [ + 357.2115478515625, + 2423.60546875, + 32.897182464599609 + ], + "angles": [ + -5.0000009536743164, + -7.7000002861022949, + -17.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/sofa.mdl", + "origin": [ + 355.11929321289062, + 2400.392333984375, + 71.218719482421875 + ], + "angles": [ + 0.0, + 0.0, + -13.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/trashcluster01a.mdl", + "origin": [ + 373.66958618164062, + 2397.2998046875, + 75.424110412597656 + ], + "angles": [ + -0.79999995231628418, + -23.200000762939453, + -19.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_downtown/dresser.mdl", + "origin": [ + 352.32000732421875, + 2406.4287109375, + 91.958244323730469 + ], + "angles": [ + -39.900001525878906, + -11.799999237060547, + -11.0 + ] + } + ] + } + ] + }, + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + 1675.4013671875, + 5695.13525390625, + -159.48817443847656 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "ruin-alt": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_swamp/plank001b_192.mdl", + "origin": [ + 2751.72216796875, + 5091.3740234375, + -282.54541015625 + ], + "angles": [ + 91.5, + 104.19998168945312, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/plank001b_192.mdl", + "origin": [ + 2647.0595703125, + 5067.60302734375, + -295.75335693359375 + ], + "angles": [ + 90.200004577636719, + 93.800003051757812, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 2759.75, + 5022.74560546875, + -341.66635131835938 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_chunk01c.mdl", + "origin": [ + 2762.38818359375, + 5017.24560546875, + -297.66888427734375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/de_nuke/cinderblock_stack.mdl", + "origin": [ + 2592.13232421875, + 5034.0576171875, + -355.72512817382812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_swamp/plank001b_192.mdl", + "origin": [ + 2644.526123046875, + 5066.8046875, + -338.96917724609375 + ], + "angles": [ + 90.200004577636719, + 93.800003051757812, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris128pile001a.mdl", + "origin": [ + 2768.179443359375, + 5030.05712890625, + -337.66232299804688 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/brickpallets_break03.mdl", + "origin": [ + 2719.348388671875, + 5050.59326171875, + -341.08404541015625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "generator-closet-break": { + "chance": 0.69999998807907104, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "hammerid", + "model": "565850", + "origin": [ + 1760.0, + 3902.0, + -3700.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565852", + "origin": [ + 1696.25, + 3902.0, + -3700.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565848", + "origin": [ + 1568.25, + 3902.0, + -3700.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565846", + "origin": [ + 1504.0, + 3902.0, + -3680.3479919433594 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565860", + "origin": [ + 1440.25, + 3902.0, + -370.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565858", + "origin": [ + 1632.0, + 3902.0, + -3700.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "hammerid", + "model": "565850", + "origin": [ + 1760.0, + 3902.0, + -370.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565852", + "origin": [ + 1696.25, + 3902.0, + -370.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565848", + "origin": [ + 1568.25, + 3902.0, + -3700.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565846", + "origin": [ + 1504.0, + 3902.0, + -3680.3479919433594 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565860", + "origin": [ + 1440.25, + 3902.0, + -3700.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565858", + "origin": [ + 1632.0, + 3902.0, + -370.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "hammerid", + "model": "565850", + "origin": [ + 1760.0, + 3902.0, + -370.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565852", + "origin": [ + 1696.25, + 3902.0, + -3700.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565848", + "origin": [ + 1568.25, + 3902.0, + -370.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565846", + "origin": [ + 1504.0, + 3902.0, + -368.34799194335938 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565860", + "origin": [ + 1440.25, + 3902.0, + -370.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "565858", + "origin": [ + 1632.0, + 3902.0, + -3700.0 + ], + "angles": [ + 0.0, + 270.0, + 0.0 + ] + } + ] + } + ] + }, + "sewer-ladder-alt": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 1623.0078125, + 5463.14892578125, + -1267.9725341796875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 1625.5582275390625, + 5408.18701171875, + -1280.423583984375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_equipment/metalladder002.mdl", + "origin": [ + 1633.5279541015625, + 5552.42822265625, + -1201.2174072265625 + ], + "angles": [ + 0.0, + 180.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris256pile001a.mdl", + "origin": [ + 1529.0716552734375, + 4621.36669921875, + -1181.594970703125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris256barricade001a.mdl", + "origin": [ + 1672.5997314453125, + 4471.95703125, + -1049.9276123046875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris128pile001b.mdl", + "origin": [ + 1692.5504150390625, + 4377.81005859375, + -1039.4017333984375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow.mdl", + "origin": [ + 1685.22607421875, + 4354.01220703125, + -1063.9500732421875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 774269, + "input": "_allow_ladder" + } + ] + } + ] + }, + "minifinale-skip": { + "chance": 0.20000000298023224, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 2486.67578125, + 5506.00439453125, + -1066.3697509765625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_c17/truss02g.mdl", + "origin": [ + 2424.703125, + 5507.9375, + -1083.6961669921875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_c17/truss02d.mdl", + "origin": [ + 2425.678955078125, + 5285.67138671875, + -1083.3031005859375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "alarmdoor-helper": { + "chance": 0.26499998569488525, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_swamp/boardwalk_128.mdl", + "origin": [ + 2607.125244140625, + 5673.6962890625, + -1090.4735107421875 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + } + ] + } + ] + }, + "gate2-alt": { + "chance": 0.10000000149011612, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/fence001_256.mdl", + "origin": [ + 5090.91455078125, + 6228.82177734375, + -1191.71484375 + ], + "angles": [ + 45.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 4715.9716796875, + 5306.4306640625, + -1066.53173828125 + ], + "angles": [ + -90.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_128.mdl", + "origin": [ + 4314.806640625, + 5704.5732421875, + -1021.299072265625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/ladder1.mdl", + "origin": [ + 5186.00537109375, + 4770.001953125, + -1144.3067626953125 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [ + 5221.01123046875, + 4793.462890625, + -918.8983154296875 + ], + "color": [ + 128, + 128, + 200, + 1 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ], + "scale": [ + 1000.0, + -1.0, + -1.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_lighting/lightbulb01a.mdl", + "origin": [ + 5220.8876953125, + 4766.6875, + -966.40386962890625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 712612, + "input": "_allow_ladder" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c6m3_port.json b/data/randomizer/c6m3_port.json new file mode 100644 index 0000000..fd49f89 --- /dev/null +++ b/data/randomizer/c6m3_port.json @@ -0,0 +1,388 @@ +{ + "bar-block": { + "chance": 0.56000000238418579, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "env_player_blocker", + "scale": [ + 20, + 45, + 100 + ], + "origin": [ + 242.30000000000001, + -355.17000000000002, + 59.409999999999997 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/cara_95sedan_wrecked.mdl", + "origin": [ + 197.27944946289062, + -324.1741943359375, + 0.446258544921875 + ], + "angles": [ + 0, + -105, + 0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/carparts_axel01a_static.mdl", + "origin": [ + 263.23208618164062, + -344.286376953125, + 10.509956359863281 + ], + "angles": [ + 0, + -75, + 0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/bucket_tools02.mdl", + "origin": [ + 297.74386596679688, + -297.5142822265625, + 0.18762969970703125 + ], + "angles": [ + 0, + 0, + 0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_vehicles/carparts_tire01a_static.mdl", + "origin": [ + 269.83367919921875, + -372.26144409179688, + 16.640285491943359 + ], + "angles": [ + 0, + 0, + 0 + ] + } + ] + } + ] + }, + "gascans": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "_gascan", + "origin": [ + -1000.981689453125, + 971.3009033203125, + 10.876446723937988 + ], + "angles": [ + -0.57571786642074585, + -42.959209442138672, + -0.12420654296875 + ] + }, + { + "type": "_gascan", + "origin": [ + -1966.627197265625, + 1730.97998046875, + 170.86053466796875 + ], + "angles": [ + -0.68455815315246582, + -86.745399475097656, + -0.170166015625 + ] + }, + { + "type": "_gascan", + "origin": [ + -2511.561767578125, + 1598.448974609375, + 170.88479614257812 + ], + "angles": [ + -0.53134113550186157, + 2.0261614322662354, + -0.132568359375 + ] + }, + { + "type": "_gascan", + "origin": [ + -2410.875244140625, + 1019.7069091796875, + 12.508259773254395 + ], + "angles": [ + -1.1000639200210571, + 4.8185205459594727, + 0.331085205078125 + ] + }, + { + "type": "_gascan", + "origin": [ + -1331.8233642578125, + 1772.35498046875, + 330.89138793945312 + ], + "angles": [ + -1.2135992050170898, + -14.133895874023438, + -0.077606201171875 + ] + }, + { + "type": "_gascan", + "origin": [ + -1225.5362548828125, + 1654.7926025390625, + 363.91067504882812 + ], + "angles": [ + 0.27529188990592957, + 131.03500366210938, + 0.0353240966796875 + ] + }, + { + "type": "_gascan", + "origin": [ + 815.3040771484375, + 1666.0526123046875, + 170.88227844238281 + ], + "angles": [ + 0.27104684710502625, + -5.2678947448730469, + 0.0395355224609375 + ] + }, + { + "type": "_gascan", + "origin": [ + 687.2098388671875, + 1551.6055908203125, + 211.86944580078125 + ], + "angles": [ + -3.3185937404632568, + -71.824958801269531, + 0.202606201171875 + ] + }, + { + "type": "_gascan", + "origin": [ + 1133.252685546875, + -894.99114990234375, + 170.88340759277344 + ], + "angles": [ + -0.54058653116226196, + 37.376270294189453, + -0.13470458984375 + ] + }, + { + "type": "_gascan", + "origin": [ + 680.87872314453125, + -828.9317626953125, + 51.548942565917969 + ], + "angles": [ + 0.072295762598514557, + -119.67771911621094, + 0.2787933349609375 + ] + }, + { + "type": "_gascan", + "origin": [ + 1704.323974609375, + -995.88818359375, + 13.171730995178223 + ], + "angles": [ + 0.26705008745193481, + -4.1160192489624023, + -0.181121826171875 + ] + }, + { + "type": "_gascan", + "origin": [ + 1843.7432861328125, + 863.0028076171875, + -85.074028015136719 + ], + "angles": [ + -1.0647850036621094, + -141.92161560058594, + -0.135284423828125 + ] + }, + { + "type": "_gascan", + "origin": [ + 1846.2923583984375, + 1230.565185546875, + -85.120986938476562 + ], + "angles": [ + -0.57393389940261841, + -164.6104736328125, + -0.1295166015625 + ] + }, + { + "type": "_gascan", + "origin": [ + 262.22463989257812, + 75.692008972167969, + 41.359500885009766 + ], + "angles": [ + -0.5369715690612793, + -41.772254943847656, + -0.11669921875 + ] + }, + { + "type": "_gascan", + "origin": [ + -306.50503540039062, + -1162.945068359375, + 10.885636329650879 + ], + "angles": [ + 0.30785799026489258, + 90.025154113769531, + -0.211029052734375 + ] + }, + { + "type": "_gascan", + "origin": [ + -1898.69921875, + -619.39971923828125, + 12.567585945129395 + ], + "angles": [ + 2.5842218399047852, + 0.18310843408107758, + -0.87396240234375 + ] + }, + { + "type": "_gascan", + "origin": [ + -183.77784729003906, + 1757.2159423828125, + 170.968505859375 + ], + "angles": [ + 0.19064256548881531, + 6.9722185134887695, + 0.075531005859375 + ] + }, + { + "type": "_gascan", + "origin": [ + 759.773681640625, + 1011.1539306640625, + 10.864794731140137 + ], + "angles": [ + -0.64746576547622681, + -51.795230865478516, + -0.1397705078125 + ] + }, + { + "type": "_gascan", + "origin": [ + 969.4990234375, + 1159.3148193359375, + 170.88760375976562 + ], + "angles": [ + -0.51393240690231323, + -161.04803466796875, + -0.12811279296875 + ] + }, + { + "type": "_gascan", + "origin": [ + 382.16763305664062, + 782.78076171875, + 170.87892150878906 + ], + "angles": [ + -0.56858420372009277, + 62.715030670166016, + -0.14166259765625 + ] + }, + { + "type": "_gascan", + "origin": [ + -989.5465087890625, + 2104.995849609375, + 170.8604736328125 + ], + "angles": [ + -0.68421685695648193, + -143.4315185546875, + -0.17034912109375 + ] + } + ] + } + ] + }, + "PEANUT": { + "chance": 1.0, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + -322.5404052734375, + -1637.845947265625, + -108.18135070800781 + ], + "angles": [ + 0.0, + -180.0, + 0.0 + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/data/randomizer/c7m1_docks.json b/data/randomizer/c7m1_docks.json index 952f0c7..c9f79cf 100644 --- a/data/randomizer/c7m1_docks.json +++ b/data/randomizer/c7m1_docks.json @@ -1,5 +1,5 @@ { - "start": { + "start-train": { "chance": 0.40000000596046448, "variants": [ { @@ -279,7 +279,7 @@ "inputs": [ { "hammerid": 250055, - "input": "Lock" + "input": "_lock" } ], "entities": [ @@ -339,6 +339,12 @@ }, { "weight": 1, + "inputs": [ + { + "hammerid": 250055, + "input": "break" + } + ], "entities": [ { "model": "models/props_wasteland/exterior_fence002c.mdl", diff --git a/data/randomizer/c7m2_barge.json b/data/randomizer/c7m2_barge.json index 1051b23..4baa30b 100644 --- a/data/randomizer/c7m2_barge.json +++ b/data/randomizer/c7m2_barge.json @@ -502,7 +502,7 @@ "inputs": [ { "hammerid": 86115, - "input": "Lock" + "input": "_lock" } ] } diff --git a/data/randomizer/c8m1_apartment.json b/data/randomizer/c8m1_apartment.json index 6d3f5a0..a79d9a4 100644 --- a/data/randomizer/c8m1_apartment.json +++ b/data/randomizer/c8m1_apartment.json @@ -40,7 +40,7 @@ ] }, "mainblock": { - "chance": 0.5, + "chance": 0.2, "variants": [ { "weight": 1, @@ -84,7 +84,7 @@ "entities": [ { "model": "models/props_vehicles/pickup_truck_78.mdl", - "origin": [2755.60, 4139.53, 12.72], + "origin": [2755.60, 4190.53, 12.72], "angles": [0.00, -180.00, 0.00], "size": [57.97, 105.86, 124.61] } diff --git a/data/randomizer/c8m2_subway.json b/data/randomizer/c8m2_subway.json index 6a4287e..d2abcf8 100644 --- a/data/randomizer/c8m2_subway.json +++ b/data/randomizer/c8m2_subway.json @@ -5,14 +5,87 @@ { "entities": [ { - "model": "models/props_mill/brickwall_broken04_b.mdl", - "origin": [3648.18, 2916.31, -249.58], - "angles": [0.00, 2.91, 0.00] + "type": "env_fire", + "origin": [ + 3707.3400000000001, + 3017.9299999999998, + -247.96000000000001 + ], + "angles": [ + 0.0, + 176.43000000000001, + 0.0 + ] }, { - "type": "env_fire", - "origin": [3707.34, 3017.93, -247.96], - "angles": [0.00, 176.43, 0.00] + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris256barricade001a.mdl", + "origin": [ + 3585.009765625, + 2986.59814453125, + -172.88978576660156 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris256barricade001a.mdl", + "origin": [ + 3689.518310546875, + 3016.467529296875, + -242.5675048828125 + ], + "angles": [ + -60.0, + -150.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_chunk01a.mdl", + "origin": [ + 3657.20263671875, + 2926.364501953125, + -212.56352233886719 + ], + "angles": [ + 60.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris128pile001b.mdl", + "origin": [ + 3643.247802734375, + 3017.776123046875, + -255.76287841796875 + ], + "angles": [ + 90.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris128pile001b.mdl", + "origin": [ + 3641.07373046875, + 2953.231201171875, + -224.19984436035156 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] } ] }, @@ -21,32 +94,114 @@ "entities": [ { "type": "env_fire", - "origin": [3518.81, 2853.61, -119.96], - "angles": [0.00, -177.38, 0.00] + "origin": [ + 3518.8099999999999, + 2853.6100000000001, + -119.95999999999999 + ], + "angles": [ + 0.0, + -177.38, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris256barricade001a.mdl", + "origin": [ + 3523.232177734375, + 2774.879150390625, + -95.360054016113281 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris128pile001a.mdl", + "origin": [ + 3552.261962890625, + 2834.91015625, + -90.817611694335938 + ], + "angles": [ + 0.0, + -150.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_debris/concrete_debris128pile001b.mdl", + "origin": [ + 3508.23828125, + 2842.255126953125, + -115.6256103515625 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "env_fire", + "origin": [ + 3521.81103515625, + 2876.67919921875, + -86.755393981933594 + ] } ] } ] }, "metrostairs": { - "chance": 0.2, + "chance": 0.29999999999999999, "variants": [ { "entities": [ { "model": "models/props_debris/concrete_debris256pile001a.mdl", - "origin": [3096.77, 4509.33, -326.56], - "angles": [0.00, 90.52, 0.00] + "origin": [ + 3096.77, + 4509.3299999999999, + -326.56 + ], + "angles": [ + 0.0, + 90.519999999999996, + 0.0 + ] }, { "model": "models/props_debris/concrete_debris256pile001a.mdl", - "origin": [3130.57, 4510.43, -348.13], - "angles": [0.00, 116.31, 0.00] + "origin": [ + 3130.5700000000002, + 4510.4300000000003, + -348.13 + ], + "angles": [ + 0.0, + 116.31, + 0.0 + ] }, { "model": "models/props_debris/concrete_debris256barricade001a.mdl", - "origin": [3216.06, 4438.88, -400.74], - "angles": [0.00, -174.77, 0.00] + "origin": [ + 3216.0599999999999, + 4438.8800000000001, + -400.74000000000001 + ], + "angles": [ + 0.0, + -174.77000000000001, + 0.0 + ] } ] }, @@ -54,8 +209,16 @@ "entities": [ { "model": "models/props_street/police_barricade3.mdl", - "origin": [3455.37, 4439.16, -511.96], - "angles": [0.00, -63.14, 0.00] + "origin": [ + 3455.3699999999999, + 4439.1599999999999, + -511.95999999999998 + ], + "angles": [ + 0.0, + -63.140000000000001, + 0.0 + ] } ] }, @@ -64,37 +227,91 @@ "entities": [ { "model": "models/props_cemetery/cemetery_gate_128.mdl", - "origin": [3459.02, 3771.57, -511.33], - "angles": [0.00, -92.56, 0.00] + "origin": [ + 3459.02, + 3771.5700000000002, + -511.32999999999998 + ], + "angles": [ + 0.0, + -92.560000000000002, + 0.0 + ] }, { "model": "models/props_cemetery/cemetery_gate_64.mdl", - "origin": [3376.16, 3769.75, -512.63], - "angles": [0.00, -89.14, 0.00] + "origin": [ + 3376.1599999999999, + 3769.75, + -512.63 + ], + "angles": [ + 0.0, + -89.140000000000001, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_cemetery/cemetery_gate_32.mdl", + "origin": [ + 3467.93017578125, + 3766.38525390625, + -510.01129150390625 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] } ] } ] }, "subwayweapons": { - "chance": 0.2, + "chance": 0.20000000000000001, "variants": [ { "entities": [ { "model": "models/props_debris/concrete_debris256barricade001a.mdl", - "origin": [4871.57, 3971.85, -314.78], - "angles": [0.00, -6.83, 0.00] + "origin": [ + 4871.5699999999997, + 3971.8499999999999, + -314.77999999999997 + ], + "angles": [ + 0.0, + -6.8300000000000001, + 0.0 + ] }, { "model": "models/props_debris/barricade_tall03a.mdl", - "origin": [4964.25, 3962.00, -285.47], - "angles": [0.00, -1.48, 0.00] + "origin": [ + 4964.25, + 3962.0, + -285.47000000000003 + ], + "angles": [ + 0.0, + -1.48, + 0.0 + ] }, { "model": "models/props_debris/barricade_tall01a.mdl", - "origin": [4956.68, 4021.54, -274.88], - "angles": [0.00, 8.43, 0.00] + "origin": [ + 4956.6800000000003, + 4021.54, + -274.88 + ], + "angles": [ + 0.0, + 8.4299999999999997, + 0.0 + ] } ] }, @@ -102,190 +319,381 @@ "entities": [ { "type": "env_fire", - "origin": [4729.87, 3525.69, -258.82], - "angles": [0.00, 84.42, 0.00] + "origin": [ + 4729.8699999999999, + 3525.6900000000001, + -258.81999999999999 + ], + "angles": [ + 0.0, + 84.420000000000002, + 0.0 + ] }, { "type": "env_fire", - "origin": [4651.59, 3526.14, -256.97], - "angles": [0.00, -4.91, 0.00] + "origin": [ + 4651.5900000000001, + 3526.1399999999999, + -256.97000000000003 + ], + "angles": [ + 0.0, + -4.9100000000000001, + 0.0 + ] }, { "type": "env_fire", - "origin": [4802.20, 3523.15, -258.98], - "angles": [0.00, 99.22, 0.00] + "origin": [ + 4802.1999999999998, + 3523.1500000000001, + -258.98000000000002 + ], + "angles": [ + 0.0, + 99.219999999999999, + 0.0 + ] } ] } ] }, "subway-top": { - "chance": 0.1, + "chance": 0.29999999999999999, "variants": [ { "inputs": [ - { "classname": "env_physics_blocker", "input": "Kill" } + { + "classname": "env_physics_blocker", + "input": "Kill" + } ], "entities": [ { "model": "models/props/cs_militia/boxes_frontroom.mdl", - "origin": [6320.78, 3407.38, -336.85], - "angles": [0.00, -137.15, 0.00] + "origin": [ + 6320.7799999999997, + 3407.3800000000001, + -336.85000000000002 + ], + "angles": [ + 0.0, + -137.15000000000001, + 0.0 + ] }, { "model": "models/props/cs_assault/box_stack1.mdl", - "origin": [6367.23, 3332.30, -363.25], - "angles": [0.00, 124.60, 0.00] + "origin": [ + 6367.2299999999996, + 3332.3000000000002, + -363.25 + ], + "angles": [ + 0.0, + 124.59999999999999, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [6337.93, 3293.68, -240.84], - "angles": [0.00, -136.21, 0.00] + "origin": [ + 6337.9300000000003, + 3293.6799999999998, + -240.84 + ], + "angles": [ + 0.0, + -136.21000000000001, + 0.0 + ] }, - { "model": "models/props/de_prodigy/concretebags.mdl", - "origin": [6290.49, 3200.37, -300.53], - "angles": [0.00, -49.29, 0.00] + "origin": [ + 6290.4899999999998, + 3200.3699999999999, + -300.52999999999997 + ], + "angles": [ + 0.0, + -49.289999999999999, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 6395.46435546875, + 3268.304931640625, + -334.96316528320312 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] } ] }, { "inputs": [ - { "classname": "env_physics_blocker", "input": "Kill" } + { + "classname": "env_physics_blocker", + "input": "Kill" + } ], "entities": [ { "model": "models/props/cs_militia/boxes_frontroom.mdl", - "origin": [6320.78, 3407.38, -336.85], - "angles": [0.00, -137.15, 0.00] + "origin": [ + 6320.7799999999997, + 3407.3800000000001, + -336.85000000000002 + ], + "angles": [ + 0.0, + -137.15000000000001, + 0.0 + ] }, { "model": "models/props/cs_assault/box_stack1.mdl", - "origin": [6367.23, 3332.30, -363.25], - "angles": [0.00, 124.60, 0.00] + "origin": [ + 6367.2299999999996, + 3332.3000000000002, + -363.25 + ], + "angles": [ + 0.0, + 124.59999999999999, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [6337.93, 3293.68, -240.84], - "angles": [0.00, -136.21, 0.00] + "origin": [ + 6337.9300000000003, + 3293.6799999999998, + -240.84 + ], + "angles": [ + 0.0, + -136.21000000000001, + 0.0 + ] }, - { "model": "models/props/de_prodigy/concretebags3.mdl", - "origin": [6290.49, 3200.37, -300.53], - "angles": [0.00, -49.29, 0.00] + "origin": [ + 6290.4899999999998, + 3200.3699999999999, + -300.52999999999997 + ], + "angles": [ + 0.0, + -49.289999999999999, + 0.0 + ] } ] } ] }, "lockerdrop": { - "chance": 0.1, + "chance": 0.20000000000000001, "variants": [ { "entities": [ { "model": "models/props_update/plywood_256.mdl", - "origin": [7963.09, 4060.60, -3.66], - "angles": [0.00, -1.32, 0.00] + "origin": [ + 7963.0900000000001, + 4060.5999999999999, + -3.6600000000000001 + ], + "angles": [ + 0.0, + -1.3200000000000001, + 0.0 + ] } ] } ] }, "lockerblock": { - "chance": 0.1, + "chance": 0.10000000000000001, "variants": [ { "entities": [ { "model": "models/props_urban/fence_cover001_64.mdl", - "origin": [7998.85, 3836.78, 32.03], - "angles": [0.00, -89.94, 0.00] + "origin": [ + 7998.8500000000004, + 3836.7800000000002, + 32.030000000000001 + ], + "angles": [ + 0.0, + -89.939999999999998, + 0.0 + ] }, - { "model": "models/props_street/police_barricade2.mdl", - "origin": [7850.74, 3846.49, 14.35], - "angles": [0.00, -93.53, 0.00] + "origin": [ + 7850.7399999999998, + 3846.4899999999998, + 14.35 + ], + "angles": [ + 0.0, + -93.530000000000001, + 0.0 + ] }, { "model": "models/props_urban/fence_cover001_64.mdl", - "origin": [7702.10, 3837.23, 32.49], - "angles": [0.00, -89.27, 0.00] + "origin": [ + 7702.1000000000004, + 3837.23, + 32.490000000000002 + ], + "angles": [ + 0.0, + -89.269999999999996, + 0.0 + ] } ] } ] }, "upperblock": { - "chance": 0.1, + "chance": 0.20000000000000001, "variants": [ { "entities": [ { "model": "models/props_unique/wooden_barricade.mdl", - "origin": [7338.31, 3743.30, 248.03], - "angles": [0.00, 96.40, 0.00] + "origin": [ + 7338.3100000000004, + 3743.3000000000002, + 248.03 + ], + "angles": [ + 0.0, + 96.400000000000006, + 0.0 + ] } ] } ] }, "officeblock": { - "chance": 0.1, + "chance": 0.10000000000000001, "variants": [ { "inputs": [ - { "hammerid": 5387643, "input": "Kill" } + { + "hammerid": 5387643, + "input": "Kill" + } ], "entities": [ { "model": "models/props_doors/shackwall01.mdl", - "origin": [7737.64, 4340.69, 249.29], - "angles": [0.00, -92.59, 0.00] + "origin": [ + 7737.6400000000003, + 4340.6899999999996, + 249.28999999999999 + ], + "angles": [ + 0.0, + -92.590000000000003, + 0.0 + ] } ] } ] }, "officeblock2": { - "chance": 0.1, + "chance": 0.20000000000000001, "variants": [ { "inputs": [ - { "hammerid": 5387643, "input": "Kill" } + { + "hammerid": 5387643, + "input": "Kill" + } ], "entities": [ { "model": "models/props_doors/shackwall01.mdl", - "origin": [7516.67, 4341.55, 248.03], - "angles": [0.00, -92.58, 0.00] + "origin": [ + 7516.6700000000001, + 4341.5500000000002, + 248.03 + ], + "angles": [ + 0.0, + -92.579999999999998, + 0.0 + ] } ] } ] }, "officeblock3": { - "chance": 0.4, + "chance": 0.40000000000000002, "variants": [ { "entities": [ { "model": "models/props_vehicles/van_glass.mdl", - "origin": [7803.55, 4803.45, 16.56], - "angles": [0.00, -81.00, 0.00] + "origin": [ + 7803.5500000000002, + 4803.4499999999998, + 16.559999999999999 + ], + "angles": [ + 0.0, + -81.0, + 0.0 + ] }, { "model": "models/props_vehicles/van.mdl", - "origin": [7803.94, 4803.23, 16.03], - "angles": [0.00, -80.68, 0.00] + "origin": [ + 7803.9399999999996, + 4803.2299999999996, + 16.030000000000001 + ], + "angles": [ + 0.0, + -80.680000000000007, + 0.0 + ] }, { "model": "models/props_fortifications/barricade001_128_reference.mdl", - "origin": [7633.24, 4782.63, 14.32], - "angles": [0.00, -62.03, 0.00] + "origin": [ + 7633.2399999999998, + 4782.6300000000001, + 14.32 + ], + "angles": [ + 0.0, + -62.030000000000001, + 0.0 + ] } ] }, @@ -293,33 +701,65 @@ "entities": [ { "model": "models/props_vehicles/van_glass.mdl", - "origin": [7803.55, 4803.45, 16.56], - "angles": [0.00, -81.00, 0.00] + "origin": [ + 7803.5500000000002, + 4803.4499999999998, + 16.559999999999999 + ], + "angles": [ + 0.0, + -81.0, + 0.0 + ] }, { "model": "models/props_vehicles/van.mdl", - "origin": [7803.94, 4803.23, 16.03], - "angles": [0.00, -80.68, 0.00] + "origin": [ + 7803.9399999999996, + 4803.2299999999996, + 16.030000000000001 + ], + "angles": [ + 0.0, + -80.680000000000007, + 0.0 + ] } ] } ] }, "street": { - "chance": 0.2, + "chance": 0.20000000000000001, "variants": [ { "weight": 2, "entities": [ { "model": "models/props_vehicles/bus01.mdl", - "origin": [9616.25, 5226.91, 14.98], - "angles": [-1.00, 90.00, 2.00] + "origin": [ + 9616.25, + 5226.9099999999999, + 14.98 + ], + "angles": [ + -1.0, + 90.0, + 2.0 + ] }, { "model": "models/props_fortifications/barricade001_64_reference.mdl", - "origin": [9646.96, 5516.97, 16.28], - "angles": [0.00, 0.20, 0.00] + "origin": [ + 9646.9599999999991, + 5516.9700000000003, + 16.280000000000001 + ], + "angles": [ + 0.0, + 0.20000000000000001, + 0.0 + ] } ] }, @@ -327,8 +767,454 @@ "entities": [ { "model": "models/props_vehicles/bus01.mdl", - "origin": [9616.25, 5226.91, 14.98], - "angles": [-1.00, 90.00, 2.00] + "origin": [ + 9616.25, + 5226.9099999999999, + 14.98 + ], + "angles": [ + -1.0, + 90.0, + 2.0 + ] + } + ] + } + ] + }, + "stairs-tunnel-block": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_unique/subwaycar_all_onetexture.mdl", + "origin": [ + 3848.07421875, + 4150.09326171875, + -331.28118896484375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_unique/subwaycar_all_onetexture_sidedoor.mdl", + "origin": [ + 3642.158447265625, + 4139.16796875, + -247.25274658203125 + ], + "angles": [ + 0.0, + -60.0, + 30.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 2815.379638671875, + 4253.54736328125, + -214.66836547851562 + ], + "angles": [ + 30.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 2792.228271484375, + 4248.94970703125, + -250.12445068359375 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 2791.6904296875, + 4249.96142578125, + -288.5914306640625 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_02.mdl", + "origin": [ + 2815.99853515625, + 4392.82568359375, + -285.3577880859375 + ], + "angles": [ + 30.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 2793.03076171875, + 4306.51904296875, + -287.92135620117188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_debris/dead_cow.mdl", + "origin": [ + 2808.38330078125, + 4163.5693359375, + -297.20620727539062 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_interiors/trashcan01.mdl", + "origin": [ + 2911.354248046875, + 4189.208984375, + -299.99636840820312 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "generator-alt-safearea": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 8048.66943359375, + 2797.70361328125, + 16.852928161621094 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 8045.0146484375, + 2821.880615234375, + 54.038528442382812 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 8093.3125, + 2824.244384765625, + 16.166629791259766 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 8042.42578125, + 2823.39990234375, + 15.477554321289062 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 7957.96875, + 2761.39599609375, + 52.455955505371094 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 7961.66845703125, + 2760.972900390625, + 16.054939270019531 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 8092.76904296875, + 2799.90869140625, + 15.687353134155273 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 7849.0537109375, + 2677.89404296875, + 17.348167419433594 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_junk/wheebarrow01a.mdl", + "origin": [ + 7627.71142578125, + 2766.404541015625, + 29.590866088867188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + }, + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 7534.33447265625, + 2851.775634765625, + 15.860279083251953 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 7537.845703125, + 2859.822265625, + 53.825069427490234 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/plywood_leaning.mdl", + "origin": [ + 7386.0263671875, + 2816.555419921875, + 15.868943214416504 + ], + "angles": [ + 0.0, + 60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 7403.86669921875, + 2799.838623046875, + 66.127723693847656 + ], + "angles": [ + 0.0, + 0.0, + 90.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 7398.419921875, + 2797.796142578125, + 117.58645629882812 + ], + "angles": [ + 0.0, + 0.0, + 90.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/lighthouse/wood_post.mdl", + "origin": [ + 7295.31689453125, + 2803.9677734375, + 17.182323455810547 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] + }, + "window-alt": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_interiors/desk_executive.mdl", + "origin": [ + 7716.63818359375, + 4009.443359375, + 248.569580078125 + ], + "angles": [ + 0.0, + 120.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_wasteland/controlroom_desk001b.mdl", + "origin": [ + 7723.4794921875, + 3992.058349609375, + 300.36920166015625 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/plywood_leaning.mdl", + "origin": [ + 7769.73291015625, + 4070.37353515625, + 249.35433959960938 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/billboard_ladder.mdl", + "origin": [ + 8231.7412109375, + 3822.913818359375, + -9.4382400512695312 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 4238869, + "input": "_allow_ladder" } ] } diff --git a/data/randomizer/c8m3_sewers.json b/data/randomizer/c8m3_sewers.json index 1616813..1dfcf71 100644 --- a/data/randomizer/c8m3_sewers.json +++ b/data/randomizer/c8m3_sewers.json @@ -1,14 +1,22 @@ { "saferoom": { - "chance": 0.4, + "chance": 0.40000000000000002, "variants": [ { "weight": 2, "entities": [ { "model": "models/props_street/police_barricade2.mdl", - "origin": [12103.81, 4766.83, 17.05], - "angles": [0.00, 89.94, 0.00] + "origin": [ + 12103.809999999999, + 4766.8299999999999, + 17.050000000000001 + ], + "angles": [ + 0.0, + 89.939999999999998, + 0.0 + ] } ] }, @@ -16,8 +24,16 @@ "entities": [ { "model": "models/props_fortifications/barricade001_64_reference.mdl", - "origin": [11255.51, 4667.18, 14.88], - "angles": [0.00, 179.23, 0.00] + "origin": [ + 11255.51, + 4667.1800000000003, + 14.880000000000001 + ], + "angles": [ + 0.0, + 179.22999999999999, + 0.0 + ] } ] }, @@ -26,13 +42,29 @@ "entities": [ { "model": "models/props_crates/static_crate_40.mdl", - "origin": [12011.10, 4663.61, 12.26], - "angles": [0.00, 0.42, 0.00] + "origin": [ + 12011.1, + 4663.6099999999997, + 12.26 + ], + "angles": [ + 0.0, + 0.41999999999999998, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [12009.93, 4664.93, 51.20], - "angles": [0.00, -0.10, 0.00] + "origin": [ + 12009.93, + 4664.9300000000003, + 51.200000000000003 + ], + "angles": [ + 0.0, + -0.10000000000000001, + 0.0 + ] } ] }, @@ -40,83 +72,169 @@ "entities": [ { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11277.82, 4664.75, 16.03], - "angles": [0.00, -177.94, 0.00] + "origin": [ + 11277.82, + 4664.75, + 16.030000000000001 + ], + "angles": [ + 0.0, + -177.94, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11275.65, 4666.43, 55.06], - "angles": [0.00, -2.69, 0.00] + "origin": [ + 11275.65, + 4666.4300000000003, + 55.060000000000002 + ], + "angles": [ + 0.0, + -2.6899999999999999, + 0.0 + ] } ] }, - { + { "entities": [ { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11242.83, 5285.18, 15.70], - "angles": [0.00, -44.98, 0.00] + "origin": [ + 11242.83, + 5285.1800000000003, + 15.699999999999999 + ], + "angles": [ + 0.0, + -44.979999999999997, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11240.59, 5282.62, 68.42], - "angles": [0.00, -44.22, 0.00] + "origin": [ + 11240.59, + 5282.6199999999999, + 68.420000000000002 + ], + "angles": [ + 0.0, + -44.219999999999999, + 0.0 + ] } ] } ] }, "saferoom-alt": { - "chance": 0.4, + "chance": 0.40000000000000002, "variants": [ { "entities": [ { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [12144.72, 5414.99, 69.06], - "angles": [0.00, -41.81, 0.00] + "origin": [ + 12144.719999999999, + 5414.9899999999998, + 69.060000000000002 + ], + "angles": [ + 0.0, + -41.810000000000002, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [12083.18, 5420.02, 17.09], - "angles": [0.00, -104.31, 0.00] + "origin": [ + 12083.18, + 5420.0200000000004, + 17.09 + ], + "angles": [ + 0.0, + -104.31, + 0.0 + ] } ] }, { "inputs": [ - { "hammerid": 502676, "input": "Kill" }, - { "hammerid": 3219153, "input": "Kill" } + { + "hammerid": 502676, + "input": "Kill" + }, + { + "hammerid": 3219153, + "input": "Kill" + } ], "entities": [ { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [12144.72, 5414.99, 69.06], - "angles": [0.00, -41.81, 0.00] + "origin": [ + 12144.719999999999, + 5414.9899999999998, + 69.060000000000002 + ], + "angles": [ + 0.0, + -41.810000000000002, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [12083.18, 5420.02, 17.09], - "angles": [0.00, -104.31, 0.00] + "origin": [ + 12083.18, + 5420.0200000000004, + 17.09 + ], + "angles": [ + 0.0, + -104.31, + 0.0 + ] }, { "model": "models/props_junk/dumpster.mdl", - "origin": [11308.87, 5440.96, 60.49], - "angles": [360.00, 270.00, -90.00] + "origin": [ + 11308.870000000001, + 5440.96, + 60.490000000000002 + ], + "angles": [ + 360.0, + 270.0, + -90.0 + ] } ] } ] }, "truckblock": { - "chance": 0.2, + "chance": 0.20000000000000001, "variants": [ { "entities": [ { "model": "models/props_street/police_barricade_368in.mdl", - "origin": [11689.12, 6554.52, 17.32], - "angles": [0.00, -64.07, 0.00] + "origin": [ + 11689.120000000001, + 6554.5200000000004, + 17.32 + ], + "angles": [ + 0.0, + -64.069999999999993, + 0.0 + ] } ] }, @@ -124,14 +242,34 @@ "entities": [ { "model": "models/props_street/police_barricade_368in.mdl", - "origin": [11689.12, 6554.52, 17.32], - "angles": [0.00, -64.07, 0.00] + "origin": [ + 11689.120000000001, + 6554.5200000000004, + 17.32 + ], + "angles": [ + 0.0, + -64.069999999999993, + 0.0 + ] }, { "type": "env_physics_blocker", - "scale": [50.00, 60.00, 10.00], - "origin": [11066.82, 6062.03, 103.38], - "angles": [0.00, 166.05, 0.00] + "scale": [ + 50.0, + 60.0, + 10.0 + ], + "origin": [ + 11066.82, + 6062.0299999999997, + 103.38 + ], + "angles": [ + 0.0, + 166.05000000000001, + 0.0 + ] } ] } @@ -142,30 +280,65 @@ "variants": [ { "inputs": [ - { "targetname": "warehouse_door", "input": "Break" } + { + "targetname": "warehouse_door", + "input": "Break" + } ] }, { "entities": [ { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11807.18, 6619.71, 16.03], - "angles": [0.00, 151.75, 0.00] + "origin": [ + 11807.18, + 6619.71, + 16.030000000000001 + ], + "angles": [ + 0.0, + 151.75, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11900.01, 7286.40, 135.49], - "angles": [0.00, 87.39, 0.00] + "origin": [ + 11900.01, + 7286.3999999999996, + 135.49000000000001 + ], + "angles": [ + 0.0, + 87.390000000000001, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11897.07, 7290.61, 188.29], - "angles": [0.00, 171.23, 0.00] + "origin": [ + 11897.07, + 7290.6099999999997, + 188.28999999999999 + ], + "angles": [ + 0.0, + 171.22999999999999, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11898.12, 7215.57, 139.82], - "angles": [0.00, -99.91, 0.00] + "origin": [ + 11898.120000000001, + 7215.5699999999997, + 139.81999999999999 + ], + "angles": [ + 0.0, + -99.909999999999997, + 0.0 + ] } ] }, @@ -173,23 +346,55 @@ "entities": [ { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11807.18, 6619.71, 16.03], - "angles": [0.00, 151.75, 0.00] + "origin": [ + 11807.18, + 6619.71, + 16.030000000000001 + ], + "angles": [ + 0.0, + 151.75, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11901.06, 7239.87, 141.79], - "angles": [0.00, -99.91, 0.00] + "origin": [ + 11901.059999999999, + 7239.8699999999999, + 141.78999999999999 + ], + "angles": [ + 0.0, + -99.909999999999997, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11901.86, 7300.96, 137.48], - "angles": [0.00, 87.38, 0.00] + "origin": [ + 11901.860000000001, + 7300.96, + 137.47999999999999 + ], + "angles": [ + 0.0, + 87.379999999999995, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11899.33, 7302.97, 176.57], - "angles": [0.00, 171.22, 0.00] + "origin": [ + 11899.33, + 7302.9700000000003, + 176.56999999999999 + ], + "angles": [ + 0.0, + 171.22, + 0.0 + ] } ] }, @@ -197,23 +402,55 @@ "entities": [ { "model": "models/props/de_prodigy/concretebags3.mdl", - "origin": [11894.10, 6532.30, 16.03], - "angles": [0.00, -97.94, 0.00] + "origin": [ + 11894.1, + 6532.3000000000002, + 16.030000000000001 + ], + "angles": [ + 0.0, + -97.939999999999998, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11900.01, 7286.40, 135.49], - "angles": [0.00, 87.39, 0.00] + "origin": [ + 11900.01, + 7286.3999999999996, + 135.49000000000001 + ], + "angles": [ + 0.0, + 87.390000000000001, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11897.07, 7290.61, 188.29], - "angles": [0.00, 171.23, 0.00] + "origin": [ + 11897.07, + 7290.6099999999997, + 188.28999999999999 + ], + "angles": [ + 0.0, + 171.22999999999999, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11898.12, 7215.57, 139.82], - "angles": [0.00, -99.91, 0.00] + "origin": [ + 11898.120000000001, + 7215.5699999999997, + 139.81999999999999 + ], + "angles": [ + 0.0, + -99.909999999999997, + 0.0 + ] } ] }, @@ -221,23 +458,55 @@ "entities": [ { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [11807.18, 6619.71, 16.03], - "angles": [0.00, 151.75, 0.00] + "origin": [ + 11807.18, + 6619.71, + 16.030000000000001 + ], + "angles": [ + 0.0, + 151.75, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11901.06, 7239.87, 141.79], - "angles": [0.00, -99.91, 0.00] + "origin": [ + 11901.059999999999, + 7239.8699999999999, + 141.78999999999999 + ], + "angles": [ + 0.0, + -99.909999999999997, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11901.86, 7300.96, 137.48], - "angles": [0.00, 87.38, 0.00] + "origin": [ + 11901.860000000001, + 7300.96, + 137.47999999999999 + ], + "angles": [ + 0.0, + 87.379999999999995, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [11899.33, 7302.97, 176.57], - "angles": [0.00, 171.22, 0.00] + "origin": [ + 11899.33, + 7302.9700000000003, + 176.56999999999999 + ], + "angles": [ + 0.0, + 171.22, + 0.0 + ] } ] } @@ -250,8 +519,16 @@ "entities": [ { "model": "models/props_industrial/warehouse_shelf003.mdl", - "origin": [10822.72, 6830.48, 294.17], - "angles": [0.00, -151.02, 0.00] + "origin": [ + 10822.719999999999, + 6830.4799999999996, + 294.17000000000002 + ], + "angles": [ + 0.0, + -151.02000000000001, + 0.0 + ] } ] }, @@ -259,13 +536,29 @@ "entities": [ { "model": "models/props_industrial/warehouse_shelf004.mdl", - "origin": [10929.63, 7282.66, 295.85], - "angles": [0.00, -2.96, 0.00] + "origin": [ + 10929.629999999999, + 7282.6599999999999, + 295.85000000000002 + ], + "angles": [ + 0.0, + -2.96, + 0.0 + ] }, { "model": "models/props_industrial/warehouse_shelf004.mdl", - "origin": [10918.07, 7084.04, 296.83], - "angles": [0.00, 1.84, 0.00] + "origin": [ + 10918.07, + 7084.04, + 296.82999999999998 + ], + "angles": [ + 0.0, + 1.8400000000000001, + 0.0 + ] } ] } @@ -278,18 +571,42 @@ "entities": [ { "model": "models/props_interiors/desk_metal.mdl", - "origin": [10575.66, 7632.80, 192.80], - "angles": [0.00, 87.35, 0.00] + "origin": [ + 10575.66, + 7632.8000000000002, + 192.80000000000001 + ], + "angles": [ + 0.0, + 87.349999999999994, + 0.0 + ] }, { "model": "models/props_interiors/desk_metal.mdl", - "origin": [10574.95, 7631.25, 160.72], - "angles": [0.00, -101.58, 0.00] + "origin": [ + 10574.950000000001, + 7631.25, + 160.72 + ], + "angles": [ + 0.0, + -101.58, + 0.0 + ] }, { "type": "env_physics_blocker", - "scale": [50.00, 10.00, 50.00], - "origin": [10569.78, 7658.25, 225.14] + "scale": [ + 50.0, + 10.0, + 50.0 + ], + "origin": [ + 10569.780000000001, + 7658.25, + 225.13999999999999 + ] } ] }, @@ -297,8 +614,16 @@ "entities": [ { "model": "models/props/cs_assault/forklift.mdl", - "origin": [10938.45, 7659.19, 15.15], - "angles": [0.00, -2.03, 0.00] + "origin": [ + 10938.450000000001, + 7659.1899999999996, + 15.15 + ], + "angles": [ + 0.0, + -2.0299999999999998, + 0.0 + ] } ] }, @@ -306,28 +631,52 @@ "entities": [ { "model": "models/props_interiors/desk_metal.mdl", - "origin": [10642.26, 7502.89, 158.67], - "angles": [0.00, 4.51, 0.00] + "origin": [ + 10642.26, + 7502.8900000000003, + 158.66999999999999 + ], + "angles": [ + 0.0, + 4.5099999999999998, + 0.0 + ] }, { "model": "models/props_interiors/desk_metal.mdl", - "origin": [10656.39, 7506.54, 191.01], - "angles": [0.00, -5.45, 0.00] + "origin": [ + 10656.389999999999, + 7506.54, + 191.00999999999999 + ], + "angles": [ + 0.0, + -5.4500000000000002, + 0.0 + ] } ] } ] }, "warehouse": { - "chance": 0.3, + "chance": 0.29999999999999999, "variants": [ { "entities": [ { "type": "prop_physics", "model": "models/props/cs_assault/forklift.mdl", - "origin": [11330.68, 7947.40, 24.37], - "angles": [0.00, -56.01, 0.00] + "origin": [ + 11330.68, + 7947.3999999999996, + 24.370000000000001 + ], + "angles": [ + 0.0, + -56.009999999999998, + 0.0 + ] } ] }, @@ -335,22 +684,16 @@ "entities": [ { "model": "models/props/cs_assault/forklift.mdl", - "origin": [11424.16, 7689.89, 17.41], - "angles": [0.00, -1.23, 0.00] - } - ] - } - ] - }, - "manholeblock": { - "chance": 0.35, - "variants": [ - { - "entities": [ - { - "model": "models/props_mill/brickwall_broken03.mdl", - "origin": [13684.50, 8166.23, -254.96], - "angles": [0.00, 2.46, 0.00] + "origin": [ + 11424.16, + 7689.8900000000003, + 17.41 + ], + "angles": [ + 0.0, + -1.23, + 0.0 + ] } ] } @@ -363,13 +706,29 @@ "entities": [ { "model": "models/props_mill/pipeset32d_256a.mdl", - "origin": [14122.62, 8887.39, -370.95], - "angles": [0.00, -176.14, 0.00] + "origin": [ + 14122.620000000001, + 8887.3899999999994, + -370.94999999999999 + ], + "angles": [ + 0.0, + -176.13999999999999, + 0.0 + ] }, { "model": "models/props_mill/pipeset08d_512_001a.mdl", - "origin": [14086.80, 8898.75, -419.74], - "angles": [0.00, -178.02, 0.00] + "origin": [ + 14086.799999999999, + 8898.75, + -419.74000000000001 + ], + "angles": [ + 0.0, + -178.02000000000001, + 0.0 + ] } ] }, @@ -377,18 +736,42 @@ "entities": [ { "model": "models/props_mill/pipeset32d_256a.mdl", - "origin": [14122.62, 8887.39, -370.95], - "angles": [0.00, -176.14, 0.00] + "origin": [ + 14122.620000000001, + 8887.3899999999994, + -370.94999999999999 + ], + "angles": [ + 0.0, + -176.13999999999999, + 0.0 + ] }, { "model": "models/props_mill/pipeset08d_512_001a.mdl", - "origin": [14086.80, 8898.75, -419.74], - "angles": [0.00, -178.02, 0.00] + "origin": [ + 14086.799999999999, + 8898.75, + -419.74000000000001 + ], + "angles": [ + 0.0, + -178.02000000000001, + 0.0 + ] }, { "model": "models/props_debris/concrete_debris128pile001b.mdl", - "origin": [14115.65, 8918.82, -490.36], - "angles": [0.00, 114.26, 0.00] + "origin": [ + 14115.65, + 8918.8199999999997, + -490.36000000000001 + ], + "angles": [ + 0.0, + 114.26000000000001, + 0.0 + ] } ] } @@ -401,102 +784,361 @@ "entities": [ { "model": "models/props_crates/static_crate_40.mdl", - "origin": [13011.15, 11044.94, -463.96], - "angles": [0.00, 0.63, 0.00] + "origin": [ + 13011.15, + 11044.940000000001, + -463.95999999999998 + ], + "angles": [ + 0.0, + 0.63, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_mill/brickwall_broken03_b.mdl", + "origin": [ + 13680.5947265625, + 8109.0458984375, + -240.99739074707031 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_mill/brickwall_broken03_b.mdl", + "origin": [ + 13681.205078125, + 8162.578125, + -255.29188537597656 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_mill/brickwall_broken03_b.mdl", + "origin": [ + 13681.2158203125, + 8150.34619140625, + -198.84051513671875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] } ] }, { "entities": [ { - "model": "models/props_downtown/bollards_ornate.mdl", - "origin": [13011.15, 11044.94, -463.96], - "angles": [0.00, 92.63, 0.00] + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 13117.498046875, + 11513.3642578125, + -446.5738525390625 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] }, { - "model": "models/lighthouse/props/wooden_gate.mdl", - "origin": [12906.39, 11536.93, -501.09], - "angles": [0.00, 10.07, 0.00] + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 13123.232421875, + 11505.796875, + -406.95199584960938 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] }, { - "model": "models/lighthouse/props/wooden_gate.mdl", - "origin": [12907.83, 11538.57, -424.81], - "angles": [0.00, -3.11, 0.00] + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_128.mdl", + "origin": [ + 13116.3115234375, + 11519.5791015625, + -502.03073120117188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] }, { - "model": "models/lighthouse/props/wooden_gate.mdl", - "origin": [12906.96, 11537.70, -373.40], - "angles": [0.00, -3.13, 0.00] + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 13124.890625, + 11407.150390625, + -404.4267578125 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_urban/fence_cover001_64.mdl", + "origin": [ + 13118.966796875, + 11401.060546875, + -446.82843017578125 + ], + "angles": [ + 0.0, + 0.0, + -90.0 + ] } ] } ] }, "policebarriers": { - "chance": 0.15, + "chance": 0.14999999999999999, "variants": [ { "entities": [ { "model": "models/props_fortifications/police_barrier001_128_reference.mdl", - "origin": [14068.70, 11434.97, 8.28], - "angles": [0.00, 1.78, 0.00] + "origin": [ + 14068.700000000001, + 11434.969999999999, + 8.2799999999999994 + ], + "angles": [ + 0.0, + 1.78, + 0.0 + ] }, { "model": "models/props_fortifications/police_barrier001_128_reference.mdl", - "origin": [14054.96, 11595.83, 8.03], - "angles": [0.00, 8.09, 0.00] + "origin": [ + 14054.959999999999, + 11595.83, + 8.0299999999999994 + ], + "angles": [ + 0.0, + 8.0899999999999999, + 0.0 + ] }, { "model": "models/props_fortifications/police_barrier001_128_reference.mdl", - "origin": [13993.58, 11817.81, 8.03], - "angles": [0.00, -2.82, 0.00] + "origin": [ + 13993.58, + 11817.809999999999, + 8.0299999999999994 + ], + "angles": [ + 0.0, + -2.8199999999999998, + 0.0 + ] }, { "model": "models/props_fortifications/police_barrier001_128_reference.mdl", - "origin": [14026.95, 11977.10, 8.03], - "angles": [0.00, -9.50, 0.00] + "origin": [ + 14026.950000000001, + 11977.1, + 8.0299999999999994 + ], + "angles": [ + 0.0, + -9.5, + 0.0 + ] }, { "model": "models/props_fortifications/police_barrier001_128_reference.mdl", - "origin": [14001.45, 12338.83, 8.03], - "angles": [0.00, 3.05, 0.00] + "origin": [ + 14001.450000000001, + 12338.83, + 8.0299999999999994 + ], + "angles": [ + 0.0, + 3.0499999999999998, + 0.0 + ] } ] } ] }, "ambulance": { - "chance": 0.4, + "chance": 0.40000000000000002, "variants": [ { "entities": [ { "model": "models/props_vehicles/ambulance.mdl", - "origin": [13319.67, 12081.39, 8.03], - "angles": [0.00, 144.60, 0.00] + "origin": [ + 13319.67, + 12081.389999999999, + 8.0299999999999994 + ], + "angles": [ + 0.0, + 144.59999999999999, + 0.0 + ] + }, + { + "type": "light_dynamic", + "origin": [13474, 11964, 259], + "angles": [ + 57.0, + 0.0, + 0.0 + ], + "color": [ + 120, + 120, + 60, + 1 + ], + "scale": [ + 800, + 100, + 100 + ] } ] } ] }, "saferoomdesk": { - "chance": 0.5, + "chance": 0.29999999999999999, "variants": [ { "inputs": [ - {"hammerid": 2553264, "input": "Kill"} + { + "hammerid": 2553264, + "input": "Kill" + } ], "entities": [ { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12685.19, 12389.61, 11.44], - "angles": [0.00, -178.42, 0.00] - }, + "origin": [ + 12685.190000000001, + 12389.610000000001, + 11.44 + ], + "angles": [ + 0.0, + -178.41999999999999, + 0.0 + ] + }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12656.90, 12238.82, 18.04], - "angles": [0.00, 149.67, 0.00] + "origin": [ + 12656.9, + 12238.82, + 18.039999999999999 + ], + "angles": [ + 0.0, + 149.66999999999999, + 0.0 + ] + } + ] + } + ] + }, + "warehouse-up-alt": { + "chance": 0.30000001192092896, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_interiors/sheetrock_leaning.mdl", + "origin": [ + 12219.8095703125, + 8230.5546875, + 9.3333139419555664 + ], + "angles": [ + 0.0, + -150.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/warehouse_shelf003.mdl", + "origin": [ + 12254.6357421875, + 8187.71826171875, + 14.559464454650879 + ], + "angles": [ + 0.0, + 30.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/warehouse_shelf004.mdl", + "origin": [ + 12535.9423828125, + 8061.42041015625, + 16.417850494384766 + ], + "angles": [ + 0.0, + -90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_highway/billboard_ladder.mdl", + "origin": [ + 11903.6181640625, + 8318.71875, + 17.496654510498047 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + } + ], + "inputs": [ + { + "hammerid": 2325456, + "input": "_allow_ladder" } ] } diff --git a/data/randomizer/c8m4_interior.json b/data/randomizer/c8m4_interior.json index 4768467..c0aeca3 100644 --- a/data/randomizer/c8m4_interior.json +++ b/data/randomizer/c8m4_interior.json @@ -1,26 +1,53 @@ { "elevator": { - "chance": 0.3, + "chance": 0.29999999999999999, "variants": [ { "inputs": [ - { "hammerid": 3638150, "input": "_allow_ladder" } + { + "hammerid": 3638150, + "input": "_allow_ladder" + } ], "entities": [ { "model": "models/props_highway/plywood_03.mdl", - "origin": [12374.72, 13596.57, 152.35], - "angles": [0.00, 155.69, 0.00] + "origin": [ + 12374.719999999999, + 13596.57, + 152.34999999999999 + ], + "angles": [ + 0.0, + 155.69, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12442.71, 13549.03, 288.03], - "angles": [0.00, 179.02, 0.00] + "origin": [ + 12442.709999999999, + 13549.030000000001, + 288.02999999999997 + ], + "angles": [ + 0.0, + 179.02000000000001, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12437.78, 13543.19, 424.75], - "angles": [0.00, -179.67, 0.00] + "origin": [ + 12437.780000000001, + 13543.190000000001, + 424.75 + ], + "angles": [ + 0.0, + -179.66999999999999, + 0.0 + ] } ] }, @@ -34,18 +61,42 @@ "entities": [ { "model": "models/props_highway/plywood_03.mdl", - "origin": [12374.72, 13596.57, 288.03], - "angles": [0.00, 155.69, 0.00] + "origin": [ + 12374.719999999999, + 13596.57, + 288.02999999999997 + ], + "angles": [ + 0.0, + 155.69, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12445.46, 13541.89, 152.03], - "angles": [0.00, 178.94, 0.00] + "origin": [ + 12445.459999999999, + 13541.889999999999, + 152.03 + ], + "angles": [ + 0.0, + 178.94, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12437.78, 13543.19, 424.75], - "angles": [0.00, -179.67, 0.00] + "origin": [ + 12437.780000000001, + 13543.190000000001, + 424.75 + ], + "angles": [ + 0.0, + -179.66999999999999, + 0.0 + ] } ] }, @@ -59,129 +110,297 @@ "entities": [ { "model": "models/props_highway/plywood_03.mdl", - "origin": [12374.72, 13596.57, 423.97], - "angles": [0.00, 155.69, 0.00] + "origin": [ + 12374.719999999999, + 13596.57, + 423.97000000000003 + ], + "angles": [ + 0.0, + 155.69, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12445.46, 13541.89, 152.03], - "angles": [0.00, 178.94, 0.00] + "origin": [ + 12445.459999999999, + 13541.889999999999, + 152.03 + ], + "angles": [ + 0.0, + 178.94, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12442.71, 13549.03, 288.03], - "angles": [0.00, 179.02, 0.00] - } - ] - }, - - { - "inputs": [ - { "hammerid": 3638150, "input": "_allow_ladder" }, - { "targetname": "hospmetaldoor01", "input": "break"} - ], - "entities": [ - { - "model": "models/props/cs_office/shelves_metal.mdl", - "origin": [12262.51, 13293.07, 11.45], - "angles": [0.00, 92.44, 0.00] - }, - { - "model": "models/props_highway/plywood_03.mdl", - "origin": [12374.72, 13596.57, 152.35], - "angles": [0.00, 155.69, 0.00] - }, - { - "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12442.71, 13549.03, 288.03], - "angles": [0.00, 179.02, 0.00] - }, - { - "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12437.78, 13543.19, 424.75], - "angles": [0.00, -179.67, 0.00] + "origin": [ + 12442.709999999999, + 13549.030000000001, + 288.02999999999997 + ], + "angles": [ + 0.0, + 179.02000000000001, + 0.0 + ] } ] }, { "inputs": [ - { "hammerid": 3638150, "input": "_allow_ladder" }, - { "targetname": "hospmetaldoor01", "input": "break"} + { + "hammerid": 3638150, + "input": "_allow_ladder" + }, + { + "targetname": "hospmetaldoor01", + "input": "break" + } ], "entities": [ { "model": "models/props/cs_office/shelves_metal.mdl", - "origin": [12262.51, 13293.07, 11.45], - "angles": [0.00, 92.44, 0.00] + "origin": [ + 12262.51, + 13293.07, + 11.449999999999999 + ], + "angles": [ + 0.0, + 92.439999999999998, + 0.0 + ] + }, + { + "type": "infodecal", + "origin": [ + 12272.53515625, + 13047.96875, + 76.418998718261719 + ], + "model": "decals/checkpointarrow01_black.vmt" }, { "model": "models/props_highway/plywood_03.mdl", - "origin": [12374.72, 13596.57, 288.03], - "angles": [0.00, 155.69, 0.00] + "origin": [ + 12374.719999999999, + 13596.57, + 152.34999999999999 + ], + "angles": [ + 0.0, + 155.69, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12445.46, 13541.89, 152.03], - "angles": [0.00, 178.94, 0.00] + "origin": [ + 12442.709999999999, + 13549.030000000001, + 288.02999999999997 + ], + "angles": [ + 0.0, + 179.02000000000001, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12437.78, 13543.19, 424.75], - "angles": [0.00, -179.67, 0.00] + "origin": [ + 12437.780000000001, + 13543.190000000001, + 424.75 + ], + "angles": [ + 0.0, + -179.66999999999999, + 0.0 + ] } ] }, { "inputs": [ - { "hammerid": 3638150, "input": "_allow_ladder" }, - { "targetname": "hospmetaldoor01", "input": "break"} + { + "hammerid": 3638150, + "input": "_allow_ladder" + }, + { + "targetname": "hospmetaldoor01", + "input": "break" + } ], "entities": [ { "model": "models/props/cs_office/shelves_metal.mdl", - "origin": [12262.51, 13293.07, 11.45], - "angles": [0.00, 92.44, 0.00] + "origin": [ + 12262.51, + 13293.07, + 11.449999999999999 + ], + "angles": [ + 0.0, + 92.439999999999998, + 0.0 + ] }, { "model": "models/props_highway/plywood_03.mdl", - "origin": [12374.72, 13596.57, 423.97], - "angles": [0.00, 155.69, 0.00] + "origin": [ + 12374.719999999999, + 13596.57, + 288.02999999999997 + ], + "angles": [ + 0.0, + 155.69, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12445.46, 13541.89, 152.03], - "angles": [0.00, 178.94, 0.00] + "origin": [ + 12445.459999999999, + 13541.889999999999, + 152.03 + ], + "angles": [ + 0.0, + 178.94, + 0.0 + ] }, { "model": "models/props_unique/airport/temp_barricade.mdl", - "origin": [12442.71, 13549.03, 288.03], - "angles": [0.00, 179.02, 0.00] + "origin": [ + 12437.780000000001, + 13543.190000000001, + 424.75 + ], + "angles": [ + 0.0, + -179.66999999999999, + 0.0 + ] + } + ] + }, + { + "inputs": [ + { + "hammerid": 3638150, + "input": "_allow_ladder" + }, + { + "targetname": "hospmetaldoor01", + "input": "break" + } + ], + "entities": [ + { + "model": "models/props/cs_office/shelves_metal.mdl", + "origin": [ + 12262.51, + 13293.07, + 11.449999999999999 + ], + "angles": [ + 0.0, + 92.439999999999998, + 0.0 + ] + }, + { + "model": "models/props_highway/plywood_03.mdl", + "origin": [ + 12374.719999999999, + 13596.57, + 423.97000000000003 + ], + "angles": [ + 0.0, + 155.69, + 0.0 + ] + }, + { + "model": "models/props_unique/airport/temp_barricade.mdl", + "origin": [ + 12445.459999999999, + 13541.889999999999, + 152.03 + ], + "angles": [ + 0.0, + 178.94, + 0.0 + ] + }, + { + "model": "models/props_unique/airport/temp_barricade.mdl", + "origin": [ + 12442.709999999999, + 13549.030000000001, + 288.02999999999997 + ], + "angles": [ + 0.0, + 179.02000000000001, + 0.0 + ] } ] } ] }, "commons": { - "chance": 0.2, + "chance": 0.20000000000000001, "variants": [ { "entities": [ { "model": "models/props_interiors/sofa01.mdl", - "origin": [12302.97, 12852.66, 152.20], - "angles": [0.00, 162.99, 0.00] + "origin": [ + 12302.969999999999, + 12852.66, + 152.19999999999999 + ], + "angles": [ + 0.0, + 162.99000000000001, + 0.0 + ] }, { "model": "models/props_unique/hospital/hospital_bed.mdl", - "origin": [12268.59, 12848.06, 174.29], - "angles": [-90.00, 0.82, 0.00] + "origin": [ + 12268.59, + 12848.059999999999, + 174.28999999999999 + ], + "angles": [ + -90.0, + 0.81999999999999995, + 0.0 + ] } ] }, { "inputs": [ - {"targetname": "hospmetaldoor20", "input": "Close"}, - {"targetname": "hospmetaldoor20", "input": "Lock"} + { + "targetname": "hospmetaldoor20", + "input": "Close" + }, + { + "targetname": "hospmetaldoor20", + "input": "Lock" + } ] } ] @@ -191,83 +410,180 @@ "variants": [ { "inputs": [ - {"hammerid": 6143277, "input": "Break" }, - {"hammerid": 5694290, "input": "Break"} + { + "hammerid": 6143277, + "input": "Break" + }, + { + "hammerid": 5694290, + "input": "Break" + } ], "entities": [ { "model": "models/props_unique/hospital/hospital_bed.mdl", - "origin": [12209.85, 13292.08, 447.59], - "angles": [-90.00, 56.92, 0.00] + "origin": [ + 12209.85, + 13292.08, + 447.58999999999997 + ], + "angles": [ + -90.0, + 56.920000000000002, + 0.0 + ] }, { "model": "models/props/cs_office/shelves_metal1.mdl", - "origin": [12225.10, 13316.98, 426.17], - "angles": [0.00, 90.47, 0.00] + "origin": [ + 12225.1, + 13316.98, + 426.17000000000002 + ], + "angles": [ + 0.0, + 90.469999999999999, + 0.0 + ] }, { "model": "models/props/cs_office/shelves_metal.mdl", - "origin": [12168.08, 13366.62, 424.03], - "angles": [0.00, 178.43, 0.00] + "origin": [ + 12168.08, + 13366.620000000001, + 424.02999999999997 + ], + "angles": [ + 0.0, + 178.43000000000001, + 0.0 + ] } ] }, { "inputs": [ - {"hammerid": 6143277, "input": "SetHealth 10000"} + { + "hammerid": 6143277, + "input": "SetHealth 10000" + } ] } ] }, "hospital": { - "chance": 0.3, + "chance": 0.29999999999999999, "group": "wall", "variants": [ { "inputs": [ - { "hammerid": 5694308, "input": "Break" }, - { "targetname": "hospitaldoor01L", "input": "Close" }, - { "targetname": "hospitaldoor01R", "input": "Close" }, - { "targetname": "hospitaldoor01L", "input": "Lock" }, - { "targetname": "hospitaldoor01R", "input": "Lock" }, - { "targetname": "hospitaldoor01L", "input": "SetUnbreakable" }, - { "targetname": "hospitaldoor01R", "input": "SetUnbreakable" } + { + "hammerid": 5694308, + "input": "Break" + }, + { + "targetname": "hospitaldoor01L", + "input": "Close" + }, + { + "targetname": "hospitaldoor01R", + "input": "Close" + }, + { + "targetname": "hospitaldoor01L", + "input": "Lock" + }, + { + "targetname": "hospitaldoor01R", + "input": "Lock" + }, + { + "targetname": "hospitaldoor01L", + "input": "SetUnbreakable" + }, + { + "targetname": "hospitaldoor01R", + "input": "SetUnbreakable" + } ], - "entities": [ - - ] + "entities": [] }, { "inputs": [ - { "hammerid": 5694308, "input": "Break" }, - { "targetname": "hospitaldoor01L", "input": "Close" }, - { "targetname": "hospitaldoor01R", "input": "Close" }, - { "targetname": "hospitaldoor01L", "input": "Lock" }, - { "targetname": "hospitaldoor01R", "input": "Lock" }, - { "targetname": "hospitaldoor01L", "input": "SetUnbreakable" }, - { "targetname": "hospitaldoor01R", "input": "SetUnbreakable" }, - { "targetname": "hospmetaldoor10", "input": "Close" }, - { "targetname": "hospmetaldoor10", "input": "Lock" }, - { "targetname": "hospmetaldoor10", "input": "SetUnbreakable" } - + { + "hammerid": 5694308, + "input": "Break" + }, + { + "targetname": "hospitaldoor01L", + "input": "Close" + }, + { + "targetname": "hospitaldoor01R", + "input": "Close" + }, + { + "targetname": "hospitaldoor01L", + "input": "Lock" + }, + { + "targetname": "hospitaldoor01R", + "input": "Lock" + }, + { + "targetname": "hospitaldoor01L", + "input": "SetUnbreakable" + }, + { + "targetname": "hospitaldoor01R", + "input": "SetUnbreakable" + }, + { + "targetname": "hospmetaldoor10", + "input": "Close" + }, + { + "targetname": "hospmetaldoor10", + "input": "Lock" + }, + { + "targetname": "hospmetaldoor10", + "input": "SetUnbreakable" + } ], - "entities": [ - - ] + "entities": [] } ] }, "operation": { - "chance": 0.3, + "chance": 0.29999999999999999, "variants": [ { "inputs": [ - {"targetname": "hospitaldoor02L", "input": "Close"}, - {"targetname": "hospitaldoor02R", "input": "Close"}, - {"targetname": "hospitaldoor02L", "input": "Lock"}, - {"targetname": "hospitaldoor02R", "input": "Lock"}, - {"targetname": "hospitaldoor02L", "input": "SetUnbreakable"}, - {"targetname": "hospitaldoor02R", "input": "SetUnbreakable"} + { + "targetname": "hospitaldoor02L", + "input": "Close" + }, + { + "targetname": "hospitaldoor02R", + "input": "Close" + }, + { + "targetname": "hospitaldoor02L", + "input": "Lock" + }, + { + "targetname": "hospitaldoor02R", + "input": "Lock" + }, + { + "targetname": "hospitaldoor02L", + "input": "SetUnbreakable" + }, + { + "targetname": "hospitaldoor02R", + "input": "SetUnbreakable" + } ] } ] @@ -277,162 +593,304 @@ "variants": [ { "inputs": [ - {"hammerid": 5626546, "input": "Break"} + { + "hammerid": 5626546, + "input": "Break" + } ], "entities": [ { "model": "models/props/cs_office/shelves_metal.mdl", - "origin": [13408.75, 14627.20, 435.32], - "angles": [60.00, 177.73, 0.00] + "origin": [ + 13408.75, + 14627.200000000001, + 435.31999999999999 + ], + "angles": [ + 60.0, + 177.72999999999999, + 0.0 + ] }, { "model": "models/props/cs_office/shelves_metal1.mdl", - "origin": [13385.80, 14699.95, 425.39], - "angles": [0.00, -177.20, 0.00] + "origin": [ + 13385.799999999999, + 14699.950000000001, + 425.38999999999999 + ], + "angles": [ + 0.0, + -177.19999999999999, + 0.0 + ] } ] } ] }, "vent": { - "chance": 0.1, + "chance": 0.10000000000000001, "group": "wall", "variants": [ { "inputs": [ - { "hammerid": 5694308, "input": "SetHealth 1000" }, - {"classname": "env_player_blocker", "input": "Kill"}, - {"hammerid": 3654412, "input": "_allow_ladder"}, - {"hammerid": 3654188, "input": "_allow_ladder"}, - {"hammerid": 5694222, "input": "SetHealth 1000"} + { + "hammerid": 5694308, + "input": "SetHealth 1000" + }, + { + "classname": "env_player_blocker", + "input": "Kill" + }, + { + "hammerid": 3654412, + "input": "_allow_ladder" + }, + { + "hammerid": 3654188, + "input": "_allow_ladder" + }, + { + "hammerid": 5694222, + "input": "SetHealth 1000" + } ], "entities": [ { "type": "infodecal", "model": "decals/checkpointarrow01_black", - "origin": [12810.576172, 15100.389648, 468.031250], - "angles": [0.00, 0.00, 0.00] + "origin": [ + 12810.576171999999, + 15100.389648, + 468.03125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] }, { "model": "models/props_crates/static_crate_40.mdl", - "origin": [12869.00, 15086.90, 417.80], - "angles": [0.00, 0.63, 0.00] + "origin": [ + 12869.0, + 15086.9, + 417.80000000000001 + ], + "angles": [ + 0.0, + 0.63, + 0.0 + ] } ] } ] }, "elevator-top": { - "chance": 0.6, + "chance": 0.59999999999999998, "variants": [ { "entities": [ { "model": "models/props/de_prodigy/concretebags.mdl", - "origin": [13545.61, 14802.17, 5537.51], - "angles": [0.00, -6.01, 0.00] + "origin": [ + 13545.610000000001, + 14802.17, + 5537.5100000000002 + ], + "angles": [ + 0.0, + -6.0099999999999998, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [13488.83, 14756.86, 5535.34], - "angles": [0.00, -15.20, 0.00] + "origin": [ + 13488.83, + 14756.860000000001, + 5535.3400000000001 + ], + "angles": [ + 0.0, + -15.199999999999999, + 0.0 + ] } ] }, { "inputs": [ - {"targetname": "breakwall02", "input": "Break"} + { + "targetname": "breakwall02", + "input": "Break" + } ], "entities": [ { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [13424.76, 14834.82, 5535.98], - "angles": [0.00, -95.22, 0.00] + "origin": [ + 13424.76, + 14834.82, + 5535.9799999999996 + ], + "angles": [ + 0.0, + -95.219999999999999, + 0.0 + ] }, { "model": "models/props_industrial/wire_spool_01.mdl", - "origin": [13417.71, 14832.62, 5588.58], - "angles": [0.00, -95.86, 0.00] + "origin": [ + 13417.709999999999, + 14832.620000000001, + 5588.5799999999999 + ], + "angles": [ + 0.0, + -95.859999999999999, + 0.0 + ] } ] } ] }, "forklift": { - "chance": 0.4, + "chance": 0.40000000000000002, "variants": [ { "inputs": [ - {"hammerid": 2944967, "input": "Kill"} + { + "hammerid": 2944967, + "input": "Kill" + } ], "entities": [ { "type": "prop_physics", "model": "models/props/cs_assault/forklift.mdl", - "origin": [13752.76, 14457.58, 5536.18], - "angles": [0.00, 66.78, 0.00] + "origin": [ + 13752.76, + 14457.58, + 5536.1800000000003 + ], + "angles": [ + 0.0, + 66.780000000000001, + 0.0 + ] } ] } ] }, "alt": { - "chance": 0.2, + "chance": 0.20000000000000001, "variants": [ { "inputs": [ - {"hammerid": 6142886, "input": "Break" } + { + "hammerid": 6142886, + "input": "Break" + } ], "entities": [ { "model": "models/props/cs_assault/box_stack2.mdl", - "origin": [12827.77, 14013.51, 5534.55], - "angles": [0.00, -134.88, 0.00] + "origin": [ + 12827.77, + 14013.51, + 5534.5500000000002 + ], + "angles": [ + 0.0, + -134.88, + 0.0 + ] } ] }, { "inputs": [ - {"hammerid": 6142886, "input": "Break" } + { + "hammerid": 6142886, + "input": "Break" + } ], "entities": [ { "model": "models/props/cs_assault/box_stack2.mdl", - "origin": [12827.77, 14013.51, 5534.55], - "angles": [0.00, -134.88, 0.00] + "origin": [ + 12827.77, + 14013.51, + 5534.5500000000002 + ], + "angles": [ + 0.0, + -134.88, + 0.0 + ] }, { "model": "models/props/cs_militia/boxes_garage_lower.mdl", - "origin": [12666.67, 14175.61, 5534.82], - "angles": [0.00, 90.08, 0.00] + "origin": [ + 12666.67, + 14175.610000000001, + 5534.8199999999997 + ], + "angles": [ + 0.0, + 90.079999999999998, + 0.0 + ] } ] } ] }, "doorway": { - "chance": 0.1, + "chance": 0.10000000000000001, "variants": [ { "entities": [ { "model": "models/props/cs_assault/handtruck.mdl", - "origin": [11850.68, 14165.32, 5536.03], - "angles": [0.00, 88.74, 0.00] + "origin": [ + 11850.68, + 14165.32, + 5536.0299999999997 + ], + "angles": [ + 0.0, + 88.739999999999995, + 0.0 + ] } ] } ] }, "alt2": { - "chance": 0.3, + "chance": 0.29999999999999999, "variants": [ { "entities": [ { "model": "models/props/cs_assault/box_stack2.mdl", - "origin": [12123.03, 14254.85, 5537.03], - "angles": [0.00, -3.79, 0.00] + "origin": [ + 12123.030000000001, + 14254.85, + 5537.0299999999997 + ], + "angles": [ + 0.0, + -3.79, + 0.0 + ] } ] }, @@ -440,22 +898,38 @@ "entities": [ { "model": "models/props/cs_assault/box_stack1.mdl", - "origin": [12057.65, 14262.43, 5535.58], - "angles": [0.00, -0.37, 0.00] + "origin": [ + 12057.65, + 14262.43, + 5535.5799999999999 + ], + "angles": [ + 0.0, + -0.37, + 0.0 + ] } ] } ] }, "saferoom": { - "chance": 0.3, + "chance": 0.29999999999999999, "variants": [ { "entities": [ { "model": "models/props/cs_assault/box_stack1.mdl", - "origin": [12060.67, 15047.06, 5536.16], - "angles": [0.00, -86.58, 0.00] + "origin": [ + 12060.67, + 15047.059999999999, + 5536.1599999999999 + ], + "angles": [ + 0.0, + -86.579999999999998, + 0.0 + ] } ] }, @@ -463,8 +937,16 @@ "entities": [ { "model": "models/props/de_prodigy/concretebags.mdl", - "origin": [12227.43, 14983.76, 5536.60], - "angles": [0.00, 123.10, 0.00] + "origin": [ + 12227.43, + 14983.76, + 5536.6000000000004 + ], + "angles": [ + 0.0, + 123.09999999999999, + 0.0 + ] } ] }, @@ -472,16 +954,167 @@ "entities": [ { "model": "models/props/de_prodigy/concretebags.mdl", - "origin": [12227.43, 14983.76, 5536.60], - "angles": [0.00, 123.10, 0.00] + "origin": [ + 12227.43, + 14983.76, + 5536.6000000000004 + ], + "angles": [ + 0.0, + 123.09999999999999, + 0.0 + ] }, { "model": "models/props/de_prodigy/concretebags.mdl", - "origin": [12336.78, 15001.30, 5536.03], - "angles": [0.00, 96.02, 0.00] + "origin": [ + 12336.780000000001, + 15001.299999999999, + 5536.0299999999997 + ], + "angles": [ + 0.0, + 96.019999999999996, + 0.0 + ] } ] } ] + }, + "buttzombie": { + "chance": 0.60000002384185791, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_fairgrounds/lil'peanut_cutout001.mdl", + "origin": [ + 12018.8837890625, + 12769.2353515625, + 58.164085388183594 + ], + "angles": [ + -90.0, + -168.49998474121094, + 0.0 + ] + }, + { + "type": "hammerid", + "model": "3336519", + "origin": [ + 12805.512694999999, + 13544.628906, + 64.599999999999994 + ], + "angles": [ + 0, + 0, + 0 + ] + } + ] + } + ] + }, + "hospital-alt-alt": { + "chance": 0.20000000298023224, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_unique/hospital/hospital_bed.mdl", + "origin": [ + 12444.00390625, + 14638.6142578125, + 445.32492065429688 + ], + "angles": [ + -90.0, + 150.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal1.mdl", + "origin": [ + 12406.54296875, + 14637.6396484375, + 425.23873901367188 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_c17/hospital_surgerytable01.mdl", + "origin": [ + 12423.91015625, + 14690.0712890625, + 467.46975708007812 + ], + "angles": [ + 90.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_unique/hospital/hospital_bed.mdl", + "origin": [ + 12478.13671875, + 14729.5791015625, + 448.06741333007812 + ], + "angles": [ + -60.0, + -30.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props/cs_office/shelves_metal.mdl", + "origin": [ + 12527.8603515625, + 14749.1474609375, + 423.64190673828125 + ], + "angles": [ + 0.0, + -60.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_unique/hospital/hospital_bed.mdl", + "origin": [ + 12509.9970703125, + 14713.6181640625, + 446.0157470703125 + ], + "angles": [ + -90.0, + 90.0, + 0.0 + ] + } + ], + "inputs": [ + {"hammerid": 5694222, "input": "SetUnbreakable"} + ] + } + ] } } \ No newline at end of file diff --git a/data/randomizer/c8m5_rooftop.json b/data/randomizer/c8m5_rooftop.json index b0fc698..7757c8d 100644 --- a/data/randomizer/c8m5_rooftop.json +++ b/data/randomizer/c8m5_rooftop.json @@ -193,6 +193,12 @@ "variants": [ { "weight": 1, + "inputs": [ + { + "hammerid": 3895733, + "input": "disable" + } + ], "entities": [ { "model": "models/props_pipes/pipeset32d_bend256d_001a.mdl", @@ -508,6 +514,12 @@ "variants": [ { "weight": 1, + "inputs": [ + { + "hammerid": 3102494, + "input": "disable" + } + ], "entities": [ { "model": "models/props_highway/plywood_01.mdl", @@ -582,5 +594,153 @@ ] } ] + }, + "guns-alt": { + "chance": 0.5, + "variants": [ + { + "weight": 1, + "entities": [ + { + "scale": [ + 33.316013336181641, + 1.6402918100357056, + 9.5148429870605469 + ], + "type": "hammerid", + "model": "3079455", + "origin": [ + 6884.94189453125, + 8668.1142578125, + 6048.63720703125 + ], + "angles": [ + 0.0, + 116.982421875, + 270.0 + ] + }, + { + "scale": [ + 24.644960403442383, + 2.04140305519104, + 7.0064492225646973 + ], + "type": "hammerid", + "model": "3079449", + "origin": [ + 6853.28466796875, + 8690.1767578125, + 6050.103515625 + ], + "angles": [ + 0.0, + 252.9931640625, + 90.0 + ] + }, + { + "scale": [ + 30.749414443969727, + 1.0600012540817261, + 6.7138762474060059 + ], + "type": "hammerid", + "model": "3079447", + "origin": [ + 6810.08837890625, + 8700.5087890625, + 6050.7412109375 + ], + "angles": [ + 0.0, + 57.48046875, + 270.0 + ] + }, + { + "scale": [ + 12.935267448425293, + 16.983663558959961, + 6.1097126007080078 + ], + "type": "hammerid", + "model": "3079433", + "origin": [ + 6880.39697265625, + 8729.8212890625, + 6093.88818359375 + ], + "angles": [ + 0.0, + 13.974609375, + 0.0 + ] + } + ] + } + ] + }, + "minigun-alt": { + "chance": 0.69999998807907104, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_minigun_l4d1", + "model": "models/w_models/weapons/w_minigun.mdl", + "origin": [ + 6322.20947265625, + 9263.95703125, + 6046.61181640625 + ], + "angles": [ + 0.0, + -30.0, + 0.0 + ] + } + ] + } + ] + }, + "truss-path": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_c17/truss02d.mdl", + "origin": [ + 6305.2177734375, + 8441.568359375, + 6053.21044921875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_c17/truss02d.mdl", + "origin": [ + 6305.732421875, + 8614.6591796875, + 5940.509765625 + ], + "angles": [ + 0.0, + 0.0, + 90.0 + ] + } + ] + } + ] } } \ No newline at end of file diff --git a/data/randomizer/c9m1_alleys.json b/data/randomizer/c9m1_alleys.json index ce7cdac..b848a82 100644 --- a/data/randomizer/c9m1_alleys.json +++ b/data/randomizer/c9m1_alleys.json @@ -326,6 +326,20 @@ -90.599998474121094, 0.0 ] + }, + { + "type": "prop_dynamic", + "model": "models/props_fortifications/concrete_wall001_96_reference.mdl", + "origin": [ + -9936.49609375, + -9655.125, + -5.5445585250854492 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] } ] } @@ -814,6 +828,20 @@ 0.0, 0.0 ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + -3421.105224609375, + -9382.3583984375, + -1.4816436767578125 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] } ], "inputs": [ diff --git a/data/randomizer/c9m2_lots.json b/data/randomizer/c9m2_lots.json index f641c05..b44d316 100644 --- a/data/randomizer/c9m2_lots.json +++ b/data/randomizer/c9m2_lots.json @@ -297,12 +297,12 @@ "type": "prop_dynamic", "model": "models/props_c17/metalladder001.mdl", "origin": [ - 3510.315673828125, - 3315.55859375, + 3513.515673828125, + 3324.55859375, 84.583740234375 ], "angles": [ - -1.3999999761581421, + 0.3999999761581421, -91.400001525878906, 0.0 ] @@ -500,5 +500,85 @@ ] } ] + }, + "warehouse-alt": { + "chance": 0.40000000596046448, + "variants": [ + { + "weight": 1, + "entities": [ + { + "type": "prop_dynamic", + "model": "models/props_vehicles/bus01.mdl", + "origin": [ + 7087.00927734375, + 5887.7353515625, + 41.365642547607422 + ], + "angles": [ + 0.0, + 90.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 7110.74853515625, + 6037.83642578125, + 173.90252685546875 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 7134.6181640625, + 6165.1875, + 114.36043548583984 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_crates/static_crate_40.mdl", + "origin": [ + 7060.404296875, + 6169.53369140625, + 48.904567718505859 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + }, + { + "type": "prop_dynamic", + "model": "models/props_industrial/pallet_stack_docks.mdl", + "origin": [ + 7127.77734375, + 6182.53369140625, + 49.298847198486328 + ], + "angles": [ + 0.0, + 0.0, + 0.0 + ] + } + ] + } + ] } } \ No newline at end of file diff --git a/plugins/l4d2_randomizer.smx b/plugins/l4d2_randomizer.smx index a88885f..92f9a9c 100644 Binary files a/plugins/l4d2_randomizer.smx and b/plugins/l4d2_randomizer.smx differ diff --git a/scripting/l4d2_randomizer.sp b/scripting/l4d2_randomizer.sp index 26038fc..60c1086 100644 --- a/scripting/l4d2_randomizer.sp +++ b/scripting/l4d2_randomizer.sp @@ -41,6 +41,13 @@ BuilderData g_builder; char currentMap[64]; static int _ropeIndex; +enum struct GascanSpawnerData { + float origin[3]; + float angles[3]; +} +ArrayList g_gascanRespawnQueue; +AnyMap g_gascanSpawners; + enum struct BuilderData { JSONObject mapData; @@ -85,7 +92,7 @@ enum struct BuilderData { } void AddEntity(int entity, ExportType exportType = Export_Model) { - JSONObject entityData = ExportEntity(entity, Export_Model); + JSONObject entityData = ExportEntity(entity, exportType); this.AddEntityData(entityData); } @@ -133,6 +140,7 @@ public void OnPluginStart() { HookEvent("player_first_spawn", Event_PlayerFirstSpawn); g_MapData.activeScenes = new ArrayList(sizeof(ActiveSceneData)); + g_gascanSpawners = new AnyMap(); } bool randomizerRan = false; @@ -186,6 +194,22 @@ public void OnConfigsExecuted() { } +public void OnEntityCreated(int entity, const char[] classname) { + if(StrEqual(classname, "weapon_gascan")) { + RequestFrame(Frame_RandomizeGascan, entity); + } +} + +void Frame_RandomizeGascan(int gascan) { + if(!IsValidEntity(gascan)) return; + if(g_gascanRespawnQueue == null || g_gascanRespawnQueue.Length == 0) return; + GascanSpawnerData spawner; + g_gascanRespawnQueue.GetArray(0, spawner); + g_gascanRespawnQueue.Erase(0); + + AssignGascan(gascan, spawner); +} + Action Timer_Run(Handle h) { if(cvarEnabled.BoolValue) RunMap(currentMap, FLAG_NONE); @@ -346,39 +370,46 @@ Action Command_RandomizerBuild(int client, int args) { float origin[3]; char arg1[32]; int entity = GetLookingPosition(client, Filter_IgnorePlayer, origin); + if(entity == 0) { + ReplyToCommand(client, "No entity found"); + return Plugin_Handled; + } GetCmdArg(2, arg1, sizeof(arg1)); ExportType exportType = Export_Model; if(StrEqual(arg1, "hammerid")) { exportType = Export_HammerId; + ReplyToCommand(client, "Added entity's hammerid to variant #%d", g_builder.selectedVariantIndex); } else if(StrEqual(arg1, "targetname")) { + ReplyToCommand(client, "Added entity's targetname to variant #%d", g_builder.selectedVariantIndex); exportType = Export_TargetName; - } - if(entity > 0) { - g_builder.AddEntity(entity, exportType); - ReplyToCommand(client, "Added entity #%d to variant #%d", entity, g_builder.selectedVariantIndex); } else { - ReplyToCommand(client, "No entity found"); + ReplyToCommand(client, "Added entity #%d to variant #%d", entity, g_builder.selectedVariantIndex); } + g_builder.AddEntity(entity, exportType); } else if(StrEqual(arg, "entityid")) { if(g_builder.selectedVariantData == null) { ReplyToCommand(client, "Please load map data, select a scene and a variant."); return Plugin_Handled; } + float origin[3]; char arg1[32]; int entity = GetCmdArgInt(2); - GetCmdArg(3, arg1, sizeof(arg)); + if(entity <= 0 && !IsValidEntity(entity)) { + ReplyToCommand(client, "No entity found"); + return Plugin_Handled; + } + GetCmdArg(2, arg1, sizeof(arg1)); ExportType exportType = Export_Model; if(StrEqual(arg1, "hammerid")) { exportType = Export_HammerId; + ReplyToCommand(client, "Added entity's hammerid to variant #%d", g_builder.selectedVariantIndex); } else if(StrEqual(arg1, "targetname")) { + ReplyToCommand(client, "Added entity's targetname to variant #%d", g_builder.selectedVariantIndex); exportType = Export_TargetName; - } - if(entity > 0) { - g_builder.AddEntity(entity, exportType); - ReplyToCommand(client, "Added entity #%d to variant #%d", entity, g_builder.selectedVariantIndex); } else { - ReplyToCommand(client, "No entity found"); + ReplyToCommand(client, "Added entity #%d to variant #%d", entity, g_builder.selectedVariantIndex); } + g_builder.AddEntity(entity, exportType); } else if(StrEqual(arg, "decal")) { if(g_builder.selectedVariantData == null) { ReplyToCommand(client, "Please load map data, select a scene and a variant."); @@ -405,6 +436,60 @@ Action Command_RandomizerBuild(int client, int args) { obj.Set("origin", VecToArray(pos)); g_builder.AddEntityData(obj); ReplyToCommand(client, "Added fire to variant #%d", g_builder.selectedVariantIndex); + } else if(StrEqual(arg, "light")) { + if(g_builder.selectedVariantData == null) { + ReplyToCommand(client, "Please load map data, select a scene and a variant."); + return Plugin_Handled; + } + float pos[3]; + int defaultColor[4] = { 255, 255, 255, 255}; + float empty[3]; + float scale[3] = { 100.0, -1.0, -1.0 }; + GetLookingPosition(client, Filter_IgnorePlayer, pos); + JSONObject obj = new JSONObject(); + obj.SetString("type", "light_dynamic"); + obj.Set("origin", FromFloatArray(pos, 3)); + obj.Set("color", FromIntArray(defaultColor, 4)); + obj.Set("angles", FromFloatArray(empty, 3)); + obj.Set("scale", FromFloatArray(scale, 3)); + g_builder.AddEntityData(obj); + ReplyToCommand(client, "Added light to variant #%d", g_builder.selectedVariantIndex); + } else if(StrEqual(arg, "wall")) { + if(g_builder.selectedVariantData == null) { + ReplyToCommand(client, "Please load map data, select a scene and a variant."); + return Plugin_Handled; + } + float pos[3]; + float scale[3] = { 15.0, 30.0, 100.0 }; + GetLookingPosition(client, Filter_IgnorePlayer, pos); + JSONObject obj = new JSONObject(); + obj.SetString("type", "env_player_blocker"); + obj.Set("origin", FromFloatArray(pos, 3)); + obj.Set("scale", FromFloatArray(scale, 3)); + g_builder.AddEntityData(obj); + ReplyToCommand(client, "Added wall to variant #%d", g_builder.selectedVariantIndex); + } else if(StrEqual(arg, "gascan")) { + if(g_builder.selectedVariantData == null) { + ReplyToCommand(client, "Please load map data, select a scene and a variant."); + return Plugin_Handled; + } + float pos[3]; + float ang[3]; + int entity = GetLookingPosition(client, Filter_IgnorePlayer, pos); + if(entity == 0) { + GetClientAbsOrigin(client, pos); + pos[2] += 10.0; + GetClientEyeAngles(client, ang); + } else { + GetEntPropVector(entity, Prop_Send, "m_vecOrigin", pos); + GetEntPropVector(entity, Prop_Send, "m_angRotation", ang); + } + JSONObject obj = new JSONObject(); + obj.SetString("type", "_gascan"); + obj.Set("origin", FromFloatArray(pos, 3)); + obj.Set("angles", FromFloatArray(ang, 3)); + g_builder.AddEntityData(obj); + ReplyToCommand(client, "Added gascan (%d) to variant #%d", entity, g_builder.selectedVariantIndex); } else { ReplyToCommand(client, "Unknown arg. Try: new, load, save, scenes, cursor"); } @@ -467,7 +552,19 @@ JSONObject ExportEntityInput(int entity, const char[] input) { entityData.SetString("input", input); return entityData; } - +public void L4D2_CGasCan_EventKilled_Post(int gascan, int inflictor, int attacker) { + GascanSpawnerData spawner; + // If Gascan was destroyed, and was from a spawner + if(g_gascanSpawners.GetArray(gascan, spawner, sizeof(spawner))) { + g_gascanSpawners.Remove(gascan); + // Push to queue, so when it respawns it can pop it off + if(g_gascanRespawnQueue == null) { + g_gascanRespawnQueue = new ArrayList(sizeof(GascanSpawnerData)); + } + g_gascanRespawnQueue.PushArray(spawner, sizeof(spawner)); + Debug("gascan %d destroyed. queue size=%d", gascan, g_gascanRespawnQueue.Length); + } +} bool OnSpawnerDone(int client, int entity, CompleteType result) { PrintToServer("Randomizer OnSpawnerDone"); if(result == Complete_PropSpawned && entity > 0) { @@ -496,9 +593,13 @@ void OnSelectorDone(int client, ArrayList entities) { entityData = ExportEntityInput(ref, "_allow_ladder"); inputArray.Push(entityData); } else { - entityData = ExportEntity(ref, Export_Model); + // If there is a hammerid (> 0), then it's built on the map - we don't want to delete it + // If it is 0, it was spawned, probably by prop spawner, so we remove it + int hammerId = GetEntProp(ref, Prop_Data, "m_iHammerID"); + entityData = ExportEntity(ref, hammerId > 0 ? Export_HammerId : Export_Model); entArray.Push(entityData); - RemoveEntity(ref); + if(hammerId == 0) + RemoveEntity(ref); } delete entityData; //? } @@ -514,6 +615,20 @@ JSONArray VecToArray(float vec[3]) { arr.PushFloat(vec[2]); return arr; } +JSONArray FromFloatArray(float[] vec, int count) { + JSONArray arr = new JSONArray(); + for(int i = 0 ; i < count; i++) { + arr.PushFloat(vec[i]); + } + return arr; +} +JSONArray FromIntArray(int[] vec, int count) { + JSONArray arr = new JSONArray(); + for(int i = 0 ; i < count; i++) { + arr.PushInt(vec[i]); + } + return arr; +} void Command_RandomizerBuild_Scenes(int client, int args) { char arg[16]; @@ -818,6 +933,7 @@ enum struct MapData { ArrayList scenes; ArrayList lumpEdits; ArrayList activeScenes; + ArrayList gascanSpawners; } enum loadFlags { @@ -916,6 +1032,7 @@ public bool RunMap(const char[] map, int flags) { profiler.Start(); selectScenes(flags); + spawnGascans(); profiler.Stop(); _ropeIndex = 0; @@ -924,6 +1041,38 @@ public bool RunMap(const char[] map, int flags) { return true; } +void spawnGascans() { + if(g_MapData.gascanSpawners != null && g_MapData.gascanSpawners.Length > 0) { + // Iterate through every gascan until we run out - picking a random spawner each time + int entity = -1; + char targetname[9]; + GascanSpawnerData spawner; + int spawnerCount = g_MapData.gascanSpawners.Length; + int count; + while((entity = FindEntityByClassname(entity, "weapon_gascan")) != INVALID_ENT_REFERENCE) { + GetEntPropString(entity, Prop_Data, "m_iName", targetname, sizeof(targetname)); + int hammerid = GetEntProp(entity, Prop_Data, "m_iHammerID"); + int glowColor = GetEntProp(entity, Prop_Send, "m_glowColorOverride"); // check if white + if(hammerid == 0 && glowColor == 16777215 && targetname[0] == '\0' && !g_gascanSpawners.ContainsKey(entity)) { + // Found a valid gascan, apply a random spawner + int spawnerIndex = GetRandomInt(0, g_MapData.gascanSpawners.Length - 1); + g_MapData.gascanSpawners.GetArray(spawnerIndex, spawner); + g_MapData.gascanSpawners.Erase(spawnerIndex); // only want one can to use this spawner + + AssignGascan(entity, spawner); + count++; + } + } + Debug("Assigned %d gascans to %d spawners", count, spawnerCount); + } +} + +void AssignGascan(int gascan, GascanSpawnerData spawner) { + g_gascanSpawners.SetArray(gascan, spawner, sizeof(spawner)); + TeleportEntity(gascan, spawner.origin, spawner.angles, NULL_VECTOR); + Debug("Assigning gascan %d to spawner at %.0f %.0f %.0f", gascan, spawner.origin[0], spawner.origin[1], spawner.origin[2]); +} + void loadScene(const char key[MAX_SCENE_NAME_LENGTH], JSONObject sceneData) { SceneData scene; scene.name = key; @@ -1277,8 +1426,22 @@ int CreateLight(const float origin[3], const float angles[3], const int color[4] return entity; } +void AddGascanSpawner(VariantEntityData data) { + if(g_MapData.gascanSpawners == null) { + g_MapData.gascanSpawners = new ArrayList(sizeof(GascanSpawnerData)); + } + GascanSpawnerData spawner; + spawner.origin = data.origin; + spawner.angles = data.angles; + + g_MapData.gascanSpawners.PushArray(spawner); + // Debug("Added gascan spawner at %.0f %.0f %.0f", spawner.origin[0], spawner.origin[1], spawner.origin[2]); +} + void spawnEntity(VariantEntityData entity) { - if(StrEqual(entity.type, "env_fire")) { + if(StrEqual(entity.type, "_gascan")) { + AddGascanSpawner(entity); + } else if(StrEqual(entity.type, "env_fire")) { Debug("spawning \"%s\" at (%.1f %.1f %.1f) rot (%.0f %.0f %.0f)", entity.type, entity.origin[0], entity.origin[1], entity.origin[2], entity.angles[0], entity.angles[1], entity.angles[2]); CreateFire(entity.origin, 20.0, 100.0, 1.0); } else if(StrEqual(entity.type, "light_dynamic")) { @@ -1431,12 +1594,13 @@ void Cleanup() { delete g_MapData.scenes; } delete g_MapData.lumpEdits; + delete g_MapData.gascanSpawners; // Cleanup all alarm car entities: int entity = -1; char targetname[128]; while((entity = FindEntityByClassname(entity, "*")) != INVALID_ENT_REFERENCE) { - if(!IsValidEntity(entity)) return; + if(!IsValidEntity(entity)) continue; GetEntPropString(entity, Prop_Data, "m_iName", targetname, sizeof(targetname)); if(StrContains(targetname, "randomizer_") != -1) { RemoveEntity(entity); @@ -1446,4 +1610,6 @@ void Cleanup() { DeleteCustomEnts(); g_MapData.activeScenes.Clear(); + g_gascanSpawners.Clear(); + delete g_gascanRespawnQueue; } \ No newline at end of file