Raised This Month: $12 Target: $400
 3% 

Splashing On The Water


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 05-29-2023 , 19:37   Splashing On The Water
Reply With Quote #1

Splashing On The Water

Sprite Author - zoonyarts
Implementation - MayroN
Plugin Authors - MayroN | Connor McLeod | fl0wer | Flymic24

Description

The plugin adds sprite splashes on the water to the game
Zbot Support

Sprite display in effect
Walking in the water
Fall into the water
Water shots (knife doesn't count)
Grenade explosion in water


There is a macro in the code, after how long to show the sprite when walking on water

There is a bug only in this case (do not know how to fix it yet)
----------------------
If you are near the water, and shoot through the water at a wall, for example, which is not in the water, then splashes are displayed near the wall (the video is present at the end)
-----------------------



Video
https://www.youtube.com/watch?v=9HoQaw97xkA

PHP Code:
#define FOOTSTEPS_WATER_DELAY        0.5    // How long to show splashes on the water when walking 
Attached Files
File Type: sma Get Plugin or Get Source (splashing_on_the_water.sma - 184 views - 4.6 KB)
File Type: zip splashing_on_the_water.zip (105.0 KB, 83 views)
__________________
МультиМод CS 83.222.97.124:27015

MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
okbede_123
Member
Join Date: May 2019
Old 05-30-2023 , 03:14   Re: Splashing On The Water
Reply With Quote #2

Great plugin bro
okbede_123 is offline
SoulWeaver16
Senior Member
Join Date: May 2021
Location: Uruguay
Old 05-30-2023 , 19:13   Re: Splashing On The Water
Reply With Quote #3

Interesting, maybe the animation speed should be increased, since it seems very slow
And use another splash for the footsteps
__________________
Extended Arm Weapon Skin v2.1 {16/Apr/23}
(Detect which class is and associate it with the corresponding arms)
SideWeapons v0.2 {01/Sep/22}
(New version of Back Weapons v1.87)

SoulWeaver16 is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-30-2023 , 20:52   Re: Splashing On The Water
Reply With Quote #4

This looks tight. I made one with sound effects.
__________________
DJEarthQuake is offline
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 05-31-2023 , 03:41   Re: Splashing On The Water
Reply With Quote #5

Quote:
Originally Posted by okbede_123 View Post
Great plugin bro
Thank you

Quote:
Originally Posted by DJEarthQuake View Post
This looks tight. I made one with sound effects.
I'm waiting for the video

Quote:
Originally Posted by SoulWeaver16 View Post
Interesting, maybe the animation speed should be increased, since it seems very slow
And use another splash for the footsteps
I knew so)

https://www.youtube.com/watch?v=kGLlDtpZW9E
Attached Files
File Type: zip fast_water_splashing.zip (23.1 KB, 40 views)
__________________
МультиМод CS 83.222.97.124:27015

MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 05-31-2023 , 12:56   Re: Splashing On The Water
Reply With Quote #6

1. I want to ask if there is a way that when a he grenade explodes underwater we don't see the main sprites related to the he grenade explosion, but only see the new splash sprite ?
2. I noticed that - when the grenade explodes you can see that it explodes and you hear a sound, but I see the splashes before that.
I'm using the faster sprite, is that the reason?
__________________

Last edited by Siska1; 05-31-2023 at 13:18.
Siska1 is offline
Send a message via Skype™ to Siska1
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 05-31-2023 , 14:12   Re: Splashing On The Water
Reply With Quote #7

Quote:
Originally Posted by Siska1 View Post
1. I want to ask if there is a way that when a he grenade explodes underwater we don't see the main sprites related to the he grenade explosion, but only see the new splash sprite ?
Splash sprite is shown along with all explosion sprites
Quote:
Originally Posted by Siska1 View Post
2. I noticed that - when the grenade explodes you can see that it explodes and you hear a sound, but I see the splashes before that.
I'm using the faster sprite, is that the reason?
This is how it should be - everything is shown together
__________________
МультиМод CS 83.222.97.124:27015


Last edited by MayroN; 05-31-2023 at 14:13.
MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
SoulWeaver16
Senior Member
Join Date: May 2021
Location: Uruguay
Old 06-05-2023 , 07:57   Re: Splashing On The Water
Reply With Quote #8

Maybe I could combine it with this plugin
Bubble Trails by ConnorMcLeod
Since it is extremely similar to your plugin
Edit: That is, how to combine them, because I could measure the distance, if it is deep, use bubbles, if it is shallow water, use the splash
__________________
Extended Arm Weapon Skin v2.1 {16/Apr/23}
(Detect which class is and associate it with the corresponding arms)
SideWeapons v0.2 {01/Sep/22}
(New version of Back Weapons v1.87)


Last edited by SoulWeaver16; 06-07-2023 at 05:40.
SoulWeaver16 is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 02-13-2024 , 22:02   Re: Splashing On The Water
Reply With Quote #9

Doubt a video will ever be made. It was a plugin called Drowned whereby I was just testing several functions. If you want to use the big splash sound when jumping in pool of water.
__________________
DJEarthQuake is offline
Naeciof
Member
Join Date: Oct 2016
Location: Brazil
Old 02-18-2024 , 00:16   Re: Splashing On The Water
Reply With Quote #10

Plugin shows errors when compiling

Quote:
//// csplashing_on_the_water.sma
// C:\Users\Naecio\Desktop\_scripting\csplashing _on_the_water.sma(14) : error 017: undefined symbol "MAX_PLAYERS"
// C:\Users\Naecio\Desktop\_scripting\csplashing _on_the_water.sma(14) : error 009: invalid array size (negative or zero)
// C:\Users\Naecio\Desktop\_scripting\csplashing _on_the_water.sma(24) : error 017: undefined symbol "specialbot"
// C:\Users\Naecio\Desktop\_scripting\csplashing _on_the_water.sma(24) : warning 215: expression has no effect
// C:\Users\Naecio\Desktop\_scripting\csplashing _on_the_water.sma(24) : error 001: expected token: ";", but found ")"
// C:\Users\Naecio\Desktop\_scripting\csplashing _on_the_water.sma(24) : error 029: invalid expression, assumed zero
// C:\Users\Naecio\Desktop\_scripting\csplashing _on_the_water.sma(24) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 6 Errors.
// Could not locate output file C:\Users\Naecio\Desktop\_scripting\compiled\s plashing_on_the_water.amx (compile failed).
//
// Compilation Time: 0,44 sec
// ----------------------------------------

Press enter to exit ...
Naeciof is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode