Players = {}


function Key_Hook(PlayerId, key)
	if key == "1" then
		Players[PlayerId].Brush_Z_off = Players[PlayerId].Brush_Z_off + 0.1
	end	
	
	if key == "2" then
		if Players[PlayerId].ShowBrush == true then
			Players[PlayerId].ShowBrush = false
		else
			Players[PlayerId].ShowBrush = true
		end
	end
	
	if key == "3" then
		Toggle_Fly_Mode(Get_GameObj(1))
	end
	
	if key == "4" then
		Players[PlayerId].Brush_Distance = Players[PlayerId].Brush_Distance - 0.2
	end	
	
	if key == "5" then
		Console_Input(string.format("pamsg %d 7: Item before. 8: Place item. 9: Next item.", PlayerId))		
		Console_Input(string.format("pamsg %d 4: Brush closer. 5: This menu. 6: Brush further away.", PlayerId))
		Console_Input(string.format("pamsg %d Quick menu: 0: Brush move down 1: Brush move up 2: Show/Hide your brush. 3: Toggle fly mode", PlayerId))
	end
	
	if key == "6" then
		Players[PlayerId].Brush_Distance = Players[PlayerId].Brush_Distance + 0.2
	end	
	
	if key == "7" then
		Players[PlayerId].Brush_Model = Players[PlayerId].Brush_Model - 1
		if Players[PlayerId].Brush_Model <= 0 then
			Players[PlayerId].Brush_Model = 1
		end
	end
	
	if key == "8" then
		table.insert(Players[PlayerId].Objects, Players[PlayerId].brush_obj)
		Players[PlayerId].brush_obj = 0
	end	
	
	if key == "9" then
		Players[PlayerId].Brush_Model = Players[PlayerId].Brush_Model + 1
		if Model_List[Players[PlayerId].Brush_Model] == nil then
			Players[PlayerId].Brush_Model = 1
		end
	end
	
	if key == "0" then
		Players[PlayerId].Brush_Z_off = Players[PlayerId].Brush_Z_off - 0.1
	end	
	
	if key == "ins" then
	
	end
	
	if key == "del" then
	
	end
	
	if key == "home" then
	
	end
	
	if key == "end" then
	
	end
end

function OnLoad()
	for _,v in pairs(Get_All_Players()) do
		Players[v] = {Nick = nick, Menu = 0, ShowBrush = false, Brush_Distance = 1, brush_obj = 0, Objects = {}, Brush_Model = 1, Brush_Z_off = 0}
	end	
end

function OnChat(PlayerId, Type, Message, Target)
	local key = string.match(Message, "k\n([^\r\n]+)\n")
	if key ~= nil then
		Key_Hook(PlayerId, key)
	end
	if string.find(Message, "\n") ~= nil then
		return 1
	end
	
	return 1
end

function OnPlayerJoin(PlayerId, nick)
	Players[PlayerId] = {Nick = nick, Menu = 0, ShowBrush = false, Brush_Distance = 3, brush_obj = 0, Objects = {}, Brush_Model = 1, Brush_Z_off = 0}
end

function OnPlayerLeave(PlayerId)
	Players[PlayerId] = nil
end

function OnObjectCreate(o)
	if Is_A_Star(o) then
		Attach_Script_Once(o, "Brush_Script", "")
	end
end

function OnThink()
	local PlayerId = 1
	
end


Brush_Script = {}
function Brush_Script:Created(ID, o)
	Start_Timer(ID, o, 0.5, 1)
end

function Brush_Script:Custom(ID, o, message, param, sender)

end

function Brush_Script:Timer_Expired(ID, o, num)
	local PlayerId = Get_Player_ID(o)
	if Players[PlayerId] ~= nil and Players[PlayerId].ShowBrush == true then
		local pos = Get_Position(o)
		local Facing = Get_Facing(o)
		local Distance = Players[PlayerId].Brush_Distance
		pos.X = pos.X + Distance*math.cos(Facing*(math.pi / 180))
		pos.Y = pos.Y + Distance*math.sin(Facing*(math.pi / 180))
		pos.Z = pos.Z + Players[PlayerId].Brush_Z_off
		
		Destroy_Object(Players[PlayerId].brush_obj)
		Players[PlayerId].brush_obj = Create_Object("GDI Gunboat", pos)
		Set_Model(Players[PlayerId].brush_obj, Model_List[Players[PlayerId].Brush_Model])
		Set_Facing(Players[PlayerId].brush_obj, Facing)			
		
	elseif Players[PlayerId].brush_obj > 0 then
		Destroy_Object(Players[PlayerId].brush_obj)
	end
	Start_Timer(ID, o, 0.0, 1)
end

Register_Script("Brush_Script", "", Brush_Script)




Model_List = {"ag_braxis_large",
"ag_braxis_small",
"ag_c4_6meter",
"ag_c4_disarm",
"ag_c4_proximity",
"ag_coreshower",
"ag_flame01",
"ag_gdi_mrls",
"ag_grnshl",
"ag_harvexpl1a",
"ag_l0_blockage1",
"ag_medtank_dam1",
"ag_nuke_smoke",
"ag_obcharg2",
"ag_pucreation",
"ag_refrndoor",
"ag_rocketl",
"ag_sigflare_gld",
"ag_tshell_gdi01",
"ag_tshell_nod01",
"ag_volcanox",
"atr_ag_dam",
"atr_ag_dam02",
"atr_ag_ext",
"atr_int_lm002",
"atr_lift",
"atr_mct",
"atr_vis_plns",
"a_tcloud",
"bar_door",
"bshgrn_lrg",
"bulletshell_1",
"bulletshell_2",
"b_obelisk1b",
"b_samsite",
"c103_expl2b",
"c130_loop",
"c4_ex1a",
"cambone",
"chinook loop",
"cht_door0",
"cht_fire",
"cht_jail",
"clown",
"com^sat",
"com_ag_cnf",
"com_ag_com",
"com_ag_exp",
"com_ag_ext",
"com_ag_flr1b",
"com_ag_halla",
"com_ag_hallb",
"com_ag_hallc",
"com_ag_mcom",
"com_ag_mnfrme",
"com_ag_steam",
"com_holo",
"com_int_lm003",
"com_lift",
"com_mainfrm",
"com_mct",
"com_rlift",
"com_scrn",
"com_tv",
"com_visx_plns",
"com_vis_plns",
"con_visx_plns",
"cryo",
"cx_ag_sakura",
"cx_nod_sk_head",
"cx_nod_sk_hl",
"cx_nod_sk_hr",
"c_ag_civ1_male",
"c_ag_civ2_male",
"c_ag_civ3",
"c_ag_civ3_male",
"c_ag_civ4",
"c_ag_civ4_male",
"c_ag_civ5_male",
"c_ag_civ6_male",
"c_ag_civf",
"c_ag_clerg",
"c_ag_cook",
"c_ag_cwoman",
"c_ag_femserv",
"c_ag_gdi_dead",
"c_ag_gdi_en",
"c_ag_gdi_en2",
"c_ag_gdi_gr",
"c_ag_gdi_gun",
"c_ag_gdi_hotw",
"c_ag_gdi_locke",
"c_ag_gdi_lt",
"c_ag_gdi_mg",
"c_ag_gdi_mg2",
"c_ag_gdi_mgo",
"c_ag_gdi_mobi",
"c_ag_gdi_mp",
"c_ag_gdi_mutant",
"c_ag_gdi_pmob",
"c_ag_gdi_pmob2",
"c_ag_gdi_pr",
"c_ag_gdi_pr1",
"c_ag_gdi_pr2",
"c_ag_gdi_psut",
"c_ag_gdi_psyd",
"c_ag_gdi_ptch",
"c_ag_gdi_rk",
"c_ag_gdi_rko",
"c_ag_gdi_syd",
"c_ag_gdi_syd2",
"c_ag_giant_kane",
"c_ag_havoc",
"c_ag_havocd",
"c_ag_havocn",
"c_ag_havocw",
"c_ag_labtec1",
"c_ag_labtec2",
"c_ag_labtec3",
"c_ag_logan",
"c_ag_maleserv1",
"c_ag_maleserv2",
"c_ag_nod_1stmat",
"c_ag_nod_chemt",
"c_ag_nod_en",
"c_ag_nod_fl",
"c_ag_nod_kane",
"c_ag_nod_ksma",
"c_ag_nod_mdz",
"c_ag_nod_mdz2",
"c_ag_nod_mg",
"c_ag_nod_mgo",
"c_ag_nod_mrav",
"c_ag_nod_msld",
"c_ag_nod_mutant",
"c_ag_nod_petm",
"c_ag_nod_petr",
"c_ag_nod_rav",
"c_ag_nod_rk",
"c_ag_nod_rko",
"c_ag_nod_rsold",
"c_ag_nod_saku",
"c_ag_nod_saku2",
"c_ag_nod_seacpt",
"c_ag_nod_sniper",
"c_ag_nod_ssold",
"c_ag_nod_stlth",
"c_ag_nod_tc",
"c_chameleon",
"c_chicken",
"c_civ1_",
"c_civ1_head",
"c_civ1_l0",
"c_civ1_l1",
"c_civ1_l2",
"c_civ1_l3",
"c_civ2_",
"c_civ2_head",
"c_civ2_l0",
"c_civ2_l1",
"c_civ2_l2",
"c_civ2_l3",
"c_civ3_",
"c_civ3_head",
"c_civ3_l0",
"c_civ3_l1",
"c_civ3_l2",
"c_civ3_l3",
"c_civ4_fem_",
"c_civ4_fem_head",
"c_civ4_fem_l0",
"c_civ4_fem_l1",
"c_civ4_fem_l2",
"c_civ4_fem_l3",
"c_civf_",
"c_civf_head",
"c_civf_l0",
"c_civf_l1",
"c_civf_l2",
"c_civf_l3",
"c_clerg_",
"c_clerg_head",
"c_clerg_l0",
"c_clerg_l1",
"c_clerg_l2",
"c_clerg_l3",
"c_cook_",
"c_cook_head",
"c_cook_l0",
"c_cook_l1",
"c_cook_l2",
"c_cook_l3",
"c_cwoman_",
"c_cwoman_head",
"c_cwoman_l0",
"c_cwoman_l1",
"c_cwoman_l2",
"c_cwoman_l3",
"c_femserv_",
"c_femserv_l0",
"c_femserv_l1",
"c_femserv_l2",
"c_femserv_l3",
"c_fmsrv_head",
"c_gdi_dead_",
"c_gdi_dead_head",
"c_gdi_dead_l0",
"c_gdi_dead_l1",
"c_gdi_dead_l2",
"c_gdi_dead_l3",
"c_gdi_en2_",
"c_gdi_en2_head",
"c_gdi_en2_l0",
"c_gdi_en2_l1",
"c_gdi_en2_l2",
"c_gdi_en2_l3",
"c_gdi_en_",
"c_gdi_en_head",
"c_gdi_en_l0",
"c_gdi_en_l1",
"c_gdi_en_l2",
"c_gdi_en_l3",
"c_gdi_gr_",
"c_gdi_gr_head",
"c_gdi_gr_l0",
"c_gdi_gr_l1",
"c_gdi_gr_l2",
"c_gdi_gr_l3",
"c_gdi_gun_",
"c_gdi_gun_head",
"c_gdi_gun_l0",
"c_gdi_gun_l1",
"c_gdi_gun_l2",
"c_gdi_gun_l3",
"c_gdi_hotw_",
"c_gdi_hotw_head",
"c_gdi_hotw_l0",
"c_gdi_hotw_l1",
"c_gdi_hotw_l2",
"c_gdi_hotw_l3",
"c_gdi_locke_",
"c_gdi_locke_l0",
"c_gdi_locke_l1",
"c_gdi_locke_l2",
"c_gdi_locke_l3",
"c_gdi_lock_head",
"c_gdi_lt_",
"c_gdi_lt_head",
"c_gdi_lt_l0",
"c_gdi_mg2_",
"c_gdi_mg2_head",
"c_gdi_mg2_l0",
"c_gdi_mg2_l1",
"c_gdi_mg2_l2",
"c_gdi_mg2_l3",
"c_gdi_mgo_",
"c_gdi_mgo_head",
"c_gdi_mgo_l0",
"c_gdi_mgo_l1",
"c_gdi_mgo_l2",
"c_gdi_mgo_l3",
"c_gdi_mg_",
"c_gdi_mg_head",
"c_gdi_mg_l0",
"c_gdi_mg_l1",
"c_gdi_mg_l2",
"c_gdi_mg_l3",
"c_gdi_mobi_",
"c_gdi_mobi_head",
"c_gdi_mobi_l0",
"c_gdi_mobi_l1",
"c_gdi_mobi_l2",
"c_gdi_mobi_l3",
"c_gdi_mp_",
"c_gdi_mp_head",
"c_gdi_mp_l0",
"c_gdi_mp_l1",
"c_gdi_mp_l2",
"c_gdi_mp_l3",
"c_gdi_mutant_",
"c_gdi_mutant_l0",
"c_gdi_mutant_l1",
"c_gdi_mutant_l2",
"c_gdi_mutant_l3",
"c_gdi_pr1_",
"c_gdi_pr1_head",
"c_gdi_pr1_l0",
"c_gdi_pr1_l1",
"c_gdi_pr1_l2",
"c_gdi_pr1_l3",
"c_gdi_pr2_head",
"c_gdi_pr_",
"c_gdi_pr_head",
"c_gdi_pr_l0",
"c_gdi_pr_l1",
"c_gdi_pr_l2",
"c_gdi_pr_l3",
"c_gdi_ptch_",
"c_gdi_ptch_head",
"c_gdi_ptch_l0",
"c_gdi_ptch_l1",
"c_gdi_ptch_l2",
"c_gdi_ptch_l3",
"c_gdi_pwsuit_",
"c_gdi_pwsuit_l0",
"c_gdi_pwsuit_l1",
"c_gdi_pwsuit_l2",
"c_gdi_pwsuit_l3",
"c_gdi_pwsut2_",
"c_gdi_pwsut2_l0",
"c_gdi_pwsut2_l1",
"c_gdi_pwsut2_l2",
"c_gdi_pwsut2_l3",
"c_gdi_rko_",
"c_gdi_rko_head",
"c_gdi_rko_l0",
"c_gdi_rko_l1",
"c_gdi_rko_l2",
"c_gdi_rko_l3",
"c_gdi_rk_",
"c_gdi_rk_head",
"c_gdi_rk_l0",
"c_gdi_rk_l1",
"c_gdi_rk_l2",
"c_gdi_rk_l3",
"c_gdi_syd2_",
"c_gdi_syd2_l0",
"c_gdi_syd2_l1",
"c_gdi_syd2_l2",
"c_gdi_syd2_l3",
"c_gdi_syd_",
"c_gdi_syd_head",
"c_gdi_syd_l0",
"c_gdi_syd_l1",
"c_gdi_syd_l2",
"c_gdi_syd_l3",
"c_giant_kane",
"c_giant_kane_hd",
"c_havocd_",
"c_havocd_head",
"c_havocd_l0",
"c_havocd_l1",
"c_havocd_l2",
"c_havocd_l3",
"c_havocn_",
"c_havocn_head",
"c_havocn_l0",
"c_havocn_l1",
"c_havocn_l2",
"c_havocn_l3",
"c_havocw_",
"c_havocw_head",
"c_havocw_l0",
"c_havocw_l1",
"c_havocw_l2",
"c_havocw_l3",
"c_havoc_",
"c_havoc_head",
"c_havoc_l0",
"c_havoc_l1",
"c_havoc_l2",
"c_havoc_l3",
"c_labtec1_",
"c_labtec1_head",
"c_labtec1_l0",
"c_labtec1_l1",
"c_labtec1_l2",
"c_labtec1_l3",
"c_labtec2_head",
"c_labtec3_head",
"c_logan_head",
"c_logan_l0",
"c_maleserv1_",
"c_maleserv1_l0",
"c_maleserv1_l1",
"c_maleserv1_l2",
"c_maleserv1_l3",
"c_maleserv2_",
"c_maleserv2_l0",
"c_maleserv2_l1",
"c_maleserv2_l2",
"c_maleserv2_l3",
"c_mserv1_head",
"c_mserv2_head",
"c_nod_1stmat_",
"c_nod_1stmat_l0",
"c_nod_1stmat_l1",
"c_nod_1stmat_l2",
"c_nod_1stmat_l3",
"c_nod_chemt_",
"c_nod_chemt_l0",
"c_nod_chemt_l1",
"c_nod_chemt_l2",
"c_nod_chemt_l3",
"c_nod_en_",
"c_nod_en_head",
"c_nod_en_l0",
"c_nod_en_l1",
"c_nod_en_l2",
"c_nod_en_l3",
"c_nod_flametank",
"c_nod_fl_",
"c_nod_fl_l0",
"c_nod_fl_l1",
"c_nod_fl_l2",
"c_nod_fl_l3",
"c_nod_kane_",
"c_nod_kane_head",
"c_nod_kane_l0",
"c_nod_kane_l1",
"c_nod_kane_l2",
"c_nod_kane_l3",
"c_nod_ksma_",
"c_nod_ksma_head",
"c_nod_ksma_l0",
"c_nod_mdz2_",
"c_nod_mdz2_head",
"c_nod_mdz2_l0",
"c_nod_mdz2_l1",
"c_nod_mdz2_l2",
"c_nod_mdz2_l3",
"c_nod_mdz_",
"c_nod_mdz_ftank",
"c_nod_mdz_head",
"c_nod_mdz_hl",
"c_nod_mdz_hr",
"c_nod_mdz_l0",
"c_nod_mdz_l1",
"c_nod_mdz_l2",
"c_nod_mdz_l3",
"c_nod_mgo_",
"c_nod_mgo_head",
"c_nod_mgo_l0",
"c_nod_mgo_l1",
"c_nod_mgo_l2",
"c_nod_mgo_l3",
"c_nod_mg_",
"c_nod_mg_head",
"c_nod_mg_l0",
"c_nod_mg_l1",
"c_nod_mg_l2",
"c_nod_mg_l3",
"c_nod_mrav_",
"c_nod_mrav_head",
"c_nod_mrav_l0",
"c_nod_mrav_l1",
"c_nod_mrav_l2",
"c_nod_mrav_l3",
"c_nod_msld_",
"c_nod_msld_l0",
"c_nod_msld_l1",
"c_nod_msld_l2",
"c_nod_msld_l3",
"c_nod_mutant_",
"c_nod_mutant_l0",
"c_nod_mutant_l1",
"c_nod_mutant_l2",
"c_nod_mutant_l3",
"c_nod_petm_",
"c_nod_petm_head",
"c_nod_petm_l0",
"c_nod_petm_l1",
"c_nod_petm_l2",
"c_nod_petm_l3",
"c_nod_petr_",
"c_nod_petr_head",
"c_nod_petr_l0",
"c_nod_petr_l1",
"c_nod_petr_l2",
"c_nod_petr_l3",
"c_nod_rav_",
"c_nod_rav_head",
"c_nod_rav_l0",
"c_nod_rav_l1",
"c_nod_rav_l2",
"c_nod_rav_l3",
"c_nod_rko_",
"c_nod_rko_l0",
"c_nod_rko_l1",
"c_nod_rko_l2",
"c_nod_rko_l3",
"c_nod_rk_",
"c_nod_rk_l0",
"c_nod_rk_l1",
"c_nod_rk_l2",
"c_nod_rk_l3",
"c_nod_rsold_",
"c_nod_rsold_l0",
"c_nod_rsold_l1",
"c_nod_rsold_l2",
"c_nod_rsold_l3",
"c_nod_saku2_",
"c_nod_saku2_l0",
"c_nod_saku2_l1",
"c_nod_saku2_l2",
"c_nod_saku2_l3",
"c_nod_saku_",
"c_nod_saku_head",
"c_nod_saku_l0",
"c_nod_saku_l1",
"c_nod_saku_l2",
"c_nod_saku_l3",
"c_nod_seacpt_",
"c_nod_seacpt_l0",
"c_nod_seacpt_l1",
"c_nod_seacpt_l2",
"c_nod_seacpt_l3",
"c_nod_seac_head",
"c_nod_sk_",
"c_nod_sk_l0",
"c_nod_sk_l1",
"c_nod_sk_l2",
"c_nod_sk_l3",
"c_nod_sniper_",
"c_nod_sniper_l0",
"c_nod_sniper_l1",
"c_nod_sniper_l2",
"c_nod_sniper_l3",
"c_nod_ssold_",
"c_nod_ssold_l0",
"c_nod_ssold_l1",
"c_nod_ssold_l2",
"c_nod_ssold_l3",
"c_nod_stlth_",
"c_nod_stlth_l0",
"c_nod_stlth_l1",
"c_nod_stlth_l2",
"c_nod_stlth_l3",
"c_nod_tc_",
"c_nod_tc_head",
"c_nod_tc_l0",
"c_nod_tc_l1",
"c_nod_tc_l2",
"c_nod_tc_l3",
"c_n_1stm_head",
"c_visceroid",
"dino",
"door_0",
"dr_0",
"dr_0c",
"dr_1",
"dr_2",
"dr_3",
"dsp_beaker",
"dsp_beakerblue",
"dsp_beakerbrn",
"dsp_beakergrn",
"dsp_beakerred",
"dsp_beakerwht",
"dsp_bell",
"dsp_bench",
"dsp_big_ac",
"dsp_big_duct",
"dsp_big_duct2",
"dsp_big_duct3",
"dsp_big_duct4",
"dsp_big_pipes",
"dsp_biohazsign",
"dsp_blu_tib",
"dsp_bookshelf",
"dsp_bookshelf2",
"dsp_briefchair",
"dsp_brownjar",
"dsp_bugtire",
"dsp_bugtire2",
"dsp_bunkbeds",
"dsp_bunkbeds2",
"dsp_can2",
"dsp_can3",
"dsp_can4",
"dsp_candlebar",
"dsp_candlhold",
"dsp_chair",
"dsp_chemsign",
"dsp_co2tank",
"dsp_cofeetable",
"dsp_coffeemug",
"dsp_coffeemug2",
"dsp_commonitor",
"dsp_commonitor2",
"dsp_compressor",
"dsp_concretwal",
"dsp_cone",
"dsp_container",
"dsp_container2",
"dsp_cooler",
"dsp_corner1",
"dsp_corner2",
"dsp_couch",
"dsp_couch3",
"dsp_couch4",
"dsp_cryobig",
"dsp_cryobig2",
"dsp_cryobigd",
"dsp_cryobigd2",
"dsp_dartboard",
"dsp_dead_bush",
"dsp_desk",
"dsp_desk2",
"dsp_deskchair",
"dsp_deskchair2",
"dsp_desklamp",
"dsp_desklamp2",
"dsp_doorswitch",
"dsp_doorswitch2",
"dsp_drumstack1",
"dsp_drumstack2",
"dsp_exit",
"dsp_exting",
"dsp_exting2",
"dsp_f-tank",
"dsp_fieldradi",
"dsp_fieldradi2",
"dsp_filecablg",
"dsp_firealarm",
"dsp_firehose",
"dsp_firelog",
"dsp_firesign",
"dsp_flag",
"dsp_footlocker",
"dsp_framea",
"dsp_frameb",
"dsp_framec",
"dsp_framed",
"dsp_framee",
"dsp_framef",
"dsp_frameg",
"dsp_frameh",
"dsp_framehorz",
"dsp_framevert",
"dsp_fusebox",
"dsp_gascan",
"dsp_gdicapped",
"dsp_gdidummy",
"dsp_genrtr",
"dsp_glasscup",
"dsp_h-bag",
"dsp_halolamp",
"dsp_harvytire",
"dsp_haybail",
"dsp_haybail2",
"dsp_holdshack",
"dsp_holdshack2",
"dsp_holdshackd",
"dsp_holo",
"dsp_holo_big",
"dsp_icicle1",
"dsp_icicle2",
"dsp_icicle3",
"dsp_icicle4",
"dsp_icicle5",
"dsp_ivbagclear",
"dsp_ivbagred",
"dsp_keyboard",
"dsp_l-pipe",
"dsp_l-pipe2",
"dsp_l-pipe3",
"dsp_l-tank",
"dsp_l1drumstak",
"dsp_l3biocone",
"dsp_l3caveroof",
"dsp_l3caveroof2",
"dsp_l3cavewall2",
"dsp_l4giantgun",
"dsp_l4missrack",
"dsp_l4torpedo",
"dsp_l4torpedor",
"dsp_l4_giantt2",
"dsp_l6bookshelf",
"dsp_largetrash",
"dsp_large_bush",
"dsp_lazychair",
"dsp_lftbagwall",
"dsp_lgtoolbox",
"dsp_lgtoolbox2",
"dsp_lifering",
"dsp_lit_fixt",
"dsp_lit_fixt1",
"dsp_lit_fixt2",
"dsp_lit_fixt3",
"dsp_llongcrate",
"dsp_locker",
"dsp_lockers",
"dsp_lrcrate",
"dsp_lrgcandle",
"dsp_lrgcandle2",
"dsp_lrghalogram",
"dsp_ltibquad",
"dsp_ltrod",
"dsp_medbox",
"dsp_medcandle",
"dsp_medcandle2",
"dsp_metalstool",
"dsp_metdrum01",
"dsp_metdrum02",
"dsp_metdrum03",
"dsp_metdrum04",
"dsp_metdrum05",
"dsp_metdrum06",
"dsp_metdrum07",
"dsp_metdrum08",
"dsp_midbagwall",
"dsp_miniconsel",
"dsp_mirror",
"dsp_mlongcrate",
"dsp_mopbucket",
"dsp_mrcrate",
"dsp_mtibtriple",
"dsp_nodcapped",
"dsp_noddummy",
"dsp_nodflag",
"dsp_nodflag2",
"dsp_nodmobil",
"dsp_nodposter1",
"dsp_nodposter2",
"dsp_nodposter3",
"dsp_nodposter4",
"dsp_o2tank",
"dsp_officedesk",
"dsp_officelamp",
"dsp_ornatepic",
"dsp_ornatepic2",
"dsp_oxygentank",
"dsp_palletbox",
"dsp_palletbox2",
"dsp_palletbrick",
"dsp_palletjack",
"dsp_palletjack2",
"dsp_pedistal",
"dsp_pingpong",
"dsp_plate",
"dsp_plst_drum01",
"dsp_plst_drum02",
"dsp_plst_drum03",
"dsp_plst_drum04",
"dsp_plst_drum05",
"dsp_plst_drum06",
"dsp_plst_drum07",
"dsp_plst_drum08",
"dsp_potplant1",
"dsp_potplant2",
"dsp_potplant3",
"dsp_potplant4",
"dsp_potplant5",
"dsp_potspans",
"dsp_projector",
"dsp_projector2",
"dsp_ragbox",
"dsp_ramp",
"dsp_ravashbed",
"dsp_rgtbagwall",
"dsp_rock1",
"dsp_rock2",
"dsp_rock3",
"dsp_rock4",
"dsp_rock5",
"dsp_rubble3",
"dsp_rubble4",
"dsp_rubble5",
"dsp_rubbleexp",
"dsp_rubblelft",
"dsp_rubblemid",
"dsp_rubblerht",
"dsp_rubbletall",
"dsp_rubblewall",
"dsp_sandbags",
"dsp_sawhorse",
"dsp_seabuoy",
"dsp_shiphelm",
"dsp_shipphone",
"dsp_shipradar",
"dsp_showerh",
"dsp_showerhed",
"dsp_sink",
"dsp_sloncrate2",
"dsp_slongcrate",
"dsp_small_bush",
"dsp_small_dead",
"dsp_smlcandle",
"dsp_smlcandle2",
"dsp_smlhalogram",
"dsp_smltoolbox",
"dsp_smltoolbox2",
"dsp_sm_ac",
"dsp_sockpole",
"dsp_sodamachin2",
"dsp_sodamachine",
"dsp_speaker",
"dsp_speaker2",
"dsp_speaker3",
"dsp_srcrate",
"dsp_stealwall",
"dsp_stibduble",
"dsp_stool",
"dsp_swg_chn",
"dsp_table",
"dsp_tibencase",
"dsp_tibgrande",
"dsp_tibmachine",
"dsp_tibsingl2",
"dsp_tibsingle",
"dsp_tibspill",
"dsp_tibtank",
"dsp_tibtree2",
"dsp_tibtreesm",
"dsp_tibvat",
"dsp_tibvattall",
"dsp_tib_basin",
"dsp_toilet",
"dsp_toilet_prc",
"dsp_torture",
"dsp_torturseat",
"dsp_tower",
"dsp_tower2",
"dsp_tropic40",
"dsp_tubemixer",
"dsp_tubemixer2",
"dsp_tvmonitor",
"dsp_urinal",
"dsp_vase1",
"dsp_vase2",
"dsp_vase3",
"dsp_vending",
"dsp_vending2",
"dsp_videocam",
"dsp_wall",
"dsp_wallradio",
"dsp_washerdryer",
"dsp_whitejar",
"dsp_windsock2",
"dsp_wineglass",
"dsp_wirecoil",
"dsp_wirecoil2",
"dsp_wiredangle",
"dsp_woodpallet",
"dsp_workstate",
"dsp_x6rubble1",
"dsp_x6rubble2",
"dsp_x6rubble3",
"dsp_x6rubble4",
"dsp_x6rubble5",
"elev01",
"emit-dummy",
"enc_gagd",
"enc_gbar",
"enc_gcon",
"enc_gpwr",
"enc_gref",
"enc_gwep",
"enc_natr",
"enc_ncom",
"enc_ncon",
"enc_nhel",
"enc_nhnd",
"enc_nobl",
"enc_npwr",
"enc_nref",
"enc_nshn",
"enc_nsil",
"fern_sml",
"fireball",
"f_ca_idle",
"f_ca_run",
"f_ca_walk",
"f_cm_c4-r",
"f_cm_chem",
"f_cm_flmt",
"f_cm_gren",
"f_cm_pist",
"f_cm_rail",
"f_cm_rifl",
"f_cm_snip",
"f_cm_tibf",
"f_cm_tibr",

"f_gm_c4-p",
"f_gm_c4-r",
"f_gm_c4-t",
"f_gm_chem",
"f_gm_chng",
"f_gm_flmt",
"f_gm_gren",
"f_gm_ionb",
"f_gm_ionc",
"f_gm_lsrg",
"f_gm_lsrr",
"f_gm_nuke",
"f_gm_pist",
"f_gm_rail",
"f_gm_ramj",
"f_gm_rifl",
"f_gm_rock",
"f_gm_rprg",
"f_gm_shot",
"f_gm_snip",
"f_gm_tibf",
"f_gm_tibr",
"f_gm_volt",
"f_hm_gdi",
"f_hm_havoc",
"f_hm_nod",
"gdi_tailgun",
"gena_ex1a",
"gena_ex2a",
"gen_ex1a",
"gen_ex2a",
"grnshl_1",
"gturret_expl1a",
"harvstr_ex1a",
"hel_ag_exp",
"hnd_ag_exp",
"hnd_ag_ext",
"hnd_arm_door",
"hnd_cross",
"hnd_desk",
"hnd_elev01",
"hnd_elev02",
"hnd_elev03",
"hnd_flame",
"hnd_flores_lt",
"hnd_frnt_door",
"hnd_int_lm005",
"hnd_int_scrn",
"hnd_mainfrm",
"hnd_mct",
"hnd_scrn",
"hnd_spot",
"hnd_tv",
"hnd_visx_plns",
"hnd_vis_plns",
"hnd_wlk_lt",
"hnd_wrksta",
"hnd_w_scrn",
"hud_gdiwinban",
"hud_nodwinban",
"humvee_exp",
"jtree",
"junpr_lrg",
"l03_barr",
"l08gate",
"lab_spn_door08",
"large_dsapo",
"loadscrn1",
"mct_nod",
"med_dsapo",
"mgagd_ag_1",
"mgagd_ag_2",
"mgagd_ag_3n",
"mgagd_doors_n",
"mgagd_int_n",
"mgagd_lt",
"mgagd_mct",
"mgagd_vis",
"mgagd_visx",
"mgbar_ag_1",
"mgbar_ag_2",
"mgbar_ag_3n",
"mgbar_doors_n",
"mgbar_int_n",
"mgbar_lt",
"mgbar_mct",
"mgbar_vis",
"mgbar_visx",
"mgcon_lt",
"mgpwr_ag_1",
"mgpwr_ag_2",
"mgpwr_ag_3n",
"mgpwr_doors_n",
"mgpwr_int_n",
"mgpwr_lt",
"mgpwr_mct",
"mgref_ag_1",
"mgref_ag_2",
"mgref_ag_3n",
"mgref_ag_4",
"mgref_doors_n",
"mgref_int_n",
"mgref_lt",
"mgref_mct",
"mgwep_ag_1",
"mgwep_ag_2",
"mgwep_ag_3n",
"mgwep_ag_4",
"mgwep_doors_n",
"mgwep_int_n02",
"mgwep_mct",
"mgwep_vis",
"mgwep_visx",
"mnatr_ag_1",
"mnatr_ag_2",
"mnatr_ag_4",
"mnatr_int_n",
"mnatr_lts",
"mnatr_mct",
"mnatr_vis",
"mnatr_visx",
"mnhnd_ag_1",
"mnhnd_ag_2",
"mnhnd_ag_3_n",
"mnhnd_doors",
"mnhnd_doors_n",
"mnhnd_int_n",
"mnhnd_lt",
"mnhnd_mct",
"mnhnd_vis",
"mnhnd_visx",
"mnobl_ag_1",
"mnobl_ag_2",
"mnobl_ag_3n",
"mnobl_doors",
"mnobl_int_n",
"mnobl_mct",
"mnobl_vis",
"mnobl_visx",
"mnpwr_ag_1",
"mnpwr_ag_2",
"mnpwr_ag_3n",
"mnpwr_int_n",
"mnpwr_mct",
"mnpwr_vis",
"mnpwr_visx",
"mnref_ag_1",
"mnref_ag_2",
"mnref_ag_3n",
"mnref_ag_4",
"mnref_doors",
"mnref_int_n",
"mnref_lt",
"mnref_mct",
"mnref_vis",
"mnref_visx",
"mpdr_0",
"mpdr_0b",
"mpdr_obl",
"mpgdr_0",
"mp_under",
"mp_under_emis",
"mrtickles",
"mz_chain1",
"mz_chain3",
"mz_flmt1",
"mz_flmt3",
"mz_gren1",
"mz_gren3",
"mz_ionc1",
"mz_ionc3",
"mz_lsrg1",
"mz_lsrg3",
"mz_lsrr1",
"mz_lsrr3",
"mz_mammrocket",
"mz_pist1",
"mz_pist3",
"mz_ramj1",
"mz_ramj3",
"mz_rifl1",
"mz_rifl3",
"mz_shot1",
"mz_shot3",
"mz_snip1",
"mz_snip3",
"mz_tibf1",
"mz_tibf3",
"mz_tibr1",
"mz_tibr3",
"mz_volt1",
"mz_volt3",
"mz_v_gdi_apc",
"mz_v_gdi_humvee",
"mz_v_gdi_mammth",
"mz_v_gdi_medtnk",
"mz_v_nod_apc",
"mz_v_nod_artlry",
"mz_v_nod_buggy",
"mz_v_nod_cannon",
"mz_v_nod_cgun",
"mz_v_nod_ltank",
"mz_v_nod_mgun",
"mz_v_nod_turret",
"nuke_cloud",
"nuke_missle",
"oak_grn",
"oak_yel",
"obelisk_ex1a",
"obl#dam01",
"obl#dam02",
"obl#dam03",
"obl^xlts",
"obl^xlts2",
"obl_ag_exp",
"obl_doors",
"obl_elev",
"obl_elev01",
"obl_hng_lt",
"obl_int_lm003",
"obl_mct",
"obl_powerup",
"obl_prsn_lift",
"obl_spot",
"obl_visx_plns",
"obl_vis_plns",
"obl_wlk_lt",
"orca_loop",
"o_crate_lg",
"o_crate_md",
"o_crate_sm",
"o_davesarrow",
"o_em_apc",
"o_em_building",
"o_em_chevron",
"o_em_cross",
"o_em_grnarr",
"o_em_redarr",
"o_flag",
"o_nod_console-o",
"o_pedestal",
"o_tracer1gold",
"o_tracer1red",
"o_tracer25gold",
"o_tracer25red",
"palm_a",
"palm_c-l",
"pct_zone",
"pen_door",
"pine_sno",
"plxy_door",
"pwr#dam01",
"pwr#dam02",
"pwr#dam03",
"pwr#dam04",
"pwr#dam05",
"pwr#dam06",
"pwr#dam07",
"pwr#dam08",
"pwr_ag_exp",
"pwr_ag_ext",
"pwr_ag_piston",
"pwr_core_piston",
"pwr_fan01",
"pwr_glass_door",
"pwr_int_lm003",
"pwr_lift",
"pwr_mainfrm",
"pwr_mct",
"pwr_prsnl_lift",
"pwr_rnd_door",
"pwr_visx_plns",
"pwr_vis_plns",
"p_19_asphere1",
"p_19_exsph1a",
"p_19_tibshckw1",
"p_19_tibspher1",
"p_adrenalin",
"p_ammregen",
"p_antisound",
"p_armedal",
"p_armor1",
"p_armor2",
"p_armor3",
"p_backpack",
"p_c4-p",
"p_c4-r",
"p_c4-t",
"p_chem",
"p_chng",
"p_crate",
"p_datadisc",
"p_doubdam",
"p_exsphere2",
"p_flmt",
"p_gren",
"p_grenvest",
"p_headband",
"p_health1",
"p_health2",
"p_health3",
"p_hemedal",
"p_ionb",
"p_ionc",
"p_keycrd_grn",
"p_keycrd_red",
"p_keycrd_yel",
"p_lsrg",
"p_lsrr",
"p_mobsheild",
"p_neurolink",
"p_nuke",
"p_pist",
"p_rail",
"p_ramj",
"p_rifl",
"p_rock",
"p_rprg",
"p_shockw02",
"p_shot",
"p_snip",
"p_stealth",
"p_tiberium_1",
"p_tiberium_2",
"p_tiberium_3",
"p_tiberium_4",
"p_tiberium_b1",
"p_tiberium_b2",
"p_tibf",
"p_tibr",
"p_tibsheild",
"p_tnanites",
"p_uplink",
"p_volt",
"qht-door",
"ref_ag_exp",
"ref_ag_extfx",
"ref_ag_fire",
"ref_barrels",
"ref_belt01",
"ref_belt02",
"ref_belt03",
"ref_belt04",
"ref_belt05",
"ref_crusher",
"ref_dam01",
"ref_dam02",
"ref_dam03",
"ref_dam04",
"ref_doors3",
"ref_fire",
"ref_flore",
"ref_gdoor",
"ref_int_lm002",
"ref_lift",
"ref_mct",
"ref_mon",
"ref_neon",
"ref_piston",
"ref_tib_dump",
"ref_tv",
"ref_visx_plns",
"ref_vis_plns",
"ref_wkscrns",
"ref_wlklts",
"rep^arc_fx1",
"rep^nod_fx",
"res_elev04",
"res_elev11",
"res_vis",
"rocketl_proj",
"rockettrail",
"sam_expl1a",
"sawgrs_lrg",
"shp_doorp01",
"silo_ag_exp",
"small_dsapo",
"squidfreek",
"swing_light",
"swing_light2",
"tib_mist_02",
"tracer",
"tracer_bullet",
"tracer_gold",
"tracer_green",
"tracer_red",
"tracer_white",
"trike",
"vdc_gdi_humvee",
"vdc_gdi_medtnk",
"vdc_nod_buggy",
"vdc_nod_cplane",
"vdc_nod_hrvstr",
"vdc_nod_ltank",
"vdc_nod_truck",
"vdx_gdi_apc",
"vdx_gdi_humvee",
"vdx_gdi_medtnk",
"vdx_gdi_orca",
"vdx_gdi_trnspt",
"vdx_nod_apache",
"vdx_nod_buggy",
"vdx_nod_hrvstr",
"vdx_nod_ltank",
"vdx_nod_trnspt",
"vdx_nod_truck",
"vehcol2m",
"vf_gdi a10",
"vf_nod c-130",
"v_cannon",
"v_chameleon",
"v_gdi_a10",
"v_gdi_apc",
"v_gdi_gboat",
"v_gdi_hcraft",
"v_gdi_hrvstr",
"v_gdi_humvee",
"v_gdi_mammth",
"v_gdi_medtnk",
"v_gdi_mrls",
"v_gdi_orca",
"v_gdi_trnspt",
"v_gdi_vcraft",
"v_hover_x",
"v_invs_turret",
"v_jet",
"v_mgemplacement",
"v_mgun",
"v_nod_apache",
"v_nod_apc",
"v_nod_artillery",
"v_nod_artlry",
"v_nod_bike",
"v_nod_buggy",
"v_nod_camera",
"v_nod_cannon",
"v_nod_cargop_sm",
"v_nod_cgun",
"v_nod_cplane",
"v_nod_flame",
"v_nod_gunemp",
"v_nod_heli",
"v_nod_helimsl_l",
"v_nod_helimsl_r",
"v_nod_hrvstr",
"v_nod_ltank",
"v_nod_mgun",
"v_nod_rocket",
"v_nod_ssm",
"v_nod_ssm_missl",
"v_nod_stlth",
"v_nod_trnspt",
"v_nod_truck",
"v_nod_turret",
"v_nod_turret_d",
"v_pickup01",
"v_sedan01",
"v_spotlight",
"v_spotlightd",
"v_submarine",
"wep#construct",
"wep#shunt",
"withered",
"w_a-10bomb",
"w_c4-p",
"w_c4-p_b",
"w_c4-r",
"w_c4-r_b",
"w_c4-t",
"w_c4-t_b",
"w_chem",
"w_chemtank1",
"w_chem_b",
"w_chng",
"w_chng_b",
"w_flmt",
"w_flmt_b",
"w_gdi_tlgn",
"w_gren",
"w_gren_b",
"w_invs",
"w_ionb_b",
"w_ionb_closed",
"w_ionb_open",
"w_ionc",
"w_ionc_b",
"w_lsrg",
"w_lsrg_b",
"w_lsrr",
"w_lsrr_b",
"w_nuke",
"w_nuke_b",
"w_pist",
"w_pist_b",
"w_rail",
"w_rail_b",
"w_ramj",
"w_ramj_b",
"w_rifl",
"w_rifl_b",
"w_rock",
"w_rock_b",
"w_rprg",
"w_rprg_b",
"w_shot",
"w_shot_b",
"w_snip",
"w_snip_b",
"w_tibf",
"w_tibf_b",
"w_tibr",
"w_tibr_b",
"w_volt",
"w_volt_b",
"x11a_ag_00",
"x11a_ag_01",
"x11a_ag_02",
"x11a_ag_03",
"x11a_apache_04",
"x11a_apache_05",
"x11a_combo_00",
"x11a_combo_01",
"x11a_combo_02",
"x11a_combo_03",
"x11a_orca_04",
"x1a_fp01_a0",
"x1a_fp01_a1",
"x1a_fp01_b0",
"x1a_fp01_b1",
"x1a_fp02b_a0",
"x1a_fp02b_a1",
"x1a_fp02b_b0",
"x1a_fp02b_b1",
"x1a_fp02_a0",
"x1a_fp02_b0",
"x1a_fp04_a0",
"x1a_fp05_a0",
"x1a_fp10_a0",
"x1a_fp10_a1",
"x1a_fp10_b0",
"x1a_fp10_b1",
"x1a_fp10_b2",
"x1a_fp10_b3",
"x1a_fp11_a0",
"x1a_fp11_a1",
"x1a_fp11_a2",
"x1a_fp11_b0",
"x1a_fp11_b1",
"x1a_fp12_a0",
"x1a_fp12_a1",
"x1a_fp12_b0",
"x1a_fp12_b1",
"x1a_fp13_a0",
"x1a_fp13_a1",
"x1a_fp13_b0",
"x1a_fp13_b1",
"x3d_ag_pipping",
"x3d_ag_volcano",
"x3d_camera",
"x_volcano1"}