/lua/autorun/pdmg_exclusions.lua
Lua | 307 lines | 287 code | 13 blank | 7 comment | 10 complexity | 0ca3a4704a7f8caf5d5c09839250597a MD5 | raw file
- -- This file is for Exclusions to the Damage System
-
- -- Contains excluded tables and models
- pdmgExclusions = { }
-
- pdmgHL2Ex = {
- "models/props_c17/oildrum001_explosive.mdl",
- "models/props_junk/gascan001a.mdl",
- "models/props_junk/propane_tank001a.mdl",
- "npc_grenade_frag"
- }
-
- pdmgPHXEx = {
- "models/props_phx/misc/potato_launcher_explosive.mdl",
- "models/props_phx/oildrum001_explosive.mdl",
- "models/props_phx/amraam.mdl",
- "models/props_phx/ball.mdl",
- "models/props_phx/cannonball.mdl",
- "models/props_phx/mk-82.mdl",
- "models/props_phx/torpedo.mdl",
- "models/props_phx/ww2bomb.mdl",
- "models/props_phx/misc/flakshell_big.mdl"
- }
-
- pdmgGMODEx = {
- "gmod_balloon",
- "gmod_button",
- "gmod_camera",
- "gmod_cameraprop",
- "gmod_dynamite",
- "gmod_emitter",
- "gmod_hoverball",
- "gmod_lamp",
- "gmod_laser",
- "gmod_laser_crystal",
- "gmod_laser_reflector",
- "gmod_light",
- "gmod_thruster",
- "gmod_tool",
- "gmod_turret",
- "gmod_wheel"
- }
-
- pdmgWIREEx = {
- "gmod_wire_addressbus",
- "gmod_wire_adv_hudindicator",
- "gmod_wire_adv_input",
- "gmod_wire_adv_pod",
- "gmod_wire_buoyancy",
- "gmod_wire_button",
- "gmod_wire_cam",
- "gmod_wire_cameracontroller",
- "gmod_wire_cd_disk",
- "gmod_wire_cd_ray",
- "gmod_wire_colorer",
- "gmod_wire_consolescreen",
- "gmod_wire_cpu",
- "gmod_wire_damage_detector",
- "gmod_wire_data_satellitedish",
- "gmod_wire_data_store",
- "gmod_wire_data_transferer",
- "gmod_wire_dataport",
- "gmod_wire_datarate",
- "gmod_wire_datasocket",
- "gmod_wire_detcord",
- "gmod_wire_detonator",
- "gmod_wire_digitalscreen",
- "gmod_wire_dual_input",
- "gmod_wire_dupeport",
- "gmod_wire_dynamicmemory",
- "gmod_wire_emarker",
- "gmod_wire_explosive",
- "gmod_wire_expression",
- "gmod_wire_expression2",
- "gmod_wire_eyepod",
- "gmod_wire_facer",
- "gmod_wire_forcer",
- "gmod_wire_freezer",
- "gmod_wire_fx_emitter",
- "gmod_wire_gate",
- "gmod_wire_gps",
- "gmod_wire_gpu",
- "gmod_wire_grabber",
- "gmod_wire_graphics_tablet",
- "gmod_wire_gyroscope",
- "gmod_wire_hdd",
- "gmod_wire_holoemitter",
- "gmod_wire_hologrid",
- "gmod_wire_hoverball",
- "gmod_wire_hoverdrivecontroler",
- "gmod_wire_hsholoemitter",
- "gmod_wire_hsranger",
- "gmod_wire_hudindicator",
- "gmod_wire_hydraulic",
- "gmod_wire_igniter",
- "gmod_wire_indicator",
- "gmod_wire_indicator",
- "gmod_wire_input",
- "gmod_wire_keyboard",
- "gmod_wire_keycardspawner",
- "gmod_wire_lamp",
- "gmod_wire_las_reciever",
- "gmod_wire_latch",
- "gmod_wire_light",
- "gmod_wire_locator",
- "gmod_wire_materializer",
- "gmod_wire_microphone",
- "gmod_wire_motor",
- "gmod_wire_nailer",
- "gmod_wire_no_collide",
- "gmod_wire_notifier",
- "gmod_wire_numpad",
- "gmod_wire_oscilloscope",
- "gmod_wire_output",
- "gmod_wire_painter",
- "gmod_wire_panel",
- "gmod_wire_pid",
- "gmod_wire_pixel",
- "gmod_wire_pod",
- "gmod_wire_radio",
- "gmod_wire_ramcard_default024",
- "gmod_wire_ramcard_default1024",
- "gmod_wire_ramcard_default128",
- "gmod_wire_ramcard_default32",
- "gmod_wire_ramcard_default64",
- "gmod_wire_ramcard_proxy024",
- "gmod_wire_ramcard_proxy32",
- "gmod_wire_ramcardreader",
- "gmod_wire_ranger",
- "gmod_wire_realmagnet",
- "gmod_wire_relay",
- "gmod_wire_rfid_filter",
- "gmod_wire_rfid_implanter",
- "gmod_wire_rfid_reader_act",
- "gmod_wire_rfid_reader_beam",
- "gmod_wire_rfid_reader_prox",
- "gmod_wire_rtcam",
- "gmod_wire_screen",
- "gmod_wire_sensor",
- "gmod_wire_simple_explosive",
- "gmod_wire_simple_servo",
- "gmod_wire_simple_servo",
- "gmod_wire_socket",
- "gmod_wire_soundemitter",
- "gmod_wire_spawner",
- "gmod_wire_speedometer",
- "gmod_wire_string",
- "gmod_wire_stringbuf",
- "gmod_wire_target_finder",
- "gmod_wire_textreceiver",
- "gmod_wire_textscreen",
- "gmod_wire_thruster",
- "gmod_wire_trail",
- "gmod_wire_turret",
- "gmod_wire_twoway_radio",
- "gmod_wire_useholoemitter",
- "gmod_wire_user",
- "gmod_wire_value",
- "gmod_wire_vectorthruster",
- "gmod_wire_vehicle",
- "gmod_wire_watersensor",
- "gmod_wire_waypoint",
- "gmod_wire_weight",
- "gmod_wire_wheel",
- "gmod_wire_winch_controller",
- "gmod_wire_wireless_recv",
- "gmod_wire_wireless_srv",
- "gmod_wire_wirer",
- "gmod_wire_xyzbeacon",
- "gmod_xqm_wire_hydraulic"
-
- }
-
- pdmgSTARGATEEx = {
- "302missile",
- "302turret",
- "ag_3",
- "ancient_obelisk",
- "anti_prior",
- "arthur_mantle",
- "asgard_beam",
- "ashen_defence",
- "asuran_gate_weapon",
- "bearing",
- "brazier",
- "cap_doors",
- "chair_drone",
- "control_chair",
- "destiny_console",
- "destiny_main_weapon",
- "destiny_medium",
- "destiny_timer",
- "destiny_turret",
- "dhd_atlantis",
- "dhd_base",
- "dhd_city",
- "dhd_concept",
- "dhd_infinity",
- "dhd_sg1",
- "dhd_ship",
- "dhd_tollan",
- "dhd_toon",
- "dhd_universe",
- "energy_beam",
- "energy_bullet",
- "event_horizon",
- "future_ramp",
- "gate_nuke",
- "gate_nuke_rings",
- "gate_overloader",
- "goauld_dhd_prop",
- "goauld_iris",
- "goauld_ramp",
- "GravityController",
- "horizon",
- "horizon_missile",
- "ion_cannon",
- "iris_computer",
- "jamming_device",
- "kino_ball",
- "kino_dispenser",
- "launcher_drones",
- "malp",
- "mobile_dhd",
- "molecular_construction_device",
- "naquadah_bomb",
- "naquadah_generator",
- "naq_gen_mk2",
- "ori_beam_cannon",
- "ori_satellite",
- "puddle_jumperv4",
- "ramp",
- "ramp_2",
- "ring_base",
- "ring_base_ancient",
- "ring_base_goauld",
- "ring_base_ori",
- "ring_panel",
- "ring_panel_ancient",
- "ring_panel_goauld",
- "ring_panel_ori",
- "ring_ring",
- "sat_blast_wave",
- "sat_energy_beam",
- "sgc_ramp",
- "sgc_zpm_hub",
- "sgu_ramp",
- "sg_vehicle_aurora",
- "sg_vehicle_base",
- "sg_vehicle_daedalus",
- "sg_vehicle_dart",
- "sg_vehicle_f302",
- "sg_vehicle_gate_glider",
- "sg_vehicle_glider",
- "sg_vehicle_hatak",
- "sg_vehicle_shuttle",
- "shaped_shield_buble",
- "shaped_shield_generator",
- "shield",
- "ship_hangar",
- "ship_railgun",
- "ship_shield",
- "vship_shield_generator",
- "shuttle_turret",
- "sodan_obelisk",
- "Staff_stationary",
- "stargate_asuran",
- "stargate_atlantis",
- "stargate_base",
- "stargate_base_universe",
- "stargate_energy_atlantis",
- "stargate_energy_sg1",
- "stargate_infinity",
- "stargate_iris",
- "stargate_movie",
- "stargate_orlin",
- "stargate_sg1",
- "stargate_supergate",
- "stargate_tollan",
- "stargate_universe",
- "stationary_railgun",
- "tampered_zpm",
- "telchak",
- "tollan_disabler",
- "transporter",
- "zpmhub",
- "zpm_mk3"
- }
-
- function BuildExTable(cvExWire, cvExStargate, cvExGmod, cvExPhxExp, cvExHl2Exp)
-
- pdmgExclusions = {}
-
- --print("cvExWire: " .. tostring(cvExWire))
- --print("cvExStargate: " .. tostring(cvExStargate))
- --print("cvExGmod: " .. tostring(cvExGmod))
- --print("cvExPhxExp: " .. tostring(cvExPhxExp))
- --print("cvExHl2Exp: " .. tostring(cvExHl2Exp))
-
- if cvExWire == 1 then table.Add(pdmgExclusions, pdmgWIREEx) end
- if cvExStargate == 1 then table.Add(pdmgExclusions, pdmgSTARGATEEx) end
- if cvExGmod == 1 then table.Add(pdmgExclusions, pdmgGMODEx) end
- if cvExPhxExp == 1 then table.Add(pdmgExclusions, pdmgPHXEx) end
- if cvExHl2Exp == 1 then table.Add(pdmgExclusions, pdmgHL2Ex) end
-
- end
-