Jump to content

companion health

Closed 1.1.3 1.1.5

Swedish Chef
Swedish Chef

Posted

the companion on takes 10% damage when hit , i dont know if its actually 10% but very close, 

driver seems normal, but companion seems 10x tougher

armor doesnt change anything

walkinrey

Posted

16 hours ago, Swedish Chef said:

the companion on takes 10% damage when hit , i dont know if its actually 10% but very close, 

driver seems normal, but companion seems 10x tougher

armor doesnt change anything

it's because the companion is a scientist, and the driver is a standard rust player
it seems like you have a not 1x damage rate for scientists, how i remember it's normal on the vanilla servers, scientists can take more damage than standard players

Swedish Chef

Posted

In a default config the companion takes 30+ AK bullets to the head, as soon as he steps outside the car he is very normal.

Ill have another look, but it seems headshots only do 7 damage while in the car

I tried 1x damage as well , cant remember results but it was still a lot of headshots

Swedish Chef

Posted (edited)

just checked again, 

in the car, on 1x damage

i headshot him with mp5 he takes 4 damage 

i delete the car, hes left standing, shooting at me

i headshot him with mp5 he takes 40 damage 

Edited by Swedish Chef
walkinrey

Posted

just increase a bit this parameter "Damage receive rate": 0.5,

Swedish Chef

Posted (edited)

not sure you understand my issue

51 minutes ago, walkinrey said:

just increase a bit this parameter "Damage receive rate": 0.5,

i have "Damage receive rate": 1.0,

this is how the companions take damage

 

do you mean 

"Damage receive rate": 10.0, ?

because that is what it takes to make inside the car normal

but then when hes outside the car he will take 10x damage. i tested this.  one shot will kill him (500 damage headshot)

 

 

 

Edited by Swedish Chef
Swedish Chef

Posted

driver and passenger are fine

driver, inside = outside

companion inside != outside

walkinrey

Posted

10 hours ago, Swedish Chef said:

driver and passenger are fine

driver, inside = outside

companion inside != outside

i don't know why your damage is changing when the npc is outside, i don't control this

Swedish Chef

Posted (edited)

so you are saying just use

"Damage receive rate": 10.0, ?

this is default behavior, do you want me to wipe the server and show you another video?

if you make the passenger a scientist, he behaves the same 

5 hours ago, walkinrey said:

i don't control this

you mean 'i havent set different health for inside and outside'

but there is an issue if you could fix it please. this is not an issue the user can fix properly by changing config values. ("Damage receive rate": 10.0, just makes the npc die to one shot if outside the car)

Edited by Swedish Chef
walkinrey

Posted

8 hours ago, Swedish Chef said:

so you are saying just use

"Damage receive rate": 10.0, ?

this is default behavior, do you want me to wipe the server and show you another video?

if you make the passenger a scientist, he behaves the same 

you mean 'i havent set different health for inside and outside'

but there is an issue if you could fix it please. this is not an issue the user can fix properly by changing config values. ("Damage receive rate": 10.0, just makes the npc die to one shot if outside the car)

i don't know why the npc is receiving different damage when he is not mounted, any way i will take a look

8 hours ago, Swedish Chef said:

if you make the passenger a scientist, he behaves the same 

it seems like the scientist have different damage behaviour when he isn't mounted

if i find the solution i will release an update

  • Like 1
walkinrey

Posted

so, i had a look into this, and the rust is scaling the damage to 0.1f when npc is receiving damage being in the car

  • Like 1
walkinrey

Posted

Changed Status from Pending to Closed

walkinrey

Posted

Changed Fixed In to Next Version

  • Love 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.