Raised This Month: $344 Target: $400
 86%   Almost there!

[CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
leichenclub
Member
Join Date: Aug 2011
Location: South Germany (BW)
Old 09-09-2012 , 19:24   [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #1

= [CS:GO] Simple Special Script =
sm_sss.smx / sm_sss.sp / sm_sss.cfg


Hi friends,

I need a simple Plugin (script), that I used for CS:S with Eventscripts (Now, I want to use only Sourcemod and hope that anyone can do the same via Sourcemod - I'm not sure).

It's very simple:

-> If anybody hurts a teammate (not an enemy), he should hear a sound like "ouch.mp3" and get slapped with 0 demage (fly a little bit)
-> If a terrorist stops planting the bomb, before the bomb is really planted, he should get slapped with 0 demage (fly a little bit) and hear a sound like "idiot.mp3"
-> If a counter-terrorist stops defusing the bomb, before the bomb is really defused, he should get slapped with 0 demage (fly a little bit) and hear a sound like "idiot.mp3"


Please could anyone help me, or do this for me?
Can it be possible to do this with a simple Sourcemod-Script, or could it only be realized via ES?

(The sourcecode for any existing es_script could'nt easily be converted, cause that are too many files in ES and they needs a complete new code for sourcemod - I need a complete new plugin for this...)
A response would be very appreciated... thanks to you... Please, please, please help...

Example:
Attached Files
[-] Get Plugin or Get Source
[-] sm_sss.cfg <- a config.cfg to indicate your sound-files and configure
[-] sm_sss.sp <- the uncoded file (if you give it)
[-] sm_sss.zip <- soundfiles to add in your "music/your_folder/sss"
(only an example to show downloadable files - the sounds can be given by me)

Last edited by leichenclub; 09-09-2012 at 20:56. Reason: adding an example for the files - this plugin could be very useful for the most administrators of gameservers
leichenclub is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 09-09-2012 , 20:30   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #2

The source code for the existing es script could easily be converted...
__________________
zeroibis is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-09-2012 , 22:10   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #3

Here you go.

(I just really wanted to play with the formatting)

sound/ouch.mp3 is played for injuring teammates.
sound/idiot.mp3 is played for aborting defusing/planting.
Attached Files
File Type: sp Get Plugin or Get Source (sm_sss.sp - 358 views - 1.5 KB)
__________________

Last edited by Dr. McKay; 09-09-2012 at 22:10.
Dr. McKay is offline
leichenclub
Member
Join Date: Aug 2011
Location: South Germany (BW)
Old 09-10-2012 , 06:56   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #4

McKay I thank you very much for your quick answer.
I tested your plugin on our servers and it works really great
(I think you're the original McKay from SG-A) .
Could you please change a little thing to make it perfect?
Both players (attacker and victim) should hear the sound "ouch.mp3"
The sound "idiot.mp3" should be played to all, if someone abort defusing/planting and a Msg in Chat says: "Player X aborted defusing/planting"
The slap should be more intensive like a double-slap or something (for aborting and attacking of course)

I thank you for all, rodney

Last edited by leichenclub; 09-10-2012 at 09:10.
leichenclub is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-10-2012 , 13:20   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #5

Updated.
Attached Files
File Type: sp Get Plugin or Get Source (sm_sss.sp - 494 views - 2.0 KB)
__________________
Dr. McKay is offline
leichenclub
Member
Join Date: Aug 2011
Location: South Germany (BW)
Old 09-10-2012 , 16:18   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #6

I succesfully tested it on our servers. Great work!
Thank you soooo much for it ;)
With best greatings
LeichenClub

(I will donate)

Last edited by leichenclub; 09-10-2012 at 20:02.
leichenclub is offline
Hunter S. Thompson
Senior Member
Join Date: Jun 2012
Old 09-11-2012 , 02:00   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #7

Quote:
Originally Posted by Dr. McKay View Post
Updated.
Why use a timer for playing the slap sound? Why not a simple stock?
Hunter S. Thompson is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-11-2012 , 06:08   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #8

Quote:
Originally Posted by Hunter S. Thompson View Post
Why use a timer for playing the slap sound? Why not a simple stock?
Because I want it to be noticeable rather than both at once.
__________________
Dr. McKay is offline
leichenclub
Member
Join Date: Aug 2011
Location: South Germany (BW)
Old 09-12-2012 , 15:14   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #9

Okay, there's a little bug in this plugin: If you hurt yourself (ex.: firegrenade) you're slapped and hear the sound, too. It should be only if you hurt your teammates, but not yourself ...
Can you update, please?

Last edited by leichenclub; 09-12-2012 at 15:15.
leichenclub is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 09-12-2012 , 17:46   Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
Reply With Quote #10

Quote:
Originally Posted by leichenclub View Post
Okay, there's a little bug in this plugin: If you hurt yourself (ex.: firegrenade) you're slapped and hear the sound, too. It should be only if you hurt your teammates, but not yourself ...
Can you update, please?
Yap
try this
Attached Files
File Type: sp Get Plugin or Get Source (sm_sss.sp - 287 views - 2.1 KB)
__________________
Need help? PM me or add me on Steam.
My Steam




Quote:
Originally Posted by Rp.KryptoNite View Post
For some reason his Plugin never worked for me ,
@credits were added
im not stealing any plugins dude its my THING
minimoney1 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 21:03.


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