Files

> > CS2D > Lua Scripts > Weapons Shake - Lua Script
Files overviewCS2D overviewLua Scripts overview

English Weapons Shake - Lua Script >

29 comments604 b, 793 Downloads

old Weapons Shake - Lua Script

Mechanolith
User Off Offline

> 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:https://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png
edited 4×, last 13.04.12 01:24:00 am
Approved by Sparty

Download Download

604 b, 793 Downloads

Comments

29 comments
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

old

_Lima_
User Off Offline

Very good script
I like it!

old

TK Gunz FBI
User Off Offline

nice lol
I like it!

old

Gajos
BANNED Off Offline

hahha xd, this is very easy but good work
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
I like it!

old

J_Lucas
User Off Offline

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:
I like it!

old

Bowlinghead
User Off Offline

You ninja'd me!!!
I had the idea to
fail
btw
nice idea
I like it!

old @DemonicWare

CY
Reviewer Off Offline

Download it and you'll see that it will work you lazy dumbarse..
I like it!

old

DemonicWare
User Off Offline

i cant see nothink in this pics ... nice idea IF it works ...

old

Apache uwu
User Off Offline

very nice

good in intense matches!~~
I like it!

old

Andrez
User Off Offline

Nvm that rate,i like this,specially on AWP

5/5
I like it!

old

Mechanolith
User Off Offline

@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).

old

Dovahkin
User Off Offline

Easy But long script so joaop ill rate!

1
4/5
I like it!

old

Anderst
User Off Offline

Its very usefull but what weapon are the photo on the last?
I like it!

old

Mechanolith
User Off Offline

@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

old

Metalious
User Off Offline

men dude this is so cool! and so awesomeness

so i will give u 5/5 so awesome!
I like it!

old

Andrez
User Off Offline

I dont like you...

But anyways i give u 3 stars.
I like it!

old

Mechanolith
User Off Offline

FN_Linkin Park, your tutorial can help me more than Lee's, because i don't get the way that Lee explain...

old

maPmaKer
User Off Offline

Realistic, I like this - very good job
I like it!

old

Picias
BANNED Off Offline

its Very Real
i mean this is very and Very Real Script good work ..
.:>Awesome<:.
I like it!

old

TheOn1yLefT
BANNED Off Offline

Anyway i tried it and the shake on the light smg is WAY TO POWERFUL mp5 uzi and that anyway its awesome
I like it!
To the start Previous 1 2 Next To the start