Difference between revisions of "Widget:3DModelViewer"
Jump to navigation
Jump to search
imported>Elaeagnifolia |
imported>Elaeagnifolia |
||
| Line 4: | Line 4: | ||
const weapons = <!--{$weapons}-->; | const weapons = <!--{$weapons}-->; | ||
const weaponsSheathed = <!--{$weaponsSheathed}-->; | const weaponsSheathed = <!--{$weaponsSheathed}-->; | ||
| + | const enemies = <!--{$enemies}-->; | ||
const misc = <!--{$misc}-->; | const misc = <!--{$misc}-->; | ||
| Line 13: | Line 14: | ||
let weaponSelect = document.getElementById("weaponSelect"); | let weaponSelect = document.getElementById("weaponSelect"); | ||
let weaponsSheathedSelect = document.getElementById("weaponsSheathedSelect"); | let weaponsSheathedSelect = document.getElementById("weaponsSheathedSelect"); | ||
| + | let enemySelect = document.getElementById("enemySelect"); | ||
let miscSelect = document.getElementById("miscSelect"); | let miscSelect = document.getElementById("miscSelect"); | ||
| Line 19: | Line 21: | ||
initializeList(weapons, weaponSelect, "Weapons"); | initializeList(weapons, weaponSelect, "Weapons"); | ||
initializeList(weaponsSheathed, weaponsSheathedSelect, "Sheathed Blades"); | initializeList(weaponsSheathed, weaponsSheathedSelect, "Sheathed Blades"); | ||
| + | initializeList(enemies, enemySelect, "Enemies"); | ||
initializeList(misc, miscSelect, "Other"); | initializeList(misc, miscSelect, "Other"); | ||
}); | }); | ||
| Line 443: | Line 446: | ||
["Axe of the Blazing King", "93nU8yHL2m9"], | ["Axe of the Blazing King", "93nU8yHL2m9"], | ||
["Argent Battleaxe", "cEtKAYKsVUi"], | ["Argent Battleaxe", "cEtKAYKsVUi"], | ||
| − | ["Aqua Labrys", "17T6Bq0MfZm"] | + | ["Aqua Labrys", "17T6Bq0MfZm"], |
| + | ["Spark Slime", "775-0d6cioR"], | ||
| + | ["Jumbo Spark Slime", "775-0d6cioR"], | ||
| + | ["Silver Slime", "1DAX5iTM2ri"], | ||
| + | ["Jumbo Silver Slime", "1DAX5iTM2ri"], | ||
| + | ["Gold Slime", "106OorcH9Tf"], | ||
| + | ["Jumbo Gold Slime", "106OorcH9Tf"], | ||
| + | ["Magma Slime", "3Z7dQC2omoE"], | ||
| + | ["Jumbo Magma Slime", "3Z7dQC2omoE"], | ||
| + | ["Slime", "4dZ0L9fhmYB"], | ||
| + | ["Jumbo Slime", "4dZ0L9fhmYB"], | ||
| + | ["Poison Slime", "eMurF5k5YPP"], | ||
| + | ["Jumbo Poison Slime", "eMurF5k5YPP"], | ||
| + | ["Aqua Slime", "4Si9GljU_Cp"], | ||
| + | ["Jumbo Aqua Slime", "4Si9GljU_Cp"], | ||
| + | ["Pot o' Miracles", "fW9r6Ss3M4-"], | ||
| + | ["Halloween Slime", "du-HUwlMWz8"], | ||
| + | ["Jumbo Halloween Slime", "du-HUwlMWz8"], | ||
| + | ["Snow Slime", "3f0iCL-tnUq"], | ||
| + | ["Jumbo Snow Slime", "3f0iCL-tnUq"], | ||
| + | ["Basilisk", "7HdRtjtXPS9"], | ||
| + | ["Great Basilisk", "7HdRtjtXPS9"], | ||
| + | ["Burning Basilisk", "dAKGKKYM40M"], | ||
| + | ["Great Burning Basilisk", "dAKGKKYM40M"], | ||
| + | ["Drowned Basilisk", "4bZjpERxzdb"], | ||
| + | ["Great Drowned Basilisk", "4bZjpERxzdb"], | ||
| + | ["Sinister Basilisk", "8v8BHotsD9j"], | ||
| + | ["Great Sinister Basilisk", "8v8BHotsD9j"], | ||
| + | ["Hefty Golem", "9h7gdPKNFcZ"], | ||
| + | ["Hefty Igneous Golem", "6W4vfKwq_3Y"], | ||
| + | ["Hefty Nightmare Golem", "aDMjqWiDhn0"], | ||
| + | ["Gleaming Golem", "6joETZRVwtt"], | ||
| + | ["Hefty Gleaming Golem", "6joETZRVwtt"], | ||
| + | ["Devil's Puppet Lv1", "eniBYc8CeVp"], | ||
| + | ["Golem", "9h7gdPKNFcZ"], | ||
| + | ["Igneous Golem", "6W4vfKwq_3Y"], | ||
| + | ["Nightmare Golem", "aDMjqWiDhn0"], | ||
| + | ["Devil's Puppet Lv2", "eniBYc8CeVp"], | ||
| + | ["Devil's Puppet Lv3", "eniBYc8CeVp"], | ||
| + | ["Arrow Raptor", "3822WfkBOmz"], | ||
| + | ["Hefty Arrow Raptor", "3822WfkBOmz"], | ||
| + | ["Coursing Raptor", "bOYe-ftP6AH"], | ||
| + | ["Hefty Coursing Raptor", "bOYe-ftP6AH"], | ||
| + | ["Shining Raptor", "b-sPcWDDKHO"], | ||
| + | ["Hefty Shining Raptor", "b-sPcWDDKHO"], | ||
| + | ["Hued Harrier Lv1", "230U0Dr8DJZ"], | ||
| + | ["Hued Harrier Lv2", "230U0Dr8DJZ"], | ||
| + | ["Hued Harrier Lv3", "230U0Dr8DJZ"], | ||
| + | ["Vile Rat", "bhiFUZyG5iG"], | ||
| + | ["Shock Rat", "fjYerUaFglP"], | ||
| + | ["Jumbo Shock Rat", "fjYerUaFglP"], | ||
| + | ["Meadow Rat", "8hHDj2aLbdQ"], | ||
| + | ["Jumbo Meadow Rat", "8hHDj2aLbdQ"], | ||
| + | ["Crimson Rat", "9ZjN_sxjJx-"], | ||
| + | ["Jumbo Crimson Rat", "9ZjN_sxjJx-"], | ||
| + | ["Jumbo Vile Rat", "bhiFUZyG5iG"], | ||
| + | ["Flame Gobmancer", "0XgLYoT2N7B"], | ||
| + | ["Flare Gobmancer", "0XgLYoT2N7B"], | ||
| + | ["Sea Gobmancer", "9KF8qBjEYYY"], | ||
| + | ["Marine Gobmancer", "9KF8qBjEYYY"], | ||
| + | ["Shadow Gobmancer", "cN0OJWrRy6M"], | ||
| + | ["Dark Gobmancer", "cN0OJWrRy6M"], | ||
| + | ["Gobmancer", "6_RsnFzxrVg"], | ||
| + | ["Twilight Warlock Lv1", "ehDo2c6GqdL"], | ||
| + | ["Cyclonic Gobmancer", "6auwmeFhl4M"], | ||
| + | ["Twilight Warlock Lv2", "ehDo2c6GqdL"], | ||
| + | ["Twilight Warlock Lv3", "ehDo2c6GqdL"], | ||
| + | ["Goblin", "eYxJxYq7X7u"], | ||
| + | ["Great Goblin", "eYxJxYq7X7u"], | ||
| + | ["Sea Goblin", "cVOg301ZH-G"], | ||
| + | ["Great Sea Goblin", "cVOg301ZH-G"], | ||
| + | ["Lustrous Goblin", "7e1gtW9sCwY"], | ||
| + | ["Flame Goblin", "5v-_bjWEWhq"], | ||
| + | ["Great Flame Goblin", "5v-_bjWEWhq"], | ||
| + | ["Shadow Goblin", "amdvn2fwoNJ"], | ||
| + | ["Great Shadow Goblin", "amdvn2fwoNJ"], | ||
| + | ["Grim Chief Lv1", "cxckE_aQG2T"], | ||
| + | ["Grim Chief Lv2", "cxckE_aQG2T"], | ||
| + | ["Grim Chief Lv3", "cxckE_aQG2T"], | ||
| + | ["Bare Bones", "8sXTJ0BJ2S2"], | ||
| + | ["Flare Bones", "9wWCfNGg6k9"], | ||
| + | ["Bright Eyefly", "1BJE4Y4CUYJ"], | ||
| + | ["Bright Greateye", "1BJE4Y4CUYJ"], | ||
| + | ["Green Eyefly", "f28Xfhly0yT"], | ||
| + | ["Green Greateye", "f28Xfhly0yT"], | ||
| + | ["Azure Eyefly", "4V1lNnvC2Uu"], | ||
| + | ["Dark Eyefly", "ccznGFIytYS"], | ||
| + | ["Scarlet Eyefly", "8yrWnTYV0Ci"], | ||
| + | ["Dark Greateye", "ccznGFIytYS"], | ||
| + | ["Azure Greateye", "4V1lNnvC2Uu"], | ||
| + | ["Black Hound", "8ZVp0WFGs20"], | ||
| + | ["Hefty Black Hound", "8ZVp0WFGs20"], | ||
| + | ["Sapphire Hound", "5pLmDarcLMu"], | ||
| + | ["Hefty Sapphire Hound", "5pLmDarcLMu"], | ||
| + | ["Spark Hound", "1OD90_EWN6o"], | ||
| + | ["Hefty Spark Hound", "1OD90_EWN6o"], | ||
| + | ["Ghoul", "cwg7r88wJhU"], | ||
| + | ["Giant Ghoul", "cwg7r88wJhU"], | ||
| + | ["Pyre Ghoul", "cj-rYxtyssG"], | ||
| + | ["Giant Pyre Ghoul", "cj-rYxtyssG"], | ||
| + | ["Forest Ghoul", "5E77gt7fe2X"], | ||
| + | ["Giant Forest Ghoul", "5E77gt7fe2X"], | ||
| + | ["Green Shroom", "c6xcFRY0MF_"], | ||
| + | ["Jumbo Green Shroom", "c6xcFRY0MF_"], | ||
| + | ["Blue Shroom", "6JY6qFcMC7Q"], | ||
| + | ["Jumbo Blue Shroom", "6JY6qFcMC7Q"], | ||
| + | ["Purple Shroom", "fzJ3D0Vi0KO"], | ||
| + | ["Red Shroom", "60QnQyzEk27"], | ||
| + | ["Yellow Shroom", "8Ih3Xu6KEQw"], | ||
| + | ["Rainbow Cap Lv1", "0fQ7sLhMy7e"], | ||
| + | ["Jumbo Red Shroom", "60QnQyzEk27"], | ||
| + | ["Rainbow Cap Lv2", "0fQ7sLhMy7e"], | ||
| + | ["Rainbow Cap Lv3", "0fQ7sLhMy7e"], | ||
| + | ["Great Roving Bison", "7xgkt1RV9Dm"], | ||
| + | ["Great Bearded Bison", "aDe0s6ytL3j"], | ||
| + | ["Nimble Bison", "eM0jE6IvLfu"], | ||
| + | ["Great Nimble Bison", "eM0jE6IvLfu"], | ||
| + | ["Bearded Bison", "aDe0s6ytL3j"], | ||
| + | ["Winter Bison", "4DkFzArYyyM"], | ||
| + | ["Coastal Bit", "eGwje9TlR3N"], | ||
| + | ["Storm Bit", "9lVHOyOdaTx"], | ||
| + | ["Wererat", "8rzq36wR11w"], | ||
| + | ["Skeleton Knight", "7s7JOzad2p0"], | ||
| + | ["Big Skeleton Knight", "7s7JOzad2p0"], | ||
| + | ["Blood Skeleton", "7s7JOzad2p0"], | ||
| + | ["Rouge Lizardman", "epUdp2Rmpbm"], | ||
| + | ["Lizardman", "3S7M8vDP-AY"], | ||
| + | ["Wind Lizardman", "9fgGncvelEJ"], | ||
| + | ["Tawny Lizardman", "e-9G9vVnzoS"], | ||
| + | ["Giant Lizardman", "3S7M8vDP-AY"], | ||
| + | ["Giant Tawny Lizardman", "e-9G9vVnzoS"], | ||
| + | ["Giant Wind Lizardman", "9fgGncvelEJ"], | ||
| + | ["Giant Rouge Lizardman", "epUdp2Rmpbm"], | ||
| + | ["Festive Treant", "eRh8ntUMAkk"], | ||
| + | ["Water Troll", "fxOMvKQa2hG"], | ||
| + | ["Shiny Troll", "1DNfh8XswRr"], | ||
| + | ["Sturdy Shiny Troll", "1DNfh8XswRr"], | ||
| + | ["Gold Fafnir", "0FgCGXwHdZl"], | ||
| + | ["Silver Fafnir", "ex2_1JYez1z"], | ||
| + | ["Bronze Fafnir", "2icPTwF-drJ"], | ||
| + | ["Flame Gobhealer", "8r0PsGohLK2"], | ||
| + | ["Sea Gobhealer", "2dDChuPwbY2"], | ||
| + | ["Gobhealer", "dhgxCzj3Zs1"], | ||
| + | ["Lustrous Gobhealer", "1yW2dvW6BGQ"], | ||
| + | ["Shadow Gobhealer", "8KcmY0CJdK9"], | ||
| + | ["Imperial Defender (Flame)", "eEE2BWglB2x"], | ||
| + | ["Imperial Defender (Water)", "baii2l7PSBA"], | ||
| + | ["Imperial Defender (Wind)", "2Bn_jwprjJn"], | ||
| + | ["Imperial Defender (Light)", "5l1cIGiaxR6"], | ||
| + | ["Imperial Defender (Shadow)", "bhhyZF_JiYK"], | ||
| + | ["Manticore", "0C8nIMVen1f"], | ||
| + | ["Coastal Sentinel", "4yriI4Cldd2"], | ||
| + | ["Storm Sentinel", "773eq3IJan5"], | ||
| + | ["King Archeole", "5zwJKq9eXxm"], | ||
| + | ["Aquatic Cyclops", "7LabM1dzfCm"], | ||
| + | ["Pumpking", "3en3aS8mO4e"], | ||
| + | ["Water Troll King", "bQ_4SgG8bSo"], | ||
| + | ["Phraeganoth", "8Jx7uZfGnmO"], | ||
| + | ["Phraeganoth (Overdrive)", "eA9XNa5mDSD"], | ||
| + | ["Hypnos", "2UUP2tJxscf"], | ||
| + | ["Hypnos (Overdrive)", "dg7pvkRcbS3"], | ||
| + | ["Sabnock", "5qADqJ_HbZH"], | ||
| + | ["Sabnock (Overdrive)", "9YWSe2QNBU_"], | ||
| + | ["Shishimai", "dKL1SW_lWmj"], | ||
| + | ["Shishimai (Overdrive)", "3VRbdwe67AL"], | ||
| + | ["Imperial Soldier (Flame)", "eEE2BWglB2x"], | ||
| + | ["Imperial Soldier (Water)", "baii2l7PSBA"], | ||
| + | ["Imperial Soldier (Wind)", "2Bn_jwprjJn"], | ||
| + | ["Imperial Soldier (Light)", "5l1cIGiaxR6"], | ||
| + | ["Imperial Soldier (Shadow)", "bhhyZF_JiYK"], | ||
| + | ["Imperial Axeman (Flame)", "eEE2BWglB2x"], | ||
| + | ["Imperial Axeman (Water)", "baii2l7PSBA"], | ||
| + | ["Imperial Axeman (Wind)", "2Bn_jwprjJn"], | ||
| + | ["Imperial Axeman (Light)", "5l1cIGiaxR6"], | ||
| + | ["Imperial Axeman (Shadow)", "bhhyZF_JiYK"], | ||
| + | ["Imperial Lancer (Flame)", "eEE2BWglB2x"], | ||
| + | ["Imperial Lancer (Water)", "baii2l7PSBA"], | ||
| + | ["Imperial Lancer (Wind)", "2Bn_jwprjJn"], | ||
| + | ["Imperial Lancer (Light)", "5l1cIGiaxR6"], | ||
| + | ["Imperial Lancer (Shadow)", "bhhyZF_JiYK"], | ||
| + | ["Imperial Archer (Flame)", "9IXy6h9Q4tg"], | ||
| + | ["Imperial Archer (Water)", "b9LXiYCmX0U"], | ||
| + | ["Imperial Archer (Wind)", "6A8YNfKHgg4"], | ||
| + | ["Imperial Archer (Light)", "9PM4lh73ksR"], | ||
| + | ["Imperial Archer (Shadow)", "7JnMwhA7l8y"], | ||
| + | ["Elite Archer (Shadow)", "0G61MoJD9Yv"], | ||
| + | ["Imperial Mage (Flame)", "3QrRGH2giKg"], | ||
| + | ["Imperial Mage (Water)", "cvDA2jirfa7"], | ||
| + | ["Imperial Mage (Wind)", "3A3Gj-Lk-45"], | ||
| + | ["Imperial Mage (Light)", "f22hqWPsYLO"], | ||
| + | ["Imperial Mage (Shadow)", "7QRiScXw1Qr"], | ||
| + | ["Imperial Healer (Flame)", "59qdAvmQB7u"], | ||
| + | ["Imperial Healer (Water)", "4_XYgScbdoA"], | ||
| + | ["Imperial Healer (Wind)", "5bEXBDs40-u"], | ||
| + | ["Imperial Healer (Light)", "aa8CMpo1wWy"], | ||
| + | ["Imperial Healer (Shadow)", "61oqBORafWv"], | ||
| + | ["Elite Soldier (Light)", "3BXx31Egx6n"], | ||
| + | ["Elite Axeman (Water)", "bA4BsmD7YDS"], | ||
| + | ["Elite Lancer (Wind)", "d27K57jg9rf"], | ||
| + | ["Elite Lancer (Light)", "3BXx31Egx6n"], | ||
| + | ["Imperial Swordsman (Flame)", ""], | ||
| + | ["Elite Swordsman (Flame)", "9dIsGI29ceX"], | ||
| + | ["Valyx", "218xvO6GJGE"], | ||
| + | ["Bone Prison", "1R2dbK6zaS-"], | ||
| + | ["Magma Spot", "6YKPDTz3km9"], | ||
| + | ["Magma Lump", "99Cx7URrNKU"], | ||
| + | ["Shadow Lizardman", "aj94dT6Z8Oa"], | ||
| + | ["Shadow Bison", "5sluFm2bYL2"], | ||
| + | ["Water Rat", "5Lv1s3ul_bj"], | ||
| + | ["Snow Golem", "8RWomLl0PEj"], | ||
| + | ["Bronze Slime", "57N8kzkBDBO"] | ||
]); | ]); | ||
| Line 453: | Line 666: | ||
<select id="weaponSelect" name="weaponSelect" onChange="changeModel(this)"></select><br/> | <select id="weaponSelect" name="weaponSelect" onChange="changeModel(this)"></select><br/> | ||
<select id="weaponsSheathedSelect" name="weaponsSheathedSelect" onChange="changeModel(this)"></select><br/> | <select id="weaponsSheathedSelect" name="weaponsSheathedSelect" onChange="changeModel(this)"></select><br/> | ||
| + | <select id="enemySelect" name="enemySelect" onChange="changeModel(this)"></select><br/> | ||
<select id="miscSelect" name="miscSelect" onChange="changeModel(this)"></select> | <select id="miscSelect" name="miscSelect" onChange="changeModel(this)"></select> | ||
<div id="modelViewer"></div> | <div id="modelViewer"></div> | ||
</includeonly> | </includeonly> | ||