English Weapons Shake - Lua Script icon

29 comments
08.04.11 12:34:47 am
like 20 like it!
604 b, 433 Downloads
Mechanolith
User
Offline Off
> Weapons Shake

This is the Weapons Shake script, this script makes your screen shake depending on the weapon you're shooting with.
_________________________

off-topic Installation Guide:
• Download and extract it to your lua folder, inside the sys folder, at your CS2D directory.
_________________________

illegal Rules:
• Do not re-upload without permission.
• Do not share edited content.
• Do not comment improperly.
_________________________

spam Credits:
• user J4x - Help and support.
• user Starkkz - Help and support.
• user EngiN33R - Help and coding.

IMG:http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png
imageimageimageimageimage
edited 4×, last 13.04.12 01:24:00 am
ok This file has been reviewed and approved by Sparty (13.04.16 01:21:08 pm)

Comments

29 comments
Goto Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in
06.07.18 08:26:37 am
like I like it!
Up
RED1516
User
Offline Off
Very good script
07.10.13 08:26:56 am
like I like it!
Up
TK Gunz FBI
User
Offline Off
nice lol
25.12.12 10:28:46 pm
like I like it!
Up
Gajos
BANNED
Offline Off
hahha xd, this is very easy but good work
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
weapons_table_shake2 = {1,2,4,6}
weapons_table_shake3 = {3,5,21,23,32,38,39,74,88}
weapons_table_shake4 = {20,22,24,30,31,33,34,40,46,54,75,86}
weapons_table_shake5 = {10,11,35,36,37,45,47,49,51,52,53,69,72,73,76,77,78,85,87}

function contains(table, element)
     for _, value in pairs(table) do
          if value == element then
          return true
          end
     end
return false
end

addhook("attack","attackshake")
function attackshake(id)
     if contains(weapons_table_shake2,player(id,"weapon")) then
          parse("shake "..id.." 2")
     end
     if contains(weapons_table_shake3,player(id,"weapon")) then
          parse("shake "..id.." 3")
     end
     if contains(weapons_table_shake4,player(id,"weapon")) then
         parse("shake "..id.." 4")
     end
     if contains(weapons_table_shake5,player(id,"weapon")) then
          parse("shake "..id.." 5")
     end
end

addhook("hit","hitshake")
function hitshake(id)
          parse("shake "..id.." 3")
end
24.12.12 11:01:31 pm
like I like it!
Up
J_Lucas
User
Offline Off
awesome , but the weapons 90 (M134) , 91 (FN F2000) , dont shake , but i fixed the problem for my personal use (i dont wanna upload again)
good work user Mechanolith: , user EngiN33R: , user Starkkz: , user J4x:
16.09.11 09:57:42 pm
like I like it!
Up
Bowlinghead
User
Offline Off
You ninja'd me!!!
I had the idea to
fail
btw
nice idea
08.07.11 06:17:59 pm
like I like it!
Up
CY
Reviewer
Offline Off
Download it and you'll see that it will work you lazy dumbarse..
08.07.11 05:13:20 pm
Up
DemonicWare
User
Offline Off
i cant see nothink in this pics ... nice idea IF it works ...
02.06.11 08:06:24 pm
like I like it!
Up
PyKemis
User
Offline Off
very nice

good in intense matches!~~
14.05.11 03:02:21 am
like I like it!
Up
Andrez
User
Offline Off
Nvm that rate,i like this,specially on AWP

5/5
27.04.11 10:18:44 pm
Up
Mechanolith
User
Offline Off
@Anderst, its the chainsaw... i am making some realistic skins for CS2D, changing the weapons and etc. (the weapons will be the same, but the design and the size will be different).
19.04.11 10:46:37 am
like I like it!
Up
Dovahkin
User
Offline Off
Easy But long script so joaop ill rate!

Code:
1
4/5
19.04.11 10:23:32 am
like I like it!
Up
Anderst
User
Offline Off
Its very usefull but what weapon are the photo on the last?
18.04.11 07:01:35 pm
Up
Mechanolith
User
Offline Off
@Anperm, what's the explanation of the 3/5 stars? If you don't explain i will consider your vote as a kind of revenge rate...

P.S.: Thanks for all the positive ratings
17.04.11 04:46:48 am
like I like it!
Up
Metalious
User
Offline Off
men dude this is so cool! and so awesomeness

so i will give u 5/5 so awesome!
17.04.11 03:08:51 am
like I like it!
Up
Andrez
User
Offline Off
I dont like you...

But anyways i give u 3 stars.
09.04.11 09:25:41 pm
Up
Mechanolith
User
Offline Off
FN_Linkin Park, your tutorial can help me more than Lee's, because i don't get the way that Lee explain...
09.04.11 08:08:01 pm
like I like it!
Up
maPmaKer
User
Offline Off
Realistic, I like this - very good job
09.04.11 06:08:04 pm
like I like it!
Up
J4x
User
Offline Off
I won't recommend u to read my tutorial, im not that good at lua, but this tut (made by Lee) can help http://www.phailed.me/2011/02/learn-lua-the-hard-way-tables/#desc
09.04.11 04:07:40 pm
like I like it!
Up
Picias
BANNED
Offline Off
its Very Real
i mean this is very and Very Real Script good work ..
.:>Awesome<:.
09.04.11 02:19:07 pm
like I like it!
Up
TheOn1yLefT
BANNED
Offline Off
Anyway i tried it and the shake on the light smg is WAY TO POWERFUL mp5 uzi and that anyway its awesome
To the start Previous 1 2 Next To the start