From 32cd511e67cda695dd7d3f5f252869d3515e9ef6 Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Fri, 5 Nov 2021 12:44:30 +0200 Subject: [PATCH 1/3] Fixed: Portal-gun for Linux --- Portal Gun/addon.txt => addon.txt | 0 all.txt | 578 ++++++++++++++++++ .../Lua => lua}/autorun/animations.lua | 0 .../autorun/client/cl_stunbaton_effects.lua | 0 .../Lua => lua}/autorun/portalmove.lua | 0 .../Lua => lua}/autorun/server/resources.lua | 0 .../Lua => lua}/autorun/server/sv_fonts.lua | 0 .../entities/PortalPlayerClone.lua | 0 .../entities/func_noportal/init.lua | 0 .../entities/func_noportal/shared.lua | 0 .../entities/info_hpd_controller/init.lua | 0 .../projectile_portal_ball/shared.lua | 0 .../entities/prop_portal/cl_init.lua | 0 .../Lua => lua}/entities/prop_portal/init.lua | 0 .../entities/prop_portal/shared.lua | 0 .../entities/trigger_portal_cleanser/init.lua | 0 .../trigger_portal_cleanser/shared.lua | 0 .../weapon_portalgun/ai_translations.lua | 0 .../weapons/weapon_portalgun/cl_init.lua | 0 .../weapons/weapon_portalgun/init.lua | 0 .../weapons/weapon_portalgun/shared.lua | 0 .../effects/portal_1_particle.vmt | 0 .../effects/portal_1_particle.vtf | Bin .../effects/portal_2_particle.vmt | 0 .../effects/portal_2_particle.vtf | Bin .../effects/portal_cleanser.vmt | 0 .../effects/portal_cleanser.vtf | Bin .../effects/portal_create_warp_dudv.vmt | 0 .../effects/portal_create_warp_dudv.vtf | Bin .../effects/portal_create_warp_dudv_dx60.vmt | 0 .../effects/portal_create_warp_dx70.vtf | Bin .../effects/portal_create_warp_normal.vtf | Bin .../models/fakeportal_ring_blue.vmt | 0 .../models/fakeportal_ring_blue.vtf | Bin .../models/fakeportal_ring_red.vmt | 0 .../models/fakeportal_ring_red.vtf | Bin .../models/player/chell/chell_hair.vmt | 0 .../models/player/chell/chell_hair.vtf | Bin .../player/chell/chell_head_diffuse.vtf | Bin .../models/player/chell/chell_head_lod.vmt | 0 .../player/chell/chell_head_normals.vtf | Bin .../player/chell/chell_legs_diffuse.vtf | Bin .../player/chell/chell_legs_exponent.vtf | Bin .../models/player/chell/chell_legs_lod.vmt | 0 .../player/chell/chell_legs_normals.vtf | Bin .../models/player/chell/chell_rev2_head.vmt | 0 .../models/player/chell/chell_rev2_legs.vmt | 0 .../models/player/chell/chell_rev2_torso.vmt | 0 .../player/chell/chell_torso_diffuse.vtf | Bin .../player/chell/chell_torso_exponent.vtf | Bin .../models/player/chell/chell_torso_lod.vmt | 0 .../player/chell/chell_torso_normals.vtf | Bin .../models/player/chell/gambler_eye_ao.vtf | Bin .../models/player/chell/gambler_eyeball_l.vmt | 0 .../models/player/chell/gambler_eyeball_r.vmt | 0 .../models/player/chell/gambler_eyes.vtf | Bin .../models/player/chell/skin_warp.vtf | Bin .../models/portalat1.vmt | 0 .../models/portalat2.vmt | 0 .../models/portalblue.vmt | 0 .../models/portalpb1.vmt | 0 .../models/portalpb2.vmt | 0 .../models/portalred.vmt | 0 .../models/weapons/camera.vmt | 0 .../models/weapons/camera.vtf | Bin .../models/weapons/v_hands.vmt | 0 .../models/weapons/v_hands.vtf | Bin .../weapons/v_models/v_hands/v_hands.vtf | Bin .../v_models/v_hands/v_hands_exponent.vtf | Bin .../v_models/v_hands/v_hands_normal.vtf | Bin .../weapons/v_models/v_hands/v_handschell.vmt | 0 .../v_models/v_portalgun/potatos_vmodel.vmt | 0 .../v_models/v_portalgun/potatos_vmodel.vtf | Bin .../v_portalgun/potatos_vmodel_exponent.vtf | Bin .../v_portalgun/potatos_vmodel_normal.vtf | Bin .../weapons/v_models/v_portalgun/v_hands.vmt | 0 .../weapons/v_models/v_portalgun/v_hands.vtf | Bin .../v_models/v_portalgun/v_portalgun.vmt | 0 .../v_models/v_portalgun/v_portalgun.vtf | Bin .../v_models/v_portalgun/v_portalgun2.vmt | 0 .../v_models/v_portalgun/v_portalgun2.vtf | Bin .../v_models/v_portalgun/v_portalgun_blue.vmt | 0 .../v_models/v_portalgun/v_portalgun_blue.vtf | Bin .../v_portalgun/v_portalgun_exponent.vtf | Bin .../v_portalgun/v_portalgun_glass.vmt | 0 .../v_portalgun/v_portalgun_glass.vtf | Bin .../v_portalgun/v_portalgun_lightwarp.vtf | Bin .../v_portalgun/v_portalgun_normal.vtf | Bin .../v_portalgun/v_portalgun_orange.vmt | 0 .../v_portalgun/v_portalgun_orange.vtf | Bin .../v_models/v_portalgun_p1/v_hands.vmt | 0 .../v_models/v_portalgun_p1/v_hands.vtf | Bin .../v_models/v_portalgun_p1/v_portalgun.vmt | 0 .../v_models/v_portalgun_p1/v_portalgun.vtf | Bin .../v_models/v_portalgun_p1/v_portalgun2.vmt | 0 .../v_models/v_portalgun_p1/v_portalgun2.vtf | Bin .../v_portalgun_p1/v_portalgun_exponent.vtf | Bin .../v_portalgun_p1/v_portalgun_glass.vmt | 0 .../v_portalgun_p1/v_portalgun_glass.vtf | Bin .../v_portalgun_p1/v_portalgun_lightwarp.vtf | Bin .../v_portalgun_p1/v_portalgun_mask.vtf | Bin .../v_portalgun_p1/v_portalgun_normal.vtf | Bin .../v_models/v_portalgun_pb/v_hands.vmt | 0 .../v_models/v_portalgun_pb/v_hands.vtf | Bin .../v_models/v_portalgun_pb/v_hands_male.vtf | Bin .../v_models/v_portalgun_pb/v_portalgun.vmt | 0 .../v_models/v_portalgun_pb/v_portalgun.vtf | Bin .../v_portalgun_pb/v_portalgun_exponent.vtf | Bin .../v_portalgun_pb/v_portalgun_glass.vmt | 0 .../v_portalgun_pb/v_portalgun_glass.vtf | Bin .../v_portalgun_pb/v_portalgun_hole.vmt | 0 .../v_portalgun_pb/v_portalgun_lightwarp.vtf | Bin .../v_portalgun_pb/v_portalgun_mask.vtf | Bin .../v_portalgun_pb/v_portalgun_normal.vtf | Bin .../models/weapons/v_portalgun.vtf | Bin .../w_models/portalgun/w_portalgun.vmt | 0 .../w_models/portalgun/w_portalgun.vtf | Bin .../w_models/portalgun/w_portalgun_blue.vmt | 0 .../w_models/portalgun/w_portalgun_blue.vtf | Bin .../portalgun/w_portalgun_exponent.vtf | Bin .../portalgun/w_portalgun_lightwarp.vtf | Bin .../w_models/portalgun/w_portalgun_normal.vtf | Bin .../w_models/portalgun/w_portalgun_orange.vmt | 0 .../w_models/portalgun/w_portalgun_orange.vtf | Bin .../w_models/portalgun/wportalgun_potatos.vmt | 0 .../w_models/portalgun/wportalgun_potatos.vtf | Bin .../particle/particle_glow_05.vtf | Bin .../particle/particle_glow_05_add_15ob.vmt | 0 .../particle_glow_05_add_15ob_noz.vmt | 0 .../particle/particle_ring_pulled.vtf | Bin .../particle_ring_pulled_add_oriented.vmt | 0 .../sprites/betalight.vmt | 0 .../sprites/betalight.vtf | Bin .../sprites/blborder.vmt | 0 .../sprites/blborder.vtf | Bin .../sprites/blueborder.vmt | 0 .../sprites/blueborder.vtf | Bin .../sprites/bluelight.vmt | 0 .../sprites/bluelight.vtf | Bin .../sprites/bluenodraw.png | Bin .../sprites/grav_beam.vmt | 0 .../sprites/grav_beam.vtf | Bin .../sprites/grav_beam_noz.vmt | 0 .../sprites/grav_flare.vmt | 0 .../sprites/grav_flare.vtf | Bin .../sprites/grav_light.vmt | 0 .../sprites/n0blue.vmt | 0 .../sprites/n0blue.vtf | Bin .../Materials => materials}/sprites/n0red.vmt | 0 .../Materials => materials}/sprites/n0red.vtf | Bin .../sprites/noblue.vmt | 0 .../sprites/noblue.vtf | Bin .../Materials => materials}/sprites/nored.vmt | 0 .../Materials => materials}/sprites/nored.vtf | Bin .../sprites/ogborder.vmt | 0 .../sprites/ogborder.vtf | Bin .../sprites/orangelight.vmt | 0 .../sprites/orangelight.vtf | Bin .../sprites/orangelight1_noz.vmt | 0 .../sprites/orangenodraw.png | Bin .../sprites/portalgun_effects.vmt | 0 .../sprites/portalgun_effects.vtf | Bin .../sprites/portalgun_light.vmt | 0 .../sprites/portalgun_light.vtf | Bin .../sprites/portalgunsprites/grav_beam.png | Bin .../sprites/portalgunsprites/grav_flare.vmt | 0 .../sprites/portalgunsprites/grav_flare.vtf | Bin .../sprites/redborder.vmt | 0 .../sprites/redborder.vtf | Bin .../sprites/refract_blue.vmt | 0 .../sprites/refract_orange.vmt | 0 .../vgui/entities/weapon_portalgun.vmt | 0 .../vgui/entities/weapon_portalgun.vtf | Bin .../vgui/portalgun/lastfired.png | Bin .../vgui/portalgun/leftempty.png | Bin .../vgui/portalgun/leftfull.png | Bin .../vgui/portalgun/rightempty.png | Bin .../vgui/portalgun/rightfull.png | Bin .../weapons/portalgun_inventory.vmt | 0 .../weapons/portalgun_inventory.vtf | Bin .../blackops/portal.dx80.vtx | Bin .../blackops/portal.dx90.vtx | Bin .../Models => models}/blackops/portal.mdl | Bin .../Models => models}/blackops/portal.phy | Bin .../Models => models}/blackops/portal.sw.vtx | Bin .../Models => models}/blackops/portal.vvd | Bin .../blackops/portal_sides.dx80.vtx | Bin .../blackops/portal_sides.dx90.vtx | Bin .../blackops/portal_sides.mdl | Bin .../blackops/portal_sides.phy | Bin .../blackops/portal_sides.sw.vtx | Bin .../blackops/portal_sides.vvd | Bin .../weapons/portalgun/v_portalgun.dx80.vtx | Bin .../weapons/portalgun/v_portalgun.dx90.vtx | Bin .../weapons/portalgun/v_portalgun.mdl | Bin .../weapons/portalgun/v_portalgun.sw.vtx | Bin .../weapons/portalgun/v_portalgun.vvd | Bin .../weapons/portalgun/v_portalgun_anims.mdl | Bin .../portalgun/v_portalgun_def.dx80.vtx | Bin .../portalgun/v_portalgun_def.dx90.vtx | Bin .../weapons/portalgun/v_portalgun_def.mdl | Bin .../weapons/portalgun/v_portalgun_def.sw.vtx | Bin .../weapons/portalgun/v_portalgun_def.vvd | Bin .../portalgun/v_portalgun_f22.dx80.vtx | Bin .../portalgun/v_portalgun_f22.dx90.vtx | Bin .../weapons/portalgun/v_portalgun_f22.mdl | Bin .../weapons/portalgun/v_portalgun_f22.sw.vtx | Bin .../weapons/portalgun/v_portalgun_f22.vvd | Bin .../weapons/portalgun/v_portalgun_p1.dx80.vtx | Bin .../weapons/portalgun/v_portalgun_p1.dx90.vtx | Bin .../weapons/portalgun/v_portalgun_p1.mdl | Bin .../weapons/portalgun/v_portalgun_p1.sw.vtx | Bin .../weapons/portalgun/v_portalgun_p1.vvd | Bin .../weapons/portalgun/v_portalgun_pb.dx80.vtx | Bin .../weapons/portalgun/v_portalgun_pb.dx90.vtx | Bin .../weapons/portalgun/v_portalgun_pb.mdl | Bin .../weapons/portalgun/v_portalgun_pb.sw.vtx | Bin .../weapons/portalgun/v_portalgun_pb.vvd | Bin .../portalgun/w_portalgun_hl2.dx80.vtx | Bin .../portalgun/w_portalgun_hl2.dx90.vtx | Bin .../weapons/portalgun/w_portalgun_hl2.mdl | Bin .../weapons/portalgun/w_portalgun_hl2.phy | Bin .../weapons/portalgun/w_portalgun_hl2.sw.vtx | Bin .../weapons/portalgun/w_portalgun_hl2.vvd | Bin .../Particles => particles}/cleansers.pcf | Bin .../particles_manifest.txt | 0 .../portal_beta_particles.pcf | Bin .../portal_projectile.pcf | Bin .../Particles => particles}/portalgun.pcf | Bin .../Particles => particles}/portals.pcf | Bin .../Particles => particles}/wip_muzzle.pcf | Bin README.md => readme.md | 0 .../game_sounds_player_portal.txt | 0 .../game_sounds_portal.txt | 0 .../game_sounds_weapons_portal.txt | 0 .../weapons/portalgun/object_use_01.wav | Bin .../weapons/portalgun/object_use_02.wav | Bin .../portalgun/object_use_failure_01.wav | Bin .../object_use_failure_no_gun_01.wav | Bin .../weapons/portalgun/object_use_lp_01.wav | Bin .../portalgun/object_use_no_gun_01.wav | Bin .../weapons/portalgun/object_use_stop_01.wav | Bin .../portalgun/portal_ambient_loop1.wav | Bin .../weapons/portalgun/portal_close1.wav | Bin .../weapons/portalgun/portal_close2.wav | Bin .../weapons/portalgun/portal_enter1.wav | Bin .../weapons/portalgun/portal_enter2.wav | Bin .../weapons/portalgun/portal_exit1.wav | Bin .../weapons/portalgun/portal_exit2.wav | Bin .../weapons/portalgun/portal_fizzle1.wav | Bin .../weapons/portalgun/portal_fizzle2.wav | Bin .../portalgun/portal_invalid_surface3.wav | Bin .../weapons/portalgun/portal_open1.wav | Bin .../weapons/portalgun/portal_open3.wav | Bin .../portalgun/portalgun_shoot_blue1.wav | Bin .../portalgun/portalgun_shoot_red1.wav | Bin 256 files changed, 578 insertions(+) rename Portal Gun/addon.txt => addon.txt (100%) create mode 100644 all.txt rename {Portal Gun/Lua => lua}/autorun/animations.lua (100%) rename {Portal Gun/Lua => lua}/autorun/client/cl_stunbaton_effects.lua (100%) rename {Portal Gun/Lua => lua}/autorun/portalmove.lua (100%) rename {Portal Gun/Lua => lua}/autorun/server/resources.lua (100%) rename {Portal Gun/Lua => lua}/autorun/server/sv_fonts.lua (100%) rename {Portal Gun/Lua => lua}/entities/PortalPlayerClone.lua (100%) rename {Portal Gun/Lua => lua}/entities/func_noportal/init.lua (100%) rename {Portal Gun/Lua => lua}/entities/func_noportal/shared.lua (100%) rename {Portal Gun/Lua => lua}/entities/info_hpd_controller/init.lua (100%) rename {Portal Gun/Lua => lua}/entities/projectile_portal_ball/shared.lua (100%) rename {Portal Gun/Lua => lua}/entities/prop_portal/cl_init.lua (100%) rename {Portal Gun/Lua => lua}/entities/prop_portal/init.lua (100%) rename {Portal Gun/Lua => lua}/entities/prop_portal/shared.lua (100%) rename {Portal Gun/Lua => lua}/entities/trigger_portal_cleanser/init.lua (100%) rename {Portal Gun/Lua => lua}/entities/trigger_portal_cleanser/shared.lua (100%) rename {Portal Gun/Lua => lua}/weapons/weapon_portalgun/ai_translations.lua (100%) rename {Portal Gun/Lua => lua}/weapons/weapon_portalgun/cl_init.lua (100%) rename {Portal Gun/Lua => lua}/weapons/weapon_portalgun/init.lua (100%) rename {Portal Gun/Lua => lua}/weapons/weapon_portalgun/shared.lua (100%) rename {Portal Gun/Materials => materials}/effects/portal_1_particle.vmt (100%) rename {Portal Gun/Materials => materials}/effects/portal_1_particle.vtf (100%) rename {Portal Gun/Materials => materials}/effects/portal_2_particle.vmt (100%) rename {Portal Gun/Materials => materials}/effects/portal_2_particle.vtf (100%) rename {Portal Gun/Materials => materials}/effects/portal_cleanser.vmt (100%) rename {Portal Gun/Materials => materials}/effects/portal_cleanser.vtf (100%) rename {Portal Gun/Materials => materials}/effects/portal_create_warp_dudv.vmt (100%) rename {Portal Gun/Materials => materials}/effects/portal_create_warp_dudv.vtf (100%) rename {Portal Gun/Materials => materials}/effects/portal_create_warp_dudv_dx60.vmt (100%) rename {Portal Gun/Materials => materials}/effects/portal_create_warp_dx70.vtf (100%) rename {Portal Gun/Materials => materials}/effects/portal_create_warp_normal.vtf (100%) rename {Portal Gun/Materials => materials}/models/fakeportal_ring_blue.vmt (100%) rename {Portal Gun/Materials => materials}/models/fakeportal_ring_blue.vtf (100%) rename {Portal Gun/Materials => materials}/models/fakeportal_ring_red.vmt (100%) rename {Portal Gun/Materials => materials}/models/fakeportal_ring_red.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_hair.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_hair.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_head_diffuse.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_head_lod.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_head_normals.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_legs_diffuse.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_legs_exponent.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_legs_lod.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_legs_normals.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_rev2_head.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_rev2_legs.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_rev2_torso.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_torso_diffuse.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_torso_exponent.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_torso_lod.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/chell_torso_normals.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/gambler_eye_ao.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/gambler_eyeball_l.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/gambler_eyeball_r.vmt (100%) rename {Portal Gun/Materials => materials}/models/player/chell/gambler_eyes.vtf (100%) rename {Portal Gun/Materials => materials}/models/player/chell/skin_warp.vtf (100%) rename {Portal Gun/Materials => materials}/models/portalat1.vmt (100%) rename {Portal Gun/Materials => materials}/models/portalat2.vmt (100%) rename {Portal Gun/Materials => materials}/models/portalblue.vmt (100%) rename {Portal Gun/Materials => materials}/models/portalpb1.vmt (100%) rename {Portal Gun/Materials => materials}/models/portalpb2.vmt (100%) rename {Portal Gun/Materials => materials}/models/portalred.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/camera.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/camera.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_hands.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_hands.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_hands/v_hands.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_hands/v_hands_exponent.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_hands/v_hands_normal.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_hands/v_handschell.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/potatos_vmodel.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/potatos_vmodel.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/potatos_vmodel_exponent.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/potatos_vmodel_normal.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_hands.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_hands.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun2.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun2.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_blue.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_blue.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_exponent.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_glass.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_glass.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_lightwarp.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_normal.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_orange.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun/v_portalgun_orange.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_hands.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_hands.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun_exponent.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun_lightwarp.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun_mask.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_p1/v_portalgun_normal.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_hands.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_hands.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_hands_male.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun_exponent.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun_hole.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun_lightwarp.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun_mask.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_models/v_portalgun_pb/v_portalgun_normal.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/v_portalgun.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun_blue.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun_blue.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun_exponent.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun_lightwarp.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun_normal.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun_orange.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/w_portalgun_orange.vtf (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/wportalgun_potatos.vmt (100%) rename {Portal Gun/Materials => materials}/models/weapons/w_models/portalgun/wportalgun_potatos.vtf (100%) rename {Portal Gun/Materials => materials}/particle/particle_glow_05.vtf (100%) rename {Portal Gun/Materials => materials}/particle/particle_glow_05_add_15ob.vmt (100%) rename {Portal Gun/Materials => materials}/particle/particle_glow_05_add_15ob_noz.vmt (100%) rename {Portal Gun/Materials => materials}/particle/particle_ring_pulled.vtf (100%) rename {Portal Gun/Materials => materials}/particle/particle_ring_pulled_add_oriented.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/betalight.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/betalight.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/blborder.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/blborder.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/blueborder.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/blueborder.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/bluelight.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/bluelight.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/bluenodraw.png (100%) rename {Portal Gun/Materials => materials}/sprites/grav_beam.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/grav_beam.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/grav_beam_noz.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/grav_flare.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/grav_flare.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/grav_light.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/n0blue.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/n0blue.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/n0red.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/n0red.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/noblue.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/noblue.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/nored.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/nored.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/ogborder.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/ogborder.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/orangelight.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/orangelight.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/orangelight1_noz.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/orangenodraw.png (100%) rename {Portal Gun/Materials => materials}/sprites/portalgun_effects.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/portalgun_effects.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/portalgun_light.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/portalgun_light.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/portalgunsprites/grav_beam.png (100%) rename {Portal Gun/Materials => materials}/sprites/portalgunsprites/grav_flare.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/portalgunsprites/grav_flare.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/redborder.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/redborder.vtf (100%) rename {Portal Gun/Materials => materials}/sprites/refract_blue.vmt (100%) rename {Portal Gun/Materials => materials}/sprites/refract_orange.vmt (100%) rename {Portal Gun/Materials => materials}/vgui/entities/weapon_portalgun.vmt (100%) rename {Portal Gun/Materials => materials}/vgui/entities/weapon_portalgun.vtf (100%) rename {Portal Gun/Materials => materials}/vgui/portalgun/lastfired.png (100%) rename {Portal Gun/Materials => materials}/vgui/portalgun/leftempty.png (100%) rename {Portal Gun/Materials => materials}/vgui/portalgun/leftfull.png (100%) rename {Portal Gun/Materials => materials}/vgui/portalgun/rightempty.png (100%) rename {Portal Gun/Materials => materials}/vgui/portalgun/rightfull.png (100%) rename {Portal Gun/Materials => materials}/weapons/portalgun_inventory.vmt (100%) rename {Portal Gun/Materials => materials}/weapons/portalgun_inventory.vtf (100%) rename {Portal Gun/Models => models}/blackops/portal.dx80.vtx (100%) rename {Portal Gun/Models => models}/blackops/portal.dx90.vtx (100%) rename {Portal Gun/Models => models}/blackops/portal.mdl (100%) rename {Portal Gun/Models => models}/blackops/portal.phy (100%) rename {Portal Gun/Models => models}/blackops/portal.sw.vtx (100%) rename {Portal Gun/Models => models}/blackops/portal.vvd (100%) rename {Portal Gun/Models => models}/blackops/portal_sides.dx80.vtx (100%) rename {Portal Gun/Models => models}/blackops/portal_sides.dx90.vtx (100%) rename {Portal Gun/Models => models}/blackops/portal_sides.mdl (100%) rename {Portal Gun/Models => models}/blackops/portal_sides.phy (100%) rename {Portal Gun/Models => models}/blackops/portal_sides.sw.vtx (100%) rename {Portal Gun/Models => models}/blackops/portal_sides.vvd (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun.dx80.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun.dx90.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun.mdl (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun.sw.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun.vvd (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_anims.mdl (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_def.dx80.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_def.dx90.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_def.mdl (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_def.sw.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_def.vvd (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_f22.dx80.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_f22.dx90.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_f22.mdl (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_f22.sw.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_f22.vvd (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_p1.dx80.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_p1.dx90.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_p1.mdl (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_p1.sw.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_p1.vvd (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_pb.dx80.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_pb.dx90.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_pb.mdl (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_pb.sw.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/v_portalgun_pb.vvd (100%) rename {Portal Gun/Models => models}/weapons/portalgun/w_portalgun_hl2.dx80.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/w_portalgun_hl2.dx90.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/w_portalgun_hl2.mdl (100%) rename {Portal Gun/Models => models}/weapons/portalgun/w_portalgun_hl2.phy (100%) rename {Portal Gun/Models => models}/weapons/portalgun/w_portalgun_hl2.sw.vtx (100%) rename {Portal Gun/Models => models}/weapons/portalgun/w_portalgun_hl2.vvd (100%) rename {Portal Gun/Particles => particles}/cleansers.pcf (100%) rename {Portal Gun/Particles => particles}/particles_manifest.txt (100%) rename {Portal Gun/Particles => particles}/portal_beta_particles.pcf (100%) rename {Portal Gun/Particles => particles}/portal_projectile.pcf (100%) rename {Portal Gun/Particles => particles}/portalgun.pcf (100%) rename {Portal Gun/Particles => particles}/portals.pcf (100%) rename {Portal Gun/Particles => particles}/wip_muzzle.pcf (100%) rename README.md => readme.md (100%) rename {Portal Gun/Scripts => scripts}/game_sounds_player_portal.txt (100%) rename {Portal Gun/Scripts => scripts}/game_sounds_portal.txt (100%) rename {Portal Gun/Scripts => scripts}/game_sounds_weapons_portal.txt (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/object_use_01.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/object_use_02.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/object_use_failure_01.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/object_use_failure_no_gun_01.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/object_use_lp_01.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/object_use_no_gun_01.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/object_use_stop_01.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_ambient_loop1.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_close1.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_close2.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_enter1.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_enter2.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_exit1.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_exit2.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_fizzle1.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_fizzle2.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_invalid_surface3.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_open1.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portal_open3.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portalgun_shoot_blue1.wav (100%) rename {Portal Gun/Sound => sound}/weapons/portalgun/portalgun_shoot_red1.wav (100%) diff --git a/Portal Gun/addon.txt b/addon.txt similarity index 100% rename from Portal Gun/addon.txt rename to addon.txt diff --git a/all.txt b/all.txt new file mode 100644 index 0000000..fa94e54 --- /dev/null +++ b/all.txt @@ -0,0 +1,578 @@ + Volume in drive E is Backup + Volume Serial Number is 18C2-B495 + Directory of E:\GIT\PortalGun +2021-11-05 12:33 . +2021-11-05 12:33 .. +2021-11-05 12:28 505 .gitattributes +2021-11-05 12:28 635 .gitignore +2021-11-05 12:28 265 addon.txt +2021-11-05 12:33 0 all.txt +2021-11-05 12:28 2 646 facepunch.txt +2021-11-05 12:28 lua +2021-11-05 12:28 materials +2021-11-05 12:28 models +2021-11-05 12:28 particles +2021-11-05 12:28 827 README.md +2021-11-05 12:28 scripts +2021-11-05 12:28 sound + + Directory of E:\GIT\PortalGun\.git +2021-11-05 12:28 347 config +2021-11-05 12:27 73 description +2021-11-05 12:30 26 HEAD +2021-11-05 12:27 hooks +2021-11-05 12:30 33 106 index +2021-11-05 12:27 info +2021-11-05 12:28 logs +2021-11-05 12:27 objects +2021-11-05 12:28 114 packed-refs +2021-11-05 12:28 refs + + Directory of E:\GIT\PortalGun\.git\hooks +2021-11-05 12:27 . +2021-11-05 12:27 .. +2021-11-05 12:27 478 applypatch-msg.sample +2021-11-05 12:27 896 commit-msg.sample +2021-11-05 12:27 4 655 fsmonitor-watchman.sample +2021-11-05 12:27 189 post-update.sample +2021-11-05 12:27 424 pre-applypatch.sample +2021-11-05 12:27 1 643 pre-commit.sample +2021-11-05 12:27 416 pre-merge-commit.sample +2021-11-05 12:27 1 374 pre-push.sample +2021-11-05 12:27 4 898 pre-rebase.sample +2021-11-05 12:27 544 pre-receive.sample +2021-11-05 12:27 1 492 prepare-commit-msg.sample +2021-11-05 12:27 2 783 push-to-checkout.sample +2021-11-05 12:27 3 650 update.sample + + Directory of E:\GIT\PortalGun\.git\info +2021-11-05 12:27 . +2021-11-05 12:27 .. +2021-11-05 12:27 240 exclude + + Directory of E:\GIT\PortalGun\.git\logs +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:30 372 HEAD +2021-11-05 12:28 refs + + Directory of E:\GIT\PortalGun\.git\logs\refs +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:30 heads +2021-11-05 12:28 remotes + + Directory of E:\GIT\PortalGun\.git\logs\refs\heads +2021-11-05 12:30 . +2021-11-05 12:30 .. +2021-11-05 12:30 166 linux_fix +2021-11-05 12:28 190 master + + Directory of E:\GIT\PortalGun\.git\logs\refs\remotes +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 origin + + Directory of E:\GIT\PortalGun\.git\logs\refs\remotes\origin +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 190 HEAD + + Directory of E:\GIT\PortalGun\.git\objects +2021-11-05 12:27 . +2021-11-05 12:27 .. +2021-11-05 12:27 info +2021-11-05 12:28 pack + + Directory of E:\GIT\PortalGun\.git\objects\info +2021-11-05 12:27 . +2021-11-05 12:27 .. + + Directory of E:\GIT\PortalGun\.git\objects\pack +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 22 548 pack-d2673274c9c35d1e3f84f0960a8287caa52f0db1.idx +2021-11-05 12:28 112 216 803 pack-d2673274c9c35d1e3f84f0960a8287caa52f0db1.pack + + Directory of E:\GIT\PortalGun\.git\refs +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:30 heads +2021-11-05 12:28 remotes +2021-11-05 12:27 tags + + Directory of E:\GIT\PortalGun\.git\refs\heads +2021-11-05 12:30 . +2021-11-05 12:30 .. +2021-11-05 12:30 41 linux_fix +2021-11-05 12:28 41 master + + Directory of E:\GIT\PortalGun\.git\refs\remotes +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 origin + + Directory of E:\GIT\PortalGun\.git\refs\remotes\origin +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 32 HEAD + + Directory of E:\GIT\PortalGun\.git\refs\tags +2021-11-05 12:27 . +2021-11-05 12:27 .. + + Directory of E:\GIT\PortalGun\lua +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 autorun +2021-11-05 12:28 entities +2021-11-05 12:28 weapons + + Directory of E:\GIT\PortalGun\lua\autorun +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 11 342 animations.lua +2021-11-05 12:28 client +2021-11-05 12:28 9 882 portalmove.lua +2021-11-05 12:28 server + + Directory of E:\GIT\PortalGun\lua\autorun\client +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 4 773 cl_stunbaton_effects.lua + + Directory of E:\GIT\PortalGun\lua\autorun\server +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 3 816 resources.lua +2021-11-05 12:28 46 sv_fonts.lua + + Directory of E:\GIT\PortalGun\lua\entities +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 func_noportal +2021-11-05 12:28 info_hpd_controller +2021-11-05 12:28 3 305 PortalPlayerClone.lua +2021-11-05 12:28 projectile_portal_ball +2021-11-05 12:28 prop_portal +2021-11-05 12:28 trigger_portal_cleanser + + Directory of E:\GIT\PortalGun\lua\entities\func_noportal +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 644 init.lua +2021-11-05 12:28 18 shared.lua + + Directory of E:\GIT\PortalGun\lua\entities\info_hpd_controller +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 788 init.lua + + Directory of E:\GIT\PortalGun\lua\entities\projectile_portal_ball +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 2 000 shared.lua + + Directory of E:\GIT\PortalGun\lua\entities\prop_portal +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 19 822 cl_init.lua +2021-11-05 12:28 20 418 init.lua +2021-11-05 12:28 7 385 shared.lua + + Directory of E:\GIT\PortalGun\lua\entities\trigger_portal_cleanser +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 1 865 init.lua +2021-11-05 12:28 87 shared.lua + + Directory of E:\GIT\PortalGun\lua\weapons +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 weapon_portalgun + + Directory of E:\GIT\PortalGun\lua\weapons\weapon_portalgun +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 4 068 ai_translations.lua +2021-11-05 12:28 29 404 cl_init.lua +2021-11-05 12:28 4 399 init.lua +2021-11-05 12:28 23 809 shared.lua + + Directory of E:\GIT\PortalGun\materials +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 effects +2021-11-05 12:28 models +2021-11-05 12:28 particle +2021-11-05 12:28 sprites +2021-11-05 12:28 vgui +2021-11-05 12:28 weapons + + Directory of E:\GIT\PortalGun\materials\effects +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 154 portal_1_particle.vmt +2021-11-05 12:28 2 952 portal_1_particle.vtf +2021-11-05 12:28 146 portal_2_particle.vmt +2021-11-05 12:28 11 144 portal_2_particle.vtf +2021-11-05 12:28 119 portal_cleanser.vmt +2021-11-05 12:28 1 528 portal_cleanser.vtf +2021-11-05 12:28 379 portal_create_warp_dudv.vmt +2021-11-05 12:28 699 242 portal_create_warp_dudv.vtf +2021-11-05 12:28 287 portal_create_warp_dudv_dx60.vmt +2021-11-05 12:28 109 552 portal_create_warp_dx70.vtf +2021-11-05 12:28 349 744 portal_create_warp_normal.vtf + + Directory of E:\GIT\PortalGun\materials\models +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 298 fakeportal_ring_blue.vmt +2021-11-05 12:28 4 194 832 fakeportal_ring_blue.vtf +2021-11-05 12:28 299 fakeportal_ring_red.vmt +2021-11-05 12:28 4 194 832 fakeportal_ring_red.vtf +2021-11-05 12:28 player +2021-11-05 12:28 77 portalat1.vmt +2021-11-05 12:28 77 portalat2.vmt +2021-11-05 12:28 75 portalblue.vmt +2021-11-05 12:28 77 portalpb1.vmt +2021-11-05 12:28 77 portalpb2.vmt +2021-11-05 12:28 74 portalred.vmt +2021-11-05 12:28 weapons + + Directory of E:\GIT\PortalGun\materials\models\player +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 chell + + Directory of E:\GIT\PortalGun\materials\models\player\chell +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 207 chell_hair.vmt +2021-11-05 12:28 1 398 368 chell_hair.vtf +2021-11-05 12:28 2 796 456 chell_head_diffuse.vtf +2021-11-05 12:28 120 chell_head_lod.vmt +2021-11-05 12:28 5 592 672 chell_head_normals.vtf +2021-11-05 12:28 2 796 456 chell_legs_diffuse.vtf +2021-11-05 12:28 2 796 456 chell_legs_exponent.vtf +2021-11-05 12:28 120 chell_legs_lod.vmt +2021-11-05 12:28 5 592 672 chell_legs_normals.vtf +2021-11-05 12:28 392 chell_rev2_head.vmt +2021-11-05 12:28 439 chell_rev2_legs.vmt +2021-11-05 12:28 442 chell_rev2_torso.vmt +2021-11-05 12:28 2 796 456 chell_torso_diffuse.vtf +2021-11-05 12:28 2 796 456 chell_torso_exponent.vtf +2021-11-05 12:28 121 chell_torso_lod.vmt +2021-11-05 12:28 5 592 672 chell_torso_normals.vtf +2021-11-05 12:28 422 gambler_eyeball_l.vmt +2021-11-05 12:28 424 gambler_eyeball_r.vmt +2021-11-05 12:28 22 104 gambler_eyes.vtf +2021-11-05 12:28 5 720 gambler_eye_ao.vtf +2021-11-05 12:28 16 549 skin_warp.vtf + + Directory of E:\GIT\PortalGun\materials\models\weapons +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 174 camera.vmt +2021-11-05 12:28 699 296 camera.vtf +2021-11-05 12:28 83 v_hands.vmt +2021-11-05 12:28 699 296 v_hands.vtf +2021-11-05 12:28 v_models +2021-11-05 12:28 699 296 v_portalgun.vtf +2021-11-05 12:28 w_models + + Directory of E:\GIT\PortalGun\materials\models\weapons\v_models +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 v_hands +2021-11-05 12:28 v_portalgun +2021-11-05 12:28 v_portalgun_p1 +2021-11-05 12:28 v_portalgun_pb + + Directory of E:\GIT\PortalGun\materials\models\weapons\v_models\v_hands +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 2 796 424 v_hands.vtf +2021-11-05 12:28 262 v_handschell.vmt +2021-11-05 12:28 4 194 512 v_hands_exponent.vtf +2021-11-05 12:28 4 194 512 v_hands_normal.vtf + + Directory of E:\GIT\PortalGun\materials\models\weapons\v_models\v_portalgun +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 407 potatos_vmodel.vmt +2021-11-05 12:28 349 784 potatos_vmodel.vtf +2021-11-05 12:28 43 936 potatos_vmodel_exponent.vtf +2021-11-05 12:28 87 640 potatos_vmodel_normal.vtf +2021-11-05 12:28 82 v_hands.vmt +2021-11-05 12:28 2 796 448 v_hands.vtf +2021-11-05 12:28 303 v_portalgun.vmt +2021-11-05 12:28 1 398 360 v_portalgun.vtf +2021-11-05 12:28 89 v_portalgun2.vmt +2021-11-05 12:28 175 008 v_portalgun2.vtf +2021-11-05 12:28 306 v_portalgun_blue.vmt +2021-11-05 12:28 1 398 360 v_portalgun_blue.vtf +2021-11-05 12:28 175 008 v_portalgun_exponent.vtf +2021-11-05 12:28 439 v_portalgun_glass.vmt +2021-11-05 12:28 349 784 v_portalgun_glass.vtf +2021-11-05 12:28 2 960 v_portalgun_lightwarp.vtf +2021-11-05 12:28 699 296 v_portalgun_normal.vtf +2021-11-05 12:28 308 v_portalgun_orange.vmt +2021-11-05 12:28 1 398 360 v_portalgun_orange.vtf + + Directory of E:\GIT\PortalGun\materials\models\weapons\v_models\v_portalgun_p1 +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 83 v_hands.vmt +2021-11-05 12:28 2 796 424 v_hands.vtf +2021-11-05 12:28 564 v_portalgun.vmt +2021-11-05 12:28 699 296 v_portalgun.vtf +2021-11-05 12:28 97 v_portalgun2.vmt +2021-11-05 12:28 174 984 v_portalgun2.vtf +2021-11-05 12:28 43 936 v_portalgun_exponent.vtf +2021-11-05 12:28 651 v_portalgun_glass.vmt +2021-11-05 12:28 349 784 v_portalgun_glass.vtf +2021-11-05 12:28 2 960 v_portalgun_lightwarp.vtf +2021-11-05 12:28 699 272 v_portalgun_mask.vtf +2021-11-05 12:28 87 640 v_portalgun_normal.vtf + + Directory of E:\GIT\PortalGun\materials\models\weapons\v_models\v_portalgun_pb +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 112 v_hands.vmt +2021-11-05 12:28 2 796 424 v_hands.vtf +2021-11-05 12:28 2 796 348 v_hands_male.vtf +2021-11-05 12:28 588 v_portalgun.vmt +2021-11-05 12:28 5 592 612 v_portalgun.vtf +2021-11-05 12:28 349 732 v_portalgun_exponent.vtf +2021-11-05 12:28 651 v_portalgun_glass.vmt +2021-11-05 12:28 349 784 v_portalgun_glass.vtf +2021-11-05 12:28 183 v_portalgun_hole.vmt +2021-11-05 12:28 2 960 v_portalgun_lightwarp.vtf +2021-11-05 12:28 699 272 v_portalgun_mask.vtf +2021-11-05 12:28 349 732 v_portalgun_normal.vtf + + Directory of E:\GIT\PortalGun\materials\models\weapons\w_models +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 portalgun + + Directory of E:\GIT\PortalGun\materials\models\weapons\w_models\portalgun +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 127 wportalgun_potatos.vmt +2021-11-05 12:28 87 640 wportalgun_potatos.vtf +2021-11-05 12:28 319 w_portalgun.vmt +2021-11-05 12:28 175 008 w_portalgun.vtf +2021-11-05 12:28 324 w_portalgun_blue.vmt +2021-11-05 12:28 175 008 w_portalgun_blue.vtf +2021-11-05 12:28 43 936 w_portalgun_exponent.vtf +2021-11-05 12:28 16 525 w_portalgun_lightwarp.vtf +2021-11-05 12:28 87 640 w_portalgun_normal.vtf +2021-11-05 12:28 326 w_portalgun_orange.vmt +2021-11-05 12:28 175 008 w_portalgun_orange.vtf + + Directory of E:\GIT\PortalGun\materials\particle +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 87 616 particle_glow_05.vtf +2021-11-05 12:28 166 particle_glow_05_add_15ob.vmt +2021-11-05 12:28 178 particle_glow_05_add_15ob_noz.vmt +2021-11-05 12:28 349 784 particle_ring_pulled.vtf +2021-11-05 12:28 129 particle_ring_pulled_add_oriented.vmt + + Directory of E:\GIT\PortalGun\materials\sprites +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 130 betalight.vmt +2021-11-05 12:28 87 588 betalight.vtf +2021-11-05 12:28 262 blborder.vmt +2021-11-05 12:28 15 730 048 blborder.vtf +2021-11-05 12:28 285 blueborder.vmt +2021-11-05 12:28 45 791 520 blueborder.vtf +2021-11-05 12:28 130 bluelight.vmt +2021-11-05 12:28 11 168 bluelight.vtf +2021-11-05 12:28 1 102 bluenodraw.png +2021-11-05 12:28 124 grav_beam.vmt +2021-11-05 12:28 8 337 grav_beam.vtf +2021-11-05 12:28 141 grav_beam_noz.vmt +2021-11-05 12:28 114 grav_flare.vmt +2021-11-05 12:28 16 591 grav_flare.vtf +2021-11-05 12:28 131 grav_light.vmt +2021-11-05 12:28 277 n0blue.vmt +2021-11-05 12:28 46 490 624 n0blue.vtf +2021-11-05 12:28 276 n0red.vmt +2021-11-05 12:28 46 490 624 n0red.vtf +2021-11-05 12:28 277 noblue.vmt +2021-11-05 12:28 5 243 488 noblue.vtf +2021-11-05 12:28 276 nored.vmt +2021-11-05 12:28 5 243 488 nored.vtf +2021-11-05 12:28 261 ogborder.vmt +2021-11-05 12:28 15 730 048 ogborder.vtf +2021-11-05 12:28 132 orangelight.vmt +2021-11-05 12:28 2 976 orangelight.vtf +2021-11-05 12:28 144 orangelight1_noz.vmt +2021-11-05 12:28 1 102 orangenodraw.png +2021-11-05 12:28 portalgunsprites +2021-11-05 12:28 138 portalgun_effects.vmt +2021-11-05 12:28 11 144 portalgun_effects.vtf +2021-11-05 12:28 136 portalgun_light.vmt +2021-11-05 12:28 22 080 portalgun_light.vtf +2021-11-05 12:28 280 redborder.vmt +2021-11-05 12:28 45 791 520 redborder.vtf +2021-11-05 12:28 283 refract_blue.vmt +2021-11-05 12:28 282 refract_orange.vmt + + Directory of E:\GIT\PortalGun\materials\sprites\portalgunsprites +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 1 405 grav_beam.png +2021-11-05 12:28 117 grav_flare.vmt +2021-11-05 12:28 16 591 grav_flare.vtf + + Directory of E:\GIT\PortalGun\materials\vgui +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 entities +2021-11-05 12:28 portalgun + + Directory of E:\GIT\PortalGun\materials\vgui\entities +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 123 weapon_portalgun.vmt +2021-11-05 12:28 87 604 weapon_portalgun.vtf + + Directory of E:\GIT\PortalGun\materials\vgui\portalgun +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 495 lastfired.png +2021-11-05 12:28 1 105 leftempty.png +2021-11-05 12:28 1 306 leftfull.png +2021-11-05 12:28 1 081 rightempty.png +2021-11-05 12:28 1 227 rightfull.png + + Directory of E:\GIT\PortalGun\materials\weapons +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 137 portalgun_inventory.vmt +2021-11-05 12:28 174 924 portalgun_inventory.vtf + + Directory of E:\GIT\PortalGun\models +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 blackops +2021-11-05 12:28 weapons + + Directory of E:\GIT\PortalGun\models\blackops +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 8 115 portal.dx80.vtx +2021-11-05 12:28 8 115 portal.dx90.vtx +2021-11-05 12:28 1 660 portal.mdl +2021-11-05 12:28 689 portal.phy +2021-11-05 12:28 8 107 portal.sw.vtx +2021-11-05 12:28 27 328 portal.vvd +2021-11-05 12:28 1 293 portal_sides.dx80.vtx +2021-11-05 12:28 1 293 portal_sides.dx90.vtx +2021-11-05 12:28 1 656 portal_sides.mdl +2021-11-05 12:28 1 995 portal_sides.phy +2021-11-05 12:28 1 285 portal_sides.sw.vtx +2021-11-05 12:28 6 208 portal_sides.vvd + + Directory of E:\GIT\PortalGun\models\weapons +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 portalgun + + Directory of E:\GIT\PortalGun\models\weapons\portalgun +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 314 920 v_portalgun.dx80.vtx +2021-11-05 12:28 309 750 v_portalgun.dx90.vtx +2021-11-05 12:28 56 316 v_portalgun.mdl +2021-11-05 12:28 308 710 v_portalgun.sw.vtx +2021-11-05 12:28 1 260 352 v_portalgun.vvd +2021-11-05 12:28 34 964 v_portalgun_anims.mdl +2021-11-05 12:28 171 179 v_portalgun_def.dx80.vtx +2021-11-05 12:28 171 120 v_portalgun_def.dx90.vtx +2021-11-05 12:28 33 488 v_portalgun_def.mdl +2021-11-05 12:28 170 928 v_portalgun_def.sw.vtx +2021-11-05 12:28 738 816 v_portalgun_def.vvd +2021-11-05 12:28 148 310 v_portalgun_f22.dx80.vtx +2021-11-05 12:28 148 275 v_portalgun_f22.dx90.vtx +2021-11-05 12:28 16 120 v_portalgun_f22.mdl +2021-11-05 12:28 148 051 v_portalgun_f22.sw.vtx +2021-11-05 12:28 608 640 v_portalgun_f22.vvd +2021-11-05 12:28 130 586 v_portalgun_p1.dx80.vtx +2021-11-05 12:28 130 312 v_portalgun_p1.dx90.vtx +2021-11-05 12:28 34 964 v_portalgun_p1.mdl +2021-11-05 12:28 129 984 v_portalgun_p1.sw.vtx +2021-11-05 12:28 543 744 v_portalgun_p1.vvd +2021-11-05 12:28 132 228 v_portalgun_pb.dx80.vtx +2021-11-05 12:28 132 088 v_portalgun_pb.dx90.vtx +2021-11-05 12:28 29 088 v_portalgun_pb.mdl +2021-11-05 12:28 131 880 v_portalgun_pb.sw.vtx +2021-11-05 12:28 552 832 v_portalgun_pb.vvd +2021-11-05 12:28 57 549 w_portalgun_hl2.dx80.vtx +2021-11-05 12:28 57 549 w_portalgun_hl2.dx90.vtx +2021-11-05 12:28 2 276 w_portalgun_hl2.mdl +2021-11-05 12:28 2 563 w_portalgun_hl2.phy +2021-11-05 12:28 57 541 w_portalgun_hl2.sw.vtx +2021-11-05 12:28 238 016 w_portalgun_hl2.vvd + + Directory of E:\GIT\PortalGun\particles +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 26 772 cleansers.pcf +2021-11-05 12:28 261 particles_manifest.txt +2021-11-05 12:28 21 669 portalgun.pcf +2021-11-05 12:28 33 303 portals.pcf +2021-11-05 12:28 131 484 portal_beta_particles.pcf +2021-11-05 12:28 96 118 portal_projectile.pcf +2021-11-05 12:28 7 707 wip_muzzle.pcf + + Directory of E:\GIT\PortalGun\scripts +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 5 924 game_sounds_player_portal.txt +2021-11-05 12:28 11 526 game_sounds_portal.txt +2021-11-05 12:28 10 287 game_sounds_weapons_portal.txt + + Directory of E:\GIT\PortalGun\sound +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 weapons + + Directory of E:\GIT\PortalGun\sound\weapons +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 portalgun + + Directory of E:\GIT\PortalGun\sound\weapons\portalgun +2021-11-05 12:28 . +2021-11-05 12:28 .. +2021-11-05 12:28 77 228 object_use_01.wav +2021-11-05 12:28 86 652 object_use_02.wav +2021-11-05 12:28 19 134 object_use_failure_01.wav +2021-11-05 12:28 19 050 object_use_failure_no_gun_01.wav +2021-11-05 12:28 723 934 object_use_lp_01.wav +2021-11-05 12:28 86 652 object_use_no_gun_01.wav +2021-11-05 12:28 24 524 object_use_stop_01.wav +2021-11-05 12:28 123 484 portalgun_shoot_blue1.wav +2021-11-05 12:28 145 056 portalgun_shoot_red1.wav +2021-11-05 12:28 102 994 portal_ambient_loop1.wav +2021-11-05 12:28 59 432 portal_close1.wav +2021-11-05 12:28 163 896 portal_close2.wav +2021-11-05 12:28 77 800 portal_enter1.wav +2021-11-05 12:28 120 620 portal_enter2.wav +2021-11-05 12:28 132 052 portal_exit1.wav +2021-11-05 12:28 280 116 portal_exit2.wav +2021-11-05 12:28 115 390 portal_fizzle1.wav +2021-11-05 12:28 95 060 portal_fizzle2.wav +2021-11-05 12:28 87 380 portal_invalid_surface3.wav +2021-11-05 12:28 166 980 portal_open1.wav +2021-11-05 12:28 108 944 portal_open3.wav + + Total Files Listed: + + 170 Dir(s) 379 446 460 416 bytes free diff --git a/Portal Gun/Lua/autorun/animations.lua b/lua/autorun/animations.lua similarity index 100% rename from Portal Gun/Lua/autorun/animations.lua rename to lua/autorun/animations.lua diff --git a/Portal Gun/Lua/autorun/client/cl_stunbaton_effects.lua b/lua/autorun/client/cl_stunbaton_effects.lua similarity index 100% rename from Portal Gun/Lua/autorun/client/cl_stunbaton_effects.lua rename to lua/autorun/client/cl_stunbaton_effects.lua diff --git a/Portal Gun/Lua/autorun/portalmove.lua b/lua/autorun/portalmove.lua similarity index 100% rename from Portal Gun/Lua/autorun/portalmove.lua rename to lua/autorun/portalmove.lua diff --git a/Portal Gun/Lua/autorun/server/resources.lua b/lua/autorun/server/resources.lua similarity index 100% rename from Portal Gun/Lua/autorun/server/resources.lua rename to lua/autorun/server/resources.lua diff --git a/Portal Gun/Lua/autorun/server/sv_fonts.lua b/lua/autorun/server/sv_fonts.lua similarity index 100% rename from Portal Gun/Lua/autorun/server/sv_fonts.lua rename to lua/autorun/server/sv_fonts.lua diff --git a/Portal Gun/Lua/entities/PortalPlayerClone.lua b/lua/entities/PortalPlayerClone.lua similarity index 100% rename from Portal Gun/Lua/entities/PortalPlayerClone.lua rename to lua/entities/PortalPlayerClone.lua diff --git a/Portal Gun/Lua/entities/func_noportal/init.lua b/lua/entities/func_noportal/init.lua similarity index 100% rename from Portal Gun/Lua/entities/func_noportal/init.lua rename to lua/entities/func_noportal/init.lua diff --git a/Portal Gun/Lua/entities/func_noportal/shared.lua b/lua/entities/func_noportal/shared.lua similarity index 100% rename from Portal Gun/Lua/entities/func_noportal/shared.lua rename to lua/entities/func_noportal/shared.lua diff --git a/Portal Gun/Lua/entities/info_hpd_controller/init.lua b/lua/entities/info_hpd_controller/init.lua similarity index 100% rename from Portal Gun/Lua/entities/info_hpd_controller/init.lua rename to lua/entities/info_hpd_controller/init.lua diff --git a/Portal Gun/Lua/entities/projectile_portal_ball/shared.lua b/lua/entities/projectile_portal_ball/shared.lua similarity index 100% rename from Portal Gun/Lua/entities/projectile_portal_ball/shared.lua rename to lua/entities/projectile_portal_ball/shared.lua diff --git a/Portal Gun/Lua/entities/prop_portal/cl_init.lua b/lua/entities/prop_portal/cl_init.lua similarity index 100% rename from Portal Gun/Lua/entities/prop_portal/cl_init.lua rename to lua/entities/prop_portal/cl_init.lua diff --git a/Portal Gun/Lua/entities/prop_portal/init.lua b/lua/entities/prop_portal/init.lua similarity index 100% rename from Portal Gun/Lua/entities/prop_portal/init.lua rename to lua/entities/prop_portal/init.lua diff --git a/Portal Gun/Lua/entities/prop_portal/shared.lua b/lua/entities/prop_portal/shared.lua similarity index 100% rename from Portal Gun/Lua/entities/prop_portal/shared.lua rename to lua/entities/prop_portal/shared.lua diff --git a/Portal Gun/Lua/entities/trigger_portal_cleanser/init.lua b/lua/entities/trigger_portal_cleanser/init.lua similarity index 100% rename from Portal Gun/Lua/entities/trigger_portal_cleanser/init.lua rename to lua/entities/trigger_portal_cleanser/init.lua diff --git a/Portal Gun/Lua/entities/trigger_portal_cleanser/shared.lua b/lua/entities/trigger_portal_cleanser/shared.lua similarity index 100% rename from Portal Gun/Lua/entities/trigger_portal_cleanser/shared.lua rename to lua/entities/trigger_portal_cleanser/shared.lua diff --git a/Portal Gun/Lua/weapons/weapon_portalgun/ai_translations.lua b/lua/weapons/weapon_portalgun/ai_translations.lua similarity index 100% rename from Portal Gun/Lua/weapons/weapon_portalgun/ai_translations.lua rename to lua/weapons/weapon_portalgun/ai_translations.lua diff --git a/Portal Gun/Lua/weapons/weapon_portalgun/cl_init.lua b/lua/weapons/weapon_portalgun/cl_init.lua similarity index 100% rename from Portal Gun/Lua/weapons/weapon_portalgun/cl_init.lua rename to lua/weapons/weapon_portalgun/cl_init.lua diff --git a/Portal Gun/Lua/weapons/weapon_portalgun/init.lua b/lua/weapons/weapon_portalgun/init.lua similarity index 100% rename from Portal Gun/Lua/weapons/weapon_portalgun/init.lua rename to lua/weapons/weapon_portalgun/init.lua diff --git a/Portal Gun/Lua/weapons/weapon_portalgun/shared.lua b/lua/weapons/weapon_portalgun/shared.lua similarity index 100% rename from Portal Gun/Lua/weapons/weapon_portalgun/shared.lua rename to lua/weapons/weapon_portalgun/shared.lua diff --git a/Portal Gun/Materials/effects/portal_1_particle.vmt b/materials/effects/portal_1_particle.vmt similarity index 100% rename from Portal Gun/Materials/effects/portal_1_particle.vmt rename to materials/effects/portal_1_particle.vmt diff --git a/Portal Gun/Materials/effects/portal_1_particle.vtf b/materials/effects/portal_1_particle.vtf similarity index 100% rename from Portal Gun/Materials/effects/portal_1_particle.vtf rename to materials/effects/portal_1_particle.vtf diff --git a/Portal Gun/Materials/effects/portal_2_particle.vmt b/materials/effects/portal_2_particle.vmt similarity index 100% rename from Portal Gun/Materials/effects/portal_2_particle.vmt rename to materials/effects/portal_2_particle.vmt diff --git a/Portal Gun/Materials/effects/portal_2_particle.vtf b/materials/effects/portal_2_particle.vtf similarity index 100% rename from Portal Gun/Materials/effects/portal_2_particle.vtf rename to materials/effects/portal_2_particle.vtf diff --git a/Portal Gun/Materials/effects/portal_cleanser.vmt b/materials/effects/portal_cleanser.vmt similarity index 100% rename from Portal Gun/Materials/effects/portal_cleanser.vmt rename to materials/effects/portal_cleanser.vmt diff --git a/Portal Gun/Materials/effects/portal_cleanser.vtf b/materials/effects/portal_cleanser.vtf similarity index 100% rename from Portal Gun/Materials/effects/portal_cleanser.vtf rename to materials/effects/portal_cleanser.vtf diff --git a/Portal Gun/Materials/effects/portal_create_warp_dudv.vmt b/materials/effects/portal_create_warp_dudv.vmt similarity index 100% rename from Portal Gun/Materials/effects/portal_create_warp_dudv.vmt rename to materials/effects/portal_create_warp_dudv.vmt diff --git a/Portal Gun/Materials/effects/portal_create_warp_dudv.vtf b/materials/effects/portal_create_warp_dudv.vtf similarity index 100% rename from Portal Gun/Materials/effects/portal_create_warp_dudv.vtf rename to materials/effects/portal_create_warp_dudv.vtf diff --git a/Portal Gun/Materials/effects/portal_create_warp_dudv_dx60.vmt b/materials/effects/portal_create_warp_dudv_dx60.vmt similarity index 100% rename from Portal Gun/Materials/effects/portal_create_warp_dudv_dx60.vmt rename to materials/effects/portal_create_warp_dudv_dx60.vmt diff --git a/Portal Gun/Materials/effects/portal_create_warp_dx70.vtf b/materials/effects/portal_create_warp_dx70.vtf similarity index 100% rename from Portal Gun/Materials/effects/portal_create_warp_dx70.vtf rename to materials/effects/portal_create_warp_dx70.vtf diff --git a/Portal Gun/Materials/effects/portal_create_warp_normal.vtf b/materials/effects/portal_create_warp_normal.vtf similarity index 100% rename from Portal Gun/Materials/effects/portal_create_warp_normal.vtf rename to materials/effects/portal_create_warp_normal.vtf diff --git a/Portal Gun/Materials/models/fakeportal_ring_blue.vmt b/materials/models/fakeportal_ring_blue.vmt similarity index 100% rename from Portal Gun/Materials/models/fakeportal_ring_blue.vmt rename to materials/models/fakeportal_ring_blue.vmt diff --git a/Portal Gun/Materials/models/fakeportal_ring_blue.vtf b/materials/models/fakeportal_ring_blue.vtf similarity index 100% rename from Portal Gun/Materials/models/fakeportal_ring_blue.vtf rename to materials/models/fakeportal_ring_blue.vtf diff --git a/Portal Gun/Materials/models/fakeportal_ring_red.vmt b/materials/models/fakeportal_ring_red.vmt similarity index 100% rename from Portal Gun/Materials/models/fakeportal_ring_red.vmt rename to materials/models/fakeportal_ring_red.vmt diff --git a/Portal Gun/Materials/models/fakeportal_ring_red.vtf b/materials/models/fakeportal_ring_red.vtf similarity index 100% rename from Portal Gun/Materials/models/fakeportal_ring_red.vtf rename to materials/models/fakeportal_ring_red.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_hair.vmt b/materials/models/player/chell/chell_hair.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_hair.vmt rename to materials/models/player/chell/chell_hair.vmt diff --git a/Portal Gun/Materials/models/player/chell/chell_hair.vtf b/materials/models/player/chell/chell_hair.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_hair.vtf rename to materials/models/player/chell/chell_hair.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_head_diffuse.vtf b/materials/models/player/chell/chell_head_diffuse.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_head_diffuse.vtf rename to materials/models/player/chell/chell_head_diffuse.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_head_lod.vmt b/materials/models/player/chell/chell_head_lod.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_head_lod.vmt rename to materials/models/player/chell/chell_head_lod.vmt diff --git a/Portal Gun/Materials/models/player/chell/chell_head_normals.vtf b/materials/models/player/chell/chell_head_normals.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_head_normals.vtf rename to materials/models/player/chell/chell_head_normals.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_legs_diffuse.vtf b/materials/models/player/chell/chell_legs_diffuse.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_legs_diffuse.vtf rename to materials/models/player/chell/chell_legs_diffuse.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_legs_exponent.vtf b/materials/models/player/chell/chell_legs_exponent.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_legs_exponent.vtf rename to materials/models/player/chell/chell_legs_exponent.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_legs_lod.vmt b/materials/models/player/chell/chell_legs_lod.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_legs_lod.vmt rename to materials/models/player/chell/chell_legs_lod.vmt diff --git a/Portal Gun/Materials/models/player/chell/chell_legs_normals.vtf b/materials/models/player/chell/chell_legs_normals.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_legs_normals.vtf rename to materials/models/player/chell/chell_legs_normals.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_rev2_head.vmt b/materials/models/player/chell/chell_rev2_head.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_rev2_head.vmt rename to materials/models/player/chell/chell_rev2_head.vmt diff --git a/Portal Gun/Materials/models/player/chell/chell_rev2_legs.vmt b/materials/models/player/chell/chell_rev2_legs.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_rev2_legs.vmt rename to materials/models/player/chell/chell_rev2_legs.vmt diff --git a/Portal Gun/Materials/models/player/chell/chell_rev2_torso.vmt b/materials/models/player/chell/chell_rev2_torso.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_rev2_torso.vmt rename to materials/models/player/chell/chell_rev2_torso.vmt diff --git a/Portal Gun/Materials/models/player/chell/chell_torso_diffuse.vtf b/materials/models/player/chell/chell_torso_diffuse.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_torso_diffuse.vtf rename to materials/models/player/chell/chell_torso_diffuse.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_torso_exponent.vtf b/materials/models/player/chell/chell_torso_exponent.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_torso_exponent.vtf rename to materials/models/player/chell/chell_torso_exponent.vtf diff --git a/Portal Gun/Materials/models/player/chell/chell_torso_lod.vmt b/materials/models/player/chell/chell_torso_lod.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_torso_lod.vmt rename to materials/models/player/chell/chell_torso_lod.vmt diff --git a/Portal Gun/Materials/models/player/chell/chell_torso_normals.vtf b/materials/models/player/chell/chell_torso_normals.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/chell_torso_normals.vtf rename to materials/models/player/chell/chell_torso_normals.vtf diff --git a/Portal Gun/Materials/models/player/chell/gambler_eye_ao.vtf b/materials/models/player/chell/gambler_eye_ao.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/gambler_eye_ao.vtf rename to materials/models/player/chell/gambler_eye_ao.vtf diff --git a/Portal Gun/Materials/models/player/chell/gambler_eyeball_l.vmt b/materials/models/player/chell/gambler_eyeball_l.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/gambler_eyeball_l.vmt rename to materials/models/player/chell/gambler_eyeball_l.vmt diff --git a/Portal Gun/Materials/models/player/chell/gambler_eyeball_r.vmt b/materials/models/player/chell/gambler_eyeball_r.vmt similarity index 100% rename from Portal Gun/Materials/models/player/chell/gambler_eyeball_r.vmt rename to materials/models/player/chell/gambler_eyeball_r.vmt diff --git a/Portal Gun/Materials/models/player/chell/gambler_eyes.vtf b/materials/models/player/chell/gambler_eyes.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/gambler_eyes.vtf rename to materials/models/player/chell/gambler_eyes.vtf diff --git a/Portal Gun/Materials/models/player/chell/skin_warp.vtf b/materials/models/player/chell/skin_warp.vtf similarity index 100% rename from Portal Gun/Materials/models/player/chell/skin_warp.vtf rename to materials/models/player/chell/skin_warp.vtf diff --git a/Portal Gun/Materials/models/portalat1.vmt b/materials/models/portalat1.vmt similarity index 100% rename from Portal Gun/Materials/models/portalat1.vmt rename to materials/models/portalat1.vmt diff --git a/Portal Gun/Materials/models/portalat2.vmt b/materials/models/portalat2.vmt similarity index 100% rename from Portal Gun/Materials/models/portalat2.vmt rename to materials/models/portalat2.vmt diff --git a/Portal Gun/Materials/models/portalblue.vmt b/materials/models/portalblue.vmt similarity index 100% rename from Portal Gun/Materials/models/portalblue.vmt rename to materials/models/portalblue.vmt diff --git a/Portal Gun/Materials/models/portalpb1.vmt b/materials/models/portalpb1.vmt similarity index 100% rename from Portal Gun/Materials/models/portalpb1.vmt rename to materials/models/portalpb1.vmt diff --git a/Portal Gun/Materials/models/portalpb2.vmt b/materials/models/portalpb2.vmt similarity index 100% rename from Portal Gun/Materials/models/portalpb2.vmt rename to materials/models/portalpb2.vmt diff --git a/Portal Gun/Materials/models/portalred.vmt b/materials/models/portalred.vmt similarity index 100% rename from Portal Gun/Materials/models/portalred.vmt rename to materials/models/portalred.vmt diff --git a/Portal Gun/Materials/models/weapons/camera.vmt b/materials/models/weapons/camera.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/camera.vmt rename to materials/models/weapons/camera.vmt diff --git a/Portal Gun/Materials/models/weapons/camera.vtf b/materials/models/weapons/camera.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/camera.vtf rename to materials/models/weapons/camera.vtf diff --git a/Portal Gun/Materials/models/weapons/v_hands.vmt b/materials/models/weapons/v_hands.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_hands.vmt rename to materials/models/weapons/v_hands.vmt diff --git a/Portal Gun/Materials/models/weapons/v_hands.vtf b/materials/models/weapons/v_hands.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_hands.vtf rename to materials/models/weapons/v_hands.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_hands/v_hands.vtf b/materials/models/weapons/v_models/v_hands/v_hands.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_hands/v_hands.vtf rename to materials/models/weapons/v_models/v_hands/v_hands.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_hands/v_hands_exponent.vtf b/materials/models/weapons/v_models/v_hands/v_hands_exponent.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_hands/v_hands_exponent.vtf rename to materials/models/weapons/v_models/v_hands/v_hands_exponent.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_hands/v_hands_normal.vtf b/materials/models/weapons/v_models/v_hands/v_hands_normal.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_hands/v_hands_normal.vtf rename to materials/models/weapons/v_models/v_hands/v_hands_normal.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_hands/v_handschell.vmt b/materials/models/weapons/v_models/v_hands/v_handschell.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_hands/v_handschell.vmt rename to materials/models/weapons/v_models/v_hands/v_handschell.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vmt b/materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vmt rename to materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vtf b/materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vtf rename to materials/models/weapons/v_models/v_portalgun/potatos_vmodel.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/potatos_vmodel_exponent.vtf b/materials/models/weapons/v_models/v_portalgun/potatos_vmodel_exponent.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/potatos_vmodel_exponent.vtf rename to materials/models/weapons/v_models/v_portalgun/potatos_vmodel_exponent.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/potatos_vmodel_normal.vtf b/materials/models/weapons/v_models/v_portalgun/potatos_vmodel_normal.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/potatos_vmodel_normal.vtf rename to materials/models/weapons/v_models/v_portalgun/potatos_vmodel_normal.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_hands.vmt b/materials/models/weapons/v_models/v_portalgun/v_hands.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_hands.vmt rename to materials/models/weapons/v_models/v_portalgun/v_hands.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_hands.vtf b/materials/models/weapons/v_models/v_portalgun/v_hands.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_hands.vtf rename to materials/models/weapons/v_models/v_portalgun/v_hands.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun.vmt b/materials/models/weapons/v_models/v_portalgun/v_portalgun.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun.vmt rename to materials/models/weapons/v_models/v_portalgun/v_portalgun.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun.vtf b/materials/models/weapons/v_models/v_portalgun/v_portalgun.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun.vtf rename to materials/models/weapons/v_models/v_portalgun/v_portalgun.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun2.vmt b/materials/models/weapons/v_models/v_portalgun/v_portalgun2.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun2.vmt rename to materials/models/weapons/v_models/v_portalgun/v_portalgun2.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun2.vtf b/materials/models/weapons/v_models/v_portalgun/v_portalgun2.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun2.vtf rename to materials/models/weapons/v_models/v_portalgun/v_portalgun2.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vmt b/materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vmt rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vtf b/materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vtf rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_blue.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_exponent.vtf b/materials/models/weapons/v_models/v_portalgun/v_portalgun_exponent.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_exponent.vtf rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_exponent.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_glass.vmt b/materials/models/weapons/v_models/v_portalgun/v_portalgun_glass.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_glass.vmt rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_glass.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_glass.vtf b/materials/models/weapons/v_models/v_portalgun/v_portalgun_glass.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_glass.vtf rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_glass.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_lightwarp.vtf b/materials/models/weapons/v_models/v_portalgun/v_portalgun_lightwarp.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_lightwarp.vtf rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_lightwarp.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_normal.vtf b/materials/models/weapons/v_models/v_portalgun/v_portalgun_normal.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_normal.vtf rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_normal.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vmt b/materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vmt rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vtf b/materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vtf rename to materials/models/weapons/v_models/v_portalgun/v_portalgun_orange.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_hands.vmt b/materials/models/weapons/v_models/v_portalgun_p1/v_hands.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_hands.vmt rename to materials/models/weapons/v_models/v_portalgun_p1/v_hands.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_hands.vtf b/materials/models/weapons/v_models/v_portalgun_p1/v_hands.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_hands.vtf rename to materials/models/weapons/v_models/v_portalgun_p1/v_hands.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun.vmt b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun.vmt rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun.vtf b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun.vtf rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vmt b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vmt rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vtf b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vtf rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun2.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_exponent.vtf b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_exponent.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_exponent.vtf rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_exponent.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vmt b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vmt rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vtf b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vtf rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_glass.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_lightwarp.vtf b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_lightwarp.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_lightwarp.vtf rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_lightwarp.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_mask.vtf b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_mask.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_mask.vtf rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_mask.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_normal.vtf b/materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_normal.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_normal.vtf rename to materials/models/weapons/v_models/v_portalgun_p1/v_portalgun_normal.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_hands.vmt b/materials/models/weapons/v_models/v_portalgun_pb/v_hands.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_hands.vmt rename to materials/models/weapons/v_models/v_portalgun_pb/v_hands.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_hands.vtf b/materials/models/weapons/v_models/v_portalgun_pb/v_hands.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_hands.vtf rename to materials/models/weapons/v_models/v_portalgun_pb/v_hands.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_hands_male.vtf b/materials/models/weapons/v_models/v_portalgun_pb/v_hands_male.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_hands_male.vtf rename to materials/models/weapons/v_models/v_portalgun_pb/v_hands_male.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun.vmt b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun.vmt rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun.vtf b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun.vtf rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_exponent.vtf b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_exponent.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_exponent.vtf rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_exponent.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vmt b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vmt rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vtf b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vtf rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_glass.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_hole.vmt b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_hole.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_hole.vmt rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_hole.vmt diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_lightwarp.vtf b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_lightwarp.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_lightwarp.vtf rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_lightwarp.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_mask.vtf b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_mask.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_mask.vtf rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_mask.vtf diff --git a/Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_normal.vtf b/materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_normal.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_normal.vtf rename to materials/models/weapons/v_models/v_portalgun_pb/v_portalgun_normal.vtf diff --git a/Portal Gun/Materials/models/weapons/v_portalgun.vtf b/materials/models/weapons/v_portalgun.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/v_portalgun.vtf rename to materials/models/weapons/v_portalgun.vtf diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun.vmt b/materials/models/weapons/w_models/portalgun/w_portalgun.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun.vmt rename to materials/models/weapons/w_models/portalgun/w_portalgun.vmt diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun.vtf b/materials/models/weapons/w_models/portalgun/w_portalgun.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun.vtf rename to materials/models/weapons/w_models/portalgun/w_portalgun.vtf diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_blue.vmt b/materials/models/weapons/w_models/portalgun/w_portalgun_blue.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_blue.vmt rename to materials/models/weapons/w_models/portalgun/w_portalgun_blue.vmt diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_blue.vtf b/materials/models/weapons/w_models/portalgun/w_portalgun_blue.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_blue.vtf rename to materials/models/weapons/w_models/portalgun/w_portalgun_blue.vtf diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_exponent.vtf b/materials/models/weapons/w_models/portalgun/w_portalgun_exponent.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_exponent.vtf rename to materials/models/weapons/w_models/portalgun/w_portalgun_exponent.vtf diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_lightwarp.vtf b/materials/models/weapons/w_models/portalgun/w_portalgun_lightwarp.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_lightwarp.vtf rename to materials/models/weapons/w_models/portalgun/w_portalgun_lightwarp.vtf diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_normal.vtf b/materials/models/weapons/w_models/portalgun/w_portalgun_normal.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_normal.vtf rename to materials/models/weapons/w_models/portalgun/w_portalgun_normal.vtf diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_orange.vmt b/materials/models/weapons/w_models/portalgun/w_portalgun_orange.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_orange.vmt rename to materials/models/weapons/w_models/portalgun/w_portalgun_orange.vmt diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_orange.vtf b/materials/models/weapons/w_models/portalgun/w_portalgun_orange.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/w_portalgun_orange.vtf rename to materials/models/weapons/w_models/portalgun/w_portalgun_orange.vtf diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/wportalgun_potatos.vmt b/materials/models/weapons/w_models/portalgun/wportalgun_potatos.vmt similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/wportalgun_potatos.vmt rename to materials/models/weapons/w_models/portalgun/wportalgun_potatos.vmt diff --git a/Portal Gun/Materials/models/weapons/w_models/portalgun/wportalgun_potatos.vtf b/materials/models/weapons/w_models/portalgun/wportalgun_potatos.vtf similarity index 100% rename from Portal Gun/Materials/models/weapons/w_models/portalgun/wportalgun_potatos.vtf rename to materials/models/weapons/w_models/portalgun/wportalgun_potatos.vtf diff --git a/Portal Gun/Materials/particle/particle_glow_05.vtf b/materials/particle/particle_glow_05.vtf similarity index 100% rename from Portal Gun/Materials/particle/particle_glow_05.vtf rename to materials/particle/particle_glow_05.vtf diff --git a/Portal Gun/Materials/particle/particle_glow_05_add_15ob.vmt b/materials/particle/particle_glow_05_add_15ob.vmt similarity index 100% rename from Portal Gun/Materials/particle/particle_glow_05_add_15ob.vmt rename to materials/particle/particle_glow_05_add_15ob.vmt diff --git a/Portal Gun/Materials/particle/particle_glow_05_add_15ob_noz.vmt b/materials/particle/particle_glow_05_add_15ob_noz.vmt similarity index 100% rename from Portal Gun/Materials/particle/particle_glow_05_add_15ob_noz.vmt rename to materials/particle/particle_glow_05_add_15ob_noz.vmt diff --git a/Portal Gun/Materials/particle/particle_ring_pulled.vtf b/materials/particle/particle_ring_pulled.vtf similarity index 100% rename from Portal Gun/Materials/particle/particle_ring_pulled.vtf rename to materials/particle/particle_ring_pulled.vtf diff --git a/Portal Gun/Materials/particle/particle_ring_pulled_add_oriented.vmt b/materials/particle/particle_ring_pulled_add_oriented.vmt similarity index 100% rename from Portal Gun/Materials/particle/particle_ring_pulled_add_oriented.vmt rename to materials/particle/particle_ring_pulled_add_oriented.vmt diff --git a/Portal Gun/Materials/sprites/betalight.vmt b/materials/sprites/betalight.vmt similarity index 100% rename from Portal Gun/Materials/sprites/betalight.vmt rename to materials/sprites/betalight.vmt diff --git a/Portal Gun/Materials/sprites/betalight.vtf b/materials/sprites/betalight.vtf similarity index 100% rename from Portal Gun/Materials/sprites/betalight.vtf rename to materials/sprites/betalight.vtf diff --git a/Portal Gun/Materials/sprites/blborder.vmt b/materials/sprites/blborder.vmt similarity index 100% rename from Portal Gun/Materials/sprites/blborder.vmt rename to materials/sprites/blborder.vmt diff --git a/Portal Gun/Materials/sprites/blborder.vtf b/materials/sprites/blborder.vtf similarity index 100% rename from Portal Gun/Materials/sprites/blborder.vtf rename to materials/sprites/blborder.vtf diff --git a/Portal Gun/Materials/sprites/blueborder.vmt b/materials/sprites/blueborder.vmt similarity index 100% rename from Portal Gun/Materials/sprites/blueborder.vmt rename to materials/sprites/blueborder.vmt diff --git a/Portal Gun/Materials/sprites/blueborder.vtf b/materials/sprites/blueborder.vtf similarity index 100% rename from Portal Gun/Materials/sprites/blueborder.vtf rename to materials/sprites/blueborder.vtf diff --git a/Portal Gun/Materials/sprites/bluelight.vmt b/materials/sprites/bluelight.vmt similarity index 100% rename from Portal Gun/Materials/sprites/bluelight.vmt rename to materials/sprites/bluelight.vmt diff --git a/Portal Gun/Materials/sprites/bluelight.vtf b/materials/sprites/bluelight.vtf similarity index 100% rename from Portal Gun/Materials/sprites/bluelight.vtf rename to materials/sprites/bluelight.vtf diff --git a/Portal Gun/Materials/sprites/bluenodraw.png b/materials/sprites/bluenodraw.png similarity index 100% rename from Portal Gun/Materials/sprites/bluenodraw.png rename to materials/sprites/bluenodraw.png diff --git a/Portal Gun/Materials/sprites/grav_beam.vmt b/materials/sprites/grav_beam.vmt similarity index 100% rename from Portal Gun/Materials/sprites/grav_beam.vmt rename to materials/sprites/grav_beam.vmt diff --git a/Portal Gun/Materials/sprites/grav_beam.vtf b/materials/sprites/grav_beam.vtf similarity index 100% rename from Portal Gun/Materials/sprites/grav_beam.vtf rename to materials/sprites/grav_beam.vtf diff --git a/Portal Gun/Materials/sprites/grav_beam_noz.vmt b/materials/sprites/grav_beam_noz.vmt similarity index 100% rename from Portal Gun/Materials/sprites/grav_beam_noz.vmt rename to materials/sprites/grav_beam_noz.vmt diff --git a/Portal Gun/Materials/sprites/grav_flare.vmt b/materials/sprites/grav_flare.vmt similarity index 100% rename from Portal Gun/Materials/sprites/grav_flare.vmt rename to materials/sprites/grav_flare.vmt diff --git a/Portal Gun/Materials/sprites/grav_flare.vtf b/materials/sprites/grav_flare.vtf similarity index 100% rename from Portal Gun/Materials/sprites/grav_flare.vtf rename to materials/sprites/grav_flare.vtf diff --git a/Portal Gun/Materials/sprites/grav_light.vmt b/materials/sprites/grav_light.vmt similarity index 100% rename from Portal Gun/Materials/sprites/grav_light.vmt rename to materials/sprites/grav_light.vmt diff --git a/Portal Gun/Materials/sprites/n0blue.vmt b/materials/sprites/n0blue.vmt similarity index 100% rename from Portal Gun/Materials/sprites/n0blue.vmt rename to materials/sprites/n0blue.vmt diff --git a/Portal Gun/Materials/sprites/n0blue.vtf b/materials/sprites/n0blue.vtf similarity index 100% rename from Portal Gun/Materials/sprites/n0blue.vtf rename to materials/sprites/n0blue.vtf diff --git a/Portal Gun/Materials/sprites/n0red.vmt b/materials/sprites/n0red.vmt similarity index 100% rename from Portal Gun/Materials/sprites/n0red.vmt rename to materials/sprites/n0red.vmt diff --git a/Portal Gun/Materials/sprites/n0red.vtf b/materials/sprites/n0red.vtf similarity index 100% rename from Portal Gun/Materials/sprites/n0red.vtf rename to materials/sprites/n0red.vtf diff --git a/Portal Gun/Materials/sprites/noblue.vmt b/materials/sprites/noblue.vmt similarity index 100% rename from Portal Gun/Materials/sprites/noblue.vmt rename to materials/sprites/noblue.vmt diff --git a/Portal Gun/Materials/sprites/noblue.vtf b/materials/sprites/noblue.vtf similarity index 100% rename from Portal Gun/Materials/sprites/noblue.vtf rename to materials/sprites/noblue.vtf diff --git a/Portal Gun/Materials/sprites/nored.vmt b/materials/sprites/nored.vmt similarity index 100% rename from Portal Gun/Materials/sprites/nored.vmt rename to materials/sprites/nored.vmt diff --git a/Portal Gun/Materials/sprites/nored.vtf b/materials/sprites/nored.vtf similarity index 100% rename from Portal Gun/Materials/sprites/nored.vtf rename to materials/sprites/nored.vtf diff --git a/Portal Gun/Materials/sprites/ogborder.vmt b/materials/sprites/ogborder.vmt similarity index 100% rename from Portal Gun/Materials/sprites/ogborder.vmt rename to materials/sprites/ogborder.vmt diff --git a/Portal Gun/Materials/sprites/ogborder.vtf b/materials/sprites/ogborder.vtf similarity index 100% rename from Portal Gun/Materials/sprites/ogborder.vtf rename to materials/sprites/ogborder.vtf diff --git a/Portal Gun/Materials/sprites/orangelight.vmt b/materials/sprites/orangelight.vmt similarity index 100% rename from Portal Gun/Materials/sprites/orangelight.vmt rename to materials/sprites/orangelight.vmt diff --git a/Portal Gun/Materials/sprites/orangelight.vtf b/materials/sprites/orangelight.vtf similarity index 100% rename from Portal Gun/Materials/sprites/orangelight.vtf rename to materials/sprites/orangelight.vtf diff --git a/Portal Gun/Materials/sprites/orangelight1_noz.vmt b/materials/sprites/orangelight1_noz.vmt similarity index 100% rename from Portal Gun/Materials/sprites/orangelight1_noz.vmt rename to materials/sprites/orangelight1_noz.vmt diff --git a/Portal Gun/Materials/sprites/orangenodraw.png b/materials/sprites/orangenodraw.png similarity index 100% rename from Portal Gun/Materials/sprites/orangenodraw.png rename to materials/sprites/orangenodraw.png diff --git a/Portal Gun/Materials/sprites/portalgun_effects.vmt b/materials/sprites/portalgun_effects.vmt similarity index 100% rename from Portal Gun/Materials/sprites/portalgun_effects.vmt rename to materials/sprites/portalgun_effects.vmt diff --git a/Portal Gun/Materials/sprites/portalgun_effects.vtf b/materials/sprites/portalgun_effects.vtf similarity index 100% rename from Portal Gun/Materials/sprites/portalgun_effects.vtf rename to materials/sprites/portalgun_effects.vtf diff --git a/Portal Gun/Materials/sprites/portalgun_light.vmt b/materials/sprites/portalgun_light.vmt similarity index 100% rename from Portal Gun/Materials/sprites/portalgun_light.vmt rename to materials/sprites/portalgun_light.vmt diff --git a/Portal Gun/Materials/sprites/portalgun_light.vtf b/materials/sprites/portalgun_light.vtf similarity index 100% rename from Portal Gun/Materials/sprites/portalgun_light.vtf rename to materials/sprites/portalgun_light.vtf diff --git a/Portal Gun/Materials/sprites/portalgunsprites/grav_beam.png b/materials/sprites/portalgunsprites/grav_beam.png similarity index 100% rename from Portal Gun/Materials/sprites/portalgunsprites/grav_beam.png rename to materials/sprites/portalgunsprites/grav_beam.png diff --git a/Portal Gun/Materials/sprites/portalgunsprites/grav_flare.vmt b/materials/sprites/portalgunsprites/grav_flare.vmt similarity index 100% rename from Portal Gun/Materials/sprites/portalgunsprites/grav_flare.vmt rename to materials/sprites/portalgunsprites/grav_flare.vmt diff --git a/Portal Gun/Materials/sprites/portalgunsprites/grav_flare.vtf b/materials/sprites/portalgunsprites/grav_flare.vtf similarity index 100% rename from Portal Gun/Materials/sprites/portalgunsprites/grav_flare.vtf rename to materials/sprites/portalgunsprites/grav_flare.vtf diff --git a/Portal Gun/Materials/sprites/redborder.vmt b/materials/sprites/redborder.vmt similarity index 100% rename from Portal Gun/Materials/sprites/redborder.vmt rename to materials/sprites/redborder.vmt diff --git a/Portal Gun/Materials/sprites/redborder.vtf b/materials/sprites/redborder.vtf similarity index 100% rename from Portal Gun/Materials/sprites/redborder.vtf rename to materials/sprites/redborder.vtf diff --git a/Portal Gun/Materials/sprites/refract_blue.vmt b/materials/sprites/refract_blue.vmt similarity index 100% rename from Portal Gun/Materials/sprites/refract_blue.vmt rename to materials/sprites/refract_blue.vmt diff --git a/Portal Gun/Materials/sprites/refract_orange.vmt b/materials/sprites/refract_orange.vmt similarity index 100% rename from Portal Gun/Materials/sprites/refract_orange.vmt rename to materials/sprites/refract_orange.vmt diff --git a/Portal Gun/Materials/vgui/entities/weapon_portalgun.vmt b/materials/vgui/entities/weapon_portalgun.vmt similarity index 100% rename from Portal Gun/Materials/vgui/entities/weapon_portalgun.vmt rename to materials/vgui/entities/weapon_portalgun.vmt diff --git a/Portal Gun/Materials/vgui/entities/weapon_portalgun.vtf b/materials/vgui/entities/weapon_portalgun.vtf similarity index 100% rename from Portal Gun/Materials/vgui/entities/weapon_portalgun.vtf rename to materials/vgui/entities/weapon_portalgun.vtf diff --git a/Portal Gun/Materials/vgui/portalgun/lastfired.png b/materials/vgui/portalgun/lastfired.png similarity index 100% rename from Portal Gun/Materials/vgui/portalgun/lastfired.png rename to materials/vgui/portalgun/lastfired.png diff --git a/Portal Gun/Materials/vgui/portalgun/leftempty.png b/materials/vgui/portalgun/leftempty.png similarity index 100% rename from Portal Gun/Materials/vgui/portalgun/leftempty.png rename to materials/vgui/portalgun/leftempty.png diff --git a/Portal Gun/Materials/vgui/portalgun/leftfull.png b/materials/vgui/portalgun/leftfull.png similarity index 100% rename from Portal Gun/Materials/vgui/portalgun/leftfull.png rename to materials/vgui/portalgun/leftfull.png diff --git a/Portal Gun/Materials/vgui/portalgun/rightempty.png b/materials/vgui/portalgun/rightempty.png similarity index 100% rename from Portal Gun/Materials/vgui/portalgun/rightempty.png rename to materials/vgui/portalgun/rightempty.png diff --git a/Portal Gun/Materials/vgui/portalgun/rightfull.png b/materials/vgui/portalgun/rightfull.png similarity index 100% rename from Portal Gun/Materials/vgui/portalgun/rightfull.png rename to materials/vgui/portalgun/rightfull.png diff --git a/Portal Gun/Materials/weapons/portalgun_inventory.vmt b/materials/weapons/portalgun_inventory.vmt similarity index 100% rename from Portal Gun/Materials/weapons/portalgun_inventory.vmt rename to materials/weapons/portalgun_inventory.vmt diff --git a/Portal Gun/Materials/weapons/portalgun_inventory.vtf b/materials/weapons/portalgun_inventory.vtf similarity index 100% rename from Portal Gun/Materials/weapons/portalgun_inventory.vtf rename to materials/weapons/portalgun_inventory.vtf diff --git a/Portal Gun/Models/blackops/portal.dx80.vtx b/models/blackops/portal.dx80.vtx similarity index 100% rename from Portal Gun/Models/blackops/portal.dx80.vtx rename to models/blackops/portal.dx80.vtx diff --git a/Portal Gun/Models/blackops/portal.dx90.vtx b/models/blackops/portal.dx90.vtx similarity index 100% rename from Portal Gun/Models/blackops/portal.dx90.vtx rename to models/blackops/portal.dx90.vtx diff --git a/Portal Gun/Models/blackops/portal.mdl b/models/blackops/portal.mdl similarity index 100% rename from Portal Gun/Models/blackops/portal.mdl rename to models/blackops/portal.mdl diff --git a/Portal Gun/Models/blackops/portal.phy b/models/blackops/portal.phy similarity index 100% rename from Portal Gun/Models/blackops/portal.phy rename to models/blackops/portal.phy diff --git a/Portal Gun/Models/blackops/portal.sw.vtx b/models/blackops/portal.sw.vtx similarity index 100% rename from Portal Gun/Models/blackops/portal.sw.vtx rename to models/blackops/portal.sw.vtx diff --git a/Portal Gun/Models/blackops/portal.vvd b/models/blackops/portal.vvd similarity index 100% rename from Portal Gun/Models/blackops/portal.vvd rename to models/blackops/portal.vvd diff --git a/Portal Gun/Models/blackops/portal_sides.dx80.vtx b/models/blackops/portal_sides.dx80.vtx similarity index 100% rename from Portal Gun/Models/blackops/portal_sides.dx80.vtx rename to models/blackops/portal_sides.dx80.vtx diff --git a/Portal Gun/Models/blackops/portal_sides.dx90.vtx b/models/blackops/portal_sides.dx90.vtx similarity index 100% rename from Portal Gun/Models/blackops/portal_sides.dx90.vtx rename to models/blackops/portal_sides.dx90.vtx diff --git a/Portal Gun/Models/blackops/portal_sides.mdl b/models/blackops/portal_sides.mdl similarity index 100% rename from Portal Gun/Models/blackops/portal_sides.mdl rename to models/blackops/portal_sides.mdl diff --git a/Portal Gun/Models/blackops/portal_sides.phy b/models/blackops/portal_sides.phy similarity index 100% rename from Portal Gun/Models/blackops/portal_sides.phy rename to models/blackops/portal_sides.phy diff --git a/Portal Gun/Models/blackops/portal_sides.sw.vtx b/models/blackops/portal_sides.sw.vtx similarity index 100% rename from Portal Gun/Models/blackops/portal_sides.sw.vtx rename to models/blackops/portal_sides.sw.vtx diff --git a/Portal Gun/Models/blackops/portal_sides.vvd b/models/blackops/portal_sides.vvd similarity index 100% rename from Portal Gun/Models/blackops/portal_sides.vvd rename to models/blackops/portal_sides.vvd diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun.dx80.vtx b/models/weapons/portalgun/v_portalgun.dx80.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun.dx80.vtx rename to models/weapons/portalgun/v_portalgun.dx80.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun.dx90.vtx b/models/weapons/portalgun/v_portalgun.dx90.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun.dx90.vtx rename to models/weapons/portalgun/v_portalgun.dx90.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun.mdl b/models/weapons/portalgun/v_portalgun.mdl similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun.mdl rename to models/weapons/portalgun/v_portalgun.mdl diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun.sw.vtx b/models/weapons/portalgun/v_portalgun.sw.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun.sw.vtx rename to models/weapons/portalgun/v_portalgun.sw.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun.vvd b/models/weapons/portalgun/v_portalgun.vvd similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun.vvd rename to models/weapons/portalgun/v_portalgun.vvd diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_anims.mdl b/models/weapons/portalgun/v_portalgun_anims.mdl similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_anims.mdl rename to models/weapons/portalgun/v_portalgun_anims.mdl diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_def.dx80.vtx b/models/weapons/portalgun/v_portalgun_def.dx80.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_def.dx80.vtx rename to models/weapons/portalgun/v_portalgun_def.dx80.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_def.dx90.vtx b/models/weapons/portalgun/v_portalgun_def.dx90.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_def.dx90.vtx rename to models/weapons/portalgun/v_portalgun_def.dx90.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_def.mdl b/models/weapons/portalgun/v_portalgun_def.mdl similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_def.mdl rename to models/weapons/portalgun/v_portalgun_def.mdl diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_def.sw.vtx b/models/weapons/portalgun/v_portalgun_def.sw.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_def.sw.vtx rename to models/weapons/portalgun/v_portalgun_def.sw.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_def.vvd b/models/weapons/portalgun/v_portalgun_def.vvd similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_def.vvd rename to models/weapons/portalgun/v_portalgun_def.vvd diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_f22.dx80.vtx b/models/weapons/portalgun/v_portalgun_f22.dx80.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_f22.dx80.vtx rename to models/weapons/portalgun/v_portalgun_f22.dx80.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_f22.dx90.vtx b/models/weapons/portalgun/v_portalgun_f22.dx90.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_f22.dx90.vtx rename to models/weapons/portalgun/v_portalgun_f22.dx90.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_f22.mdl b/models/weapons/portalgun/v_portalgun_f22.mdl similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_f22.mdl rename to models/weapons/portalgun/v_portalgun_f22.mdl diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_f22.sw.vtx b/models/weapons/portalgun/v_portalgun_f22.sw.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_f22.sw.vtx rename to models/weapons/portalgun/v_portalgun_f22.sw.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_f22.vvd b/models/weapons/portalgun/v_portalgun_f22.vvd similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_f22.vvd rename to models/weapons/portalgun/v_portalgun_f22.vvd diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_p1.dx80.vtx b/models/weapons/portalgun/v_portalgun_p1.dx80.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_p1.dx80.vtx rename to models/weapons/portalgun/v_portalgun_p1.dx80.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_p1.dx90.vtx b/models/weapons/portalgun/v_portalgun_p1.dx90.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_p1.dx90.vtx rename to models/weapons/portalgun/v_portalgun_p1.dx90.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_p1.mdl b/models/weapons/portalgun/v_portalgun_p1.mdl similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_p1.mdl rename to models/weapons/portalgun/v_portalgun_p1.mdl diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_p1.sw.vtx b/models/weapons/portalgun/v_portalgun_p1.sw.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_p1.sw.vtx rename to models/weapons/portalgun/v_portalgun_p1.sw.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_p1.vvd b/models/weapons/portalgun/v_portalgun_p1.vvd similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_p1.vvd rename to models/weapons/portalgun/v_portalgun_p1.vvd diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_pb.dx80.vtx b/models/weapons/portalgun/v_portalgun_pb.dx80.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_pb.dx80.vtx rename to models/weapons/portalgun/v_portalgun_pb.dx80.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_pb.dx90.vtx b/models/weapons/portalgun/v_portalgun_pb.dx90.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_pb.dx90.vtx rename to models/weapons/portalgun/v_portalgun_pb.dx90.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_pb.mdl b/models/weapons/portalgun/v_portalgun_pb.mdl similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_pb.mdl rename to models/weapons/portalgun/v_portalgun_pb.mdl diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_pb.sw.vtx b/models/weapons/portalgun/v_portalgun_pb.sw.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_pb.sw.vtx rename to models/weapons/portalgun/v_portalgun_pb.sw.vtx diff --git a/Portal Gun/Models/weapons/portalgun/v_portalgun_pb.vvd b/models/weapons/portalgun/v_portalgun_pb.vvd similarity index 100% rename from Portal Gun/Models/weapons/portalgun/v_portalgun_pb.vvd rename to models/weapons/portalgun/v_portalgun_pb.vvd diff --git a/Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.dx80.vtx b/models/weapons/portalgun/w_portalgun_hl2.dx80.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.dx80.vtx rename to models/weapons/portalgun/w_portalgun_hl2.dx80.vtx diff --git a/Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.dx90.vtx b/models/weapons/portalgun/w_portalgun_hl2.dx90.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.dx90.vtx rename to models/weapons/portalgun/w_portalgun_hl2.dx90.vtx diff --git a/Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.mdl b/models/weapons/portalgun/w_portalgun_hl2.mdl similarity index 100% rename from Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.mdl rename to models/weapons/portalgun/w_portalgun_hl2.mdl diff --git a/Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.phy b/models/weapons/portalgun/w_portalgun_hl2.phy similarity index 100% rename from Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.phy rename to models/weapons/portalgun/w_portalgun_hl2.phy diff --git a/Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.sw.vtx b/models/weapons/portalgun/w_portalgun_hl2.sw.vtx similarity index 100% rename from Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.sw.vtx rename to models/weapons/portalgun/w_portalgun_hl2.sw.vtx diff --git a/Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.vvd b/models/weapons/portalgun/w_portalgun_hl2.vvd similarity index 100% rename from Portal Gun/Models/weapons/portalgun/w_portalgun_hl2.vvd rename to models/weapons/portalgun/w_portalgun_hl2.vvd diff --git a/Portal Gun/Particles/cleansers.pcf b/particles/cleansers.pcf similarity index 100% rename from Portal Gun/Particles/cleansers.pcf rename to particles/cleansers.pcf diff --git a/Portal Gun/Particles/particles_manifest.txt b/particles/particles_manifest.txt similarity index 100% rename from Portal Gun/Particles/particles_manifest.txt rename to particles/particles_manifest.txt diff --git a/Portal Gun/Particles/portal_beta_particles.pcf b/particles/portal_beta_particles.pcf similarity index 100% rename from Portal Gun/Particles/portal_beta_particles.pcf rename to particles/portal_beta_particles.pcf diff --git a/Portal Gun/Particles/portal_projectile.pcf b/particles/portal_projectile.pcf similarity index 100% rename from Portal Gun/Particles/portal_projectile.pcf rename to particles/portal_projectile.pcf diff --git a/Portal Gun/Particles/portalgun.pcf b/particles/portalgun.pcf similarity index 100% rename from Portal Gun/Particles/portalgun.pcf rename to particles/portalgun.pcf diff --git a/Portal Gun/Particles/portals.pcf b/particles/portals.pcf similarity index 100% rename from Portal Gun/Particles/portals.pcf rename to particles/portals.pcf diff --git a/Portal Gun/Particles/wip_muzzle.pcf b/particles/wip_muzzle.pcf similarity index 100% rename from Portal Gun/Particles/wip_muzzle.pcf rename to particles/wip_muzzle.pcf diff --git a/README.md b/readme.md similarity index 100% rename from README.md rename to readme.md diff --git a/Portal Gun/Scripts/game_sounds_player_portal.txt b/scripts/game_sounds_player_portal.txt similarity index 100% rename from Portal Gun/Scripts/game_sounds_player_portal.txt rename to scripts/game_sounds_player_portal.txt diff --git a/Portal Gun/Scripts/game_sounds_portal.txt b/scripts/game_sounds_portal.txt similarity index 100% rename from Portal Gun/Scripts/game_sounds_portal.txt rename to scripts/game_sounds_portal.txt diff --git a/Portal Gun/Scripts/game_sounds_weapons_portal.txt b/scripts/game_sounds_weapons_portal.txt similarity index 100% rename from Portal Gun/Scripts/game_sounds_weapons_portal.txt rename to scripts/game_sounds_weapons_portal.txt diff --git a/Portal Gun/Sound/weapons/portalgun/object_use_01.wav b/sound/weapons/portalgun/object_use_01.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/object_use_01.wav rename to sound/weapons/portalgun/object_use_01.wav diff --git a/Portal Gun/Sound/weapons/portalgun/object_use_02.wav b/sound/weapons/portalgun/object_use_02.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/object_use_02.wav rename to sound/weapons/portalgun/object_use_02.wav diff --git a/Portal Gun/Sound/weapons/portalgun/object_use_failure_01.wav b/sound/weapons/portalgun/object_use_failure_01.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/object_use_failure_01.wav rename to sound/weapons/portalgun/object_use_failure_01.wav diff --git a/Portal Gun/Sound/weapons/portalgun/object_use_failure_no_gun_01.wav b/sound/weapons/portalgun/object_use_failure_no_gun_01.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/object_use_failure_no_gun_01.wav rename to sound/weapons/portalgun/object_use_failure_no_gun_01.wav diff --git a/Portal Gun/Sound/weapons/portalgun/object_use_lp_01.wav b/sound/weapons/portalgun/object_use_lp_01.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/object_use_lp_01.wav rename to sound/weapons/portalgun/object_use_lp_01.wav diff --git a/Portal Gun/Sound/weapons/portalgun/object_use_no_gun_01.wav b/sound/weapons/portalgun/object_use_no_gun_01.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/object_use_no_gun_01.wav rename to sound/weapons/portalgun/object_use_no_gun_01.wav diff --git a/Portal Gun/Sound/weapons/portalgun/object_use_stop_01.wav b/sound/weapons/portalgun/object_use_stop_01.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/object_use_stop_01.wav rename to sound/weapons/portalgun/object_use_stop_01.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_ambient_loop1.wav b/sound/weapons/portalgun/portal_ambient_loop1.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_ambient_loop1.wav rename to sound/weapons/portalgun/portal_ambient_loop1.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_close1.wav b/sound/weapons/portalgun/portal_close1.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_close1.wav rename to sound/weapons/portalgun/portal_close1.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_close2.wav b/sound/weapons/portalgun/portal_close2.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_close2.wav rename to sound/weapons/portalgun/portal_close2.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_enter1.wav b/sound/weapons/portalgun/portal_enter1.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_enter1.wav rename to sound/weapons/portalgun/portal_enter1.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_enter2.wav b/sound/weapons/portalgun/portal_enter2.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_enter2.wav rename to sound/weapons/portalgun/portal_enter2.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_exit1.wav b/sound/weapons/portalgun/portal_exit1.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_exit1.wav rename to sound/weapons/portalgun/portal_exit1.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_exit2.wav b/sound/weapons/portalgun/portal_exit2.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_exit2.wav rename to sound/weapons/portalgun/portal_exit2.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_fizzle1.wav b/sound/weapons/portalgun/portal_fizzle1.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_fizzle1.wav rename to sound/weapons/portalgun/portal_fizzle1.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_fizzle2.wav b/sound/weapons/portalgun/portal_fizzle2.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_fizzle2.wav rename to sound/weapons/portalgun/portal_fizzle2.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_invalid_surface3.wav b/sound/weapons/portalgun/portal_invalid_surface3.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_invalid_surface3.wav rename to sound/weapons/portalgun/portal_invalid_surface3.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_open1.wav b/sound/weapons/portalgun/portal_open1.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_open1.wav rename to sound/weapons/portalgun/portal_open1.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portal_open3.wav b/sound/weapons/portalgun/portal_open3.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portal_open3.wav rename to sound/weapons/portalgun/portal_open3.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portalgun_shoot_blue1.wav b/sound/weapons/portalgun/portalgun_shoot_blue1.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portalgun_shoot_blue1.wav rename to sound/weapons/portalgun/portalgun_shoot_blue1.wav diff --git a/Portal Gun/Sound/weapons/portalgun/portalgun_shoot_red1.wav b/sound/weapons/portalgun/portalgun_shoot_red1.wav similarity index 100% rename from Portal Gun/Sound/weapons/portalgun/portalgun_shoot_red1.wav rename to sound/weapons/portalgun/portalgun_shoot_red1.wav From 11af419c792bed7b5ce517a13ed34aec8111fdd3 Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Fri, 5 Nov 2021 13:17:36 +0200 Subject: [PATCH 2/3] Fixed: readme in actual markdown formatting --- readme.md | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index 0b72b92..f74423c 100644 --- a/readme.md +++ b/readme.md @@ -2,11 +2,12 @@ PortalGun ========= Description: ----- -A fully functional and eloquent portal gun addon for Garry's Mod. +A fully functional and eloquent portal gun addon for [Garry's Mod][ref-gmod]. Installation: ------ -Place in your Garry's Mod addons folder. +Place in your [Garry's Mod][ref-gmod] `addons` folder. +You can subscrive to it in the [workshop here][ref-addon]! How To Use: ------ @@ -14,16 +15,31 @@ How To Use: 2. Left/Right-click to shoot portals. 3. Reload to remove all portals. 4. To pick up an item, press E. -5. If your portals don't look right on the other side, you need to enable r_novis. To do this, you need to turn sv_cheats to 1, then turn r_novis to 1. This is done through the console. Google it. + +**Notes: If your portals don't look right on the other +side, you need to enable `r_novis`. To do this, you need to +turn `sv_cheats` to `1`, then turn `r_novis` to `1`. This is +done [through the console][ref-cons]. [Google it][ref-usec].** Credits: ------- -Bobblehead - Making it actually work. -Mahalis - Some code. -Fernando5567 - Much code. -Matsilagi - Models/effects -Dr. Awesome - Swirly beta portal materials + * [Bobblehead][ref-bobblehead] - Making it actually work. + * [Mahalis][ref-mahalis] - Some code. + * [Fernando5567][ref-fernando5567] - Much code. + * [Matsilagi][ref-matsilagi] - Models/effects + * [Dr. Awesome][ref-dr-awesome] - Swirly beta portal materials Other: ------ Also works in Trouble in Terrorist Town as a traitor and detective weapon! + +[ref-gmod]: https://store.steampowered.com/app/4000/Garrys_Mod/ +[ref-cons]: https://developer.valvesoftware.com/wiki/Developer_Console +[ref-usec]: https://www.google.com/search?q=How+to+use+valve+developer+console&client=firefox-b-d&sxsrf=AOaemvLixnVd6AyFu1IaBg2r7Py1yjjjpg%3A1636110386393&ei=MhCFYfGkF-fO7_UPwaaU6AM&oq=How+to+use+valve+developer+console&gs_lcp=Cgdnd3Mtd2l6EAMyBwghEAoQoAE6BwgAEEcQsAM6BAgjECc6BQgAEJECOgQIABBDOgsILhCABBDHARCjAjoFCAAQgAQ6BQguEIAEOgoIABCABBCHAhAUOggIIRAWEB0QHjoGCAAQFhAeOgUIIRCgAToECCEQFUoFCDwSATFKBAhBGABQlwZY4lhgxFloAXACeACAAeQCiAGrH5IBCDguMjQuMC4xmAEAoAEByAEIwAEB&sclient=gws-wiz&ved=0ahUKEwjxhZOTioH0AhVn57sIHUETBT0Q4dUDCA0&uact=5 +[ref-bobblehead]: https://steamcommunity.com/id/bobbleheadbob +[ref-mahalis]: https://steamcommunity.com/id/mahalis +[ref-fernando5567]: https://github.com/Luabee/PortalGun +[ref-matsilagi]: https://steamcommunity.com/id/matsilagi2 +[ref-dr-awesome]: https://steamcommunity.com/id/DoctorKnow +[ref-addon]: https://steamcommunity.com/sharedfiles/filedetails/?id=336509414 + From 6d4d3a67ce8aac39b12c642fcfb735b4c2625138 Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Fri, 5 Nov 2021 13:24:37 +0200 Subject: [PATCH 3/3] Fixed: Attempting to index `PortalClone` a nil value --- lua/autorun/portalmove.lua | 113 +++++---- lua/entities/prop_portal/cl_init.lua | 366 +++++++++++++-------------- lua/entities/prop_portal/init.lua | 228 +++++++++-------- 3 files changed, 356 insertions(+), 351 deletions(-) diff --git a/lua/autorun/portalmove.lua b/lua/autorun/portalmove.lua index 058c581..9799405 100644 --- a/lua/autorun/portalmove.lua +++ b/lua/autorun/portalmove.lua @@ -1,17 +1,17 @@ if( SERVER ) then - AddCSLuaFile( "portalmove.lua" ); + AddCSLuaFile( "portalmove.lua" ); end local lastfootstep = 1 local lastfoot = 0 local function PlayFootstep(ply,level,pitch,volume) - + local sound = math.random(1,4) while sound == lastfootstep do sound = math.random(1,4) - end + end lastfoot = lastfoot == 0 and 1 or 0 - + local filter = SERVER and RecipientFilter():AddPVS(ply:GetPos()) or nil if GAMEMODE:PlayerFootstep( ply, pos, lastfoot, "player/footsteps/concrete"..sound..".wav", .6, filter ) then return end @@ -19,15 +19,15 @@ local function PlayFootstep(ply,level,pitch,volume) end if( CLIENT ) then - + /*------------------------------------ CreateMove() ------------------------------------*/ local function CreateMove( cmd ) - + local pl = LocalPlayer(); if( IsValid( pl ) ) then - + if( pl.InPortal and pl.InPortal:IsValid() and pl:GetMoveType() == MOVETYPE_NOCLIP) then -- local localOrigin = pl.InPortal:WorldToLocal(pl:GetPos()) local right = 0; @@ -36,7 +36,7 @@ if( CLIENT ) then if pl:Crouching() then maxspeed = pl:GetCrouchedWalkSpeed()*180 end - + // forward/back if( cmd:KeyDown( IN_FORWARD ) ) then forward = forward + maxspeed; @@ -44,7 +44,7 @@ if( CLIENT ) then if( cmd:KeyDown( IN_BACK ) ) then forward = forward - maxspeed; end - + // left/right if( cmd:KeyDown( IN_MOVERIGHT ) ) then right = right + maxspeed; @@ -52,7 +52,7 @@ if( CLIENT ) then if( cmd:KeyDown( IN_MOVELEFT ) ) then right = right - maxspeed; end - + if cmd:KeyDown(IN_JUMP) then if pl.m_bSpacebarReleased and pl.InPortal:IsHorizontal() then pl.m_bSpacebarReleased = false @@ -63,26 +63,26 @@ if( CLIENT ) then else pl.m_bSpacebarReleased = true end - + cmd:SetForwardMove( forward ); cmd:SetSideMove( right ); end - + end - + end hook.Add( "CreateMove", "Noclip.CreateMove", CreateMove ); end local function SubAxis( v, x ) - return v - ( v:Dot( x ) * x ) + return v - ( v:Dot( x ) * x ) end local function IsInFront( posA, posB, normal ) - local Vec1 = ( posB - posA ):GetNormalized() + local Vec1 = ( posB - posA ):GetNormalized() - return ( normal:Dot( Vec1 ) < 0 ) + return ( normal:Dot( Vec1 ) < 0 ) -- return true end @@ -102,41 +102,41 @@ function ipMove( ply, mv ) -- ply:EmitSound("player/portal_exit".. portal.PortalType ..".wav",80,100 + (30 * (mv:GetVelocity():Length() - 100)/1000)) -- return false -- end - + local deltaTime = FrameTime() local curTime = CurTime() - + local noclipSpeed = 1.75 local noclipAccelerate = 5 - + local pos = mv:GetOrigin() local pOrg = portal:GetPos() - + if portal:OnFloor() then pOrg = pOrg - Vector(0,0,20) end local pAng = portal:GetAngles() - + // calculate acceleration for this frame. local ang = mv:GetMoveAngles() - local acceleration = ( ang:Right() * mv:GetSideSpeed() ) + local acceleration = ( ang:Right() * mv:GetSideSpeed() ) local forward = (ang + Angle(0,90,0)):Right() acceleration = acceleration + forward*mv:GetForwardSpeed() - + -- acceleration.z = 0 - + // clamp to our max speed, and take into account noclip speed local accelSpeed = math.min( acceleration:Length2D(), ply:GetMaxSpeed() ); local accelDir = acceleration:GetNormal() acceleration = accelDir * accelSpeed * noclipSpeed - + if (accelSpeed > 0) and (pos.z <= pOrg.z-55) then if curTime>nextFootStepTime then nextFootStepTime = curTime + .4 PlayFootstep(ply,50,100,.4) end end - + //TODO: Gonna calculate these at some point. -- local plyHeight = 72 --Player height -- local bot, top = pOrg - pAng:Up()*55, pOrg + pAng:Up()*55 --bottom and top points of the portal @@ -145,7 +145,7 @@ function ipMove( ply, mv ) -- local minZ, maxZ = -(portHeight/2), -(portHeight/2) + gap -- print(portHeight) -- print(minZ,maxZ) - + //Add gravity. local gravity = Vector(0,0,0) local g = GetConVarNumber("sv_gravity") @@ -156,31 +156,31 @@ function ipMove( ply, mv ) else gravity.z = -g end - - + + // calculate final velocity with friction local getvel = mv:GetVelocity() local newVelocity = getvel + acceleration * deltaTime * noclipAccelerate; newVelocity = newVelocity + (gravity * deltaTime) - newVelocity.z = math.max(newVelocity.z, -3000) --Clamp that fall speed. + newVelocity.z = math.max(newVelocity.z, -3000) --Clamp that fall speed. newVelocity.z = newVelocity.z * .9999 --Correct incrementing zvelocity newVelocity.x = newVelocity.x * ( 0.98 - deltaTime * 5 ) newVelocity.y = newVelocity.y * ( 0.98 - deltaTime * 5 ) - + if mv:KeyDown(IN_JUMP) then if ply.m_bSpacebarReleased and portal:IsHorizontal() then ply.m_bSpacebarReleased = false if portal:WorldToLocal( pos ).z <= -54 then newVelocity.z = ply:GetJumpPower() GAMEMODE:DoAnimationEvent(ply,PLAYERANIMEVENT_JUMP) - + PlayFootstep(ply,40,100,.6) end end else ply.m_bSpacebarReleased = true end - + local frontDist if portal:IsHorizontal() then --Fix diagonal portal with OBB detection. local OBBPos = util.ClosestPointInOBB(pOrg,ply:OBBMins(),ply:OBBMaxs(),ply:GetPos(),false) @@ -188,9 +188,9 @@ function ipMove( ply, mv ) else frontDist = math.min(pos:PlaneDistance(pOrg,pAng:Forward()), ply:GetHeadPos():PlaneDistance(pOrg,pAng:Forward())) end - + local localOrigin = portal:WorldToLocal( pos + newVelocity * deltaTime ) --Apply movement, localize before clamping. - + local minY,maxY,minZ,maxZ if portal:IsHorizontal() then minY = -20 @@ -203,28 +203,29 @@ function ipMove( ply, mv ) minZ = -44 maxZ = 44 end - + if frontDist < 16 then -- if frontDist < 25.29 then localOrigin.z = math.Clamp(localOrigin.z,minZ,maxZ) localOrigin.y = math.Clamp(localOrigin.y,minY,maxY) else - - ply.PortalClone:Remove() + if IsValid(ply.PortalClone) then + ply.PortalClone:Remove() + end ply.PortalClone = nil ply.InPortal = nil ply:SetMoveType(MOVETYPE_WALK) -- ply:EmitSound("player/portal_exit".. portal.PortalType ..".wav",80,100 + (30 * (newVelocity:Length() - 100)/1000)) end - + local newOrigin = portal:LocalToWorld(localOrigin) // Apply our velocity change mv:SetVelocity( newVelocity ) - + //Move the player by the velocity. mv:SetOrigin( newOrigin ) - + return true; end end @@ -236,9 +237,9 @@ function vec:PlaneDistance(plane,normal) end function math.YawBetweenPoints(a,b) - local xDiff = a.x - b.x; - local yDiff = a.y - b.y; - return math.atan2(yDiff, xDiff) * (180 / math.pi) + local xDiff = a.x - b.x; + local yDiff = a.y - b.y; + return math.atan2(yDiff, xDiff) * (180 / math.pi) end // Returns the distance between a point and an OBB, defined by mins and maxs. @@ -257,10 +258,10 @@ function util.ClosestPointInOBB(point,mins,maxs,center,Debug) else radius= 16/abs_sin_angle; end - + radius = math.min(radius,math.Distance(center.x,center.y,point.x,point.y)) local x,y = math.cos(yaw)*radius, math.sin(yaw)*radius - + if Debug then if not CLIENT then umsg.Start("drawOBB") @@ -276,12 +277,12 @@ function util.ClosestPointInOBB(point,mins,maxs,center,Debug) debugoverlay.Cross(point,5,1,Color(30,200,30,255)) end end - - + + return Vector(x,y,0) + center - + end --- local lastStep = CurTime() +-- local lastStep = CurTime() -- hook.Add("PlayerFootstep", "Debug", function(ply,pos,foot,sound,volume,filter) -- local delay = CurTime()-lastStep -- lastStep = CurTime() @@ -304,14 +305,14 @@ end if SERVER then hook.Add("DoPlayerDeath", "Remove Portals On Death", function(victim) local blueportal = victim:GetNWEntity( "Portal:Blue" ) - local orangeportal = victim:GetNWEntity( "Portal:Orange" ) - - for k,v in ipairs( ents.FindByClass( "prop_portal" ) ) do - + local orangeportal = victim:GetNWEntity( "Portal:Orange" ) + + for k,v in ipairs( ents.FindByClass( "prop_portal" ) ) do + if v == blueportal or v == orangeportal and v.CleanMeUp then v:CleanMeUp() end - - end + + end end) end \ No newline at end of file diff --git a/lua/entities/prop_portal/cl_init.lua b/lua/entities/prop_portal/cl_init.lua index 3482b30..c9996cd 100644 --- a/lua/entities/prop_portal/cl_init.lua +++ b/lua/entities/prop_portal/cl_init.lua @@ -11,19 +11,19 @@ local texFSB2 = render.GetSuperFPTex2() -- Make our own material to use, so we aren't messing with other effects. local PortalMaterial = CreateMaterial( - "PortalMaterial", - "UnlitGeneric", - -- "GMODScreenspace", - { - [ '$basetexture' ] = texFSB, - [ '$model' ] = "1", - -- [ '$basetexturetransform' ] = "center .5 .5 scale 1 1 rotate 0 translate 0 0", - [ '$alphatest' ] = "0", - [ '$additive' ] = "0", - [ '$translucent' ] = "0", - [ '$ignorez' ] = "0" - } - ) + "PortalMaterial", + "UnlitGeneric", + -- "GMODScreenspace", + { + [ '$basetexture' ] = texFSB, + [ '$model' ] = "1", + -- [ '$basetexturetransform' ] = "center .5 .5 scale 1 1 rotate 0 translate 0 0", + [ '$alphatest' ] = "0", + [ '$additive' ] = "0", + [ '$translucent' ] = "0", + [ '$ignorez' ] = "0" + } + ) if CLIENT then game.AddParticles("particles/portal_projectile.pcf") @@ -37,13 +37,13 @@ end ENT.RenderGroup = RENDERGROUP_BOTH /*------------------------------------ - Initialize() + Initialize() ------------------------------------*/ function ENT:Initialize( ) - self:SetRenderBounds( self:OBBMins()*20, self:OBBMaxs()*20 ) - - self.openpercent = 0 + self:SetRenderBounds( self:OBBMins()*20, self:OBBMaxs()*20 ) + + self.openpercent = 0 self:SetRenderMode(RENDERMODE_TRANSALPHA) @@ -55,15 +55,15 @@ function ENT:Initialize( ) -- self:SetRenderClipPlaneEnabled( true ) -- self:SetRenderClipPlane( self:GetForward(), 5 ) - + end usermessage.Hook("Portal:Moved", function(umsg) - local ent = umsg:ReadEntity() + local ent = umsg:ReadEntity() local pos = umsg:ReadVector() local ang = umsg:ReadAngle() - if ent and ent:IsValid() and ent.openpercent then - ent.openpercent = 0 + if ent and ent:IsValid() and ent.openpercent then + ent.openpercent = 0 ent:SetAngles(ang) if ent:OnFloor() then @@ -72,50 +72,50 @@ usermessage.Hook("Portal:Moved", function(umsg) ent:SetRenderOrigin(pos) end -- ent:SetRenderClipPlane( ent:GetForward(), 5 ) - end + end end) --I think this is from sassilization.. local function IsInFront( posA, posB, normal ) - local Vec1 = ( posB - posA ):GetNormalized() + local Vec1 = ( posB - posA ):GetNormalized() - return ( normal:Dot( Vec1 ) < 0 ) + return ( normal:Dot( Vec1 ) < 0 ) -- return true end function ENT:Think() - if self:GetNWBool("Potal:Activated",false) == false then return end - - self.openpercent = math.Approach( self.openpercent, 1, FrameTime() * 3 * ( 1 - self.openpercent + 0.1 ) ) - - if dlightenabled:GetBool() == false then return end - - local portaltype = self:GetNWInt("Potal:PortalType",TYPE_BLUE) - - local glowcolor = Color( 64, 144, 255, 255 ) - - if portaltype == TYPE_ORANGE then - glowcolor = Color( 255, 160, 32, 255 ) - end - - --[[if lightteleport:GetBool() then - - local portal = self:GetNWEntity( "Potal:Other", nil ) - - if IsValid( portal ) then - - glowvec = render.GetLightColor( portal:GetPos() ) * 255 - glowcolor = Color( glowvec.x, glowvec.y, glowvec.z ) - - end - - end]] - -- if AvgFPS() > 60 then - local dlight = DynamicLight( self:EntIndex() ) - if dlight then + if self:GetNWBool("Potal:Activated",false) == false then return end + + self.openpercent = math.Approach( self.openpercent, 1, FrameTime() * 3 * ( 1 - self.openpercent + 0.1 ) ) + + if dlightenabled:GetBool() == false then return end + + local portaltype = self:GetNWInt("Potal:PortalType",TYPE_BLUE) + + local glowcolor = Color( 64, 144, 255, 255 ) + + if portaltype == TYPE_ORANGE then + glowcolor = Color( 255, 160, 32, 255 ) + end + + --[[if lightteleport:GetBool() then + + local portal = self:GetNWEntity( "Potal:Other", nil ) + + if IsValid( portal ) then + + glowvec = render.GetLightColor( portal:GetPos() ) * 255 + glowcolor = Color( glowvec.x, glowvec.y, glowvec.z ) + + end + + end]] + -- if AvgFPS() > 60 then + local dlight = DynamicLight( self:EntIndex() ) + if dlight then local col = glowcolor dlight.Pos = self:GetRenderOrigin() + self:GetAngles():Forward() dlight.r = col.r @@ -126,7 +126,7 @@ function ENT:Think() dlight.Size = self.openpercent * 256 dlight.DieTime = CurTime() + .9 dlight.Style = 5 - end + end -- end end @@ -143,95 +143,95 @@ local orangebetarefract = surface.GetTextureID( "sprites/refract_orange" ) function ENT:DrawPortalEffects( portaltype ) - local ang = self:GetAngles() - - local res = 0.1 - - local percentopen = self.openpercent - - local width = ( percentopen ) * 105 - local height = ( percentopen ) * 114 - - if betabordersenabled:GetBool() then - height = ( percentopen ) * 112 - end + local ang = self:GetAngles() + + local res = 0.1 + + local percentopen = self.openpercent + + local width = ( percentopen ) * 105 + local height = ( percentopen ) * 114 + + if betabordersenabled:GetBool() then + height = ( percentopen ) * 112 + end - - ang:RotateAroundAxis( ang:Right(), -90 ) - ang:RotateAroundAxis( ang:Up(), 90 ) - - local origin = self:GetRenderOrigin() + ( self:GetForward() * 0.1 ) - ( self:GetUp() * height / -2 ) - ( self:GetRight() * width / -2 ) - - cam.Start3D2D( origin, ang, res ) - - surface.SetDrawColor( 255, 255, 255, 255 ) - - if ( RENDERING_PORTAL or !self:GetNWBool( "Potal:Linked", false ) or !self:GetNWBool( "Potal:Activated", false )) then - - if portaltype == TYPE_BLUE then + + ang:RotateAroundAxis( ang:Right(), -90 ) + ang:RotateAroundAxis( ang:Up(), 90 ) + + local origin = self:GetRenderOrigin() + ( self:GetForward() * 0.1 ) - ( self:GetUp() * height / -2 ) - ( self:GetRight() * width / -2 ) + + cam.Start3D2D( origin, ang, res ) + + surface.SetDrawColor( 255, 255, 255, 255 ) + + if ( RENDERING_PORTAL or !self:GetNWBool( "Potal:Linked", false ) or !self:GetNWBool( "Potal:Activated", false )) then + + if portaltype == TYPE_BLUE then if betabordersenabled:GetBool() then - - surface.SetTexture( nonlinkedbluebeta ) + + surface.SetTexture( nonlinkedbluebeta ) else - - surface.SetTexture( nonlinkedblue ) + + surface.SetTexture( nonlinkedblue ) end - - elseif portaltype == TYPE_ORANGE then + + elseif portaltype == TYPE_ORANGE then if betabordersenabled:GetBool() then - - surface.SetTexture( nonlinkedorangebeta ) + + surface.SetTexture( nonlinkedorangebeta ) else - - surface.SetTexture( nonlinkedorange ) - - end + + surface.SetTexture( nonlinkedorange ) + + end end - - surface.DrawTexturedRect( 0, 0, width / res , height / res ) - - end + + surface.DrawTexturedRect( 0, 0, width / res , height / res ) + + end - if bordersenabled:GetBool() == true then - if portaltype == TYPE_BLUE then - - if betabordersenabled:GetBool() then - - surface.SetTexture( bluebetabordermat ) - - else - - surface.SetTexture( bluebordermat ) - - end - - surface.DrawTexturedRect( 0, 0, width / res , height / res ) - - elseif portaltype == TYPE_ORANGE then - - if betabordersenabled:GetBool() then - - surface.SetTexture( orangebetabordermat ) - - else - - surface.SetTexture( orangebordermat ) - - end - - surface.DrawTexturedRect( 0, 0, width / res , height / res ) - - end - - end - - cam.End3D2D() - + if bordersenabled:GetBool() == true then + if portaltype == TYPE_BLUE then + + if betabordersenabled:GetBool() then + + surface.SetTexture( bluebetabordermat ) + + else + + surface.SetTexture( bluebordermat ) + + end + + surface.DrawTexturedRect( 0, 0, width / res , height / res ) + + elseif portaltype == TYPE_ORANGE then + + if betabordersenabled:GetBool() then + + surface.SetTexture( orangebetabordermat ) + + else + + surface.SetTexture( orangebordermat ) + + end + + surface.DrawTexturedRect( 0, 0, width / res , height / res ) + + end + + end + + cam.End3D2D() + end function ENT:Draw() @@ -308,7 +308,7 @@ function ENT:RenderPortal( origin, angles) if renderportals:GetBool() then local portal = self:GetNWEntity( "Potal:Other", nil ) if IsValid( portal ) and self:GetNWBool( "Potal:Linked", false ) and self:GetNWBool( "Potal:Activated", false ) then - + local portaltype = self:GetNWInt( "Potal:PortalType", TYPE_BLUE ) local normal = self:GetForward() @@ -384,15 +384,15 @@ end /*------------------------------------ - ShouldDrawLocalPlayer() + ShouldDrawLocalPlayer() ------------------------------------*/ --Draw yourself into the portal.. YES YOU CAN SEE YOURSELF! (Bug? Can't see your weapons) hook.Add( "ShouldDrawLocalPlayer", "Portal.ShouldDrawLocalPlayer", function() local ply = LocalPlayer() local portal = ply.InPortal - if RENDERING_PORTAL then + if RENDERING_PORTAL then return true - -- elseif IsValid(portal) then + -- elseif IsValid(portal) then -- local pos,ang = portal:GetPortalPosOffsets(portal:GetOther(),ply), portal:GetPortalAngleOffsets(portal:GetOther(),ply) -- pos.z = pos.z - 64 @@ -445,24 +445,24 @@ hook.Add( "HUDPaint", "Portal.BlueMonitor", function( w,h ) end ) /*------------------------------------ - GetMotionBlurValues() + GetMotionBlurValues() ------------------------------------*/ hook.Add( "GetMotionBlurValues", "Portal.GetMotionBlurValues", function( x, y, fwd, spin ) - if RENDERING_PORTAL then - return 0, 0, 0, 0 - end + if RENDERING_PORTAL then + return 0, 0, 0, 0 + end end ) hook.Add( "PostProcessPermitted", "Portal.PostProcessPermitted", function( element ) - if element == "bloom" and RENDERING_PORTAL then - return false - end + if element == "bloom" and RENDERING_PORTAL then + return false + end end ) usermessage.Hook( "Portal:ObjectInPortal", function(umsg) - local portal = umsg:ReadEntity() - local ent = umsg:ReadEntity() - if IsValid( ent ) and IsValid( portal ) then + local portal = umsg:ReadEntity() + local ent = umsg:ReadEntity() + if IsValid( ent ) and IsValid( portal ) then ent.InPortal = portal -- if ent:IsPlayer() then @@ -475,61 +475,61 @@ usermessage.Hook( "Portal:ObjectInPortal", function(umsg) end ) usermessage.Hook( "Portal:ObjectLeftPortal", function(umsg) - local ent = umsg:ReadEntity() - if IsValid( ent ) then + local ent = umsg:ReadEntity() + if IsValid( ent ) then -- if ent:IsPlayer() and IsValid(ent.PortalClone) then -- ent.PortalClone:Remove() -- end ent.InPortal = false ent:SetRenderClipPlaneEnabled(false) - end + end end ) hook.Add( "RenderScreenspaceEffects", "Portal.RenderScreenspaceEffects", function() - for k,v in pairs( ents.GetAll() ) do - if IsValid( v.InPortal ) then - --local plane = Plane(v.InPortal:GetForward(),v.InPortal:GetPos()) - - local normal = v.InPortal:GetForward() - local distance = normal:Dot( v.InPortal:GetRenderOrigin() ) - + for k,v in pairs( ents.GetAll() ) do + if IsValid( v.InPortal ) then + --local plane = Plane(v.InPortal:GetForward(),v.InPortal:GetPos()) + + local normal = v.InPortal:GetForward() + local distance = normal:Dot( v.InPortal:GetRenderOrigin() ) + v:SetRenderClipPlaneEnabled(true) - v:SetRenderClipPlane( normal, distance ) - end - end + v:SetRenderClipPlane( normal, distance ) + end + end end ) /*------------------------------------ - VectorAngles() + VectorAngles() ------------------------------------*/ function math.VectorAngles( forward, up ) - local angles = Angle( 0, 0, 0 ) - - local left = up:Cross( forward ) - left:Normalize() - - local xydist = math.sqrt( forward.x * forward.x + forward.y * forward.y ) - - // enough here to get angles? - if( xydist > 0.001 ) then - - angles.y = math.deg( math.atan2( forward.y, forward.x ) ) - angles.p = math.deg( math.atan2( -forward.z, xydist ) ) - angles.r = math.deg( math.atan2( left.z, ( left.y * forward.x ) - ( left.x * forward.y ) ) ) - - else - - angles.y = math.deg( math.atan2( -left.x, left.y ) ) - angles.p = math.deg( math.atan2( -forward.z, xydist ) ) - angles.r = 0 - - end - - - return angles - + local angles = Angle( 0, 0, 0 ) + + local left = up:Cross( forward ) + left:Normalize() + + local xydist = math.sqrt( forward.x * forward.x + forward.y * forward.y ) + + // enough here to get angles? + if( xydist > 0.001 ) then + + angles.y = math.deg( math.atan2( forward.y, forward.x ) ) + angles.p = math.deg( math.atan2( -forward.z, xydist ) ) + angles.r = math.deg( math.atan2( left.z, ( left.y * forward.x ) - ( left.x * forward.y ) ) ) + + else + + angles.y = math.deg( math.atan2( -left.x, left.y ) ) + angles.p = math.deg( math.atan2( -forward.z, xydist ) ) + angles.r = 0 + + end + + + return angles + end --red = in blue = out diff --git a/lua/entities/prop_portal/init.lua b/lua/entities/prop_portal/init.lua index 1cb437c..34bdaf9 100644 --- a/lua/entities/prop_portal/init.lua +++ b/lua/entities/prop_portal/init.lua @@ -8,20 +8,20 @@ ENT.Activated = false ENT.KeyValues = {} sound.Add({ - name = "portal_loop", - channel = CHAN_STATIC, - volume = .8, - level = 45, - pitch = {95, 110}, + name = "portal_loop", + channel = CHAN_STATIC, + volume = .8, + level = 45, + pitch = {95, 110}, sound = "weapons/portalgun/portal_ambient_loop1.wav" }) function ENT:SpawnFunction( ply, tr ) --unused. if ( !tr.Hit ) then return end - + local SpawnPos = tr.HitPos + tr.HitNormal * 16 - + local ent = ents.Create( "prop_portal" ) ent:SetPos( SpawnPos ) ent:Spawn() @@ -53,7 +53,7 @@ function ENT:Initialize( ) self:SetNWBool("Potal:Activated",false) self:SetNWBool("Potal:Linked",false) self:SetNWInt("Potal:PortalType",self.PortalType) - + self.Sides = ents.Create( "prop_physics" ) self.Sides:SetModel( "models/blackops/portal_sides.mdl" ) self.Sides:SetPos( self:GetPos() + self:GetForward()*-0.1 ) @@ -66,22 +66,22 @@ function ENT:Initialize( ) self.Sides:SetCollisionGroup(COLLISION_GROUP_WEAPON) --self.Sides:SetMoveType( MOVETYPE_NONE ) --causes some weird shit to happen.. self.Sides:DrawShadow(false) - + local phys = self.Sides:GetPhysicsObject() - + if IsValid( phys ) then phys:EnableMotion( false ) end - + self:DeleteOnRemove(self.Sides) - + if self:OnFloor() then self:SetPos( self:GetPos() + Vector(0,0,20) ) end - + self.portal_loop = CreateSound(self,"portal_loop") self.portal_loop:Play() - + for k,v in pairs(ents.FindInSphere(self:GetPos(),100))do if v == self then continue end if v == self.Sides then continue end @@ -98,13 +98,15 @@ end function ENT:BootPlayer() --Kick players out of this portal. - for k,p in pairs(player.GetAll()) do + for k,p in pairs(player.GetAll()) do if p.InPortal and (p.InPortal:EntIndex() == self:EntIndex()) then - + p:SetPos(self:GetPos() + self:GetForward()*25 + self:GetUp()*-40) - + p.InPortal = false - p.PortalClone:Remove() + if IsValid(p.PortalClone) then + p.PortalClone:Remove() + end p.PortalClone = nil p:SetMoveType(MOVETYPE_WALK) umsg.Start( "Portal:ObjectLeftPortal" ) @@ -122,18 +124,18 @@ function ENT:CleanMeUp() ang:RotateAroundAxis(ang:Right(),-90) ang:RotateAroundAxis(ang:Forward(),0) ang:RotateAroundAxis(ang:Up(),90) - + PrecacheParticleSystem("portal_2_close_a") PrecacheParticleSystem("portal_1_close_a") PrecacheParticleSystem("portal_2_close") PrecacheParticleSystem("portal_1_close") - - + + local pos = self:GetPos() if self:OnFloor() then pos = pos-Vector(0,0,20) end - + if self.PortalType == TYPE_BLUE and GetConVarNumber("portal_beta_borders") >= 1 then ParticleEffect("portal_1_close_",pos,ang,nil) elseif self.PortalType == TYPE_BLUE then @@ -143,7 +145,7 @@ function ENT:CleanMeUp() elseif self.PortalType == TYPE_ORANGE then ParticleEffect("portal_2_close",pos,ang,nil) end - + self:EmitSound("weapons/portalgun/portal_close"..math.random(1,2)..".wav",150) -- timer.Simple(5,function() -- if ent and ent:IsValid() then @@ -154,26 +156,26 @@ function ENT:CleanMeUp() end function ENT:MoveToNewPos(pos,newang) --Called by the swep, used if a player already has a portal out. - + self:BootPlayer() if IsValid(self:GetOther()) then self:GetOther():BootPlayer() end - + local ang = self:GetAngles() ang:RotateAroundAxis(ang:Right(),-90) ang:RotateAroundAxis(ang:Forward(),0) ang:RotateAroundAxis(ang:Up(),90) - + self:SetAngles(newang) - + local effectpos = self:GetPos() if self:OnFloor() then effectpos = effectpos-Vector(0,0,20) end self.VacuumEffect:SetPos(effectpos) self.EdgeEffect:SetPos(effectpos) - + if self.PortalType == TYPE_BLUE and GetConVarNumber("portal_beta_borders") >= 1 then ParticleEffect("portal_1_close_",effectpos,ang,nil) elseif self.PortalType == TYPE_BLUE then @@ -183,26 +185,26 @@ function ENT:MoveToNewPos(pos,newang) --Called by the swep, used if a player alr else ParticleEffect("portal_2_close",effectpos,ang,nil) end - + self:SetPos( pos ) - + if IsValid( self.Sides ) then self.Sides:SetPos(pos) self.Sides:SetAngles(newang) end - + if self:OnFloor() then pos.z = pos.z + 20 self:SetPos( pos ) end - + umsg.Start("Portal:Moved" ) umsg.Entity( self ) umsg.Vector(pos) umsg.Angle(newang) umsg.End() - - + + end @@ -212,12 +214,12 @@ function ENT:SuccessEffect() ang:RotateAroundAxis(ang:Right(),-90) ang:RotateAroundAxis(ang:Forward(),0) ang:RotateAroundAxis(ang:Up(),90) - + local pos = self:GetPos() if self:OnFloor() then pos = pos-Vector(0,0,20) end - + if GetConVarNumber("portal_beta_borders") >= 1 then ParticleEffect("portal_"..self.PortalType.."_success_",pos,ang,self) else @@ -226,7 +228,7 @@ function ENT:SuccessEffect() local int = math.random(1,2) if int==2 then int = 3 end self:EmitSound("weapons/portalgun/portal_open"..int..".wav",100 ) - + end @@ -252,12 +254,12 @@ end function ENT:MakeClone(ent) - if self:GetNWBool("Potal:Linked",false) == false or self:GetNWBool("Potal:Activated",false) == false then return end + if self:GetNWBool("Potal:Linked",false) == false or self:GetNWBool("Potal:Activated",false) == false then return end --if ent:GetClass() != "prop_physics" then return end - + local portal = self:GetNWEntity("Potal:Other") - + if ent.clone != nil then return end local clone = ents.Create("prop_physics") clone:SetSolid(SOLID_NONE) @@ -277,7 +279,7 @@ function ENT:MakeClone(ent) phy:EnableDrag(false) end ent.clone = clone - + umsg.Start("Portal:ObjectInPortal" ) umsg.Entity( portal ) umsg.Entity( clone ) @@ -288,10 +290,10 @@ end function ENT:SyncClone(ent) local clone = ent.clone - - if self:GetNWBool("Potal:Linked",false) == false or self:GetNWBool("Potal:Activated",false) == false then return end + + if self:GetNWBool("Potal:Linked",false) == false or self:GetNWBool("Potal:Activated",false) == false then return end if clone == nil then return end - + local portal = self:GetNWEntity("Potal:Other") clone:SetPos(self:GetPortalPosOffsets(portal,ent)) @@ -301,21 +303,21 @@ end function ENT:StartTouch(ent) --if ent:IsPlayer() then return end if ent:GetModel() == "models/blackops/portal_sides.mdl" then return end - + if ent:GetClass() == "projectile_portal_ball" then ent:Remove() return end - + if self:GetNWBool("Potal:Linked",false) == false or self:GetNWBool("Potal:Activated",false) == false then return end - + if ent.InPortal then return end - - + + if ent:IsPlayer() then - + if not self:PlayerWithinBounds(ent) then return end - + ent.JustEntered = true self:PlayerEnterPortal(ent) - + elseif self:CanPort(ent) then if ent:GetModel() != "models/blackops/portal_sides.mdl" and (ent:GetClass() == "prop_physics" or ent:GetClass() == "prop_physics_multiplayer" or ent:GetClass() == "npc_portal_turret_floor" or ent:GetClass() == "npc_security_camera" ) then if ent:GetClass() == "npc_security_camera" then @@ -342,13 +344,13 @@ function ENT:Touch( ent ) if ent.InPortal != self then self:StartTouch(ent) end --if ent:IsPlayer() then return end if !self:CanPort(ent) then return end - + if self:GetNWBool("Potal:Linked",false) == false or self:GetNWBool("Potal:Activated",false) == false then return end - + local portal = self:GetNWEntity("Potal:Other") - + if portal and portal:IsValid() then - + if ent:IsPlayer() then -- if ent.JustPorted then ent.InPortal = self return end --If the player isn't actually in the portal @@ -356,7 +358,7 @@ function ENT:Touch( ent ) if not self:PlayerWithinBounds(ent) then return end ent.JustEntered = true self:PlayerEnterPortal(ent) - + else ent:SetGroundEntity( self ) local eyepos = ent:EyePos() @@ -369,7 +371,7 @@ function ENT:Touch( ent ) self:SyncClone(ent) ent:SetGroundEntity( NULL ) end - + end end @@ -379,11 +381,11 @@ function ENT:PlayerEnterPortal(ent) umsg.Entity( ent ) umsg.End() ent.InPortal = self - + self:SetupPlayerClone(ent) - + ent:GetPhysicsObject():EnableDrag(false) - + local vel = ent:GetVelocity() ent:SetMoveType(MOVETYPE_NOCLIP) ent:SetGroundEntity( self ) @@ -406,7 +408,7 @@ function ENT:SetupPlayerClone(ply) else ply.PortalClone:SetPortal(self) end - + end function ENT:EndTouch(ent) @@ -424,9 +426,9 @@ function ENT:DoPort(ent) --Shared so we can predict it. if SERVER then constraint.RemoveConstraints(ent, "AdvBallsocket") end - + if self:GetNWBool("Potal:Linked",false) == false or self:GetNWBool("Potal:Activated",false) == false then return end - + if SERVER then umsg.Start( "Portal:ObjectLeftPortal" ) umsg.Entity( ent ) @@ -434,15 +436,15 @@ function ENT:DoPort(ent) --Shared so we can predict it. end local portal = self:GetNWEntity("Potal:Other") - + --Mahalis code local vel = ent:GetVelocity() if !vel then return end -- vel = vel - 2*vel:Dot(self:GetAngles():Up())*self:GetAngles():Up() local nuVel = self:TransformOffset(vel,self:GetAngles(),portal:GetAngles()) * -1 - + local phys = ent:GetPhysicsObject() - + if portal and portal:IsValid() and phys:IsValid() and ent.clone and ent.clone:IsValid() and !ent:IsPlayer() then if !IsBehind( ent:GetPos(), self:GetPos(), self:GetForward() ) then ent:SetPos(ent.clone:GetPos()) @@ -450,17 +452,17 @@ function ENT:DoPort(ent) --Shared so we can predict it. phys:SetVelocity(nuVel) end ent.InPortal = nil - + ent.clone:Remove() ent.clone = nil elseif ent:IsPlayer() then local eyepos = ent:EyePos() - + if !IsBehind( eyepos, self:GetPos(), self:GetForward() ) then local newPos = self:GetPortalPosOffsets(portal,ent) - + ent:SetHeadPos(newPos) - + if portal:OnFloor() and self:OnFloor() then --pop players out of floor portals. if nuVel:Length() < 340 then nuVel = portal:GetForward() * 340 @@ -474,16 +476,16 @@ function ENT:DoPort(ent) --Shared so we can predict it. nuVel = portal:GetForward() * 450 end end - + -- print("Old Velocity:", ent:GetVelocity()) -- print("New Velocity:", nuVel) ent:SetLocalVelocity(nuVel) - + --local newang = math.VectorAngles(ent:GetForward(), ent:GetUp()) + Angle(0,180,0) + (portal:GetAngles() - self:GetAngles()) local newang = self:GetPortalAngleOffsets(portal,ent) ent:SetEyeAngles(newang) - - + + ent.JustEntered = false ent.JustPorted = true portal:PlayerEnterPortal(ent) @@ -493,7 +495,9 @@ function ENT:DoPort(ent) --Shared so we can predict it. if SERVER then ent:EmitSound("weapons/portalgun/portal_exit".. self.PortalType ..".wav",80,100 + (30 * (nuVel:Length() - 100)/1000)) end - ent.PortalClone:Remove() + if IsValid(ent.PortalClone) then + ent.PortalClone:Remove() + end ent.PortalClone = nil --print("Walking") end @@ -508,39 +512,39 @@ local function BulletHook(ent,bullet) inport:SetPos(inport:GetPos()-Vector(0,0,20)) end end - + for i=1, bullet.Num do local tr = util.QuickTrace(bullet.Src, bullet.Dir*10000, ent) - + if IsValid(tr.Entity) and tr.Entity:GetClass() == "prop_portal" then local inport = tr.Entity - + if inport:GetNWBool("Potal:Linked",false) == false or inport:GetNWBool("Potal:Activated",false) == false then return end - + local outport = inport:GetNWEntity("Potal:Other") if !IsValid(outport) then return end - + --Create our new bullet and get the hit pos of the inportal. local newbullet = table.Copy(bullet) - + if inport:OnFloor() and outport:OnFloor() then outport:SetPos(outport:GetPos() + Vector(0,0,20)) end - + local offset = inport:WorldToLocal(tr.HitPos + bullet.Dir*20) - + offset.x = -offset.x; offset.y = -offset.y; - + --Correct bullet angles. local ang = bullet.Dir ang = inport:TransformOffset(ang,inport:GetAngles(),outport:GetAngles()) * -1 newbullet.Dir = ang - + --Transfer to new portal. newbullet.Src = outport:LocalToWorld( offset ) + ang*10 - - + + -- umsg.Start("DebugOverlay_LineTrace") -- umsg.Vector(bullet.Src) -- umsg.Vector(tr.HitPos) @@ -552,16 +556,16 @@ local function BulletHook(ent,bullet) -- umsg.Vector(p1.HitPos) -- umsg.Bool(false) -- umsg.End() - + newbullet.Attacker = ent outport.FiredBullet = true --prevent infinite loop. - outport:FireBullets(newbullet) + outport:FireBullets(newbullet) outport.FiredBullet = false - + if inport:OnFloor() and outport:OnFloor() then outport:SetPos(outport:GetPos() - Vector(0,0,20)) end - + end end for k,inport in pairs(ents.FindByClass("prop_portal")) do @@ -575,7 +579,7 @@ hook.Add("EntityFireBullets", "BulletPorting", BulletHook) function ENT:SetActivatedState(bool) self.Activated = bool self:SetNWBool("Potal:Activated",bool) - + local other = self:FindOpenPair() if other and other:IsValid() then self:LinkPortals(other) @@ -596,36 +600,36 @@ function ENT:FindOpenPair() --This is for singeplayer, it finds a portal that is end function ENT:AcceptInput(name) --Map inputs (Seems to work..) - + if (name == "Fizzle") then self.Activated = false self:SetNWBool("Potal:Activated",false) self:CleanMeUp() end - + if (name == "SetActivatedState") then self:SetActivatedState(true) end - + end function ENT:KeyValue( key, value ) --Map keyvalues self.KeyValues[key] = value - + if key == "LinkageGroupID" then --I don't think this does jack shit, but it was on the valve wiki.. self:SetNWInt("Potal:LinkageGroupID",value) end - + if key == "Activated" then --Set if it should start activated or not.. self.Activated = tobool(value) self:SetNWBool("Potal:Activated",tobool(value)) end - + if key == "PortalTwo" then --Sets the portal type self:SetType( value+1 ) end - + end --Jintos code.. @@ -635,26 +639,26 @@ function math.VectorAngles( forward, up ) local left = up:Cross( forward ); left:Normalize(); - + local xydist = math.sqrt( forward.x * forward.x + forward.y * forward.y ); - + // enough here to get angles? if( xydist > 0.001 ) then - + angles.y = math.deg( math.atan2( forward.y, forward.x ) ); angles.p = math.deg( math.atan2( -forward.z, xydist ) ); angles.r = math.deg( math.atan2( left.z, ( left.y * forward.x ) - ( left.x * forward.y ) ) ); else - + angles.y = math.deg( math.atan2( -left.x, left.y ) ); angles.p = math.deg( math.atan2( -forward.z, xydist ) ); angles.r = 0; - + end return angles; - + end hook.Add("SetupPlayerVisibility", "Add portalPVS", function(ply,ve) @@ -664,7 +668,7 @@ hook.Add("SetupPlayerVisibility", "Add portalPVS", function(ply,ve) if (not other) or (not IsValid(other)) then continue end local origin = ply:EyePos() local angles = ply:EyeAngles() - + local normal = self:GetForward() local distance = normal:Dot( self:GetPos() ) @@ -680,15 +684,15 @@ hook.Add("SetupPlayerVisibility", "Add portalPVS", function(ply,ve) local dot = forward:DotProduct( normal ) forward = forward + ( -2 * dot ) * normal - // reflect up + // reflect up local dot = up:DotProduct( normal ) up = up + ( -2 * dot ) * normal - + local ViewOrigin = self:WorldToLocal( origin ) - + // repair ViewOrigin.y = -ViewOrigin.y - + ViewOrigin = other:LocalToWorld( ViewOrigin ) -- if self:GetNWInt("Potal:PortalType") == TYPE_ORANGE then -- umsg.Start("DebugOverlay_Cross") @@ -697,7 +701,7 @@ hook.Add("SetupPlayerVisibility", "Add portalPVS", function(ply,ve) -- umsg.End() -- end -- AddOriginToPVS(ViewOrigin) - + AddOriginToPVS(self:GetPos()+self:GetForward()*20) end end)