AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss (https://forums.alliedmods.net/showthread.php?t=195654)

leichenclub 09-09-2012 19:24

[CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
 
=:fox: [CS:GO] Simple Special Script :fox:=
sm_sss.smx / sm_sss.sp / sm_sss.cfg


:crab: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):nono:.

It's very simple::nono:

:gyar: -> 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)
rukia-> 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"
rukia-> 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? :rtfm:
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...) :cry:
A response would be very appreciated... thanks to you... :oops: Please, please, please help...:oops:

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)

zeroibis 09-09-2012 20:30

Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
 
The source code for the existing es script could easily be converted...

Dr. McKay 09-09-2012 22:10

Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
 
1 Attachment(s)
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.

leichenclub 09-10-2012 06:56

Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
 
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) :bacon!:.
Could you please change a little thing to make it perfect?
rukia Both players (attacker and victim) should hear the sound "ouch.mp3"
rukia 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"
rukia The slap should be more intensive like a double-slap or something (for aborting and attacking of course)

I thank you for all, rodney :)

Dr. McKay 09-10-2012 13:20

Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
 
1 Attachment(s)
Updated.

leichenclub 09-10-2012 16:18

Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
 
I succesfully tested it on our servers. Great work!
Thank you soooo much for it ;)
With best greatings
LeichenClub

(I will donate)

Hunter S. Thompson 09-11-2012 02:00

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

Originally Posted by Dr. McKay (Post 1796106)
Updated.

Why use a timer for playing the slap sound? Why not a simple stock?

Dr. McKay 09-11-2012 06:08

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

Originally Posted by Hunter S. Thompson (Post 1796442)
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.

leichenclub 09-12-2012 15:14

Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
 
:comply: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 ...
:roll:Can you update, please?:fox:

minimoney1 09-12-2012 17:46

Re: [CS:GO] ! ! ! Simple-Special-Script ! ! ! -> sm-sss
 
1 Attachment(s)
Quote:

Originally Posted by leichenclub (Post 1797703)
:comply: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 ...
:roll:Can you update, please?:fox:

Yap
try this


All times are GMT -4. The time now is 01:34.

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