<NME> unity.txt <BEF> GameObject myObj; Vector3 pos; GameObject invMarker = GameObject.Find("InventoryMarker"); Container ParentContainer; myObj= CreateGameObject("special_tmap_obj_31_01_00_0535",37.799999f,3.600000f,1.220000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 559, 0, 37, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_039", "a_use_trigger_99_99_00_0559", 39, false); SetRotation(myObj,0,180,0); myObj= CreateGameObject("some_grass_bunches_of_grass_31_01_00_0982",38.057144f,3.600000f,2.380000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); CreateObjectGraphics(myObj,"Sprites/OBJECTS_193",true); myObj= CreateGameObject("special_tmap_obj_32_01_00_0545",39.000000f,3.600000f,1.220000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 574, 0, 46, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_038", "a_use_trigger_99_99_00_0574", 38, false); SetRotation(myObj,0,180,0); myObj= CreateGameObject("some_grass_bunches_of_grass_33_01_00_0961",40.285717f,3.600000f,2.228571f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("a_plant_33_01_00_0962",39.942856f,3.600000f,2.057143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_192",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_192", "UW1/Sprites/Objects/OBJECTS_192", "UW1/Sprites/Objects/OBJECTS_192", 24, 192, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_large_boulder_09_02_00_0576",11.485714f,0.300000f,2.914286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_340",true); myObj= CreateGameObject("some_writing_30_02_00_0963",36.020000f,4.200000f,3.257143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_358",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", 10, 358, 576, 40, 0, 0, 0, 0); SetReadable(myObj); SetRotation(myObj,0,270,0); SetSprite(myObj, "Sprites/tmobj/tmobj_20"); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_358",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_358", "UW1/Sprites/Objects/OBJECTS_358", "UW1/Sprites/Objects/OBJECTS_358", 10, 358, 576, 40, 0, 0, 1, 0, 0, 1, 1, 8, 1); SetReadable(myObj); SetRotation(myObj,0,270,0); SetSprite(myObj, _RES + "/Sprites/tmobj/tmobj_20"); SetLink(myObj,576); myObj= CreateGameObject("a_plant_30_02_00_1017",36.514286f,3.600000f,2.914286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_192",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_192", "UW1/Sprites/Objects/OBJECTS_192", "UW1/Sprites/Objects/OBJECTS_192", 24, 192, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); SetFood(myObj); myObj= CreateGameObject("some_grass_bunches_of_grass_31_02_00_0981",37.371429f,3.600000f,2.742857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("some_grass_bunches_of_grass_32_02_00_0988",38.742855f,3.600000f,2.571429f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("some_grass_bunches_of_grass_32_02_00_0989",38.571426f,3.600000f,3.428571f); myObj= CreateGameObject("a_silver_tree_36_02_00_0967",43.714287f,3.600000f,3.257143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_458",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_458", "Sprites/OBJECTS_458", "Sprites/OBJECTS_458", 80, 458, 1, 40, 13, 1, 13, 4); AddAnimationOverlay(myObj,13,4); myObj= CreateGameObject("a_button_49_02_00_0817",59.314285f,3.300000f,2.420000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_377",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0816",40,0,0,7,377); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_377", "Sprites/OBJECTS_377", "Sprites/OBJECTS_377", 8, 377, 816, 40, 0, 0, 0, 1); SetRotation(myObj,0,180,0); SetButtonProperties(myObj, 1, "Sprites/tmflat/tmflat_0009", "Sprites/tmflat/tmflat_0001"); pos = new Vector3(70.114288f, 1.500000f, 2.914286f); myObj.transform.position = pos; CreateNPC(myObj,"64","Sprites/OBJECTS_064", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_064", "Sprites/OBJECTS_064", "Sprites/OBJECTS_064", 0, 64, 0, 58, 2, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 5, 0, 0, 8, 0, 0, 0, 0, 0,"GroundMesh11"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("a_rotworm_58_02_00_0222"); myObj= CreateGameObject("a_bone_07_03_00_0812",8.914286f,0.300000f,4.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", 23, 196, 1, 40, 34, 1, 0, 1); myObj= CreateGameObject("a_bedroll_18_03_00_0823",22.114285f,3.600000f,4.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_bone_23_03_00_0609",27.771429f,3.000000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", 23, 196, 1, 40, 13, 1, 0, 1); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_23_03_00_0608",28.114285f,3.000000f,4.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_204",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_204", "Sprites/OBJECTS_204", "Sprites/OBJECTS_204", 23, 204, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_blood_stain_23_03_00_0607",27.942856f,3.000000f,4.457143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_222",true); myObj= CreateGameObject("a_skull_30_03_00_1016",36.857143f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 0, 40, 34, 1, 0, 1); myObj= CreateGameObject("a_sack_33_03_00_0942",39.771427f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_128",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_128", "Sprites/OBJECTS_128", "Sprites/OBJECTS_129", 19, 128, 940, 40, 0, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 125, 255, 255); myObj= CreateGameObject("a_dagger_33_03_00_0940",39.771427f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_003",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_003", "Sprites/OBJECTS_003", "Sprites/OBJECTS_003", 1, 3, 0, 15, 0, 1, 0, 1); CreateWeapon(myObj, 4, 2, 5, 3, 5); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_194", "UW1/Sprites/Objects/OBJECTS_194", "UW1/Sprites/Objects/OBJECTS_194", 23, 194, 0, 40, 34, 1, 1, 0, 1, 0, 0, 0, 1); myObj= CreateGameObject("a_torch_torches_33_03_00_0936",39.771427f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_145",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", 22, 145, 1, 40, 0, 1, 1, 1); CreateLight(myObj, 2, 3, 149, 145); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 1); AddObjectToContainer("a_dagger_99_99_00_0940", ParentContainer, 0); myObj= CreateGameObject("a_map_33_03_00_0941",39.771427f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_315",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_315", "Sprites/OBJECTS_315", "Sprites/OBJECTS_315", 28, 315, 512, 40, 0, 1, 0, 1); SetMap(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 2); myObj= CreateGameObject("a_fish_fish_33_03_00_0935",39.771427f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_182",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_182", "Sprites/OBJECTS_182", "Sprites/OBJECTS_182", 24, 182, 0, 40, 0, 1, 0, 1); SetFood(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 3); myObj= CreateGameObject("a_loaf_of_bread_loaves_of_bread_33_03_00_0934",39.771427f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_177",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_177", "Sprites/OBJECTS_177", "Sprites/OBJECTS_177", 24, 177, 0, 40, 0, 1, 0, 1); SetFood(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 4); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_185", "UW1/Sprites/Objects/OBJECTS_185", "UW1/Sprites/Objects/OBJECTS_185", 14, 185, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); myObj= CreateGameObject("an_apple_33_03_00_0959",39.771427f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_179",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_179", "Sprites/OBJECTS_179", "Sprites/OBJECTS_179", 24, 179, 0, 40, 0, 1, 0, 1); SetFood(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 5); myObj= CreateGameObject("a_Jux_stone_28_04_00_0587",34.457142f,3.000000f,5.142857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_224", "UW1/Sprites/Objects/OBJECTS_241", "UW1/Sprites/Objects/OBJECTS_241", 6, 241, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); SetObjectAsRuneStone(myObj); myObj= CreateGameObject("some_writing_35_03_00_0929",42.020000f,3.900000f,4.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_358",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", 10, 358, 580, 40, 0, 0, 0, 0); SetReadable(myObj); SetRotation(myObj,0,270,0); SetSprite(myObj, "Sprites/tmobj/tmobj_20"); SetLink(myObj,580); myObj= CreateGameObject("special_tmap_obj_04_04_00_1021",4.820000f,0.000000f,5.400000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 39, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_170", "" , 170, false); SetRotation(myObj,0,270,0); myObj= CreateGameObject("a_toadstool_16_04_00_0582",19.714287f,3.600000f,5.314286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_185",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_185", "Sprites/OBJECTS_185", "Sprites/OBJECTS_185", 24, 185, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_toadstool_16_04_00_0581",20.057142f,3.600000f,4.971428f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_185",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_185", "Sprites/OBJECTS_185", "Sprites/OBJECTS_185", 24, 185, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_Jux_stone_28_04_00_0587",34.457142f,3.000000f,5.142857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_224", "Sprites/OBJECTS_241", "Sprites/OBJECTS_241", 6, 241, 1, 40, 0, 1, 0, 1); SetObjectAsRuneStone(myObj); myObj= CreateGameObject("a_key_002_3",65.828568f,3.000000f,5.314286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_258",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_258", "Sprites/OBJECTS_258", "Sprites/OBJECTS_258", 5, 258, 1, 40, 2, 1, 0, 1); CreateKey(myObj, 2); myObj = new GameObject("a_acid_slug_55_04_00_0227"); pos = new Vector3(66.514290f, 2.400000f, 5.314286f); myObj.transform.position = pos; CreateNPC(myObj,"69","Sprites/OBJECTS_069", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_069", "Sprites/OBJECTS_069", "Sprites/OBJECTS_069", 0, 69, 0, 55, 4, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 6, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh11"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_327", "UW1/Sprites/Objects/OBJECTS_327", "UW1/Sprites/Objects/OBJECTS_327", 29, 327, 0, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/materials/tmap/uw1_050", 53, 0, 0); SetRotation(myObj,-90,-180,0); pos = new Vector3(26.914284f, 3.000000f, 6.200000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_321",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", 4, 321, 995, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_03", 1, 1); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("an_Ort_stone_28_05_00_0586",34.285717f,3.000000f,6.171429f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_224", "Sprites/OBJECTS_246", "Sprites/OBJECTS_246", 6, 246, 1, 40, 0, 1, 0, 1); SetObjectAsRuneStone(myObj); myObj= CreateGameObject("a_blood_stain_28_05_00_0585",34.628571f,3.000000f,6.514286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_130",true); myObj= CreateGameObject("a_skull_28_05_00_0592",34.457142f,3.000000f,6.857143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 1, 40, 63, 1, 0, 1); myObj = new GameObject("door_038_005"); pos = new Vector3(45.799999f, 3.000000f, 6.514286f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_327",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_327", "Sprites/OBJECTS_327", "Sprites/OBJECTS_327", 29, 327, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/world/uw1_050", 53, 0); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_blood_stain_23_06_00_0955",28.285715f,3.000000f,7.542857f); pos = new Vector3(6.514286f, 0.300000f, 7.714286f); myObj.transform.position = pos; CreateNPC(myObj,"64","Sprites/OBJECTS_064", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_064", "Sprites/OBJECTS_064", "Sprites/OBJECTS_064", 0, 64, 0, 5, 6, 0, 0, 1); SetNPCProps(myObj, 0, 49, 32, 1, 0, 3, 0, 0, 4, 0, 1, 0, 4, 0,"GroundMesh3"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_28_06_00_0591",34.628571f,3.000000f,7.542857f); myObj= CreateGameObject("a_pack_23_06_00_0993",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_130",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_130", "Sprites/OBJECTS_130", "Sprites/OBJECTS_131", 19, 130, 948, 40, 0, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 250, 255, 255); myObj= CreateGameObject("a_key_001_3",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_262",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_262", "Sprites/OBJECTS_262", "Sprites/OBJECTS_262", 5, 262, 0, 40, 1, 1, 0, 1); CreateKey(myObj, 1); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); myObj= CreateGameObject("a_blood_stain_28_06_00_0593",34.457142f,3.000000f,8.228571f); myObj= CreateGameObject("a_scroll_23_06_00_0956",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_312",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_312", "Sprites/OBJECTS_312", "Sprites/OBJECTS_312", 13, 312, 514, 40, 0, 1, 0, 1); SetReadable(myObj); SetLink(myObj,514); myObj.transform.position = invMarker.transform.position; myObj = new GameObject("a_cave_bat_45_06_00_0229"); pos = new Vector3(54.514286f, 2.100000f, 7.714286f); myObj= CreateGameObject("a_rune_bag_23_06_00_0960",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_143",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_143", "Sprites/OBJECTS_143", "Sprites/OBJECTS_143", 70, 143, 0, 40, 0, 1, 0, 1); SetObjectAsRuneBag(myObj); myObj.transform.position = invMarker.transform.position; ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_Bet_stone_23_06_00_0950",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_224", "Sprites/OBJECTS_233", "Sprites/OBJECTS_233", 6, 233, 0, 40, 0, 1, 0, 1); SetObjectAsRuneStone(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 3); SetRotation(myObj,0,0,0); myObj= CreateGameObject("an_In_stone_23_06_00_0949",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_224", "Sprites/OBJECTS_240", "Sprites/OBJECTS_240", 6, 240, 0, 40, 0, 1, 0, 1); SetObjectAsRuneStone(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 4); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_323", "UW1/Sprites/Objects/OBJECTS_323", "UW1/Sprites/Objects/OBJECTS_323", 4, 323, 938, 2, 0, 0, 1, 0, 1, 0, 0, 0, 1); myObj= CreateGameObject("a_Lor_stone_23_06_00_0951",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_224", "Sprites/OBJECTS_243", "Sprites/OBJECTS_243", 6, 243, 0, 40, 0, 1, 0, 1); SetObjectAsRuneStone(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 5); SetRotation(myObj,0,270,0); myObj= CreateGameObject("a_Sanct_stone_23_06_00_0947",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_224", "Sprites/OBJECTS_250", "Sprites/OBJECTS_250", 6, 250, 0, 40, 0, 1, 0, 1); SetObjectAsRuneStone(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 6); CreateNPC(myObj,"90","UW1/Sprites/Objects/OBJECTS_090", 67); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_090", "UW1/Sprites/Objects/OBJECTS_090", "UW1/Sprites/Objects/OBJECTS_090", 0, 90, 0, 17, 7, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 67, 17, 7, 0, 0, 43, 0, 0, 8, 2, 1, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_23_06_00_0702",27.942856f,3.000000f,8.057143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 1, 40, 34, 1, 0, 1); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_28_06_00_0591",34.628571f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 1, 40, 63, 1, 0, 1); myObj= CreateGameObject("a_bone_28_06_00_0590",34.457142f,3.000000f,7.220000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_197",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_197", "Sprites/OBJECTS_197", "Sprites/OBJECTS_197", 23, 197, 1, 40, 63, 1, 0, 1); myObj= CreateGameObject("some_grass_bunches_of_grass_28_06_00_0589",34.114285f,3.000000f,7.714286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_193",true); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_375",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_375", "UW1/Sprites/Objects/OBJECTS_375", "UW1/Sprites/Objects/OBJECTS_375", 8, 375, 992, 40, 0, 0, 1, 0, 0, 0, 0, 0, 1); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0992",40,0,0,7,375); myObj= CreateGameObject("a_broken_axe_32_06_00_0977",38.914284f,3.000000f,7.714286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_200",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_200", "Sprites/OBJECTS_200", "Sprites/OBJECTS_200", 23, 200, 0, 40, 0, 1, 0, 1); myObj = new GameObject("a_cave_bat_45_06_00_0229"); pos = new Vector3(54.514286f, 2.100000f, 7.714286f); myObj.transform.position = pos; CreateNPC(myObj,"66","Sprites/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", 0, 66, 0, 45, 6, 0, 0, 1); SetNPCProps(myObj, 0, 0, 4, 8, 0, 8, 0, 0, 8, 1, 0, 0, 0, 0,"SkyMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_candle_16_08_00_0580",19.371428f,3.600000f,10.628572f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_146",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_146", "UW1/Sprites/Objects/OBJECTS_146", "UW1/Sprites/Objects/OBJECTS_146", 22, 146, 1, 40, 0, 1, 1, 1, 1, 1, 0, 0, 1); pos = new Vector3(60.514286f, 1.800000f, 7.714286f); myObj.transform.position = pos; CreateNPC(myObj,"66","Sprites/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", 0, 66, 0, 50, 6, 0, 0, 1); SetNPCProps(myObj, 0, 0, 4, 8, 0, 8, 0, 0, 8, 1, 0, 0, 0, 0,"SkyMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_067", "UW1/Sprites/Objects/OBJECTS_067", "UW1/Sprites/Objects/OBJECTS_067", 0, 67, 0, 22, 8, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 22, 8, 0, 0, 4, 0, 0, 4, 1, 1, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,225,0); pos = new Vector3(69.085716f, 2.400000f, 7.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_323",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", 4, 323, 938, 2, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_06", 2, 1); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_switch_04_07_00_0864",4.820000f,1.200000f,9.085714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_372",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0691",40,0,0,7,372); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_372", "Sprites/OBJECTS_372", "Sprites/OBJECTS_372", 8, 372, 691, 40, 0, 0, 0, 1); SetRotation(myObj,0,270,0); SetButtonProperties(myObj, 0, "Sprites/tmflat/tmflat_0004", "Sprites/tmflat/tmflat_0012"); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_207",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_207", "UW1/Sprites/Objects/OBJECTS_207", "UW1/Sprites/Objects/OBJECTS_207", 24, 207, 0, 40, 0, 0, 0, 0, 1, 0, 0, 0, 1); pos = new Vector3(20.914284f, 3.600000f, 8.914286f); myObj.transform.position = pos; CreateNPC(myObj,"90","Sprites/OBJECTS_090", 67); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", 0, 90, 0, 17, 7, 0, 0, 1); SetNPCProps(myObj, 67, 0, 8, 0, 0, 43, 0, 0, 8, 2, 1, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateDoor(myObj, _RES + "/textures/doors/doors_00_material", 0, 1, 0); SetRotation(myObj,-90,90,0); pos = new Vector3(29.000000f, 3.000000f, 8.914286f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 53, 0); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_broken_mace_37_08_00_0968",45.428570f,3.000000f,10.457142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_202",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_202", "UW1/Sprites/Objects/OBJECTS_202", "UW1/Sprites/Objects/OBJECTS_202", 23, 202, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_pull_chain_32_07_00_0994",39.580002f,3.600000f,9.085714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_375",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0992",40,0,0,7,375); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_375", "Sprites/OBJECTS_375", "Sprites/OBJECTS_375", 8, 375, 992, 40, 0, 0, 0, 1); SetRotation(myObj,0,90,0); SetButtonProperties(myObj, 0, "Sprites/tmflat/tmflat_0007", "Sprites/tmflat/tmflat_0015"); myObj= CreateGameObject("a_wooden_shield_04_08_00_0808",5.828571f,0.300000f,10.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_060",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_060", "Sprites/OBJECTS_060", "Sprites/OBJECTS_060", 78, 60, 0, 27, 0, 1, 0, 1); myObj= CreateGameObject("special_tmap_obj_06_08_00_1022",7.800000f,0.000000f,10.780000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 39, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_170", "" , 170, false); SetRotation(myObj,0,0,0); myObj= CreateGameObject("a_candle_16_08_00_0580",19.371428f,3.600000f,10.628572f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_146",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_146", "Sprites/OBJECTS_146", "Sprites/OBJECTS_146", 22, 146, 1, 40, 0, 1, 1, 1); CreateLight(myObj, 1, 12, 150, 146); myObj = new GameObject("a_giant_rat_22_08_00_0254"); pos = new Vector3(27.428572f, 3.000000f, 10.457142f); myObj.transform.position = pos; CreateNPC(myObj,"67","Sprites/OBJECTS_067", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_067", "Sprites/OBJECTS_067", "Sprites/OBJECTS_067", 0, 67, 0, 22, 8, 0, 0, 1); SetNPCProps(myObj, 0, 0, 4, 0, 0, 4, 0, 0, 4, 1, 1, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_213",true); myObj= CreateGameObject("a_piece_of_cheese_pieces_of_cheese_22_08_00_0945",26.914284f,3.000000f,10.628572f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_178",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_178", "Sprites/OBJECTS_178", "Sprites/OBJECTS_178", 24, 178, 0, 40, 36, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_piece_of_meat_pieces_of_meat_22_08_00_0946",26.914284f,3.000000f,10.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_176",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", 24, 176, 0, 40, 36, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_plant_30_08_00_0954",36.857143f,3.600000f,10.457142f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_366", "UW1/Sprites/Objects/OBJECTS_366", "UW1/Sprites/Objects/OBJECTS_366", 34, 366, 0, 40, 19, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj, "uw1_071", "" , 71, false); SetRotation(myObj,0,270,0); pos = new Vector3(40.457142f, 3.000000f, 9.800000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 953, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 0, 1); SetRotation(myObj,-90,90,0); SetRotation(myObj,-90,0,0); pos = new Vector3(43.400002f, 3.000000f, 10.114285f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_321",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", 4, 321, 965, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_03", 1, 1); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_broken_mace_37_08_00_0968",45.428570f,3.000000f,10.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_202",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_202", "Sprites/OBJECTS_202", "Sprites/OBJECTS_202", 23, 202, 0, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_38_08_00_0969",46.114288f,3.000000f,10.780000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_205",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", 23, 205, 0, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_38_08_00_0970",46.457142f,3.000000f,9.942857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 0, 40, 13, 1, 0, 1); myObj= CreateGameObject("a_bone_38_08_00_0973",45.942856f,3.000000f,10.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", 23, 196, 0, 40, 13, 1, 0, 1); myObj= CreateGameObject("a_skull_38_08_00_0974",46.114288f,3.000000f,10.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 0, 40, 13, 1, 0, 1); myObj = new GameObject("door_046_008"); pos = new Vector3(55.400002f, 2.700000f, 10.285714f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_325",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_325", "Sprites/OBJECTS_325", "Sprites/OBJECTS_325", 4, 325, 536, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_09", 0, 1); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_sack_38_10_00_0847",46.285713f,3.000000f,12.685714f); myObj= CreateGameObject("a_skull_38_09_00_0971",46.457142f,3.000000f,10.971428f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", 23, 195, 0, 47, 47, 1, 0, 1); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_38_09_00_0972",46.114288f,3.000000f,11.314286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 0, 40, 47, 1, 0, 1); myObj= CreateGameObject("special_tmap_obj_02_10_00_0884",2.420000f,0.000000f,12.600000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 19, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_071", "" , 71, false); SetRotation(myObj,0,270,0); pos = new Vector3(11.800000f, 0.300000f, 13.180000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 692, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 0, 1); SetRotation(myObj,-90,0,0); myObj= CreateGameObject("a_shortsword_18_10_00_0603",21.771429f,3.600000f,12.171429f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_004",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_004", "Sprites/OBJECTS_004", "Sprites/OBJECTS_004", 1, 4, 0, 9, 0, 1, 0, 1); CreateWeapon(myObj, 6, 3, 6, 3, 18); myObj= CreateGameObject("special_tmap_obj_23_10_00_0952",28.114285f,3.000000f,12.342857f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 16, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_173", "" , 173, false); SetRotation(myObj,0,315,0); myObj= CreateGameObject("leather_leggings_pairs_of_leather_leggings_24_10_00_0939",29.314285f,3.000000f,12.020000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_035",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_035", "Sprites/OBJECTS_035", "Sprites/armour/armor_f_0003", 77, 35, 0, 7, 0, 1, 0, 1); CreateLeggings(myObj, "Sprites/armour/armor_f_0003", "Sprites/armour/armor_m_0003", "Sprites/armour/armor_f_0018", "Sprites/armour/armor_m_0018", "Sprites/armour/armor_f_0033", "Sprites/armour/armor_m_0033", "Sprites/armour/armor_f_0048", "Sprites/armour/armor_m_0048", 2, 4); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_28_10_00_0976",34.114285f,3.000000f,12.857142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_204",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_204", "Sprites/OBJECTS_204", "Sprites/OBJECTS_204", 23, 204, 0, 40, 0, 1, 0, 1); myObj= CreateGameObject("special_tmap_obj_29_10_00_0999",35.400002f,3.000000f,13.180000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 2, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_023", "" , 23, false); SetRotation(myObj,0,0,0); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_31_10_00_0978",37.714283f,3.000000f,12.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 0, 40, 63, 1, 0, 1); myObj= CreateGameObject("a_skull_31_10_00_0980",38.057144f,3.000000f,12.857142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 0, 40, 63, 1, 0, 1); myObj= CreateGameObject("a_sack_38_10_00_0847",46.285713f,3.000000f,12.685714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_128",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_128", "Sprites/OBJECTS_128", "Sprites/OBJECTS_129", 19, 128, 845, 40, 0, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 125, 255, 255); myObj= CreateGameObject("a_candle_38_10_00_0845",46.285713f,3.000000f,12.685714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_146",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_146", "Sprites/OBJECTS_146", "Sprites/OBJECTS_146", 22, 146, 2, 31, 0, 1, 1, 1); CreateLight(myObj, 1, 12, 150, 146); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); myObj= CreateGameObject("a_mushroom_38_10_00_0614",46.285713f,3.000000f,12.685714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_184",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_184", "Sprites/OBJECTS_184", "Sprites/OBJECTS_184", 24, 184, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 1); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_209", "UW1/Sprites/Objects/OBJECTS_209", "UW1/Sprites/Objects/OBJECTS_209", 23, 209, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); myObj= CreateGameObject("a_cudgel_38_10_00_0613",46.285713f,3.000000f,12.685714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_007",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_007", "Sprites/OBJECTS_007", "Sprites/OBJECTS_007", 1, 7, 0, 19, 0, 1, 0, 1); CreateWeapon(myObj, 3, 6, 2, 5, 2); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 2); myObj= CreateGameObject("a_flask_of_port_flasks_of_port_30_12_00_0739",36.171429f,1.800000f,15.257142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_190",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_190", "UW1/Sprites/Objects/OBJECTS_190", "UW1/Sprites/Objects/OBJECTS_190", 24, 190, 1, 40, 27, 1, 1, 0, 1, 1, 0, 0, 1); myObj= CreateGameObject("special_tmap_obj_02_11_00_0883",2.420000f,0.000000f,13.800000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 19, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_071", "" , 71, false); SetRotation(myObj,0,270,0); myObj= CreateGameObject("special_tmap_obj_02_12_00_0882",2.420000f,0.000000f,15.000000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 19, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_071", "" , 71, false); SetRotation(myObj,0,270,0); myObj = new GameObject("an_outcast_33_12_00_0241"); pos = new Vector3(40.457142f, 2.100000f, 14.914286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"90","UW1/Sprites/Objects/OBJECTS_090", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_090", "UW1/Sprites/Objects/OBJECTS_090", "UW1/Sprites/Objects/OBJECTS_090", 0, 90, 0, 33, 12, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 33, 12, 0, 0, 22, 0, 0, 8, 2, 1, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(22.457144f, 3.600000f, 14.914286f); myObj.transform.position = pos; CreateNPC(myObj,"67","Sprites/OBJECTS_067", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_067", "Sprites/OBJECTS_067", "Sprites/OBJECTS_067", 0, 67, 0, 18, 12, 0, 0, 1); SetNPCProps(myObj, 0, 0, 4, 12, 0, 6, 0, 0, 4, 1, 1, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_289",true); myObj= CreateGameObject("a_box_boxes_20_12_00_0728",24.342857f,3.000000f,15.428572f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_132",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_132", "Sprites/OBJECTS_132", "Sprites/OBJECTS_133", 19, 132, 727, 40, 0, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 125, 255, 255); myObj= CreateGameObject("a_sling_20_12_00_0727",24.342857f,3.000000f,15.428572f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_024",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_024", "Sprites/OBJECTS_024", "Sprites/OBJECTS_024", 1, 24, 0, 40, 0, 1, 0, 1); CreateWeapon(myObj, -842150451, -842150451, -842150451, -842150451, -842150451); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_336",true); myObj= CreateGameObject("a_sling_stone_20_12_00_0726",24.342857f,3.000000f,15.428572f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_016",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_016", "Sprites/OBJECTS_016", "Sprites/OBJECTS_016", 1, 16, 6, 40, 0, 1, 0, 1); CreateWeapon(myObj, -842150451, -842150451, -842150451, -842150451, -842150451); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 1); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_301",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_301", "UW1/Sprites/Objects/OBJECTS_301", "UW1/Sprites/Objects/OBJECTS_301", 89, 301, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddOil(myObj); myObj= CreateGameObject("a_cauldron_20_13_00_0734",24.514284f,3.000000f,16.114286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_303",true); myObj= CreateGameObject("a_bowl_26_12_00_0606",31.371428f,3.000000f,14.571428f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_142",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_142", "Sprites/OBJECTS_142", "Sprites/OBJECTS_142", 19, 142, 0, 40, 0, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 50, 2, 3); ////Container contents complete CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_216", "UW1/Sprites/Objects/OBJECTS_216", "UW1/Sprites/Objects/OBJECTS_216", 86, 216, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); myObj= CreateGameObject("a_hand_axe_26_12_00_0604",31.371428f,3.000000f,14.914286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_000",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_000", "Sprites/OBJECTS_000", "Sprites/OBJECTS_000", 1, 0, 0, 14, 0, 1, 0, 1); CreateWeapon(myObj, 6, 4, 2, 4, 10); myObj= CreateGameObject("a_torch_torches_26_12_00_0605",31.371428f,3.000000f,15.257142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_145",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", 22, 145, 1, 40, 0, 1, 1, 1); CreateLight(myObj, 2, 3, 149, 145); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_28_12_00_0583",34.114285f,2.850000f,14.914286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_209",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_209", "Sprites/OBJECTS_209", "Sprites/OBJECTS_209", 23, 209, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_28_12_00_0584",34.114285f,2.850000f,14.914286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_209",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_209", "Sprites/OBJECTS_209", "Sprites/OBJECTS_209", 23, 209, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_flask_of_port_flasks_of_port_30_12_00_0739",36.171429f,1.800000f,15.257142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_190",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_190", "Sprites/OBJECTS_190", "Sprites/OBJECTS_190", 14, 190, 1, 40, 27, 1, 0, 1); myObj= CreateGameObject("a_piece_of_meat_pieces_of_meat_30_12_00_0740",36.857143f,1.800000f,14.742858f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_176",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", 24, 176, 1, 40, 27, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_campfire_30_12_00_0741",36.514286f,1.800000f,14.914286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_298",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_298", "Sprites/OBJECTS_298", "Sprites/OBJECTS_298", 16, 298, 1, 40, 0, 0, 1, 1); myObj = new GameObject("an_outcast_33_12_00_0241"); pos = new Vector3(40.457142f, 2.100000f, 14.914286f); myObj.transform.position = pos; CreateNPC(myObj,"90","Sprites/OBJECTS_090", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", 0, 90, 0, 33, 12, 0, 0, 1); SetNPCProps(myObj, 0, 0, 8, 0, 0, 22, 0, 0, 8, 2, 1, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_bedroll_33_12_00_0736",40.114285f,2.100000f,15.580000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 27, 1, 0, 1); myObj= CreateGameObject("a_bedroll_33_12_00_0737",40.114285f,2.100000f,14.914286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 27, 1, 0, 1); myObj = new GameObject("door_037_012"); pos = new Vector3(44.599998f, 3.000000f, 14.914286f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_321",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", 4, 321, 996, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_03", 1, 1); SetRotation(myObj,-90,-180,0); pos = new Vector3(2.914286f, 1.500000f, 18.514286f); myObj.transform.position = pos; myObj= CreateGameObject("an_oil_flask_16_13_00_0602",20.228571f,3.600000f,16.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_301",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_301", "Sprites/OBJECTS_301", "Sprites/OBJECTS_301", 16, 301, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("an_oil_flask_16_13_00_0601",20.057142f,3.600000f,15.942858f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_301",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_301", "Sprites/OBJECTS_301", "Sprites/OBJECTS_301", 16, 301, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_cauldron_20_13_00_0734",24.514284f,3.000000f,16.114286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_303",true); myObj= CreateGameObject("a_pole_23_13_00_0612",28.114285f,3.000000f,16.114286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_216",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_216", "Sprites/OBJECTS_216", "Sprites/OBJECTS_216", 16, 216, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_pole_24_13_00_0611",28.820000f,3.000000f,16.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_216",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_216", "Sprites/OBJECTS_216", "Sprites/OBJECTS_216", 16, 216, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_28_13_00_0904",34.285717f,2.700000f,16.628572f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 0, 40, 13, 1, 0, 1); myObj= CreateGameObject("a_skull_28_13_00_0905",34.457142f,2.700000f,16.114286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", 23, 195, 0, 40, 13, 1, 0, 1); myObj= CreateGameObject("some_grass_bunches_of_grass_28_13_00_0906",34.114285f,2.700000f,16.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_193",true); myObj= CreateGameObject("a_broken_sword_28_13_00_0907",34.457142f,2.700000f,15.771428f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_201",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_201", "Sprites/OBJECTS_201", "Sprites/OBJECTS_201", 23, 201, 0, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_28_13_00_0908",34.628571f,2.700000f,16.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 0, 40, 34, 1, 0, 1); myObj= CreateGameObject("a_bone_28_13_00_0909",33.942856f,2.700000f,16.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", 23, 196, 0, 40, 34, 1, 0, 1); myObj= CreateGameObject("a_skull_28_13_00_0912",34.114285f,2.700000f,16.114286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 0, 40, 34, 1, 0, 1); myObj= CreateGameObject("a_bedroll_33_13_00_0735",40.114285f,2.100000f,16.114286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 27, 1, 0, 1); myObj= CreateGameObject("an_orb_58_13_00_0913",70.114288f,3.900000f,16.114286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_279",true); CreateUWActivators(myObj,"ButtonHandler","a_look_trigger_99_99_00_0910",40,0,0,7,279); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_279", "Sprites/OBJECTS_279", "Sprites/OBJECTS_279", 17, 279, 910, 40, 0, 1, 0, 1); myObj = new GameObject("a_acid_slug_59_14_00_0226"); pos = new Vector3(71.314285f, 3.300000f, 17.314285f); myObj.transform.position = pos; CreateNPC(myObj,"69","Sprites/OBJECTS_069", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_069", "Sprites/OBJECTS_069", "Sprites/OBJECTS_069", 0, 69, 0, 59, 14, 0, 0, 1); SetNPCProps(myObj, 0, 0, 4, 0, 0, 6, 0, 0, 4, 1, 0, 0, 0, 0,"GroundMesh11"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_skull_59_16_00_0676",71.828568f,2.100000f,19.371428f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_194",true); pos = new Vector3(2.914286f, 1.500000f, 18.514286f); myObj.transform.position = pos; CreateNPC(myObj,"73","Sprites/OBJECTS_073", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_073", "Sprites/OBJECTS_073", "Sprites/OBJECTS_073", 0, 73, 0, 2, 15, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 13, 0, 0, 4, 0, 0, 0, 0, 0,"SkyMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_leather_cap_02_15_00_0721",3.428571f,0.300000f,18.685715f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_044",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_044", "Sprites/OBJECTS_044", "Sprites/armour/armor_f_0012", 73, 44, 0, 40, 0, 1, 0, 1); CreateHelm(myObj, "Sprites/armour/armor_f_0012", "Sprites/armour/armor_m_0012", "Sprites/armour/armor_f_0027", "Sprites/armour/armor_m_0027", "Sprites/armour/armor_f_0042", "Sprites/armour/armor_m_0042", "Sprites/armour/armor_f_0057", "Sprites/armour/armor_m_0057", 2823356, 2823356); myObj= CreateGameObject("leather_boots_pairs_of_leather_boots_02_15_00_0722",2.914286f,0.300000f,18.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_041",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_041", "Sprites/OBJECTS_041", "Sprites/armour/armor_f_0009", 75, 41, 0, 40, 0, 1, 0, 1); CreateBoots(myObj, "Sprites/armour/armor_f_0009", "Sprites/armour/armor_m_0009", "Sprites/armour/armor_f_0024", "Sprites/armour/armor_m_0024", "Sprites/armour/armor_f_0039", "Sprites/armour/armor_m_0039", "Sprites/armour/armor_f_0054", "Sprites/armour/armor_m_0054", 1, 3); myObj = new GameObject("door_021_015"); pos = new Vector3(25.219999f, 3.600000f, 19.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 738, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 1, 1); SetRotation(myObj,-90,-90,0); ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(40.457142f, 2.100000f, 18.857141f); myObj.transform.position = pos; CreateNPC(myObj,"90","Sprites/OBJECTS_090", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", 0, 90, 0, 33, 15, 0, 0, 1); SetNPCProps(myObj, 0, 0, 8, 0, 0, 36, 0, 0, 8, 2, 1, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateDoor(myObj, _RES + "/textures/doors/doors_00_material", 53, 0, 0); SetRotation(myObj,-90,0,0); pos = new Vector3(14.914286f, 0.600000f, 19.714287f); myObj.transform.position = pos; CreateNPC(myObj,"66","Sprites/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", 0, 66, 0, 12, 16, 0, 0, 1); SetNPCProps(myObj, 0, 0, 8, 4, 0, 8, 0, 0, 8, 2, 0, 0, 0, 0,"SkyMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); SetSprite(myObj, _RES + "/Sprites/tmobj/tmobj_21"); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_37_16_00_0811",44.571430f,3.000000f,20.057142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 1, 40, 13, 1, 0, 1); myObj= CreateGameObject("some_writing_51_16_00_0700",62.380001f,4.200000f,20.379999f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_358",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", 10, 358, 582, 40, 0, 0, 0, 0); SetReadable(myObj); SetRotation(myObj,0,90,0); SetSprite(myObj, "Sprites/tmobj/tmobj_21"); myObj= CreateGameObject("a_green_potion_59_16_00_0562",71.657143f,2.100000f,19.885714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_188",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_188", "Sprites/OBJECTS_188", "Sprites/OBJECTS_188", 14, 188, 563, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_skull_59_16_00_0676",71.828568f,2.100000f,19.371428f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_plant_59_16_00_0677",71.657143f,2.100000f,20.228571f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_206",true); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("some_grass_bunches_of_grass_58_18_00_0673",70.628571f,1.896000f,22.457144f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("some_grass_bunches_of_grass_58_18_00_0674",70.114288f,1.960000f,22.114285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); pos = new Vector3(2.914286f, 2.700000f, 20.914284f); myObj.transform.position = pos; CreateNPC(myObj,"72","Sprites/OBJECTS_072", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_072", "Sprites/OBJECTS_072", "Sprites/OBJECTS_072", 0, 72, 0, 2, 17, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 9, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(27.400000f, 3.600000f, 21.428572f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 53, 0); SetRotation(myObj,-90,0,0); myObj= CreateGameObject("some_writing_41_17_00_0699",49.220001f,4.200000f,20.420000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_358",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", 10, 358, 583, 40, 0, 0, 0, 0); SetReadable(myObj); SetRotation(myObj,0,270,0); SetSprite(myObj, "Sprites/tmobj/tmobj_21"); SetRotation(myObj,0,0,0); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_57_17_00_0675",68.742859f,2.100000f,21.257143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_210",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", 23, 210, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_candle_02_18_00_0658",2.420000f,2.700000f,22.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_146",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_146", "Sprites/OBJECTS_146", "Sprites/OBJECTS_146", 22, 146, 4, 40, 0, 1, 1, 1); CreateLight(myObj, 1, 12, 150, 146); myObj= CreateGameObject("a_bone_37_18_00_0809",45.428570f,3.000000f,21.942856f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", 23, 196, 1, 40, 13, 1, 0, 1); myObj= CreateGameObject("a_shrine_46_18_00_0879",55.714287f,3.600000f,22.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_343",true); myObj= CreateGameObject("a_scroll_12_20_00_0642",15.428572f,3.600000f,24.857143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_318",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_318", "UW1/Sprites/Objects/OBJECTS_318", "UW1/Sprites/Objects/OBJECTS_318", 11, 318, 516, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); SetReadable(myObj); SetLink(myObj,516); myObj = new GameObject("an_imp_12_20_00_0213"); pos = new Vector3(14.914286f, 3.900000f, 24.514284f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; pos = new Vector3(2.914286f, 2.700000f, 23.314285f); myObj.transform.position = pos; CreateNPC(myObj,"67","Sprites/OBJECTS_067", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_067", "Sprites/OBJECTS_067", "Sprites/OBJECTS_067", 0, 67, 0, 2, 19, 0, 0, 1); SetNPCProps(myObj, 0, 0, 4, 8, 0, 7, 0, 0, 4, 1, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("special_tmap_obj_27_20_00_0987",33.560001f,3.000000f,24.600000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_366", "UW1/Sprites/Objects/OBJECTS_366", "UW1/Sprites/Objects/OBJECTS_366", 34, 366, 0, 40, 47, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj, "uw1_137", "" , 137, false); pos = new Vector3(11.314286f, 3.600000f, 23.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_323",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", 4, 323, 724, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_06", 2, 1); SetRotation(myObj,-90,90,0); myObj.transform.position = pos; pos = new Vector3(26.914284f, 3.600000f, 23.314285f); myObj.transform.position = pos; CreateNPC(myObj,"90","Sprites/OBJECTS_090", 20); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", 0, 90, 0, 22, 19, 0, 0, 1); SetNPCProps(myObj, 20, 0, 8, 0, 0, 34, 0, 0, 8, 2, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_pouch_pouches_10_20_00_0723",12.685714f,3.600000f,25.028572f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_134",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_134", "Sprites/OBJECTS_134", "Sprites/OBJECTS_135", 19, 134, 814, 40, 0, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 20, 255, 255); myObj= CreateGameObject("a_ruby_rubies_10_20_00_0814",12.685714f,3.600000f,25.028572f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_162",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_162", "Sprites/OBJECTS_162", "Sprites/OBJECTS_162", 18, 162, 1, 40, 0, 1, 0, 1); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); FreezeMovement(myObj); SetRotation(myObj,-90,0,0); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_37_21_00_0862",45.428570f,3.600000f,25.714285f); myObj= CreateGameObject("a_bottle_of_water_bottles_of_water_10_20_00_0815",12.514286f,3.600000f,24.514284f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_189",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_189", "Sprites/OBJECTS_189", "Sprites/OBJECTS_189", 14, 189, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_scroll_12_20_00_0642",15.428572f,3.600000f,24.857143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_318",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_318", "Sprites/OBJECTS_318", "Sprites/OBJECTS_318", 13, 318, 516, 40, 0, 1, 0, 1); SetReadable(myObj); SetLink(myObj,516); SetRotation(myObj,0,0,0); pos = new Vector3(14.914286f, 3.900000f, 24.514284f); myObj.transform.position = pos; CreateNPC(myObj,"75","Sprites/OBJECTS_075", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_075", "Sprites/OBJECTS_075", "Sprites/OBJECTS_075", 0, 75, 0, 12, 20, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 8, 0, 15, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); SetRotation(myObj,0,270,0); myObj= CreateGameObject("special_tmap_obj_27_20_00_0987",33.580002f,3.000000f,24.600000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 47, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_137", "" , 137, false); SetRotation(myObj,0,90,0); SetNPCProps(myObj, 0, 14, 23, 0, 0, 20, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_WaterMesh_0_1"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(40.114285f, 3.600000f, 24.685715f); myObj.transform.position = pos; CreateNPC(myObj,"90","Sprites/OBJECTS_090", 19); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", "Sprites/OBJECTS_090", 0, 90, 0, 33, 20, 0, 0, 1); SetNPCProps(myObj, 19, 0, 4, 12, 0, 50, 0, 0, 8, 1, 1, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); SetNPCProps(myObj, 0, 31, 23, 4, 0, 6, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_WaterMesh_0_1"); myObj= CreateGameObject("special_tmap_obj_61_20_00_0885",74.379997f,2.100000f,24.600000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 19, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_071", "" , 71, false); SetRotation(myObj,0,90,0); AddLeech(myObj); pos = new Vector3(32.200001f, 3.000000f, 26.228571f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_323",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", 4, 323, 937, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_06", 2, 1); SetRotation(myObj,-90,0,0); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_37_21_00_0862",45.428570f,3.600000f,25.714285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_205",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", 23, 205, 1, 40, 0, 1, 0, 1); myObj = new GameObject("a_giant_rat_02_22_00_0216"); pos = new Vector3(2.914286f, 2.700000f, 26.914284f); myObj.transform.position = pos; CreateNPC(myObj,"67","Sprites/OBJECTS_067", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_067", "Sprites/OBJECTS_067", "Sprites/OBJECTS_067", 0, 67, 0, 2, 22, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 12, 0, 7, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_bottle_of_ale_bottles_of_ale_02_23_00_0616",2.571429f,2.700000f,28.457144f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_186",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_186", "Sprites/OBJECTS_186", "Sprites/OBJECTS_186", 24, 186, 520, 40, 0, 1, 0, 1); SetFood(myObj); myObj = new GameObject("a_lurker_14_23_00_0250"); pos = new Vector3(17.314285f, 0.300000f, 28.114285f); myObj.transform.position = pos; CreateNPC(myObj,"87","Sprites/OBJECTS_087", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_087", "Sprites/OBJECTS_087", "Sprites/OBJECTS_087", 0, 87, 0, 14, 23, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 20, 0, 0, 4, 0, 0, 0, 0, 0,"WaterMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); SetNPCProps(myObj, 0, 29, 26, 0, 0, 21, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,180,0); ////Container contents pos = new Vector3(37.714283f, 1.200000f, 28.114285f); myObj.transform.position = pos; CreateNPC(myObj,"66","Sprites/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", 0, 66, 0, 31, 23, 0, 0, 1); SetNPCProps(myObj, 0, 0, 8, 4, 0, 6, 0, 0, 8, 2, 0, 0, 0, 0,"SkyMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_blood_stain_38_27_00_0863",46.114288f,3.600000f,32.914284f); myObj= CreateGameObject("some_leeches_bunches_of_leeches_10_24_00_0701",12.514286f,0.600000f,29.314285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_293",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_293", "Sprites/OBJECTS_293", "Sprites/OBJECTS_293", 16, 293, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_bridge_36_24_00_1004",43.714287f,3.525000f,29.314285f); myObj= CreateGameObject("some_rubble_piles_of_rubble_28_28_00_0853",34.114285f,3.600000f,33.942856f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_218",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_218", "UW1/Sprites/Objects/OBJECTS_218", "UW1/Sprites/Objects/OBJECTS_218", 69, 218, 1, 40, 0, 0, 1, 0, 1, 1, 0, 0, 1); myObj= CreateGameObject("some_writing_46_24_00_0668",55.885712f,4.200000f,29.980000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_358",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", 10, 358, 584, 40, 0, 0, 0, 0); SetReadable(myObj); SetRotation(myObj,0,0,0); SetSprite(myObj, "Sprites/tmobj/tmobj_21"); SetNPCProps(myObj, 0, 36, 28, 0, 0, 9, 0, 0, 8, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); myObj= CreateGameObject("a_torch_torches_02_25_00_0540",2.571429f,2.700000f,30.857143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_145",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", 22, 145, 1, 40, 0, 1, 1, 1); CreateLight(myObj, 2, 3, 149, 145); myObj= CreateGameObject("a_bridge_36_25_00_1003",43.714287f,3.525000f,30.514284f); AddObj_base(myObj); myObj = new GameObject("door_005_032"); pos = new Vector3(6.200000f, 2.700000f, 38.914284f); pos = new Vector3(26.600000f, 3.600000f, 31.542856f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_324",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_324", "Sprites/OBJECTS_324", "Sprites/OBJECTS_324", 4, 324, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_07", 53, 0); SetRotation(myObj,-90,-180,0); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_162",true); pos = new Vector3(35.314285f, 3.600000f, 31.714285f); myObj.transform.position = pos; CreateNPC(myObj,"68","Sprites/OBJECTS_068", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_068", "Sprites/OBJECTS_068", "Sprites/OBJECTS_068", 0, 68, 0, 29, 26, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 21, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("an_ear_of_corn_ears_of_corn_30_26_00_0641",36.342857f,3.600000f,31.371428f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_180",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_180", "Sprites/OBJECTS_180", "Sprites/OBJECTS_180", 24, 180, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_blood_stain_38_27_00_0863",46.114288f,3.600000f,32.914284f); myObj= CreateGameObject("a_buckler_03_33_00_0696",3.942857f,3.600000f,39.771427f); myObj= CreateGameObject("a_sling_stone_39_27_00_0860",47.142857f,3.000000f,33.257145f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_016",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_016", "Sprites/OBJECTS_016", "Sprites/OBJECTS_016", 1, 16, 7, 40, 0, 1, 0, 1); CreateWeapon(myObj, -842150451, -842150451, -842150451, -842150451, -842150451); myObj= CreateGameObject("some_rubble_piles_of_rubble_28_28_00_0853",34.114285f,3.600000f,33.942856f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_218",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_218", "Sprites/OBJECTS_218", "Sprites/OBJECTS_218", 69, 218, 1, 40, 0, 0, 0, 1); myObj = new GameObject("a_goblin_36_28_00_0225"); pos = new Vector3(43.714287f, 3.600000f, 34.114285f); myObj.transform.position = pos; CreateNPC(myObj,"77","Sprites/OBJECTS_077", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_077", "Sprites/OBJECTS_077", "Sprites/OBJECTS_077", 0, 77, 0, 36, 28, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 9, 0, 0, 8, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj.transform.position = pos; myObj= CreateGameObject("a_bone_36_30_00_0859",43.371429f,3.000000f,36.857143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", 23, 196, 1, 40, 34, 1, 0, 1); pos = new Vector3(6.200000f, 2.700000f, 38.914284f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 53, 0); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_ruby_rubies_10_32_00_0653",12.857142f,0.300000f,38.742855f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_162",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_162", "Sprites/OBJECTS_162", "Sprites/OBJECTS_162", 18, 162, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("special_tmap_obj_35_32_00_0881",42.020000f,3.600000f,39.000000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 23, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_142", "" , 142, false); SetRotation(myObj,0,270,0); myObj= CreateGameObject("a_cudgel_53_33_00_0998",64.114288f,3.600000f,40.114285f); myObj= CreateGameObject("a_torch_torches_03_33_00_0541",4.457143f,3.600000f,40.285717f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_145",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", 22, 145, 3, 40, 0, 1, 1, 1); CreateLight(myObj, 2, 3, 149, 145); myObj= CreateGameObject("a_buckler_03_33_00_0696",3.942857f,3.600000f,39.771427f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_062",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_062", "Sprites/OBJECTS_062", "Sprites/OBJECTS_062", 78, 62, 0, 26, 0, 1, 0, 1); myObj= CreateGameObject("a_key_002_2",12.857142f,0.300000f,40.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_258",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_258", "Sprites/OBJECTS_258", "Sprites/OBJECTS_258", 5, 258, 1, 40, 2, 1, 0, 1); CreateKey(myObj, 2); myObj= CreateGameObject("special_tmap_obj_16_33_00_0806",19.799999f,2.100000f,40.779999f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 14, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_006", "" , 6, false); SetRotation(myObj,0,0,0); myObj= CreateGameObject("special_tmap_obj_07_34_00_0916",8.440001f,0.000000f,41.400002f); pos = new Vector3(31.714285f, 2.100000f, 40.114285f); myObj.transform.position = pos; CreateNPC(myObj,"65","Sprites/OBJECTS_065", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_065", "Sprites/OBJECTS_065", "Sprites/OBJECTS_065", 0, 65, 0, 26, 33, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 4, 0, 5, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj.transform.parent = LevelParent; myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_27_33_00_0861",33.257145f,2.100000f,39.942856f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_205",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", 23, 205, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_skull_27_33_00_0865",32.914284f,2.100000f,40.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_27_33_00_0869",33.257145f,2.100000f,40.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_210",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", 23, 210, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_cudgel_53_33_00_0998",64.114288f,3.600000f,40.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_007",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_007", "Sprites/OBJECTS_007", "Sprites/OBJECTS_007", 1, 7, 0, 40, 0, 1, 0, 1); CreateWeapon(myObj, 3, 6, 2, 5, 2); myObj= CreateGameObject("a_chain_cowl_55_33_00_0804",66.514290f,3.600000f,40.114285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_045",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_045", "Sprites/OBJECTS_045", "Sprites/armour/armor_f_0013", 73, 45, 0, 40, 0, 1, 0, 1); CreateHelm(myObj, "Sprites/armour/armor_f_0013", "Sprites/armour/armor_m_0013", "Sprites/armour/armor_f_0028", "Sprites/armour/armor_m_0028", "Sprites/armour/armor_f_0043", "Sprites/armour/armor_m_0043", "Sprites/armour/armor_f_0058", "Sprites/armour/armor_m_0058", 2823356, 2823356); myObj= CreateGameObject("a_loaf_of_bread_loaves_of_bread_03_34_00_0839",4.285714f,3.600000f,41.657143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_177",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_177", "Sprites/OBJECTS_177", "Sprites/OBJECTS_177", 24, 177, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_sling_stone_03_34_00_0957",4.628572f,3.600000f,41.485714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_016",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_016", "Sprites/OBJECTS_016", "Sprites/OBJECTS_016", 1, 16, 8, 40, 0, 1, 0, 1); CreateWeapon(myObj, -842150451, -842150451, -842150451, -842150451, -842150451); myObj= CreateGameObject("special_tmap_obj_07_34_00_0916",8.420000f,0.000000f,41.400002f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", "Sprites/OBJECTS_366", 34, 366, 0, 40, 47, 0, 0, 0); CreateTMAP(myObj,"textures/tmap/uw1_137", "" , 137, false); SetRotation(myObj,0,270,0); myObj = new GameObject("a_skeleton_54_35_00_0204"); pos = new Vector3(18.200001f, 2.100000f, 41.657143f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_326",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_326", "Sprites/OBJECTS_326", "Sprites/OBJECTS_326", 30, 326, 563, 63, 0, 0, 0, 1); CreatePortcullis(myObj, 4, 1); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_34_34_00_0857",41.657143f,3.600000f,41.657143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_210",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", 23, 210, 1, 40, 0, 1, 0, 1); myObj = new GameObject("door_009_035"); pos = new Vector3(11.000000f, 3.600000f, 42.171432f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_326",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_326", "Sprites/OBJECTS_326", "Sprites/OBJECTS_326", 30, 326, 743, 40, 0, 0, 0, 1); CreatePortcullis(myObj, 0, 1); SetRotation(myObj,-90,-180,0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_205", "UW1/Sprites/Objects/OBJECTS_205", "UW1/Sprites/Objects/OBJECTS_205", 23, 205, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); pos = new Vector3(18.514286f, 2.100000f, 42.514286f); myObj.transform.position = pos; CreateNPC(myObj,"71","Sprites/OBJECTS_071", 66); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_071", "Sprites/OBJECTS_071", "Sprites/OBJECTS_071", 0, 71, 537, 15, 35, 0, 0, 1); SetNPCProps(myObj, 66, 0, 8, 12, 0, 21, 0, 0, 7, 2, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); SetRotation(myObj,0,180,0); myObj= CreateGameObject("a_key_004_2",18.514286f,2.100000f,42.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_266",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_266", "Sprites/OBJECTS_266", "Sprites/OBJECTS_266", 5, 266, 1, 40, 4, 1, 0, 1); CreateKey(myObj, 4); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_198",true); myObj= CreateGameObject("a_button_16_35_00_0807",19.714287f,2.700000f,42.020000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_377",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0637",40,0,0,7,377); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_377", "Sprites/OBJECTS_377", "Sprites/OBJECTS_377", 8, 377, 637, 40, 0, 0, 0, 1); SetRotation(myObj,0,180,0); SetButtonProperties(myObj, 1, "Sprites/tmflat/tmflat_0009", "Sprites/tmflat/tmflat_0001"); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_323", "UW1/Sprites/Objects/OBJECTS_323", "UW1/Sprites/Objects/OBJECTS_323", 4, 323, 921, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); pos = new Vector3(65.314285f, 2.400000f, 42.514286f); myObj.transform.position = pos; CreateNPC(myObj,"74","Sprites/OBJECTS_074", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_074", "Sprites/OBJECTS_074", "Sprites/OBJECTS_074", 0, 74, 0, 54, 35, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 12, 0, 11, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_323", "UW1/Sprites/Objects/OBJECTS_323", "UW1/Sprites/Objects/OBJECTS_323", 4, 323, 986, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_06_material", 2, 1, 0); SetRotation(myObj,-90,0,0); myObj= CreateGameObject("a_lever_09_36_00_0744",11.980000f,4.200000f,44.057144f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_373",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0742",40,0,0,7,373); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_373", "Sprites/OBJECTS_373", "Sprites/OBJECTS_373", 8, 373, 742, 40, 0, 0, 0, 1); SetRotation(myObj,0,90,0); SetButtonProperties(myObj, 0, "Sprites/tmflat/tmflat_0005", "Sprites/tmflat/tmflat_0013"); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_20_36_00_0649",24.342857f,1.200000f,44.057144f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_205",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", 23, 205, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_bridge_21_36_00_0659",25.885715f,0.975000f,43.714287f); myObj= CreateGameObject("a_box_boxes_22_36_00_0652",26.914284f,1.200000f,43.714287f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_132",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_132", "Sprites/OBJECTS_132", "Sprites/OBJECTS_133", 19, 132, 650, 40, 0, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 125, 255, 255); myObj= CreateGameObject("a_Mani_stone_22_36_00_0650",26.914284f,1.200000f,43.714287f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_224", "Sprites/OBJECTS_244", "Sprites/OBJECTS_244", 6, 244, 1, 40, 0, 1, 0, 1); SetObjectAsRuneStone(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); myObj= CreateGameObject("a_Ylem_stone_22_36_00_0651",26.914284f,1.200000f,43.714287f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_224",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_224", "Sprites/OBJECTS_255", "Sprites/OBJECTS_255", 6, 255, 1, 40, 0, 1, 0, 1); SetObjectAsRuneStone(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 1); myObj= CreateGameObject("a_blood_stain_52_37_00_0858",63.257145f,2.400000f,45.257145f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_221",true); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_38_36_00_0556",45.771431f,3.600000f,44.228569f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 1, 40, 13, 1, 0, 1); myObj = new GameObject("door_052_036"); pos = new Vector3(62.599998f, 2.400000f, 43.714287f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_323",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", 4, 323, 921, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_06", 2, 1); SetRotation(myObj,-90,-180,0); pos = new Vector3(13.714286f, 3.600000f, 46.114288f); pos = new Vector3(68.199997f, 2.400000f, 43.714287f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_323",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", 4, 323, 986, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_06", 2, 1); SetRotation(myObj,-90,0,0); ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_35_37_00_0557",42.171432f,3.600000f,44.571430f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_205",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", 23, 205, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("some_grass_bunches_of_grass_40_37_00_0573",48.857143f,3.600000f,44.742855f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_193",true); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"87","UW1/Sprites/Objects/OBJECTS_087", 0); myObj= CreateGameObject("a_broken_sword_41_37_00_0564",49.371429f,3.600000f,45.257145f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_201",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_201", "Sprites/OBJECTS_201", "Sprites/OBJECTS_201", 23, 201, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("some_grass_bunches_of_grass_41_37_00_0565",49.371429f,3.600000f,44.571430f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_193",true); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_219",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_219", "UW1/Sprites/Objects/OBJECTS_219", "UW1/Sprites/Objects/OBJECTS_219", 69, 219, 1, 40, 0, 0, 1, 0, 1, 1, 0, 0, 1); myObj= CreateGameObject("a_blood_stain_40_38_00_0552",48.171432f,3.600000f,46.628571f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_221",true); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_45_37_00_0553",54.857143f,3.600000f,44.742855f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_bridge_45_37_00_0894",54.685715f,3.525000f,44.914288f); myObj = new GameObject("a_goblin_54_38_00_0224"); pos = new Vector3(65.314285f, 3.600000f, 46.114288f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; pos = new Vector3(4.114285f, 3.600000f, 46.114288f); myObj.transform.position = pos; CreateNPC(myObj,"77","Sprites/OBJECTS_077", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_077", "Sprites/OBJECTS_077", "Sprites/OBJECTS_077", 0, 77, 0, 3, 38, 0, 0, 1); SetNPCProps(myObj, 0, 0, 4, 0, 0, 16, 0, 0, 2, 1, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_61_38_00_0856",73.714287f,3.600000f,46.457142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_210",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_210", "UW1/Sprites/Objects/OBJECTS_210", "UW1/Sprites/Objects/OBJECTS_210", 23, 210, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); pos = new Vector3(13.714286f, 3.600000f, 46.114288f); myObj.transform.position = pos; CreateNPC(myObj,"77","Sprites/OBJECTS_077", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_077", "Sprites/OBJECTS_077", "Sprites/OBJECTS_077", 0, 77, 0, 11, 38, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 22, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_piece_of_meat_pieces_of_meat_03_39_00_0774",4.628572f,3.300000f,47.314285f); myObj= CreateGameObject("a_candle_11_38_00_0655",14.228572f,3.600000f,45.771431f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_146",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_146", "Sprites/OBJECTS_146", "Sprites/OBJECTS_146", 22, 146, 5, 40, 0, 1, 1, 1); CreateLight(myObj, 1, 12, 150, 146); myObj = new GameObject("a_lurker_26_38_00_0223"); pos = new Vector3(31.714285f, 0.900000f, 46.114288f); myObj.transform.position = pos; CreateNPC(myObj,"87","Sprites/OBJECTS_087", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_087", "Sprites/OBJECTS_087", "Sprites/OBJECTS_087", 0, 87, 0, 26, 38, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 24, 0, 0, 4, 0, 0, 0, 0, 0,"WaterMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_campfire_03_39_00_0778",4.114285f,3.300000f,47.314285f); myObj= CreateGameObject("a_pile_of_wood_chips_piles_of_wood_chips_36_38_00_0855",43.714287f,3.600000f,46.114288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_219",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_219", "Sprites/OBJECTS_219", "Sprites/OBJECTS_219", 69, 219, 1, 40, 0, 0, 0, 1); myObj= CreateGameObject("a_blood_stain_40_38_00_0552",48.171432f,3.600000f,46.628571f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_221",true); AddObj_base(myObj); myObj= CreateGameObject("a_coin_09_39_00_0654",11.142858f,3.600000f,47.657143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_160",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_160", "UW1/Sprites/Objects/OBJECTS_160", "UW1/Sprites/Objects/OBJECTS_160", 18, 160, 9, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddCoin(myObj); myObj= CreateGameObject("a_plant_38_39_00_0555",45.771431f,3.600000f,46.971432f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_206",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_206", "UW1/Sprites/Objects/OBJECTS_206", "UW1/Sprites/Objects/OBJECTS_206", 24, 206, 1, 40, 0, 0, 0, 0, 1, 1, 0, 0, 1); SetFood(myObj); pos = new Vector3(65.314285f, 3.600000f, 46.114288f); myObj.transform.position = pos; CreateNPC(myObj,"78","Sprites/OBJECTS_078", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_078", "Sprites/OBJECTS_078", "Sprites/OBJECTS_078", 0, 78, 0, 54, 38, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 28, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); ParentContainer = CreateContainer(myObj, 15, -842150451, -842150451); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_61_38_00_0856",73.714287f,3.600000f,46.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_210",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", 23, 210, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_fish_fish_03_39_00_0671",4.457143f,3.300000f,46.971432f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_182",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_182", "Sprites/OBJECTS_182", "Sprites/OBJECTS_182", 24, 182, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_piece_of_meat_pieces_of_meat_03_39_00_0774",4.628572f,3.300000f,47.314285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_176",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", 24, 176, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_03_39_00_0775",4.457143f,3.300000f,47.828568f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_skull_03_39_00_0782",3.771429f,3.300000f,47.657143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_campfire_03_39_00_0778",4.114285f,3.300000f,47.314285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_298",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_298", "Sprites/OBJECTS_298", "Sprites/OBJECTS_298", 16, 298, 1, 40, 0, 0, 1, 1); myObj= CreateGameObject("a_rock_hammer_09_39_00_0598",11.828571f,3.600000f,47.657143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_296",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_296", "Sprites/OBJECTS_296", "Sprites/OBJECTS_296", 16, 296, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_coin_09_39_00_0654",11.142858f,3.600000f,47.657143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_160",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_160", "Sprites/OBJECTS_160", "Sprites/OBJECTS_160", 18, 160, 9, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_plant_38_39_00_0555",45.771431f,3.600000f,46.971432f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_206",true); AddObj_base(myObj); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_08_42_00_1002",9.771429f,3.300000f,50.742855f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_198", "UW1/Sprites/Objects/OBJECTS_198", "UW1/Sprites/Objects/OBJECTS_198", 23, 198, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_campfire_08_42_00_0767",10.114285f,3.300000f,50.914288f); myObj= CreateGameObject("a_gold_coffer_49_40_00_0685",59.314285f,3.000000f,48.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_138",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_138", "Sprites/OBJECTS_138", "Sprites/OBJECTS_139", 19, 138, 684, 40, 0, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 125, 255, 255); myObj= CreateGameObject("a_sceptre_49_40_00_0684",59.314285f,3.000000f,48.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_170",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_170", "Sprites/OBJECTS_170", "Sprites/OBJECTS_170", 18, 170, 760, 40, 0, 1, 0, 1); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); FreezeMovement(myObj); myObj= CreateGameObject("a_leather_vest_49_40_00_0682",59.314285f,3.000000f,48.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_032",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_032", "Sprites/OBJECTS_032", "Sprites/armour/armor_f_0000", 2, 32, 0, 30, 0, 1, 0, 1); CreateArmour(myObj, "Sprites/armour/armor_f_0000", "Sprites/armour/armor_m_0000", "Sprites/armour/armor_f_0015", "Sprites/armour/armor_m_0015", "Sprites/armour/armor_f_0030", "Sprites/armour/armor_m_0030", "Sprites/armour/armor_f_0045", "Sprites/armour/armor_m_0045", 2, 8); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 1); pos = new Vector3(12.514286f, 3.600000f, 52.114288f); myObj= CreateGameObject("an_axe_49_40_00_0683",59.314285f,3.000000f,48.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_002",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_002", "Sprites/OBJECTS_002", "Sprites/OBJECTS_002", 1, 2, 0, 28, 0, 1, 0, 1); CreateWeapon(myObj, 10, 6, 8, 4, 25); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 2); ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("leather_leggings_pairs_of_leather_leggings_49_40_00_0681",59.314285f,3.000000f,48.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_035",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_035", "Sprites/OBJECTS_035", "Sprites/armour/armor_f_0003", 77, 35, 0, 30, 0, 1, 0, 1); CreateLeggings(myObj, "Sprites/armour/armor_f_0003", "Sprites/armour/armor_m_0003", "Sprites/armour/armor_f_0018", "Sprites/armour/armor_m_0018", "Sprites/armour/armor_f_0033", "Sprites/armour/armor_m_0033", "Sprites/armour/armor_f_0048", "Sprites/armour/armor_m_0048", 2, 4); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 3); SetNPCProps(myObj, 0, 23, 43, 0, 0, 12, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_WaterMesh_0_1"); myObj= CreateGameObject("a_leather_cap_49_40_00_0680",59.314285f,3.000000f,48.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_044",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_044", "Sprites/OBJECTS_044", "Sprites/armour/armor_f_0012", 73, 44, 0, 30, 0, 1, 0, 1); CreateHelm(myObj, "Sprites/armour/armor_f_0012", "Sprites/armour/armor_m_0012", "Sprites/armour/armor_f_0027", "Sprites/armour/armor_m_0027", "Sprites/armour/armor_f_0042", "Sprites/armour/armor_m_0042", "Sprites/armour/armor_f_0057", "Sprites/armour/armor_m_0057", 2822572, 2822572); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 4); FreezeMovement(myObj); myObj= CreateGameObject("a_resilient_sphere_some_resilient_spheres_49_40_00_0544",59.314285f,3.000000f,48.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_286",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_286", "Sprites/OBJECTS_286", "Sprites/OBJECTS_286", 16, 286, 1, 40, 0, 1, 0, 1); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 5); FreezeMovement(myObj); myObj= CreateGameObject("a_blood_stain_39_43_00_0551",46.971432f,3.600000f,52.457142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_222",true); myObj = new GameObject("door_012_044"); pos = new Vector3(14.914286f, 3.600000f, 53.000000f); pos = new Vector3(65.000000f, 3.600000f, 48.020000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 53, 0); SetRotation(myObj,-90,-180,0); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_293",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_293", "UW1/Sprites/Objects/OBJECTS_293", "UW1/Sprites/Objects/OBJECTS_293", 91, 293, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddLeech(myObj); myObj= CreateGameObject("a_red_gem_26_44_00_0799",32.057144f,2.400000f,53.828568f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_163",true); myObj= CreateGameObject("a_piece_of_meat_pieces_of_meat_08_42_00_0670",10.114285f,3.300000f,51.428570f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_176",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", 24, 176, 3, 40, 6, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_08_42_00_0785",10.628572f,3.300000f,51.085712f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_205",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", "Sprites/OBJECTS_205", 23, 205, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_skull_08_42_00_0915",10.457142f,3.300000f,50.571430f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", 23, 195, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_08_42_00_1002",9.771429f,3.300000f,50.742855f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_campfire_08_42_00_0767",10.114285f,3.300000f,50.914288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_298",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_298", "Sprites/OBJECTS_298", "Sprites/OBJECTS_298", 16, 298, 1, 40, 0, 0, 1, 1); myObj= CreateGameObject("a_cauldron_11_42_00_0763",13.714286f,3.600000f,50.914288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_303",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_197", "UW1/Sprites/Objects/OBJECTS_197", "UW1/Sprites/Objects/OBJECTS_197", 23, 197, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); pos = new Vector3(10.114285f, 3.600000f, 52.114288f); myObj.transform.position = pos; CreateNPC(myObj,"70","Sprites/OBJECTS_070", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_070", "Sprites/OBJECTS_070", "Sprites/OBJECTS_070", 0, 70, 0, 8, 43, 0, 0, 1); SetNPCProps(myObj, 0, 0, 8, 8, 0, 19, 0, 0, 8, 2, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_194", "UW1/Sprites/Objects/OBJECTS_194", "UW1/Sprites/Objects/OBJECTS_194", 23, 194, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); pos = new Vector3(12.514286f, 3.600000f, 52.114288f); myObj.transform.position = pos; CreateNPC(myObj,"70","Sprites/OBJECTS_070", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_070", "Sprites/OBJECTS_070", "Sprites/OBJECTS_070", 0, 70, 0, 10, 43, 0, 0, 1); SetNPCProps(myObj, 0, 0, 8, 0, 0, 15, 0, 0, 8, 2, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_lever_57_45_00_0871",68.914284f,4.200000f,54.020000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_353",false); pos = new Vector3(28.114285f, 2.100000f, 52.114288f); myObj.transform.position = pos; CreateNPC(myObj,"66","Sprites/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", 0, 66, 0, 23, 43, 0, 0, 1); SetNPCProps(myObj, 0, 0, 8, 0, 0, 12, 0, 0, 8, 2, 0, 0, 0, 0,"SkyMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_353", "UW1/Sprites/Objects/OBJECTS_353", "UW1/Sprites/Objects/OBJECTS_353", 8, 353, 625, 63, 0, 0, 1, 0, 0, 0, 0, 3, 1); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0625",63,0,3,7,353); SetRotation(myObj,0,180,0); pos = new Vector3(29.314285f, 2.400000f, 52.114288f); myObj.transform.position = pos; CreateNPC(myObj,"66","Sprites/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", "Sprites/OBJECTS_066", 0, 66, 0, 24, 43, 0, 0, 1); SetNPCProps(myObj, 0, 0, 4, 8, 0, 5, 0, 0, 8, 1, 0, 0, 0, 0,"SkyMesh1"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); SetButtonProperties(myObj,"UW1/Sprites/tmobj/tmobj_04","UW1/Sprites/tmobj/tmobj_05","UW1/Sprites/tmobj/tmobj_06","UW1/Sprites/tmobj/tmobj_07","UW1/Sprites/tmobj/tmobj_08","UW1/Sprites/tmobj/tmobj_09","UW1/Sprites/tmobj/tmobj_10","UW1/Sprites/tmobj/tmobj_11"); myObj = new GameObject("a_giant_spider_27_46_00_0247"); pos = new Vector3(32.914284f, 2.400000f, 55.714287f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; pos = new Vector3(14.914286f, 3.600000f, 53.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_324",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_324", "Sprites/OBJECTS_324", "Sprites/OBJECTS_324", 4, 324, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_07", 53, 0); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("some_leeches_bunches_of_leeches_26_44_00_0597",32.380001f,2.400000f,53.485714f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_293",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_293", "Sprites/OBJECTS_293", "Sprites/OBJECTS_293", 16, 293, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_red_gem_26_44_00_0799",32.057144f,2.400000f,53.828568f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_163",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_163", "Sprites/OBJECTS_163", "Sprites/OBJECTS_163", 18, 163, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_bedroll_07_45_00_0640",8.914286f,3.900000f,55.028568f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 6, 1, 0, 1); myObj= CreateGameObject("a_bedroll_09_45_00_0979",11.314286f,3.900000f,55.028568f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 6, 1, 0, 1); myObj= CreateGameObject("a_bedroll_11_45_00_0768",13.714286f,3.900000f,55.028568f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 6, 1, 0, 1); myObj= CreateGameObject("a_bone_26_45_00_0797",32.057144f,2.400000f,54.857143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_197",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_197", "Sprites/OBJECTS_197", "Sprites/OBJECTS_197", 23, 197, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_broken_sword_26_45_00_0798",31.714285f,2.400000f,54.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_201",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_201", "Sprites/OBJECTS_201", "Sprites/OBJECTS_201", 23, 201, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_skull_27_45_00_0796",32.914284f,2.400000f,54.514286f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_lever_56_45_00_0872",67.885712f,4.200000f,54.020000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_353",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0626",63,0,1,7,353); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_353", "Sprites/OBJECTS_353", "Sprites/OBJECTS_353", 8, 353, 626, 63, 0, 0, 0, 1); SetRotation(myObj,0,180,0); SetButtonProperties(myObj,"Sprites/tmobj/tmobj_04","Sprites/tmobj/tmobj_05","Sprites/tmobj/tmobj_06","Sprites/tmobj/tmobj_07","Sprites/tmobj/tmobj_08","Sprites/tmobj/tmobj_09","Sprites/tmobj/tmobj_10","Sprites/tmobj/tmobj_11"); myObj= CreateGameObject("a_lever_57_45_00_0871",68.914284f,4.200000f,54.020000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_353",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0629",63,0,2,7,353); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_353", "Sprites/OBJECTS_353", "Sprites/OBJECTS_353", 8, 353, 629, 63, 0, 0, 0, 1); SetRotation(myObj,0,180,0); SetButtonProperties(myObj,"Sprites/tmobj/tmobj_04","Sprites/tmobj/tmobj_05","Sprites/tmobj/tmobj_06","Sprites/tmobj/tmobj_07","Sprites/tmobj/tmobj_08","Sprites/tmobj/tmobj_09","Sprites/tmobj/tmobj_10","Sprites/tmobj/tmobj_11"); myObj= CreateGameObject("a_lever_58_45_00_0870",70.114288f,4.200000f,54.020000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_353",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0625",63,0,3,7,353); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_353", "Sprites/OBJECTS_353", "Sprites/OBJECTS_353", 8, 353, 625, 63, 0, 0, 0, 1); SetRotation(myObj,0,180,0); SetButtonProperties(myObj,"Sprites/tmobj/tmobj_04","Sprites/tmobj/tmobj_05","Sprites/tmobj/tmobj_06","Sprites/tmobj/tmobj_07","Sprites/tmobj/tmobj_08","Sprites/tmobj/tmobj_09","Sprites/tmobj/tmobj_10","Sprites/tmobj/tmobj_11"); myObj= CreateGameObject("a_lever_59_45_00_0623",71.314285f,4.200000f,54.020000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_353",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0621",63,0,4,7,353); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_353", "Sprites/OBJECTS_353", "Sprites/OBJECTS_353", 8, 353, 621, 63, 0, 0, 0, 1); SetRotation(myObj,0,180,0); SetButtonProperties(myObj,"Sprites/tmobj/tmobj_04","Sprites/tmobj/tmobj_05","Sprites/tmobj/tmobj_06","Sprites/tmobj/tmobj_07","Sprites/tmobj/tmobj_08","Sprites/tmobj/tmobj_09","Sprites/tmobj/tmobj_10","Sprites/tmobj/tmobj_11"); SetReadable(myObj); pos = new Vector3(32.914284f, 2.400000f, 55.714287f); myObj.transform.position = pos; CreateNPC(myObj,"68","Sprites/OBJECTS_068", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_068", "Sprites/OBJECTS_068", "Sprites/OBJECTS_068", 0, 68, 0, 27, 46, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 4, 0, 16, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_320", "UW1/Sprites/Objects/OBJECTS_320", "UW1/Sprites/Objects/OBJECTS_320", 4, 320, 0, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_00_material", 53, 0, 0); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_bone_46_46_00_0687",55.714287f,0.000000f,55.714287f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", "Sprites/OBJECTS_196", 23, 196, 1, 40, 63, 1, 0, 1); myObj = new GameObject("door_055_046"); pos = new Vector3(66.514290f, 3.600000f, 55.400002f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_323",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", "Sprites/OBJECTS_323", 4, 323, 697, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_06", 2, 1); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_stalactite_34_48_00_0793",41.142857f,4.500000f,58.285713f); pos = new Vector3(5.314286f, 3.600000f, 57.257145f); myObj.transform.position = pos; CreateNPC(myObj,"71","Sprites/OBJECTS_071", 255); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_071", "Sprites/OBJECTS_071", "Sprites/OBJECTS_071", 0, 71, 0, 4, 47, 0, 0, 1); SetNPCProps(myObj, 255, 0, 4, 0, 0, 71, 0, 0, 12, 1, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_216", "UW1/Sprites/Objects/OBJECTS_216", "UW1/Sprites/Objects/OBJECTS_216", 86, 216, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); myObj= CreateGameObject("a_skull_28_47_00_0820",34.457142f,2.400000f,56.914288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", 23, 195, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_torch_torches_36_47_00_0618",44.228569f,2.700000f,57.428570f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_145",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", "Sprites/OBJECTS_145", 22, 145, 1, 40, 0, 1, 1, 1); CreateLight(myObj, 2, 3, 149, 145); myObj= CreateGameObject("a_buckler_37_47_00_1020",44.914288f,2.700000f,57.580002f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_062",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_062", "Sprites/OBJECTS_062", "Sprites/OBJECTS_062", 78, 62, 0, 15, 0, 1, 0, 1); myObj= CreateGameObject("a_stalactite_37_47_00_0789",45.257145f,4.500000f,57.428570f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_211",true); myObj= CreateGameObject("a_loaf_of_bread_loaves_of_bread_51_47_00_0657",61.714287f,0.000000f,56.914288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_181",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_181", "Sprites/OBJECTS_181", "Sprites/OBJECTS_181", 24, 181, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj = new GameObject("door_054_047"); pos = new Vector3(65.000000f, 3.600000f, 56.914288f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_327",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_327", "Sprites/OBJECTS_327", "Sprites/OBJECTS_327", 29, 327, 633, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/world/uw1_050", 3, 1); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("some_writing_03_48_00_0617",4.628572f,4.200000f,58.779999f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_358",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", "Sprites/OBJECTS_358", 10, 358, 581, 40, 0, 0, 0, 0); SetReadable(myObj); SetRotation(myObj,0,0,0); SetSprite(myObj, "Sprites/tmobj/tmobj_27"); myObj= CreateGameObject("a_button_55_49_00_0646",66.514290f,3.900000f,59.980000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_369",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_369", "UW1/Sprites/Objects/OBJECTS_369", "UW1/Sprites/Objects/OBJECTS_369", 8, 369, 643, 40, 0, 0, 1, 0, 0, 0, 0, 0, 1); pos = new Vector3(6.514286f, 3.600000f, 57.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 53, 0); SetRotation(myObj,-90,90,0); myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_326", "UW1/Sprites/Objects/OBJECTS_326", "UW1/Sprites/Objects/OBJECTS_326", 30, 326, 716, 63, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreatePortcullis(myObj, 3, 1, 0); myObj= CreateGameObject("a_bedroll_09_48_00_0756",11.314286f,3.900000f,57.771431f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("some_grass_bunches_of_grass_23_48_00_0822",28.457144f,2.400000f,58.457142f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_193",true); AddObjectToContainer("a_coin_99_99_00_0747", ParentContainer, 0); AddObjectToContainer("a_sapphire_99_99_00_0746", ParentContainer, 1); AddObjectToContainer("an_amulet_99_99_00_0745", ParentContainer, 2); ////Container contents complete myObj= CreateGameObject("a_stalactite_35_50_00_0792",42.857143f,4.500000f,60.857143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); myObj= CreateGameObject("a_pole_57_48_00_0610",69.428566f,3.600000f,57.942856f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_216",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_216", "Sprites/OBJECTS_216", "Sprites/OBJECTS_216", 16, 216, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_scroll_57_48_00_0631",68.914284f,3.600000f,58.114288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_318",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_318", "Sprites/OBJECTS_318", "Sprites/OBJECTS_318", 13, 318, 515, 40, 0, 1, 0, 1); SetReadable(myObj); SetLink(myObj,515); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_58_48_00_0714",70.114288f,3.600000f,58.114288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_210",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", "Sprites/OBJECTS_210", 23, 210, 1, 40, 0, 1, 0, 1); myObj = new GameObject("door_004_049"); pos = new Vector3(5.000000f, 3.600000f, 59.314285f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_321",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", 4, 321, 750, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_03", 4, 1); SetRotation(myObj,-90,-180,0); AddObjectToContainer("a_fish_fish_99_99_00_0757", ParentContainer, 0); ////Container contents complete myObj= CreateGameObject("some_grass_bunches_of_grass_23_51_00_0821",27.942856f,2.400000f,61.885712f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj = new GameObject("door_042_051"); pos = new Vector3(50.914288f, 3.600000f, 61.400002f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_320", "UW1/Sprites/Objects/OBJECTS_320", "UW1/Sprites/Objects/OBJECTS_320", 4, 320, 0, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_00_material", 53, 0, 0); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_button_55_49_00_0646",66.514290f,3.900000f,59.980000f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_369",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0643",40,0,0,7,369); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_369", "Sprites/OBJECTS_369", "Sprites/OBJECTS_369", 8, 369, 643, 40, 0, 0, 0, 1); SetRotation(myObj,0,0,0); SetButtonProperties(myObj, 0, "Sprites/tmflat/tmflat_0001", "Sprites/tmflat/tmflat_0009"); CreatePortcullis(myObj, 3, 1, 0); pos = new Vector3(67.714287f, 3.600000f, 59.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_326",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_326", "Sprites/OBJECTS_326", "Sprites/OBJECTS_326", 30, 326, 716, 63, 0, 0, 0, 1); CreatePortcullis(myObj, 3, 1); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_chest_03_50_00_0758",3.942857f,3.600000f,60.342857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_349",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_349", "Sprites/OBJECTS_349", "Sprites/OBJECTS_349", 19, 349, 570, 40, 6, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, -842150451, -842150451, -842150451); myObj= CreateGameObject("an_amulet_03_50_00_0745",3.942857f,3.600000f,60.342857f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_168",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_168", "Sprites/OBJECTS_168", "Sprites/OBJECTS_168", 18, 168, 1, 40, 6, 1, 0, 1); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); FreezeMovement(myObj); CreateNPC(myObj,"80","UW1/Sprites/Objects/OBJECTS_080", 7); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_080", "UW1/Sprites/Objects/OBJECTS_080", "UW1/Sprites/Objects/OBJECTS_080", 0, 80, 0, 60, 51, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 7, 60, 51, 0, 0, 32, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("door_008_052"); myObj= CreateGameObject("a_barrel_03_51_00_0762",3.942857f,3.600000f,61.220001f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_347",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_347", "Sprites/OBJECTS_347", "Sprites/OBJECTS_347", 19, 347, 749, 40, 6, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, -842150451, -842150451, -842150451); myObj= CreateGameObject("a_loaf_of_bread_loaves_of_bread_03_51_00_0749",3.942857f,3.600000f,61.220001f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_181",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_181", "Sprites/OBJECTS_181", "Sprites/OBJECTS_181", 24, 181, 11, 40, 6, 1, 0, 1); SetFood(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); myObj = new GameObject("a_goblin_45_52_00_0233"); pos = new Vector3(54.857143f, 3.600000f, 62.742855f); myObj.transform.position = pos; myObj= CreateGameObject("a_barrel_03_51_00_0759",4.628572f,3.600000f,62.057144f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_347",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_347", "Sprites/OBJECTS_347", "Sprites/OBJECTS_347", 19, 347, 748, 40, 6, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, -842150451, -842150451, -842150451); myObj= CreateGameObject("a_piece_of_meat_pieces_of_meat_03_51_00_0748",4.628572f,3.600000f,62.057144f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_176",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", 24, 176, 10, 40, 6, 1, 0, 1); SetFood(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); myObj.transform.parent = LevelParent; CreateNPC(myObj,"76","UW1/Sprites/Objects/OBJECTS_076", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_076", "UW1/Sprites/Objects/OBJECTS_076", "UW1/Sprites/Objects/OBJECTS_076", 0, 76, 0, 52, 52, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 52, 52, 12, 0, 18, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); myObj= CreateGameObject("a_barrel_04_51_00_0761",5.485714f,3.600000f,62.057144f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_347",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_347", "Sprites/OBJECTS_347", "Sprites/OBJECTS_347", 19, 347, 757, 40, 6, 1, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, -842150451, -842150451, -842150451); myObj= CreateGameObject("a_fish_fish_04_51_00_0757",5.485714f,3.600000f,62.057144f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_182",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_182", "Sprites/OBJECTS_182", "Sprites/OBJECTS_182", 24, 182, 6, 40, 6, 1, 0, 1); SetFood(myObj); myObj.transform.position = invMarker.transform.position; AddObjectToContainer(myObj, ParentContainer, 0); myObj= CreateGameObject("a_piece_of_meat_pieces_of_meat_30_53_00_0620",37.028572f,3.600000f,64.114288f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_176",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_176", "UW1/Sprites/Objects/OBJECTS_176", "UW1/Sprites/Objects/OBJECTS_176", 24, 176, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); SetFood(myObj); myObj= CreateGameObject("leather_gloves_pairs_of_leather_gloves_37_53_00_0800",44.571430f,3.300000f,63.942856f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_038",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_038", "UW1/Sprites/Objects/OBJECTS_038", "uw1/Hud/armour/armor_f_0006", 76, 38, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); pos = new Vector3(50.914288f, 3.600000f, 61.400002f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_320",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", "Sprites/OBJECTS_320", 4, 320, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_00", 53, 0); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("an_ear_of_corn_ears_of_corn_38_53_00_0619",45.942856f,3.300000f,64.628571f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_180",true); pos = new Vector3(56.914288f, 3.600000f, 61.400002f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_326",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_326", "Sprites/OBJECTS_326", "Sprites/OBJECTS_326", 30, 326, 844, 40, 0, 0, 0, 1); CreatePortcullis(myObj, 3, 1); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_button_48_51_00_0840",58.114288f,4.200000f,61.220001f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_377",false); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0639",40,0,0,7,377); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_377", "Sprites/OBJECTS_377", "Sprites/OBJECTS_377", 8, 377, 639, 40, 0, 0, 0, 1); SetRotation(myObj,0,180,0); SetButtonProperties(myObj, 1, "Sprites/tmflat/tmflat_0009", "Sprites/tmflat/tmflat_0001"); myObj= CreateGameObject("a_bedroll_56_51_00_0846",68.228569f,3.900000f,62.057144f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", "Sprites/OBJECTS_289", 16, 289, 1, 40, 9, 1, 0, 1); myObj = new GameObject("a_goblin_60_51_00_0238"); pos = new Vector3(72.514290f, 3.600000f, 61.714287f); myObj.transform.position = pos; CreateNPC(myObj,"80","Sprites/OBJECTS_080", 7); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_080", "Sprites/OBJECTS_080", "Sprites/OBJECTS_080", 0, 80, 0, 60, 51, 0, 0, 1); SetNPCProps(myObj, 7, 0, 8, 0, 0, 32, 0, 0, 8, 2, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(23.314285f, 2.700000f, 65.314285f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; pos = new Vector3(9.800000f, 3.600000f, 62.914288f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_324",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_324", "Sprites/OBJECTS_324", "Sprites/OBJECTS_324", 4, 324, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_07", 53, 0); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_blood_stain_20_54_00_0830",24.514284f,2.700000f,65.314285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_221",true); myObj= CreateGameObject("a_blood_stain_36_54_00_0801",43.714287f,3.300000f,65.314285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_221",true); myObj = new GameObject("a_giant_spider_37_54_00_0248"); pos = new Vector3(54.857143f, 3.600000f, 62.742855f); myObj.transform.position = pos; CreateNPC(myObj,"76","Sprites/OBJECTS_076", 65); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_076", "Sprites/OBJECTS_076", "Sprites/OBJECTS_076", 0, 76, 0, 45, 52, 0, 0, 1); SetNPCProps(myObj, 65, 0, 8, 8, 0, 26, 0, 0, 7, 2, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_skull_38_54_00_0803",45.771431f,3.300000f,65.142853f); pos = new Vector3(62.914288f, 3.000000f, 62.914288f); myObj.transform.position = pos; CreateNPC(myObj,"76","Sprites/OBJECTS_076", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_076", "Sprites/OBJECTS_076", "Sprites/OBJECTS_076", 0, 76, 0, 52, 52, 0, 0, 1); SetNPCProps(myObj, 0, 0, 8, 12, 0, 18, 0, 0, 8, 2, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); AddSpike(myObj); myObj= CreateGameObject("a_fountain_08_55_00_0836",10.114285f,1.800000f,66.514290f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_302",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_302", "UW1/Sprites/Objects/OBJECTS_302", "UW1/Sprites/Objects/OBJECTS_302", 82, 302, 1, 40, 0, 0, 1, 0, 0, 1, 0, 0, 1); AddFountain(myObj); myObj= CreateGameObject("a_fountain_08_55_00_0764",10.114285f,1.837500f,66.514290f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_457",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_457", "UW1/Sprites/Objects/OBJECTS_457", "UW1/Sprites/Objects/OBJECTS_457", 80, 457, 1, 40, 5, 0, 0, 5, 4, 1, 0, 0, 1); myObj= CreateGameObject("a_piece_of_meat_pieces_of_meat_30_53_00_0620",37.028572f,3.600000f,64.114288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_176",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", "Sprites/OBJECTS_176", 24, 176, 1, 40, 0, 1, 0, 1); SetFood(myObj); myObj= CreateGameObject("leather_gloves_pairs_of_leather_gloves_37_53_00_0800",44.571430f,3.300000f,63.942856f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_038",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_038", "Sprites/OBJECTS_038", "Sprites/armour/armor_f_0006", 76, 38, 0, 40, 0, 1, 0, 1); CreateGloves(myObj, "Sprites/armour/armor_f_0006", "Sprites/armour/armor_m_0006", "Sprites/armour/armor_f_0021", "Sprites/armour/armor_m_0021", "Sprites/armour/armor_f_0036", "Sprites/armour/armor_m_0036", "Sprites/armour/armor_f_0051", "Sprites/armour/armor_m_0051", 1, 2); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_37_53_00_0802",44.914288f,3.300000f,64.114288f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_198",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", "Sprites/OBJECTS_198", 23, 198, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("an_ear_of_corn_ears_of_corn_38_53_00_0619",45.942856f,3.300000f,64.628571f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_180",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_180", "Sprites/OBJECTS_180", "Sprites/OBJECTS_180", 24, 180, 1, 40, 0, 1, 0, 1); SetFood(myObj); pos = new Vector3(68.599998f, 3.600000f, 64.114288f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_321",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", "Sprites/OBJECTS_321", 4, 321, 0, 40, 0, 0, 0, 1); CreateDoor(myObj,"textures/doors/doors_03", 53, 0); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_broken_sword_18_54_00_0832",21.942856f,2.700000f,65.657143f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_201",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_201", "Sprites/OBJECTS_201", "Sprites/OBJECTS_201", 23, 201, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_skull_18_54_00_0922",22.114285f,2.700000f,65.314285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_194",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", "Sprites/OBJECTS_194", 23, 194, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_stalactite_19_54_00_0786",23.314285f,4.500000f,65.314285f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_211",true); ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(23.314285f, 2.700000f, 65.314285f); myObj.transform.position = pos; CreateNPC(myObj,"83","Sprites/OBJECTS_083", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_083", "Sprites/OBJECTS_083", "Sprites/OBJECTS_083", 0, 83, 0, 19, 54, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 0, 0, 24, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("a_goblin_57_55_00_0249"); pos = new Vector3(68.914284f, 3.600000f, 66.514290f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"80","UW1/Sprites/Objects/OBJECTS_080", 8); pos = new Vector3(45.085712f, 3.300000f, 65.142853f); myObj.transform.position = pos; CreateNPC(myObj,"68","Sprites/OBJECTS_068", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_068", "Sprites/OBJECTS_068", "Sprites/OBJECTS_068", 0, 68, 0, 37, 54, 0, 0, 1); SetNPCProps(myObj, 0, 0, 0, 8, 0, 16, 0, 0, 4, 0, 0, 0, 0, 0,"GroundMesh2"); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); AddObjectToContainer("a_key_99_99_00_0538", ParentContainer, 0); myObj= CreateGameObject("a_skull_38_54_00_0803",45.771431f,3.300000f,65.142853f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", "Sprites/OBJECTS_195", 23, 195, 1, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_spike_38_54_00_0596",45.771431f,3.300000f,64.971428f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_295",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_295", "Sprites/OBJECTS_295", "Sprites/OBJECTS_295", 16, 295, 3, 40, 0, 1, 0, 1); myObj= CreateGameObject("a_fountain_08_55_00_0836",10.114285f,1.800000f,66.514290f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_302",true); CreateUWActivators(myObj,"ButtonHandler","a_jeweled_shield_99_99_00_0001",40,0,0,7,302); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_302", "Sprites/OBJECTS_302", "Sprites/OBJECTS_302", 17, 302, 1, 40, 0, 0, 0, 0); myObj= CreateGameObject("a_fountain_08_55_00_0764",10.114285f,1.837500f,66.514290f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_457",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_457", "Sprites/OBJECTS_457", "Sprites/OBJECTS_457", 80, 457, 1, 40, 5, 1, 5, 4); AddAnimationOverlay(myObj,5,4); myObj= CreateGameObject("a_fountain_13_55_00_0835",16.114286f,1.800000f,66.514290f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_302",true); CreateUWActivators(myObj,"ButtonHandler","a_jeweled_shield_99_99_00_0001",40,0,0,7,302); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_302", "Sprites/OBJECTS_302", "Sprites/OBJECTS_302", 17, 302, 1, 40, 0, 0, 0, 0); myObj= CreateGameObject("a_fountain_13_55_00_0765",16.114286f,1.837500f,66.514290f); CreateObjectGraphics(myObj,"Sprites/OBJECTS_457",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "Sprites/OBJECTS_457", "Sprites/OBJECTS_457", "Sprites/OBJECTS_457", 80, 457, 1, 40, 5, 1, 5, 4); AddAnimationOverlay(myObj,5,4);
Added isQuant to object interaction  Basic splitting of quantities in 3d WorldDisplay removal of magic tree palette cycle