Post: Damage Modifier Help
09-06-2015, 03:00 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); i had a look around but i couldnt find anything on this

is it possible to modifiy the damage on a particular weapon

for example
i have it so all player have a set health of 800
and i want the knife to be instant kill when u stab them
can i change the damage to 800?

i don't know if it works that way or not
thanks Smile
09-06-2015, 05:33 AM #11
gonna look at some custom modified weapons people have made and see if theres anything in them that changes damage
09-06-2015, 05:36 AM #12
itsSorrow
In my man cave
Originally posted by OfficialCoolJay View Post
gonna look at some custom modified weapons people have made and see if theres anything in them that changes damage


theres nothing in there
09-06-2015, 05:56 AM #13
EternalHabit
Former Staff
Originally posted by OfficialCoolJay View Post
gonna look at some custom modified weapons people have made and see if theres anything in them that changes damage

just modify the lobbys health using self.maxhealth=800; self.health=self.maxhealth;
i havent seen GSC ever use WeaponDef settings. ive only ever seen RTM do that (enstones revolution)
09-06-2015, 06:04 AM #14
SyGnUs
Give a F*** About Your Lifestyle
Originally posted by OfficialCoolJay View Post
i had a look around but i couldnt find anything on this

is it possible to modifiy the damage on a particular weapon

for example
i have it so all player have a set health of 800
and i want the knife to be instant kill when u stab them
can i change the damage to 800?

i don't know if it works that way or not
thanks Smile


You can't edit that aspect of weapons with GSC from what I can recall as it's a different asset. But you may be able to make a script for something like what you asking for like, if you can figure out who you are shooting at and you can probably use the dodamage function on them and then you will be able to inflict the damage you want when you are shooting them or knifing them, ect.. Idk though I never bothered trying something like that.
09-06-2015, 09:00 AM #15
yes i saw dodamage in gsc methods on the managed code list but no idea what to do there haha
09-06-2015, 11:50 AM #16
jwm614
NextGenUpdate Elite
Originally posted by OfficialCoolJay View Post
i had a look around but i couldnt find anything on this

is it possible to modifiy the damage on a particular weapon

for example
i have it so all player have a set health of 800
and i want the knife to be instant kill when u stab them
can i change the damage to 800?

i don't know if it works that way or not
thanks Smile

make a check if they have knife use the function I posted on the other thread an change 5 to 800
09-06-2015, 10:29 PM #17
FRINZ
I’m too L33T
hmmm c:

    x thread [[level.callbackPlayerDamage]]( self, self, 0, 0, "MOD_PISTOL_BULLET", self getCurrentWeapon(), (0,0,0), (0,0,0), "tag_orgin", 0, 0 );


maybe you fuck with this might get wat u want or aswell do the check

sounds intesrting tho c:
09-06-2015, 11:17 PM #18
jwm614
NextGenUpdate Elite
Originally posted by FRINZ View Post
hmmm c:

    x thread [[level.callbackPlayerDamage]]( self, self, 0, 0, "MOD_PISTOL_BULLET", self getCurrentWeapon(), (0,0,0), (0,0,0), "tag_orgin", 0, 0 );


maybe you fuck with this might get wat u want or aswell do the check

sounds intesrting tho c:


I just said that
09-07-2015, 12:39 AM #19
how do i make a check for my knife_held_mp?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo