Product Chat / Splash if NPC Fall in to water

Author
Message
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 6th Jan 2019 06:29
HI all, i just wanna ask , i know if you are close enough to the water and shoot in to the water you will see and here a splash.
But, i shot an NPC the other day and i realize there are no splash when he falls in to the water, would it be possible in the future that something like that would come standard or will we have to work around it with a custom splash if you know exactly were the Npc will hit the water.
Any thoughts on this.

Pcs.

Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 6th Jan 2019 18:55
If you can check the npc's height in comparison to the water level you could play a splash sound when it gets below it. Can't think of an easier way than that.
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 8th Jan 2019 03:14
There are some hardcoded elements here as the whole ragdoll process takes over. You'd need to override some of this. I've not been successful in this with the new function to take control of entities when they "die".

But I'd assume the following command would be useful for anyone that wants to try it:
TriggerWaterRipple(x,y,z)
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960

Login to post a reply

Server time is: 2024-11-24 03:12:15
Your offset time is: 2024-11-24 03:12:15