Forum

> > CS2D > Scripts > Big Damage to Building ONLY
Forums overviewCS2D overview Scripts overviewLog in to reply

English Big Damage to Building ONLY

11 replies
To the start Previous 1 Next To the start

old Big Damage to Building ONLY

ReVoltage
User Off Offline

Quote
Hi guys, us
i trying to build a lua that make knife do big damage to building only..
i try to use cs2d lua hook objectdamage and i cant, no weapon parameters
Spoiler >

btw, i still 'half' noob of lua
thanks before if you want to help me
Spoiler >

old Re: Big Damage to Building ONLY

ReVoltage
User Off Offline

Quote
user mafia_man has written
You can't decrease building health, so it's impossible.
(But you can decrease it with explosion command)

i mean,
when i hit building with knife, its do big damage than normal damage
it's possible, zombie plague mod use it

old Possible Solution

aleksix
User Off Offline

Quote
So,as I can see you need to use the damageobject.
Guess this will do the job:
Spoiler >

If you'll need any further help,PM me and I will try to do something!

old Re: Big Damage to Building ONLY

ReVoltage
User Off Offline

Quote
user aleksix has written
So,as I can see you need to use the damageobject.
Guess this will do the job:
Spoiler >

If you'll need any further help,PM me and I will try to do something!

doesnt work

old Re: Big Damage to Building ONLY

ReVoltage
User Off Offline

Quote
user aleksix has written
Does it write anything?Check if you changed everything:YOURFUNCTIONNAME and YOURDAMAGE are placeholders!

i know, i change it, but not work like @user Cure Pikachu: say, object damage is NOT working, console cant read it

EDIT: i know this is hard, but its possible idk how..

old Re: Big Damage to Building ONLY

Chero
User Off Offline

Quote
It's possible to make weapons have a big damage but
it's not possible to make this damage to Buildings only .. so far .
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview