Page 1 of 1

(solved) Weapons and bullets under water ?

Posted: Sat May 06, 2017 4:01 pm
by manuk
Any idea how to activate bullets damages under water ?

and how to enable fire mode under water too ?

( with GameSdk, using weapons and ammos scripts )

Re: Weapons and bullets under water ?

Posted: Sat May 06, 2017 4:11 pm
by creating1

Re: Weapons and bullets under water ?

Posted: Mon May 08, 2017 12:29 pm
by manuk
Ty, this working great for enabling weapon usability underwater.

But there is a problem with water surface and bullets, the bullet is deleted when it hit the water surface.

for example, if the player is above the water and hit an AI who is under the water, the bullet dont hit.

Any idea how to disable this ?

Re: Weapons and bullets under water ?

Posted: Mon May 08, 2017 1:25 pm
by creating1
try seeing if it is firing and continues on with using a trial for underwater.
If it is stopping when it hits the water then check your ammo script .xml and see ammo section on the docs.
if then nothing then try in ocean or puddle or river and see if there is any difference.

Re: Weapons and bullets under water ?

Posted: Mon May 08, 2017 1:56 pm
by manuk
nevermind i found it by myself:

in AmmoParams.h
line 299
return false;//return (gEnv->bMultiplayer == false);