<NME> unity.txt <BEF> GameObject myObj; Vector3 pos; StoreInformation si; GameObject invMarker = GameObject.Find("InventoryMarker"); Container ParentContainer;//For containers myObj= CreateGameObject("special_tmap_obj_31_01_00_0535",37.799999f,3.600000f,1.240000f); 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, 559, 0, 37, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj,"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); myObj= CreateGameObject("some_grass_bunches_of_grass_31_01_00_0983",38.228573f,3.600000f,2.057143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("special_tmap_obj_32_01_00_0545",39.000000f,3.600000f,1.240000f); 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, 574, 0, 46, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj,"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); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_340", "UW1/Sprites/Objects/OBJECTS_340", "UW1/Sprites/Objects/OBJECTS_340", 23, 340, 0, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_blood_stain_14_02_00_0579",17.657143f,2.700000f,2.914286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_222",true); myObj= CreateGameObject("some_writing_30_02_00_0963",36.020000f,4.200000f,3.257143f); 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); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("some_grass_bunches_of_grass_32_02_00_0990",38.914284f,3.600000f,2.914286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("some_grass_bunches_of_grass_33_02_00_1019",40.114285f,3.600000f,2.914286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("a_silver_tree_36_02_00_0967",43.714287f,3.600000f,3.257143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_458",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_458", "UW1/Sprites/Objects/OBJECTS_458", "UW1/Sprites/Objects/OBJECTS_458", 81, 458, 1, 40, 13, 1, 1, 13, 4, 1, 0, 0, 1); AddSilverSeed(myObj); AddAnimationOverlay(myObj,13,4); myObj= CreateGameObject("a_button_49_02_00_0817",59.314285f,3.300000f,2.420000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_377",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_377", "UW1/Sprites/Objects/OBJECTS_377", "UW1/Sprites/Objects/OBJECTS_377", 8, 377, 816, 40, 0, 0, 1, 0, 0, 0, 0, 0, 1); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0816",40,0,0,7,377); SetRotation(myObj,0,180,0); SetButtonProperties(myObj, 1, "UW1/Sprites/tmflat/tmflat_0009", "UW1/Sprites/tmflat/tmflat_0001"); myObj = new GameObject("a_rotworm_58_02_00_0222"); pos = new Vector3(70.114288f, 1.500000f, 2.914286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"64","UW1/Sprites/Objects/OBJECTS_064", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_064", "UW1/Sprites/Objects/OBJECTS_064", "UW1/Sprites/Objects/OBJECTS_064", 0, 64, 0, 58, 2, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 58, 2, 0, 0, 5, 0, 0, 8, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_11"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_bone_07_03_00_0812",8.914286f,0.300000f,4.114285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", 23, 196, 1, 40, 34, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_bedroll_18_03_00_0823",22.114285f,3.600000f,4.114285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_289", "UW1/Sprites/Objects/OBJECTS_289", "UW1/Sprites/Objects/OBJECTS_289", 94, 289, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddBedroll(myObj); myObj= CreateGameObject("a_bone_23_03_00_0609",27.771429f,3.000000f,3.942857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", 23, 196, 1, 40, 13, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_23_03_00_0608",28.114285f,3.000000f,4.114285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_204",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_204", "UW1/Sprites/Objects/OBJECTS_204", "UW1/Sprites/Objects/OBJECTS_204", 23, 204, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_blood_stain_23_03_00_0607",27.942856f,3.000000f,4.457143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_222",true); myObj= CreateGameObject("a_skull_30_03_00_1016",36.857143f,3.600000f,3.942857f); 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, 0, 40, 34, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_sack_33_03_00_0942",39.771427f,3.600000f,3.942857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_128",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_128", "UW1/Sprites/Objects/OBJECTS_128", "UW1/Sprites/Objects/OBJECTS_129", 19, 128, 940, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 15, -842150451, -842150451); AddObjectToContainer("a_dagger_99_99_00_0940", ParentContainer, 0); AddObjectToContainer("a_torch_torches_99_99_00_0936", ParentContainer, 1); AddObjectToContainer("a_map_99_99_00_0941", ParentContainer, 2); AddObjectToContainer("a_fish_fish_99_99_00_0935", ParentContainer, 3); AddObjectToContainer("a_loaf_of_bread_loaves_of_bread_99_99_00_0934", ParentContainer, 4); AddObjectToContainer("an_apple_99_99_00_0959", ParentContainer, 5); ////Container contents complete myObj= CreateGameObject("some_writing_35_03_00_0929",42.020000f,3.900000f,4.114285f); 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, 580, 40, 0, 0, 1, 0, 0, 1, 0, 0, 1); SetReadable(myObj); SetRotation(myObj,0,270,0); SetSprite(myObj, _RES + "/Sprites/tmobj/tmobj_20"); SetLink(myObj,580); myObj= CreateGameObject("special_tmap_obj_04_04_00_1021",4.840000f,0.000000f,5.400000f); 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, 39, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj, "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,"UW1/Sprites/Objects/OBJECTS_185",true); 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); AddPotion(myObj); myObj= CreateGameObject("a_toadstool_16_04_00_0581",20.057142f,3.600000f,4.971428f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_185",true); 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); AddPotion(myObj); 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("a_key_54_04_00_0928",65.828568f,3.000000f,5.314286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_258",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_258", "UW1/Sprites/Objects/OBJECTS_258", "UW1/Sprites/Objects/OBJECTS_258", 5, 258, 1, 40, 2, 1, 1, 0, 1, 1, 0, 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; myObj.transform.parent = LevelParent; CreateNPC(myObj,"69","UW1/Sprites/Objects/OBJECTS_069", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_069", "UW1/Sprites/Objects/OBJECTS_069", "UW1/Sprites/Objects/OBJECTS_069", 0, 69, 0, 55, 4, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 55, 4, 0, 0, 6, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_11"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("door_022_005"); pos = new Vector3(26.914284f, 3.000000f, 6.200000f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_321", "UW1/Sprites/Objects/OBJECTS_321", "UW1/Sprites/Objects/OBJECTS_321", 4, 321, 995, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_03_material", 1, 1, 0); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("an_Ort_stone_28_05_00_0586",34.285717f,3.000000f,6.171429f); 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_246", "UW1/Sprites/Objects/OBJECTS_246", 6, 246, 1, 40, 0, 1, 1, 0, 1, 1, 0, 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_222",true); myObj= CreateGameObject("a_skull_28_05_00_0592",34.457142f,3.000000f,6.857143f); 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, 63, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj = new GameObject("door_038_005"); pos = new Vector3(45.799999f, 3.000000f, 6.514286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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); myObj = new GameObject("a_rotworm_05_06_00_0252"); pos = new Vector3(6.514286f, 0.300000f, 7.714286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"64","UW1/Sprites/Objects/OBJECTS_064", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_064", "UW1/Sprites/Objects/OBJECTS_064", "UW1/Sprites/Objects/OBJECTS_064", 0, 64, 0, 5, 6, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 5, 6, 1, 0, 3, 0, 0, 4, 0, 1, 0, 4, 0, "" , "_GroundMesh_0_3"); SetRotation(myObj,0,180,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_pack_23_06_00_0993",27.771429f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_130",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_130", "UW1/Sprites/Objects/OBJECTS_130", "UW1/Sprites/Objects/OBJECTS_131", 19, 130, 948, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 15, -842150451, -842150451); AddObjectToContainer("a_key_99_99_00_0948", ParentContainer, 0); AddObjectToContainer("a_scroll_99_99_00_0956", ParentContainer, 1); AddObjectToContainer("a_rune_bag_99_99_00_0960", ParentContainer, 2); AddObjectToContainer("a_Bet_stone_99_99_00_0950", ParentContainer, 3); AddObjectToContainer("an_In_stone_99_99_00_0949", ParentContainer, 4); AddObjectToContainer("a_Lor_stone_99_99_00_0951", ParentContainer, 5); AddObjectToContainer("a_Sanct_stone_99_99_00_0947", ParentContainer, 6); ////Container contents complete myObj= CreateGameObject("a_blood_stain_23_06_00_0955",28.285715f,3.000000f,7.542857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_222",true); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_23_06_00_0702",27.942856f,3.000000f,8.057143f); 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, 34, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_28_06_00_0591",34.628571f,3.000000f,7.542857f); 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, 63, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_bone_28_06_00_0590",34.457142f,3.000000f,7.220000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_197",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, 63, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("some_grass_bunches_of_grass_28_06_00_0589",34.114285f,3.000000f,7.714286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("a_blood_stain_28_06_00_0593",34.457142f,3.000000f,8.228571f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_223",true); myObj= CreateGameObject("a_broken_axe_32_06_00_0977",38.914284f,3.000000f,7.714286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_200",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_200", "UW1/Sprites/Objects/OBJECTS_200", "UW1/Sprites/Objects/OBJECTS_200", 23, 200, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj = new GameObject("a_cave_bat_45_06_00_0229"); pos = new Vector3(54.514286f, 2.100000f, 7.714286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"66","UW1/Sprites/Objects/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", 0, 66, 0, 45, 6, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 45, 6, 8, 0, 8, 0, 0, 8, 1, 0, 0, 0, 0, "" , "_WaterMesh_0_12"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("a_cave_bat_50_06_00_0228"); pos = new Vector3(60.514286f, 1.800000f, 7.714286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"66","UW1/Sprites/Objects/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", 0, 66, 0, 50, 6, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 50, 6, 8, 0, 8, 0, 0, 8, 1, 0, 0, 0, 0, "" , "_WaterMesh_0_12"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("door_057_006"); pos = new Vector3(69.085716f, 2.400000f, 7.400000f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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); CreateDoor(myObj, _RES + "/textures/doors/doors_06_material", 2, 1, 0); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_switch_04_07_00_0864",4.820000f,1.200000f,9.085714f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_372",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_372", "UW1/Sprites/Objects/OBJECTS_372", "UW1/Sprites/Objects/OBJECTS_372", 8, 372, 691, 40, 0, 0, 1, 0, 0, 0, 0, 0, 1); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0691",40,0,0,7,372); SetRotation(myObj,0,270,0); SetButtonProperties(myObj, 0, "UW1/Sprites/tmflat/tmflat_0004", "UW1/Sprites/tmflat/tmflat_0012"); myObj = new GameObject("an_outcast_17_07_00_0240"); pos = new Vector3(20.914284f, 3.600000f, 8.914286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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 = new GameObject("door_024_007"); pos = new Vector3(29.000000f, 3.000000f, 8.914286f); 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,-180,0); myObj= CreateGameObject("a_blood_stain_28_07_00_0594",34.457142f,3.000000f,8.742857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_222",true); myObj= CreateGameObject("some_grass_bunches_of_grass_28_07_00_0588",34.285717f,3.000000f,8.571429f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("a_pull_chain_32_07_00_0994",39.580002f,3.600000f,9.085714f); 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); SetRotation(myObj,0,90,0); SetButtonProperties(myObj, 0, "UW1/Sprites/tmflat/tmflat_0007", "UW1/Sprites/tmflat/tmflat_0015"); myObj= CreateGameObject("a_wooden_shield_04_08_00_0808",5.828571f,0.300000f,10.457142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_060",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_060", "UW1/Sprites/Objects/OBJECTS_060", "UW1/Sprites/Objects/OBJECTS_060", 78, 60, 0, 27, 0, 1, 1, 0, 1, 0, 0, 0, 1); AddShield(myObj); myObj= CreateGameObject("special_tmap_obj_06_08_00_1022",7.800000f,0.000000f,10.759999f); 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, 39, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj, "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,"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); CreateLight(myObj, 10, -842150451, 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; myObj.transform.parent = LevelParent; CreateNPC(myObj,"67","UW1/Sprites/Objects/OBJECTS_067", 0); 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); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_piece_of_cheese_pieces_of_cheese_22_08_00_0945",26.914284f,3.000000f,10.628572f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_178",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_178", "UW1/Sprites/Objects/OBJECTS_178", "UW1/Sprites/Objects/OBJECTS_178", 24, 178, 0, 40, 36, 1, 1, 0, 1, 0, 0, 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,"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, 0, 40, 36, 1, 1, 0, 1, 0, 0, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_plant_30_08_00_0954",36.857143f,3.600000f,10.457142f); 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); SetFood(myObj); myObj = new GameObject("door_033_008"); pos = new Vector3(40.457142f, 3.000000f, 9.800000f); 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, 953, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_00_material", 0, 1, 0); SetRotation(myObj,-90,90,0); myObj = new GameObject("door_036_008"); pos = new Vector3(43.400002f, 3.000000f, 10.114285f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_321", "UW1/Sprites/Objects/OBJECTS_321", "UW1/Sprites/Objects/OBJECTS_321", 4, 321, 965, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_03_material", 1, 1, 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_piece_of_wood_pieces_of_wood_38_08_00_0969",46.114288f,3.000000f,10.780000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_205",true); pos = new Vector3(33.482811f, 1.800000f, 14.395312f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0885",false); myObj = new GameObject("HUMAN_CORPSE_27_11_01_0161"); pos = new Vector3(32.620312f, 1.575000f, 13.720312f); myObj= CreateGameObject("a_bone_38_08_00_0973",45.942856f,3.000000f,10.457142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", 23, 196, 0, 40, 13, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_skull_38_08_00_0974",46.114288f,3.000000f,10.114285f); 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, 0, 40, 13, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj = new GameObject("door_046_008"); pos = new Vector3(55.400002f, 2.700000f, 10.285714f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_325", "UW1/Sprites/Objects/OBJECTS_325", "UW1/Sprites/Objects/OBJECTS_325", 4, 325, 536, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_09_material", 0, 1, 0); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_32_09_00_0975",39.257145f,3.000000f,11.657143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_213",true); myObj= CreateGameObject("a_skull_38_09_00_0971",46.457142f,3.000000f,10.971428f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", 23, 195, 0, 47, 47, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_38_09_00_0972",46.114288f,3.000000f,11.314286f); 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, 0, 40, 47, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("special_tmap_obj_02_10_00_0884",2.440000f,0.000000f,12.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, 19, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj, "uw1_071", "" , 71, false); SetRotation(myObj,0,270,0); myObj = new GameObject("door_009_010"); pos = new Vector3(11.800000f, 0.300000f, 13.180000f); 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, 692, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_00_material", 0, 1, 0); SetRotation(myObj,-90,0,0); myObj= CreateGameObject("a_shortsword_18_10_00_0603",21.771429f,3.600000f,12.171429f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_004",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_004", "UW1/Sprites/Objects/OBJECTS_004", "UW1/Sprites/Objects/OBJECTS_004", 1, 4, 0, 9, 0, 1, 1, 0, 1, 0, 0, 0, 1); CreateWeaponMelee(myObj, 125, 255, 255, 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, "UW1/Sprites/Objects/OBJECTS_366", "UW1/Sprites/Objects/OBJECTS_366", "UW1/Sprites/Objects/OBJECTS_366", 34, 366, 0, 40, 16, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj, "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,"UW1/Sprites/Objects/OBJECTS_035",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_035", "UW1/Sprites/Objects/OBJECTS_035", "uw1/Hud/armour/armor_f_0003", 77, 35, 0, 7, 0, 1, 1, 0, 1, 0, 0, 0, 1); CreateLeggings(myObj, "uw1/Hud/armour/armor_f_0003", "uw1/Hud/armour/armor_m_0003", "uw1/Hud/armour/armor_f_0018", "uw1/Hud/armour/armor_m_0018", "uw1/Hud/armour/armor_f_0033", "uw1/Hud/armour/armor_m_0033", "uw1/Hud/armour/armor_f_0048", "uw1/Hud/armour/armor_m_0048", 2, 4); pos = new Vector3(21.000000f, 1.800000f, 15.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_17_12_01_0337"); pos = new Vector3(21.000000f, 1.800000f, 15.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("KEYPAD_PANEL_23_12_01_0291"); pos = new Vector3(27.600000f, 2.062500f, 14.695313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0991",false); myObj = new GameObject("STORAGE_ROOM_DOOR_023_012"); pos = new Vector3(28.200001f, 1.800000f, 14.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1045",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,305, 0); myObj = new GameObject("ICON_23_12_01_0515"); pos = new Vector3(27.600000f, 2.006250f, 15.482813f); AddObjectToContainer("a_cudgel_99_99_00_0613", ParentContainer, 2); ////Container contents complete myObj= CreateGameObject("special_tmap_obj_02_11_00_0883",2.440000f,0.000000f,13.800000f); 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); myObj= CreateGameObject("special_tmap_obj_02_12_00_0882",2.440000f,0.000000f,15.000000f); 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); myObj= CreateGameObject("some_grass_bunches_of_grass_09_12_00_0868",11.657143f,0.300000f,15.257142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); pos = new Vector3(34.200001f, 1.800000f, 14.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1039",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,303, 0); myObj = new GameObject("BEAM_BLAST_35_12_01_0057"); pos = new Vector3(42.599998f, 1.650000f, 15.595312f); myObj = new GameObject("a_giant_rat_18_12_00_0214"); pos = new Vector3(22.457144f, 3.600000f, 14.914286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"67","UW1/Sprites/Objects/OBJECTS_067", 0); 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, 18, 12, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 18, 12, 12, 0, 6, 0, 0, 4, 1, 1, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_box_boxes_20_12_00_0728",24.342857f,3.000000f,15.428572f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_132",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_132", "UW1/Sprites/Objects/OBJECTS_132", "UW1/Sprites/Objects/OBJECTS_133", 19, 132, 727, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 15, -842150451, -842150451); AddObjectToContainer("a_sling_99_99_00_0727", ParentContainer, 0); AddObjectToContainer("a_sling_stone_99_99_00_0726", ParentContainer, 1); ////Container contents complete myObj= CreateGameObject("a_cauldron_20_12_00_0733",24.514284f,3.000000f,14.914286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_303",true); myObj= CreateGameObject("a_bowl_26_12_00_0606",31.371428f,3.000000f,14.571428f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_142",true); pos = new Vector3(32.995312f, 2.100000f, 16.795313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0885",false); myObj = new GameObject("NULL_TRIGGER_29_13_01_0211"); pos = new Vector3(35.400002f, 1.800000f, 16.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("HUMANOID_MUTANT_30_13_01_0203"); pos = new Vector3(36.028126f, 1.593750f, 16.546875f); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_28_12_00_0583",34.114285f,3.010000f,14.914286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_209",true); 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); AddObj_base(myObj); pos = new Vector3(41.400002f, 1.800000f, 16.795313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1039",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,303, 0); myObj = new GameObject("BLAST_DOOR_036_013"); pos = new Vector3(43.799999f, 1.781250f, 15.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1027",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,299, 0); myObj = new GameObject("SERVICE_ACCESS_DOOR_024_014"); pos = new Vector3(29.400000f, 1.800000f, 16.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1030",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",67,300, 0); myObj = new GameObject("NULL_TRIGGER_26_14_01_0300"); pos = new Vector3(31.799999f, 1.593750f, 17.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("SWITCH_27_14_01_0210"); pos = new Vector3(33.000000f, 1.275000f, 17.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0881",false); myObj = new GameObject("NULL_TRIGGER_29_14_01_0680"); pos = new Vector3(35.400002f, 1.800000f, 17.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("CAMERA_30_14_01_0420"); pos = new Vector3(36.632813f, 3.543750f, 16.799999f); AddBedroll(myObj); myObj = new GameObject("door_037_012"); pos = new Vector3(44.599998f, 3.000000f, 14.914286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_321", "UW1/Sprites/Objects/OBJECTS_321", "UW1/Sprites/Objects/OBJECTS_321", 4, 321, 996, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_03_material", 1, 1, 0); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_bench_benches_15_13_00_0880",18.514286f,3.600000f,15.942858f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_336",true); myObj= CreateGameObject("an_oil_flask_16_13_00_0602",20.228571f,3.600000f,16.457142f); 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("an_oil_flask_16_13_00_0601",20.057142f,3.600000f,15.942858f); 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_pole_23_13_00_0612",28.114285f,3.000000f,16.114286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_216",true); 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); AddPole(myObj); myObj= CreateGameObject("a_pole_24_13_00_0611",28.820000f,3.000000f,16.457142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_216",true); 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); AddPole(myObj); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_28_13_00_0904",34.285717f,2.700000f,16.628572f); 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, 0, 40, 13, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_skull_28_13_00_0905",34.457142f,2.700000f,16.114286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", 23, 195, 0, 40, 13, 1, 1, 0, 1, 0, 0, 0, 1); pos = new Vector3(28.232813f, 1.912500f, 18.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0905",false); myObj = new GameObject("FERN_28_15_01_0122"); pos = new Vector3(34.200001f, 1.350000f, 18.600000f); AddObj_base(myObj); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_28_13_00_0908",34.628571f,2.700000f,16.457142f); 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, 0, 40, 34, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_bone_28_13_00_0909",33.942856f,2.700000f,16.457142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", 23, 196, 0, 40, 34, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_skull_28_13_00_0912",34.114285f,2.700000f,16.114286f); 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, 0, 40, 34, 1, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_bedroll_33_13_00_0735",40.114285f,2.100000f,16.114286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_289", "UW1/Sprites/Objects/OBJECTS_289", "UW1/Sprites/Objects/OBJECTS_289", 94, 289, 1, 40, 27, 1, 1, 0, 1, 1, 0, 0, 1); AddBedroll(myObj); myObj= CreateGameObject("an_orb_58_13_00_0913",70.114288f,3.900000f,16.114286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_279",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_279", "UW1/Sprites/Objects/OBJECTS_279", "UW1/Sprites/Objects/OBJECTS_279", 98, 279, 910, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); AddObj_base(myObj); myObj = new GameObject("a_acid_slug_59_14_00_0226"); pos = new Vector3(71.314285f, 3.300000f, 17.314285f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"69","UW1/Sprites/Objects/OBJECTS_069", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_069", "UW1/Sprites/Objects/OBJECTS_069", "UW1/Sprites/Objects/OBJECTS_069", 0, 69, 0, 59, 14, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 59, 14, 0, 0, 6, 0, 0, 4, 1, 0, 0, 0, 0, "" , "_GroundMesh_0_11"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("a_vampire_bat_02_15_00_0209"); pos = new Vector3(2.914286f, 1.500000f, 18.514286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"73","UW1/Sprites/Objects/OBJECTS_073", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_073", "UW1/Sprites/Objects/OBJECTS_073", "UW1/Sprites/Objects/OBJECTS_073", 0, 73, 0, 2, 15, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 2, 15, 0, 0, 13, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_1"); SetRotation(myObj,0,0,0); ////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,"UW1/Sprites/Objects/OBJECTS_044",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_044", "UW1/Sprites/Objects/OBJECTS_044", "uw1/Hud/armour/armor_f_0012", 73, 44, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); CreateHelm(myObj, "uw1/Hud/armour/armor_f_0012", "uw1/Hud/armour/armor_m_0012", "uw1/Hud/armour/armor_f_0027", "uw1/Hud/armour/armor_m_0027", "uw1/Hud/armour/armor_f_0042", "uw1/Hud/armour/armor_m_0042", "uw1/Hud/armour/armor_f_0057", "uw1/Hud/armour/armor_m_0057", 3020612, 3194524); myObj= CreateGameObject("leather_boots_pairs_of_leather_boots_02_15_00_0722",2.914286f,0.300000f,18.514286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_041",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_041", "UW1/Sprites/Objects/OBJECTS_041", "uw1/Hud/armour/armor_f_0009", 75, 41, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); CreateBoots(myObj, "uw1/Hud/armour/armor_f_0009", "uw1/Hud/armour/armor_m_0009", "uw1/Hud/armour/armor_f_0024", "uw1/Hud/armour/armor_m_0024", "uw1/Hud/armour/armor_f_0039", "uw1/Hud/armour/armor_m_0039", "uw1/Hud/armour/armor_f_0054", "uw1/Hud/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; 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, 738, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_00_material", 1, 1, 0); SetRotation(myObj,-90,-90,0); myObj = new GameObject("an_outcast_33_15_00_0239"); pos = new Vector3(40.457142f, 2.100000f, 18.857141f); 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, 15, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 33, 15, 0, 0, 36, 0, 0, 8, 2, 1, 0, 0, 0, "" , "_GroundMesh_0_2"); pos = new Vector3(18.600000f, 2.400000f, 21.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("ECOLOGY_TRIGGER_16_17_01_0437"); pos = new Vector3(19.799999f, 1.800000f, 21.000000f); CreateNPC(myObj,"66","UW1/Sprites/Objects/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", 0, 66, 0, 12, 16, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 12, 16, 4, 0, 8, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_WaterMesh_0_1"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_37_16_00_0811",44.571430f,3.000000f,20.057142f); 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, 13, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("some_writing_51_16_00_0700",62.380001f,4.200000f,20.379999f); 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, 582, 40, 0, 0, 1, 0, 0, 1, 0, 1, 1); SetReadable(myObj); SetRotation(myObj,0,90,0); SetSprite(myObj, _RES + "/Sprites/tmobj/tmobj_21"); SetLink(myObj,582); pos = new Vector3(21.000000f, 1.800000f, 21.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("ACCESS_PANEL_18_17_01_0577"); pos = new Vector3(22.795313f, 1.950000f, 21.267187f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0959",false); myObj = new GameObject("MEDIPATCH__HEALING_AGENT_18_17_01_0137"); pos = new Vector3(21.895313f, 1.537500f, 20.807812f); myObj= CreateGameObject("a_plant_59_16_00_0678",70.971428f,2.100000f,19.542858f); 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); myObj= CreateGameObject("a_plant_59_16_00_0679",71.314285f,2.100000f,19.714287f); 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); myObj = new GameObject("a_giant_rat_02_17_00_0215"); pos = new Vector3(2.914286f, 2.700000f, 20.914284f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"72","UW1/Sprites/Objects/OBJECTS_072", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_072", "UW1/Sprites/Objects/OBJECTS_072", "UW1/Sprites/Objects/OBJECTS_072", 0, 72, 0, 2, 17, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 2, 17, 0, 0, 9, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("door_022_017"); pos = new Vector3(27.400000f, 3.600000f, 21.428572f); 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,0,0); myObj= CreateGameObject("some_writing_41_17_00_0699",49.220001f,4.200000f,20.420000f); 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, 583, 40, 0, 0, 1, 0, 0, 1, 0, 1, 1); SetReadable(myObj); SetRotation(myObj,0,270,0); SetSprite(myObj, _RES + "/Sprites/tmobj/tmobj_21"); SetLink(myObj,583); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_57_17_00_0675",68.742859f,2.100000f,21.257143f); 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); AddObj_base(myObj); myObj= CreateGameObject("a_candle_02_18_00_0658",2.420000f,2.700000f,22.114285f); 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, 4, 40, 0, 1, 1, 1, 1, 1, 0, 0, 1); CreateLight(myObj, 10, -842150451, 150, 146); myObj= CreateGameObject("a_bone_37_18_00_0809",45.428570f,3.000000f,21.942856f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", 23, 196, 1, 40, 13, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); pos = new Vector3(56.395313f, 1.800000f, 21.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1141",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,337, 0); myObj = new GameObject("SV_TRANQ_DARTS_47_17_01_0568"); pos = new Vector3(56.957813f, 1.293750f, 20.770313f); 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); myObj = new GameObject("a_giant_rat_02_19_00_0217"); pos = new Vector3(2.914286f, 2.700000f, 23.314285f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; pos = new Vector3(19.195313f, 2.400000f, 22.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1045",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,305, 0); myObj = new GameObject("HUMAN_BONES_17_18_01_0038"); pos = new Vector3(20.657812f, 1.462500f, 22.082813f); myObj = new GameObject("door_009_019"); pos = new Vector3(11.314286f, 3.600000f, 23.000000f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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, 724, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_06_material", 2, 1, 0); pos = new Vector3(22.200001f, 0.600000f, 22.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_18_18_01_0113"); pos = new Vector3(22.200001f, 0.600000f, 22.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("SV_23_DARTGUN_19_18_01_0336"); pos = new Vector3(23.357813f, 0.225000f, 22.495312f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_134", "UW1/Sprites/Objects/OBJECTS_134", "UW1/Sprites/Objects/OBJECTS_135", 19, 134, 814, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 15, -842150451, -842150451); AddObjectToContainer("a_ruby_rubies_99_99_00_0814", ParentContainer, 0); ////Container contents complete myObj= CreateGameObject("a_bottle_of_water_bottles_of_water_10_20_00_0815",12.514286f,3.600000f,24.514284f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_189",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_189", "UW1/Sprites/Objects/OBJECTS_189", "UW1/Sprites/Objects/OBJECTS_189", 24, 189, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); SetFood(myObj); pos = new Vector3(23.357813f, 0.787500f, 22.795313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0881",false); myObj = new GameObject("HUMAN_BONES_19_18_01_0061"); pos = new Vector3(23.400000f, 0.262500f, 22.200001f); pos = new Vector3(14.914286f, 3.900000f, 24.514284f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"75","UW1/Sprites/Objects/OBJECTS_075", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_075", "UW1/Sprites/Objects/OBJECTS_075", "UW1/Sprites/Objects/OBJECTS_075", 0, 75, 0, 12, 20, 0, 1, 0, 1, 0, 0, 0, 1); pos = new Vector3(24.600000f, 1.800000f, 22.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_20_18_01_0036"); pos = new Vector3(24.600000f, 1.800000f, 22.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("ENERGY_CHARGE_STATION_22_18_01_0659"); pos = new Vector3(27.000000f, 1.800000f, 22.200001f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"90","UW1/Sprites/Objects/OBJECTS_090", 19); 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, 20, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 19, 33, 20, 12, 0, 50, 0, 0, 8, 1, 1, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,270,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("special_tmap_obj_61_20_00_0885",74.360001f,2.100000f,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, 19, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj, "uw1_071", "" , 71, false); SetRotation(myObj,0,90,0); myObj = new GameObject("door_026_021"); pos = new Vector3(32.200001f, 3.000000f, 26.228571f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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, 937, 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_piece_of_wood_pieces_of_wood_37_21_00_0862",45.428570f,3.600000f,25.714285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_205",true); 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); AddObj_base(myObj); myObj = new GameObject("a_giant_rat_02_22_00_0216"); pos = new Vector3(2.914286f, 2.700000f, 26.914284f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"67","UW1/Sprites/Objects/OBJECTS_067", 0); 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, 2, 22, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 2, 22, 12, 0, 7, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////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,"UW1/Sprites/Objects/OBJECTS_186",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_186", "UW1/Sprites/Objects/OBJECTS_186", "UW1/Sprites/Objects/OBJECTS_186", 14, 186, 520, 40, 0, 1, 1, 0, 1, 1, 1, 12, 1); AddPotion(myObj); myObj = new GameObject("a_lurker_14_23_00_0250"); pos = new Vector3(17.314285f, 0.300000f, 28.114285f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"87","UW1/Sprites/Objects/OBJECTS_087", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_087", "UW1/Sprites/Objects/OBJECTS_087", "UW1/Sprites/Objects/OBJECTS_087", 0, 87, 0, 14, 23, 0, 1, 0, 1, 0, 0, 0, 1); pos = new Vector3(53.400002f, 1.800000f, 22.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("CRATE_12_19_01_0488"); pos = new Vector3(14.995313f, 1.987500f, 22.832813f); myObj.transform.parent = LevelParent; CreateNPC(myObj,"66","UW1/Sprites/Objects/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", 0, 66, 0, 31, 23, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 31, 23, 4, 0, 6, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_WaterMesh_0_1"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("some_leeches_bunches_of_leeches_10_24_00_0701",12.514286f,0.600000f,29.314285f); 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("some_writing_46_24_00_0668",55.885712f,4.200000f,29.980000f); 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, 584, 40, 0, 0, 1, 0, 0, 1, 0, 1, 1); SetReadable(myObj); SetRotation(myObj,0,0,0); SetSprite(myObj, _RES + "/Sprites/tmobj/tmobj_21"); SetLink(myObj,584); myObj= CreateGameObject("a_torch_torches_02_25_00_0540",2.571429f,2.700000f,30.857143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_145",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_145", "UW1/Sprites/Objects/OBJECTS_145", "UW1/Sprites/Objects/OBJECTS_145", 22, 145, 1, 40, 0, 1, 1, 1, 1, 1, 0, 0, 1); CreateLight(myObj, 10, -842150451, 149, 145); pos = new Vector3(23.400000f, 1.200000f, 23.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_19_19_01_0575"); pos = new Vector3(23.400000f, 1.200000f, 23.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_19_19_01_0574"); pos = new Vector3(23.400000f, 1.200000f, 23.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("EMAIL_20_19_01_0485"); pos = new Vector3(24.257813f, 0.693750f, 23.357813f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_180",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_180", "UW1/Sprites/Objects/OBJECTS_180", "UW1/Sprites/Objects/OBJECTS_180", 24, 180, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_blood_stain_38_27_00_0863",46.114288f,3.600000f,32.914284f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_222",true); myObj= CreateGameObject("a_sling_stone_39_27_00_0860",47.142857f,3.000000f,33.257145f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_016",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_016", "UW1/Sprites/Objects/OBJECTS_016", "UW1/Sprites/Objects/OBJECTS_016", 16, 16, 7, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); 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 = new GameObject("a_goblin_36_28_00_0225"); pos = new Vector3(24.000000f, 1.200000f, 23.770313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0991",false); myObj = new GameObject("SERV_BOT_23_19_01_0135"); pos = new Vector3(28.232813f, 0.993750f, 23.957813f); ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_bone_36_30_00_0859",43.371429f,3.096000f,36.857143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", 23, 196, 1, 40, 34, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj = new GameObject("door_005_032"); pos = new Vector3(6.200000f, 2.700000f, 38.914284f); 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,-180,0); myObj= CreateGameObject("a_ruby_rubies_10_32_00_0653",12.857142f,0.300000f,38.742855f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_162",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_162", "UW1/Sprites/Objects/OBJECTS_162", "UW1/Sprites/Objects/OBJECTS_162", 16, 162, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("special_tmap_obj_35_32_00_0881",42.040001f,3.600000f,39.000000f); 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, 23, 0, 0, 0, 0, 0, 0, 0, 1); CreateTMAP(myObj, "uw1_142", "" , 142, false); SetRotation(myObj,0,270,0); myObj= CreateGameObject("a_torch_torches_03_33_00_0541",4.457143f,3.600000f,40.285717f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_145",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_145", "UW1/Sprites/Objects/OBJECTS_145", "UW1/Sprites/Objects/OBJECTS_145", 22, 145, 3, 40, 0, 1, 1, 1, 1, 1, 0, 0, 1); CreateLight(myObj, 10, -842150451, 149, 145); myObj= CreateGameObject("a_buckler_03_33_00_0696",3.942857f,3.600000f,39.771427f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_062",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_062", "UW1/Sprites/Objects/OBJECTS_062", "UW1/Sprites/Objects/OBJECTS_062", 78, 62, 0, 26, 0, 1, 1, 0, 1, 0, 0, 0, 1); AddShield(myObj); myObj= CreateGameObject("a_key_10_33_00_0688",12.857142f,0.300000f,40.457142f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_258",true); pos = new Vector3(43.195313f, 1.800000f, 23.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1045",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,305, 0); myObj = new GameObject("CRATE_38_19_01_0690"); pos = new Vector3(46.200001f, 1.575000f, 23.400000f); SetRotation(myObj,0,0,0); myObj = new GameObject("a_flesh_slug_26_33_00_0207"); pos = new Vector3(31.714285f, 2.100000f, 40.114285f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"65","UW1/Sprites/Objects/OBJECTS_065", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_065", "UW1/Sprites/Objects/OBJECTS_065", "UW1/Sprites/Objects/OBJECTS_065", 0, 65, 0, 26, 33, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 26, 33, 4, 0, 5, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,270,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_piece_of_wood_pieces_of_wood_27_33_00_0861",33.257145f,2.100000f,39.942856f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_205",true); 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); AddObj_base(myObj); myObj= CreateGameObject("a_skull_27_33_00_0865",32.914284f,2.100000f,40.114285f); 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(24.000000f, 1.200000f, 24.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1039",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,303, 0); myObj = new GameObject("STANDARD_ACCESS_CARD_1"); pos = new Vector3(31.682812f, 0.731250f, 24.970312f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_007",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_007", "UW1/Sprites/Objects/OBJECTS_007", "UW1/Sprites/Objects/OBJECTS_007", 1, 7, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); CreateWeaponMelee(myObj, 20, 255, 255, 5, 2); myObj= CreateGameObject("a_chain_cowl_55_33_00_0804",66.514290f,3.600000f,40.114285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_045",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_045", "UW1/Sprites/Objects/OBJECTS_045", "uw1/Hud/armour/armor_f_0013", 73, 45, 0, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); CreateHelm(myObj, "uw1/Hud/armour/armor_f_0013", "uw1/Hud/armour/armor_m_0013", "uw1/Hud/armour/armor_f_0028", "uw1/Hud/armour/armor_m_0028", "uw1/Hud/armour/armor_f_0043", "uw1/Hud/armour/armor_m_0043", "uw1/Hud/armour/armor_f_0058", "uw1/Hud/armour/armor_m_0058", 3020612, 3214112); myObj= CreateGameObject("a_loaf_of_bread_loaves_of_bread_03_34_00_0839",4.285714f,3.600000f,41.657143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_177",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_177", "UW1/Sprites/Objects/OBJECTS_177", "UW1/Sprites/Objects/OBJECTS_177", 24, 177, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_sling_stone_03_34_00_0957",4.628572f,3.600000f,41.485714f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_016",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_016", "UW1/Sprites/Objects/OBJECTS_016", "UW1/Sprites/Objects/OBJECTS_016", 16, 16, 8, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("special_tmap_obj_07_34_00_0916",8.440001f,0.000000f,41.400002f); 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); SetRotation(myObj,0,270,0); myObj = new GameObject("door_015_034"); pos = new Vector3(18.200001f, 2.100000f, 41.657143f); myObj.transform.position = pos; 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, 563, 63, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreatePortcullis(myObj, 4, 1, 0); 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,"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); AddObj_base(myObj); myObj = new GameObject("door_009_035"); pos = new Vector3(11.000000f, 3.600000f, 42.171432f); myObj.transform.position = pos; 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, 743, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreatePortcullis(myObj, 0, 0, 0); SetRotation(myObj,-90,-180,0); AddDoorLink(myObj, "a_door_trap_99_99_00_0743"); myObj = new GameObject("a_goblin_15_35_00_0220"); pos = new Vector3(18.514286f, 2.100000f, 42.514286f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"71","UW1/Sprites/Objects/OBJECTS_071", 66); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_071", "UW1/Sprites/Objects/OBJECTS_071", "UW1/Sprites/Objects/OBJECTS_071", 0, 71, 537, 15, 35, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 66, 15, 35, 12, 0, 21, 0, 0, 7, 2, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,180,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); ////NPC container with items AddObjectToContainer("a_key_99_99_00_0537", ParentContainer, 0); ////Container contents complete myObj= CreateGameObject("a_button_16_35_00_0807",19.714287f,2.700000f,42.020000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_377",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_377", "UW1/Sprites/Objects/OBJECTS_377", "UW1/Sprites/Objects/OBJECTS_377", 8, 377, 637, 40, 0, 0, 1, 0, 0, 0, 0, 0, 1); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0637",40,0,0,7,377); SetRotation(myObj,0,180,0); SetButtonProperties(myObj, 1, "UW1/Sprites/tmflat/tmflat_0009", "UW1/Sprites/tmflat/tmflat_0001"); pos = new Vector3(49.799999f, 1.800000f, 24.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_46_20_01_0139"); pos = new Vector3(55.799999f, 1.800000f, 24.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("BED_11_21_01_0169"); pos = new Vector3(14.020312f, 1.481250f, 25.907812f); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0742",40,0,0,7,373); SetRotation(myObj,0,90,0); SetButtonProperties(myObj, 0, "UW1/Sprites/tmflat/tmflat_0005", "UW1/Sprites/tmflat/tmflat_0013"); pos = new Vector3(17.400000f, 1.800000f, 25.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("DOOR_015_021"); pos = new Vector3(19.195313f, 1.800000f, 25.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1039",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,303, 0); myObj = new GameObject("SERV_BOT_20_21_01_0004"); pos = new Vector3(24.557812f, 0.956250f, 25.200001f); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_38_36_00_0556",45.771431f,3.600000f,44.228569f); 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, 13, 1, 1, 0, 1, 1, 0, 0, 1); pos = new Vector3(24.600000f, 1.800000f, 25.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("CAMERA_21_21_01_0414"); pos = new Vector3(26.057812f, 1.818750f, 25.532812f); SetRotation(myObj,-90,-180,0); myObj = new GameObject("door_056_036"); pos = new Vector3(68.199997f, 2.400000f, 43.714287f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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); pos = new Vector3(31.799999f, 1.200000f, 26.395313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1039",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,303, 0); myObj = new GameObject("SEVERED_LIMB_40_21_01_0107"); pos = new Vector3(48.295311f, 1.350000f, 26.020313f); myObj= CreateGameObject("some_grass_bunches_of_grass_40_37_00_0573",48.857143f,3.600000f,44.742855f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("a_plant_40_37_00_0560",48.342857f,3.600000f,44.571430f); 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, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_broken_sword_41_37_00_0564",49.371429f,3.600000f,45.257145f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_201",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_201", "UW1/Sprites/Objects/OBJECTS_201", "UW1/Sprites/Objects/OBJECTS_201", 23, 201, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("some_grass_bunches_of_grass_41_37_00_0565",49.371429f,3.600000f,44.571430f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_45_37_00_0553",54.857143f,3.600000f,44.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_blood_stain_52_37_00_0858",63.257145f,2.400000f,45.257145f); pos = new Vector3(56.395313f, 1.800000f, 25.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1141",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,337, 0); myObj = new GameObject("MAGNUM_2100_48_21_01_0656"); pos = new Vector3(58.045311f, 1.387500f, 25.832813f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_077", "UW1/Sprites/Objects/OBJECTS_077", "UW1/Sprites/Objects/OBJECTS_077", 0, 77, 0, 3, 38, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 3, 38, 0, 0, 16, 0, 0, 2, 1, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,45,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("a_goblin_11_38_00_0218"); pos = new Vector3(13.714286f, 3.600000f, 46.114288f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"77","UW1/Sprites/Objects/OBJECTS_077", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_077", "UW1/Sprites/Objects/OBJECTS_077", "UW1/Sprites/Objects/OBJECTS_077", 0, 77, 0, 11, 38, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 11, 38, 0, 0, 22, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,270,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_candle_11_38_00_0655",14.228572f,3.600000f,45.771431f); 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, 5, 40, 0, 1, 1, 1, 1, 1, 0, 0, 1); CreateLight(myObj, 10, -842150451, 150, 146); myObj = new GameObject("a_lurker_26_38_00_0223"); pos = new Vector3(31.714285f, 0.900000f, 46.114288f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"87","UW1/Sprites/Objects/OBJECTS_087", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_087", "UW1/Sprites/Objects/OBJECTS_087", "UW1/Sprites/Objects/OBJECTS_087", 0, 87, 0, 26, 38, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 26, 38, 0, 0, 24, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_WaterMesh_0_1"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_pile_of_wood_chips_piles_of_wood_chips_36_38_00_0855",43.714287f,3.600000f,46.114288f); 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("some_grass_bunches_of_grass_41_38_00_0554",50.228569f,3.600000f,46.628571f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_193",true); 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; CreateNPC(myObj,"78","UW1/Sprites/Objects/OBJECTS_078", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_078", "UW1/Sprites/Objects/OBJECTS_078", "UW1/Sprites/Objects/OBJECTS_078", 0, 78, 0, 54, 38, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 54, 38, 0, 0, 28, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(24.600000f, 1.800000f, 27.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_21_22_01_0062"); pos = new Vector3(25.799999f, 1.800000f, 27.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_25_22_01_0696"); pos = new Vector3(30.600000f, 1.200000f, 27.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("BUTTON_26_22_01_0176"); pos = new Vector3(31.232813f, 1.331250f, 26.882813f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0889",false); myObj = new GameObject("EMAIL_33_22_01_0454"); pos = new Vector3(39.895313f, 1.293750f, 26.995312f); myObj= CreateGameObject("a_rock_hammer_09_39_00_0598",11.828571f,3.600000f,47.657143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_296",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_296", "UW1/Sprites/Objects/OBJECTS_296", "UW1/Sprites/Objects/OBJECTS_296", 16, 296, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); 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); myObj= CreateGameObject("a_gold_coffer_49_40_00_0685",59.314285f,3.000000f,48.514286f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_138",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_138", "UW1/Sprites/Objects/OBJECTS_138", "UW1/Sprites/Objects/OBJECTS_139", 19, 138, 684, 40, 0, 1, 1, 0, 1, 0, 0, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 15, -842150451, -842150451); AddObjectToContainer("a_sceptre_99_99_00_0684", ParentContainer, 0); AddObjectToContainer("a_leather_vest_99_99_00_0682", ParentContainer, 1); AddObjectToContainer("an_axe_99_99_00_0683", ParentContainer, 2); AddObjectToContainer("leather_leggings_pairs_of_leather_leggings_99_99_00_0681", ParentContainer, 3); AddObjectToContainer("a_leather_cap_99_99_00_0680", ParentContainer, 4); AddObjectToContainer("a_resilient_sphere_some_resilient_spheres_99_99_00_0544", ParentContainer, 5); ////Container contents complete myObj = new GameObject("door_054_040"); pos = new Vector3(65.000000f, 3.600000f, 48.020000f); 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,-180,0); myObj= CreateGameObject("a_gravestone_50_41_00_0686",60.857143f,3.000000f,49.371429f); SetRotation(myObj,0,90,0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_357", "UW1/Sprites/Objects/OBJECTS_357", "UW1/Sprites/Objects/OBJECTS_357", 84, 357, 578, 40, 0, 0, 1, 0, 1, 1, 0, 0, 1); AddGrave(myObj, 28,1); pos = new Vector3(21.000000f, 1.800000f, 27.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1120",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,330, 0); myObj = new GameObject("BULKHEAD_DOOR_018_023"); pos = new Vector3(22.200001f, 1.800000f, 27.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1123",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,331, 0); myObj = new GameObject("WORDS_29_23_01_0699"); pos = new Vector3(35.765625f, 2.250000f, 28.795313f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", 23, 195, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); 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); pos = new Vector3(37.799999f, 1.800000f, 28.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1364",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",108,382, 0); myObj = new GameObject("LARGE_BUTTON_35_23_01_0117"); pos = new Vector3(42.370312f, 1.800000f, 28.795313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0905",false); myObj = new GameObject("BLAST_DOOR_035_023"); pos = new Vector3(43.195313f, 1.800000f, 28.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1027",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,299, 0); myObj = new GameObject("CHEMICAL_TANK_38_23_01_0685"); pos = new Vector3(46.200001f, 1.593750f, 28.200001f); myObj.transform.parent = LevelParent; CreateNPC(myObj,"70","UW1/Sprites/Objects/OBJECTS_070", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_070", "UW1/Sprites/Objects/OBJECTS_070", "UW1/Sprites/Objects/OBJECTS_070", 0, 70, 0, 10, 43, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 10, 43, 0, 0, 15, 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("a_cave_bat_23_43_00_0210"); pos = new Vector3(28.114285f, 2.100000f, 52.114288f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"66","UW1/Sprites/Objects/OBJECTS_066", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", "UW1/Sprites/Objects/OBJECTS_066", 0, 66, 0, 23, 43, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 23, 43, 0, 0, 12, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_WaterMesh_0_1"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("a_cave_bat_24_43_00_0208"); pos = new Vector3(29.314285f, 2.400000f, 52.114288f); pos = new Vector3(12.600000f, 2.400000f, 29.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("GRAFFITI_17_24_01_0044"); pos = new Vector3(20.845312f, 2.718750f, 28.799999f); 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); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_324", "UW1/Sprites/Objects/OBJECTS_324", "UW1/Sprites/Objects/OBJECTS_324", 4, 324, 0, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_07_material", 53, 0, 0); SetRotation(myObj,-90,90,0); pos = new Vector3(31.799999f, 1.200000f, 28.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1039",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,303, 0); myObj = new GameObject("MEDIPATCH__HEALING_AGENT_28_24_01_0133"); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_163",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_163", "UW1/Sprites/Objects/OBJECTS_163", "UW1/Sprites/Objects/OBJECTS_163", 16, 163, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); pos = new Vector3(35.400002f, 2.250000f, 29.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_29_24_01_0599"); pos = new Vector3(35.400002f, 2.250000f, 29.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_29_24_01_0064"); pos = new Vector3(35.400002f, 2.250000f, 29.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_29_24_01_0066"); pos = new Vector3(35.400002f, 2.250000f, 29.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("LEVEL_ENTRY_TRIGGER_30_24_01_0037"); pos = new Vector3(36.599998f, 2.250000f, 29.400000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1364",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",108,382, 0); myObj = new GameObject("CHEMICAL_TANK_37_24_01_0686"); pos = new Vector3(45.000000f, 1.593750f, 29.400000f); SetRotation(myObj,0,180,0); 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= CreateGameObject("a_lever_57_45_00_0871",68.914284f,4.200000f,54.020000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_353",false); 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, 629, 63, 0, 0, 1, 0, 0, 0, 0, 2, 1); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0629",63,0,2,7,353); SetRotation(myObj,0,180,0); 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= CreateGameObject("a_lever_58_45_00_0870",70.114288f,4.200000f,54.020000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_353",false); 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); 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= CreateGameObject("a_lever_59_45_00_0623",71.314285f,4.200000f,54.020000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_353",false); 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, 621, 63, 0, 0, 1, 0, 0, 0, 0, 4, 1); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0621",63,0,4,7,353); SetRotation(myObj,0,180,0); 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; CreateNPC(myObj,"68","UW1/Sprites/Objects/OBJECTS_068", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_068", "UW1/Sprites/Objects/OBJECTS_068", "UW1/Sprites/Objects/OBJECTS_068", 0, 68, 0, 27, 46, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 27, 46, 4, 0, 16, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_stalactite_28_46_00_0787",34.114285f,4.500000f,55.714287f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); myObj= CreateGameObject("a_blood_stain_41_46_00_0550",49.885712f,3.600000f,55.542858f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_221",true); myObj= CreateGameObject("a_bone_46_46_00_0687",55.714287f,0.000000f,55.714287f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_196",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", "UW1/Sprites/Objects/OBJECTS_196", 23, 196, 1, 40, 63, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj = new GameObject("door_055_046"); pos = new Vector3(66.514290f, 3.600000f, 55.400002f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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, 697, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_06_material", 2, 1, 0); SetRotation(myObj,-90,90,0); myObj = new GameObject("a_goblin_04_47_00_0200"); pos = new Vector3(5.314286f, 3.600000f, 57.257145f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"71","UW1/Sprites/Objects/OBJECTS_071", 255); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_071", "UW1/Sprites/Objects/OBJECTS_071", "UW1/Sprites/Objects/OBJECTS_071", 0, 71, 0, 4, 47, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 255, 4, 47, 0, 0, 71, 0, 0, 12, 1, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,0,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_skull_28_47_00_0820",34.457142f,2.400000f,56.914288f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", 23, 195, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_torch_torches_36_47_00_0618",44.228569f,2.700000f,57.428570f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_145",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_145", "UW1/Sprites/Objects/OBJECTS_145", "UW1/Sprites/Objects/OBJECTS_145", 22, 145, 1, 40, 0, 1, 1, 1, 1, 1, 0, 0, 1); CreateLight(myObj, 10, -842150451, 149, 145); myObj= CreateGameObject("a_buckler_37_47_00_1020",44.914288f,2.700000f,57.580002f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_062",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_062", "UW1/Sprites/Objects/OBJECTS_062", "UW1/Sprites/Objects/OBJECTS_062", 78, 62, 0, 15, 0, 1, 1, 0, 1, 0, 0, 0, 1); AddShield(myObj); myObj= CreateGameObject("a_stalactite_37_47_00_0789",45.257145f,4.500000f,57.428570f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); pos = new Vector3(33.000000f, 1.200000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_32_25_01_0054"); pos = new Vector3(39.000000f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_32_25_01_0109"); pos = new Vector3(39.000000f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_33_25_01_0354"); pos = new Vector3(40.200001f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_33_25_01_0034"); pos = new Vector3(40.200001f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_33_25_01_0012"); pos = new Vector3(40.200001f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_33_25_01_0032"); pos = new Vector3(40.200001f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_33_25_01_0031"); pos = new Vector3(40.200001f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_34_25_01_0033"); pos = new Vector3(41.400002f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_34_25_01_0053"); pos = new Vector3(41.400002f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("HUMAN_CORPSE_36_25_01_0459"); pos = new Vector3(43.799999f, 1.575000f, 30.600000f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_321", "UW1/Sprites/Objects/OBJECTS_321", "UW1/Sprites/Objects/OBJECTS_321", 4, 321, 750, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_03_material", 4, 1, 0); SetRotation(myObj,-90,-180,0); AddDoorLink(myObj, "an_open_trigger_99_99_00_0575"); myObj= CreateGameObject("a_bench_benches_11_49_00_0769",13.714286f,3.600000f,59.142857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_336",true); myObj= CreateGameObject("a_stalactite_32_49_00_0795",38.914284f,4.500000f,59.314285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); myObj= CreateGameObject("a_stalactite_34_49_00_0794",41.314285f,4.500000f,59.314285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); myObj= CreateGameObject("a_stalactite_36_49_00_0791",43.714287f,4.500000f,59.314285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); 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); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0643",40,0,0,7,369); SetRotation(myObj,0,0,0); SetButtonProperties(myObj, 0, "UW1/Sprites/tmflat/tmflat_0001", "UW1/Sprites/tmflat/tmflat_0009"); myObj = new GameObject("door_056_049"); pos = new Vector3(67.714287f, 3.600000f, 59.000000f); myObj.transform.position = pos; 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); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_chest_03_50_00_0758",3.942857f,3.600000f,60.342857f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_349",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_349", "UW1/Sprites/Objects/OBJECTS_349", "UW1/Sprites/Objects/OBJECTS_349", 19, 349, 570, 40, 6, 0, 1, 0, 1, 0, 0, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 0, -842150451, -842150451); 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 pos = new Vector3(57.000000f, 1.800000f, 30.600000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("MEDIPATCH__HEALING_AGENT_08_26_01_0225"); pos = new Vector3(9.857813f, 0.150000f, 32.057812f); AddObjectToContainer("a_loaf_of_bread_loaves_of_bread_99_99_00_0749", ParentContainer, 0); ////Container contents complete myObj= CreateGameObject("a_barrel_03_51_00_0759",4.628572f,3.600000f,62.057144f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_347",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_347", "UW1/Sprites/Objects/OBJECTS_347", "UW1/Sprites/Objects/OBJECTS_347", 19, 347, 748, 40, 6, 0, 1, 0, 1, 0, 0, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 0, -842150451, -842150451); AddObjectToContainer("a_piece_of_meat_pieces_of_meat_99_99_00_0748", ParentContainer, 0); ////Container contents complete myObj= CreateGameObject("a_barrel_04_51_00_0761",5.485714f,3.600000f,62.057144f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_347",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_347", "UW1/Sprites/Objects/OBJECTS_347", "UW1/Sprites/Objects/OBJECTS_347", 19, 347, 757, 40, 6, 0, 1, 0, 1, 0, 0, 0, 1); ////Container contents ParentContainer = CreateContainer(myObj, 0, -842150451, -842150451); 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); pos = new Vector3(19.195313f, 1.800000f, 31.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1039",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,303, 0); myObj = new GameObject("SERV_BOT_21_26_01_0098"); pos = new Vector3(25.200001f, 0.956250f, 31.532812f); SetRotation(myObj,-90,90,0); myObj= CreateGameObject("a_button_48_51_00_0840",58.114288f,4.200000f,61.220001f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_377",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_377", "UW1/Sprites/Objects/OBJECTS_377", "UW1/Sprites/Objects/OBJECTS_377", 8, 377, 639, 40, 0, 0, 1, 0, 0, 0, 0, 0, 1); CreateUWActivators(myObj,"ButtonHandler","a_use_trigger_99_99_00_0639",40,0,0,7,377); SetRotation(myObj,0,180,0); SetButtonProperties(myObj, 1, "UW1/Sprites/tmflat/tmflat_0009", "UW1/Sprites/tmflat/tmflat_0001"); myObj= CreateGameObject("a_bedroll_56_51_00_0846",68.228569f,3.900000f,62.057144f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_289",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_289", "UW1/Sprites/Objects/OBJECTS_289", "UW1/Sprites/Objects/OBJECTS_289", 94, 289, 1, 40, 9, 1, 1, 0, 1, 1, 0, 0, 1); AddBedroll(myObj); myObj = new GameObject("a_goblin_60_51_00_0238"); pos = new Vector3(72.514290f, 3.600000f, 61.714287f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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"); pos = new Vector3(9.800000f, 3.600000f, 62.914288f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_324", "UW1/Sprites/Objects/OBJECTS_324", "UW1/Sprites/Objects/OBJECTS_324", 4, 324, 0, 40, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_07_material", 53, 0, 0); pos = new Vector3(41.995312f, 2.006250f, 31.795313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0905",false); myObj = new GameObject("SKELETON_39_26_01_0388"); pos = new Vector3(47.400002f, 1.556250f, 31.799999f); myObj = new GameObject("a_goblin_45_52_00_0233"); pos = new Vector3(54.857143f, 3.600000f, 62.742855f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"76","UW1/Sprites/Objects/OBJECTS_076", 65); 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, 45, 52, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 65, 45, 52, 8, 0, 26, 0, 0, 7, 2, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,270,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(55.799999f, 2.700000f, 31.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1027",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,299, 0); myObj = new GameObject("SWITCH_55_26_01_0605"); pos = new Vector3(66.599998f, 1.275000f, 31.799999f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0881",false); myObj = new GameObject("HUMAN_CORPSE_11_27_01_0473"); pos = new Vector3(13.800000f, 2.175000f, 33.000000f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_221",true); myObj= CreateGameObject("a_stalactite_22_53_00_0827",26.914284f,4.500000f,64.114288f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); myObj= CreateGameObject("a_stalactite_23_53_00_0826",28.285715f,4.628000f,64.285713f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); 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); CreateGloves(myObj, "uw1/Hud/armour/armor_f_0006", "uw1/Hud/armour/armor_m_0006", "uw1/Hud/armour/armor_f_0021", "uw1/Hud/armour/armor_m_0021", "uw1/Hud/armour/armor_f_0036", "uw1/Hud/armour/armor_m_0036", "uw1/Hud/armour/armor_f_0051", "uw1/Hud/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,"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("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); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_180", "UW1/Sprites/Objects/OBJECTS_180", "UW1/Sprites/Objects/OBJECTS_180", 24, 180, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); pos = new Vector3(31.799999f, 1.200000f, 33.000000f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("CRITTER_AI_HINT_28_27_01_0311"); pos = new Vector3(34.200001f, 1.593750f, 33.000000f); CreateDoor(myObj, _RES + "/textures/doors/doors_03_material", 53, 0, 0); SetRotation(myObj,-90,-180,0); myObj= CreateGameObject("a_broken_sword_18_54_00_0832",21.942856f,2.700000f,65.657143f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_201",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_201", "UW1/Sprites/Objects/OBJECTS_201", "UW1/Sprites/Objects/OBJECTS_201", 23, 201, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_skull_18_54_00_0922",22.114285f,2.700000f,65.314285f); 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); myObj= CreateGameObject("a_stalactite_19_54_00_0786",23.314285f,4.500000f,65.314285f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_211",true); myObj = new GameObject("a_wolf_spider_19_54_00_0246"); pos = new Vector3(23.314285f, 2.700000f, 65.314285f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"83","UW1/Sprites/Objects/OBJECTS_083", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_083", "UW1/Sprites/Objects/OBJECTS_083", "UW1/Sprites/Objects/OBJECTS_083", 0, 83, 0, 19, 54, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 19, 54, 0, 0, 24, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,135,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); 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(45.085712f, 3.300000f, 65.142853f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"68","UW1/Sprites/Objects/OBJECTS_068", 0); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_068", "UW1/Sprites/Objects/OBJECTS_068", "UW1/Sprites/Objects/OBJECTS_068", 0, 68, 0, 37, 54, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 37, 54, 8, 0, 16, 0, 0, 4, 0, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,180,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj= CreateGameObject("a_skull_38_54_00_0803",45.771431f,3.300000f,65.142853f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_195",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", "UW1/Sprites/Objects/OBJECTS_195", 23, 195, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); pos = new Vector3(19.195313f, 2.400000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1141",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,337, 0); myObj = new GameObject("FRAGMENTATION_GRENADE_15_28_01_0674"); pos = new Vector3(18.600000f, 1.950000f, 34.200001f); 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); AddAnimationOverlay(myObj,5,4); myObj= CreateGameObject("a_fountain_13_55_00_0835",16.114286f,1.800000f,66.514290f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_302",true); pos = new Vector3(24.600000f, 1.275000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0881",false); myObj = new GameObject("NULL_TRIGGER_24_28_01_0129"); pos = new Vector3(29.400000f, 1.800000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_26_28_01_0152"); pos = new Vector3(31.799999f, 1.800000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("WORDS_27_28_01_0059"); pos = new Vector3(32.400002f, 2.043750f, 34.157814f); 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, 26, 0, 0, 1, 0, 1, 0, 0, 0, 1); CreateDoor(myObj, _RES + "/textures/doors/doors_00_material", 53, 0, 0); SetRotation(myObj,-90,-180,0); myObj = new GameObject("a_goblin_46_55_00_0236"); pos = new Vector3(55.714287f, 3.600000f, 66.514290f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; CreateNPC(myObj,"76","UW1/Sprites/Objects/OBJECTS_076", 0); pos = new Vector3(36.599998f, 0.600000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_30_28_01_0027"); pos = new Vector3(36.599998f, 0.600000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("HIDDEN_DOOR_037_028"); pos = new Vector3(45.595314f, 1.800000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1141",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,337, 0); myObj = new GameObject("HUMANOID_MUTANT_45_28_01_0297"); pos = new Vector3(54.599998f, 2.493750f, 34.200001f); 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, 538, 57, 55, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 8, 57, 55, 8, 0, 53, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,270,0); ////Container contents ParentContainer = CreateContainer(myObj, 255, 255, 255); pos = new Vector3(55.799999f, 2.700000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_46_28_01_0299"); pos = new Vector3(55.799999f, 2.700000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NULL_TRIGGER_46_28_01_0298"); pos = new Vector3(55.799999f, 2.700000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("ACCESS_PANEL_47_28_01_0259"); pos = new Vector3(56.732811f, 2.812500f, 34.270313f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0974",false); myObj = new GameObject("BEVERAGE_CONTAINER_49_28_01_0393"); pos = new Vector3(59.545311f, 3.693750f, 33.895313f); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_284", "UW1/Sprites/Objects/OBJECTS_284", "UW1/Sprites/Objects/OBJECTS_284", 16, 284, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("some_strong_thread_pieces_of_strong_thread_20_56_00_0923",24.514284f,2.700000f,68.057144f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_284",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_284", "UW1/Sprites/Objects/OBJECTS_284", "UW1/Sprites/Objects/OBJECTS_284", 16, 284, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_pile_of_debris_piles_of_debris_38_56_00_0852",46.114288f,3.600000f,67.714287f); pos = new Vector3(61.195313f, 4.200000f, 34.200001f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1045",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,305, 0); myObj = new GameObject("STORAGE_ROOM_DOOR_011_029"); pos = new Vector3(13.200000f, 1.800000f, 35.400002f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1045",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",66,305, 0); myObj = new GameObject("EMAIL_12_29_01_0399"); pos = new Vector3(15.257813f, 1.293750f, 35.095314f); ParentContainer = CreateContainer(myObj, 255, 255, 255); myObj = new GameObject("a_goblin_47_56_00_0235"); pos = new Vector3(56.914288f, 3.600000f, 67.714287f); myObj.transform.position = pos; 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, 47, 56, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 47, 56, 4, 0, 19, 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("a_goblin_02_57_00_0231"); pos = new Vector3(3.580000f, 3.600000f, 68.742859f); myObj.transform.position = pos; pos = new Vector3(36.032814f, 0.600000f, 35.470314f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_0897",false); myObj = new GameObject("CONTROL_PEDESTAL_31_29_01_0442"); pos = new Vector3(37.799999f, 0.000000f, 35.400002f); AddObjectToContainer("a_key_99_99_00_0534", ParentContainer, 0); ////Container contents complete myObj= CreateGameObject("some_strong_thread_pieces_of_strong_thread_20_57_00_0919",24.685715f,2.700000f,68.742859f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_284",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_284", "UW1/Sprites/Objects/OBJECTS_284", "UW1/Sprites/Objects/OBJECTS_284", 16, 284, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_pile_of_bones_piles_of_bones_29_57_00_0647",35.142857f,3.600000f,69.257141f); 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("some_rubble_piles_of_rubble_41_57_00_0854",49.714287f,3.600000f,68.914284f); 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("a_fish_fish_47_57_00_0669",56.571430f,3.300000f,68.571434f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_182",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_182", "UW1/Sprites/Objects/OBJECTS_182", "UW1/Sprites/Objects/OBJECTS_182", 24, 182, 1, 40, 9, 1, 1, 0, 1, 1, 0, 0, 1); SetFood(myObj); myObj= CreateGameObject("a_blood_stain_47_57_00_0717",57.257145f,3.300000f,68.742859f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_221",true); pos = new Vector3(41.400002f, 0.600000f, 35.400002f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1343",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",101,375, 0); myObj = new GameObject("NITROPACK_39_29_01_0667"); pos = new Vector3(47.095314f, 1.350000f, 35.657814f); AddObj_base(myObj); myObj= CreateGameObject("a_campfire_47_57_00_0720",56.914288f,3.300000f,68.914284f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_298",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_298", "UW1/Sprites/Objects/OBJECTS_298", "UW1/Sprites/Objects/OBJECTS_298", 16, 298, 1, 40, 0, 0, 0, 1, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_bench_benches_02_58_00_0771",2.914286f,3.600000f,70.285713f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_336",true); myObj= CreateGameObject("a_campfire_03_58_00_0543",4.457143f,3.600000f,70.457146f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_298",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_298", "UW1/Sprites/Objects/OBJECTS_298", "UW1/Sprites/Objects/OBJECTS_298", 16, 298, 1, 40, 0, 0, 0, 1, 1, 1, 0, 0, 1); AddObj_base(myObj); myObj= CreateGameObject("a_mandolin_03_58_00_0542",3.942857f,3.600000f,70.285713f); CreateObjectGraphics(myObj,"UW1/Sprites/Objects/OBJECTS_291",true); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f, "UW1/Sprites/Objects/OBJECTS_291", "UW1/Sprites/Objects/OBJECTS_291", "UW1/Sprites/Objects/OBJECTS_291", 26, 291, 1, 40, 0, 1, 1, 0, 1, 1, 0, 0, 1); AddInstrument(myObj); myObj = new GameObject("door_035_058"); pos = new Vector3(42.200001f, 3.600000f, 69.620003f); myObj.transform.position = pos; myObj.transform.parent = LevelParent; 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_012", 53, 0, 0); SetRotation(myObj,-90,-180,0); myObj = new GameObject("a_goblin_51_58_00_0203"); pos = new Vector3(62.228569f, 3.000000f, 69.942856f); myObj.transform.position = pos; 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, 51, 58, 0, 1, 0, 1, 0, 0, 0, 1); SetNPCProps(myObj, 0, 51, 58, 0, 0, 28, 0, 0, 8, 2, 0, 0, 0, 0, "" , "_GroundMesh_0_2"); SetRotation(myObj,0,180,0); ////Container contents pos = new Vector3(13.800000f, 1.800000f, 36.599998f); myObj.transform.position = pos; CreateObjectGraphics(myObj,"Sprites/objects_1350_1364",false); CreateObjectInteraction(myObj,0.5f,0.5f,0.5f,0.5f,"guis/assets/hud/inventory_icons/NOTHING.tga",108,382, 0); myObj
System Shock null triggers and placeholder action scripts. Basic ss1 button and door code.