Garry's Mod

Garry's Mod

1,354 ratings
CoverSnap: A Simple Cover System
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
4.970 KB
2 Feb, 2014 @ 7:48pm
19 Jul, 2014 @ 9:17pm
24 Change Notes ( view )

Subscribe to download
CoverSnap: A Simple Cover System

Description
Hey, the addon broke with Garry's Mod's new update. I've read in the forums that some people are waiting for this to get fixed. Anyway, the command that isn't working is "GetNWvector". I'll wait a while and maybe'll fix it afterwards. The thing is, I'm no longer making gmod addons so, yeah.
-----
Hey, this is a Simple Cover System addon. There's nothing more to say about it.

Controls:


Default Cover:
Cover: Press "Alt"(Walk key)
Get out of cover: Press "Alt"(Walk key)
Peek out of cover (to shoot): Hold "A" or "D"
Press "SHIFT" to stand up or peek (when auto-crouch is enabled)

Auto Cover:
Cover:Walk to a wall.
Get out of cover: Walk backwards to the wall
Peek out of cover (to shoot): Double tap "A" or "D"


Commands:

Change to Third Person: cl_covercamera 0
Change to First Person: cl_covercamera 1
Default cover: cl_coverauto 0
Autosnap to cover: (old cover) cl_coverauto 1
Disable text (Press alt to...) : cl_covertext 0
Enable text:
cl_covertext 1, (English)
cl_covertext 2, (Spanish/Español)
cl_covertext 3. (Polish/Polszczyzna) [OUT OF DATE] (Thanks to Kocayine #Infamous (https://steamhost.cn/steamcommunity_com/id/Karanix20/) for the translation!)
cl_covertext 4 (German/Deutsch)(Thanks to Wolf(https://steamhost.cn/steamcommunity_com/profiles/76561198059771960/) for the translation!)
cl_covertext 5 (French/Français)(Thanks to Redboard340 (https://steamhost.cn/steamcommunity_com/profiles/76561198054508575/) for the translation!)
cl_covertext 6 (Italian/Italiano)(Thanks to Zeh Marione43(https://steamhost.cn/steamcommunity_com/profiles/76561198051188000/) for the translation!)
cl_covertext 7 (Russian/Русский)(Thanks to Assad Chinterbuha(https://steamhost.cn/steamcommunity_com/profiles/76561198107056340/) and xXxToshka[1337]EnderxXx(https://steamhost.cn/steamcommunity_com/id/toxa-ender/) for the translation!)

Sorry for the bad english!

Changelog:
2/2/2014-Addon was published/uploaded.
2/3/2014-Update 1:-You now have to walk slowly or stop near a wall to get in cover.(Fix to the involuntary getting in cover)
(same day)-Update 2:-Now you will no longer be stuck when you get out of cover! (That's a pretty large fix)
2/5/2014-Update 3:-Now it will be harder to get in cover without wanting it. You can move your camera quickly to get out of cover. (pretty buggy, works when It wants to)
2/7/2014-Update 4:-Pretty large update. Fixed a lot of things. Now the camera is closer (like it was in the Update 1 and in the video) and you dont stuck when you want to get in cover! Changed keys so you double tap, because it was ♥♥♥♥♥♥♥ around with the Customizable Weaponry addon.
This is probably the last update, because its working pretty well, unless I find a way to do this crouch cover thing. (I'll try to)
2/13/2014-Update 5:-Added camera movement so it looks nicer. (Also some commands) Also, you can't get out of cover anywhere, you only can on edges.
2/21/2014-Update 6:-Now you can get in cover on normal objects and not only on the "World",(Map) You also get in cover by pressing ALT and get out of cover by pressing ALT too.
2/23/2014-Update 7:-You now get out of cover(to shoot) when you hold A or D and there is a command for thirdperson camera.
2/23/2014-Update 8:-Now I added text that says "Hold A to peek", "Hold D to peek", "Press Alt to get in cover",ect.
2/23/2014-Update 9:-Fixed third person (kinda)
2/24/2014-Update 10:-Fixed uncompatibility with custom HUDs, fixed third person view and added new font.
2/24/2014-Update 11:-Added colors to the "key fonts". Fixed third person view so you cannot see trough walls.You can use the old cover system now, too. Now the commands "save", so if you had cl_coverauto 1 and then you open gmod again, It'll still be cl_coverauto 1 and not the default number.
2/24/2014-Update 12 and 13: Uploaded another file to the workshop. Sorry! Its already fixed
2/25/2014-Update 14:-Fixed the ConVars so they save.
2/26/2014-Update 15.-Fixed a thing popping out on the console.
2/28/2014-Update 16:-Fixed NoClip bug.
3/10/2014-Update 17:-Added Polish and Spanish languages and a new crouch camera when the player is on low covers.
3/15/2014-Update 18:-Added auto-crouch when the cover is low, also, fixed the crouch camera and added French and German
3/19/2014-Update 19:-Fixed into-cover tracer so its not so buggy. Change the get out of cover while crouching to SHIFT.
3/20/2014-Update 20:-Added Italian
7/20/2014-Update 21:-Added Russian, fixed the cover on non-static objects too!Now it works properly, fixed the crouch bug and the cover is easier to use now!

Thanks a lot to Robotboy655(https://steamhost.cn/steamcommunity_com/id/robotboy655) for answering my stupid questions on Facepunch!

Things to do:
-A slide to cover/run to cover thing when you press the button to get in cover.
-A Move from cover to cover system(WIP)

Known Bugs:
-Customizable Weaponry, Sharpeye and Dynamic Movement/bobbing bugs the third person camera.It also bugs with the leaning camera (Just the animation)
827 Comments
Kazuhito nasumi 9 Feb, 2024 @ 10:04pm 
my playermodel arms are gone when i get my own weapon my hands are gone
Zndell 28 Oct, 2023 @ 6:03am 
for all you peoople whining, this mod is broken right now cos it changes your playermodel to the breathing gordon freeman statue and makes your hands dissappear
D4KiR 4 Sep, 2023 @ 8:46am 
[ERROR] lua/autorun/coversnap.lua:1322: bad argument #1 to 'SetViewEntity' (Entity expected, got table)
1. SetViewEntity - [C]:-1
2. __event - lua/autorun/coversnap.lua:1322
goose 5 Aug, 2023 @ 12:27pm 
stop whining stupid idiot he said the mod is broken and hes thinking about fixing it
antunezluis1 21 Jun, 2023 @ 3:18pm 
i doenst show my hands when i use weapons when this fucking mod was on fuck this mod
Hagorebos14 19 Mar, 2023 @ 2:46pm 
Everything was fine. After some time weapon se;ection menu and player character's hands dissapeared.

[CoverSnap: A Simple Cover System] lua/autorun/coversnap.lua:1322: bad argument #1 to 'SetViewEntity' (Entity expected, got table)
1. SetViewEntity - [C]:-1
2. v - lua/autorun/coversnap.lua:1322
3. unknown - lua/includes/modules/hook.lua:96
Franz 9 Mar, 2023 @ 7:03am 
when do u fix this?
TARTLARD 21 Feb, 2023 @ 4:47am 
@wheels1390 why would you need to equip the toolgun in cover??
dark_fantasy_enjoyer! 17 Feb, 2023 @ 11:10am 
i need to rebind the cover key help!
puro 23 Nov, 2022 @ 4:54am 
epic