Forum

> > CS2D > Scripts > Big Damage to Building ONLY
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Big Damage to Building ONLY

11 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Big Damage to Building ONLY

ReVoltage
User Off Offline

Zitieren
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 >

alt Re: Big Damage to Building ONLY

ReVoltage
User Off Offline

Zitieren
user mafia_man hat geschrieben
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

alt Possible Solution

aleksix
User Off Offline

Zitieren
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!

alt Re: Big Damage to Building ONLY

ReVoltage
User Off Offline

Zitieren
user aleksix hat geschrieben
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

alt Re: Big Damage to Building ONLY

ReVoltage
User Off Offline

Zitieren
user aleksix hat geschrieben
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..
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht