Files

> > CS2D > Lua Scripts > Realism Script
Files overviewCS2D overviewLua Scripts overview

English Realism Script >

36 comments163 kb, 1,115 Downloads

old Realism Script

Tajifun
User Off Offline

Tajifun's Realism Script

-- Info --
• Adds a 'redscreen' to your game everytime you get hit by an enemy
• Shakes a player on hit
• Completely customizable for own use:

Quote
-- Config/Setup --

shake = 1 -- Turn "shake" on/off (1 = On, 0 = Off)
regeneration = 1 -- Turn "regeneration" on/off (1 = On, 0 = Off)
reg_heal = math.random(1,2) -- Regeneration per second, default: math.random(1,2)
blood = 1 -- Turn "blood/redscreen" on/off (1 = On, 0 = Off)
blood_fade = 2500 -- Time until bloodeffect faded out (in ms) default: 2500


It's not that difficult but I hope you like it, anyway. If there are any questions, contact me.

Greetings Tajifun
edited 2×, last 09.02.12 03:04:02 pm
Approved by Yates

Download Download

163 kb, 1,115 Downloads

Comments

36 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

tom282f3
User Off Offline

Cool! I love it. This script rocks!
I like it!

old

Todesengel
User Off Offline

You should change the title, its not a realism script, its pure epicness!
I like it!

old

leo123123
User Off Offline

IM REALLY LOVE THISS!

this script is so cool
im always using it
I like it!

old

Tajifun
User Off Offline

@RedFrix
Yes, of course.

old 5

user2011
BANNED Off Offline

i don't know for this lua
I like it!

old

Mechanolith
User Off Offline

user 3RROR has written
Not so realistic. If it was realistic it will mean that when you got shot then you will be in the hospital in two months or more.

Lmao, that would be f**king boring.
I can't imagine a CT getting shot by a glock and having to wait 1 month until he could play again.
I like it!

old

3RROR
User Off Offline

Not so realistic. If it was realistic it will mean that when you got shot then you will be in the hospital in two months or more.

Anyways. Reminds me on CoD. It was based on that?
I like it!

old

Mechanolith
User Off Offline

Really awesome, but unfortunately i know it will not be used on most of servers, because players are always crying because of the realism...

Really awesome script, congratulations.
I like it!

old

BlackBelt
User Off Offline

Yeah very good, Like a Games
I like it!

old

Tajifun
User Off Offline

@Darkbyte
Really? Nope I didn't know..
I'll improve it, if I find some ideas for a next version.
Thank you.

@Engy
Yup. I thought this would be a good idea.

@Everybody else
Thank you so much.

old

C0nan
User Off Offline

5 - AWESOME! You will be at the top of greatest scripters on a long long time!
I like it!

old

TheActiVezZ
User Off Offline

very good job , this is my favorite script 4 ever
I like it!

old

EngiN33R
Moderator Off Offline

Good job. I see that the red screen's intensity depends on the severity of the damage?
I like it!

old

archmage
User Off Offline

Great work. You do know that:
1
reg_heal = math.random(1,2) -- Regeneration per second, default: math.random(1,2)

the random number will be generated once (when the script is executed)

you could instead use
1
2
reg_heal_min = 1
reg_heal_max = 2

and when you want to get the random number
1
local rand_hp = math.random(reg_heal_min, reg_heal_max)
I like it!

old

Nem
User Off Offline

Realism ? You mean i could easly regenerate after nade splode in my mouth ? lol.
Btw, nice script. reminds me of CoD
I like it!

old

Marcell
Super User Off Offline

Awesome!:) and very real:) thx man!
I like it!
To the start Previous 1 2 Next To the start