Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Need revive spree Clarification...

- - - - -

Best Answer RaNeR, 01 June 2013 - 08:15 PM

   How to add revive sprees to silent...in plain english !!!
1) Silent does not have onboard sounds for revive sprees....So
   Make a pk3 and add your wav files to it...Path is...
   sound/announces/revive3.wav
                            /revive5.wav
                            /revive10.wav
 
   A) If you don't know how to make a pk3 file, here you go...this is for WinRAR...
      Well if you want to do it the easy way just download one of the spree pk3
      on this post extract it and change the wav files and rename it...
      But if you want to make your own pk3 here is how I do it...
      Make a new folder on your desktop name it sound then open the sound folder
      and make a new folder inside it and name it announces open the announces
      folder and paste you wav files in it...when your done just close the folder
      Then right click on the sound folder and if your using winrar add the folder
      to archives when the pop windows opens hit zip then highlight the name and name
      it whatever you want but make sure there are no spaces and it ends with .pk3
      not .zip or .rar
      Example:
      clan_name_001.pk3
2) Go to silent cfg and find this cvar...
   set g_spreeOptions " "  if you have spreeOptions enabled in your server
                                         there will be a number maybe 31 if your
                                         killing spree options are enablel. If spree options are
                                         not enabled it will be 0. Either way just add 2807
                                         to what ever number you see...to activate riveve sprees...
3) Add your pk3 file to the silent folder in the server and add it to the silent
   folder in your redirect...
4)Restart your server and your done...if you did everything right your revive sprees
  will work...
OOOH...Almost forgot if you want a great free program to make, edit, combind, wav files or MP3
              files just check out this link...
              http://audacity.sour...ownload/windows
              I have been using this program for years it's
              very good but it takes a bit of getting used to...
             If you need help here is the forum link...
             http://forum.audacit...wforum.php?f=16
Hope this helps you if your thinking of enabling your revive spress...
 
 

Go to the full post »


  • Please log in to reply
11 replies to this topic

#1
OFFLINE   RaNeR

RaNeR

    Regular Member

  • Members
  • PipPipPip
  • 80 posts
2
A step in the right direction

Hello and Help!!!
First: Is the lua the only way to activate revive sprees...
If the answer is "YES" can some one give me a bit of information as to how to
make it work...
I got most of it worked out but the install instrutions are not very detailed.
Ok...Lua goes on the silent folder...
Make a sound pk3...sound/announces/wav.file name ...7 wavs files in pk3 in this case...goes in silent folder...
Is this for lua or...settings cfg or what...it memtions ([revive] blocks)
On server cfg...cvar...
g_spreeOptions "2048"  Enable revivesprees ([revive] blocks)

On the lua cfg...
I only see two sound wavs...that I can point at...for the multi sound only...

 -- "sound/rsprees/mur.wav" / "sound/rsprees/mor.wav"
        -- are played if 'multi_sound = true' :o) --

Where do I edit to point the lua cfg to execute the sound wavs from the
pk.3 for:
 
     [5] = "is on a reviving spree",
    [10] = "really needs new syringes soon",
    [15] = "earned the bronze syringe",
    [20] = "earned the silver syringe",
    [25] = "earned the golden syringe",
    [30] = "is a god dressed in white",
    [35] = "just arrived from the 4077th M*A*S*H",

------------------------------------------------------------------------------
>>>>> complete lua cfg  just copied it for refrence <<<<<
------------------------------------------------------------------------------
multi_sound    = true -- DON'T set to true to enable, no sounds yet...
SET TO false IF YOU DON'T HAVE SOUNDS FOR THIS
        -- "sound/rsprees/mur.wav" / "sound/rsprees/mor.wav"
        -- are played if 'multi_sound = true' :o) --
===============================================================================
...Lua cfg...
===============================================================================
announce_revives = true -- set to true or false, "false" disables announcing of revives
                     -- usually set to false because it influences game play too much
                     -- this was just added for debugging
revive_color = "7"   -- color of announced revives
revive_pos   = "chat" -- where to put the announced revive msgs, see comment below

spree_pos    = "chat" -- see http://wolfwiki.anim...ndServerCommand for valid locations
spree_color  = "8"   -- color of spree messages
spree_cfg    = "revivingspree.txt" -- all time stats are saved here..
record_cfg   = "rspree-records.txt" -- all time records, see 'srv_record'

date_fmt     = "%Y-%m-%d, %H:%M:%S" -- for map record dates, see strftime(3) ;->

multi_revive   = true -- set to true or false, "false" disables multi/monster revives
multi_announce = true -- set to true or false, "false" disables the msgs below
multi_sound    = true -- DON'T set to true to enable, no sounds yet... SET TO false IF YOU DON'T HAVE SOUNDS FOR THIS
        -- "sound/rsprees/mur.wav" / "sound/rsprees/mor.wav"
        -- are played if 'multi_sound = true' :o) --
multi_pos      = "chat"
monster_pos    = "chat" -- b 32 == cp (this info is for harle :o))
-- the %s below will be replaced by the player name
multi_msg      = "^7!!!! ^1Multirevive ^7> ^7%s ^7< ^1Multirevive^7 !!!!"  
monster_msg    = "^7OMG,^1 MONSTER REVIVE ^7>>> ^7%s ^7<<< ^1MONSTER REVIVE^7 !!!!"
  
-- yes, very unlikely, but you can revive, die, get revived and do
-- another revive within 3 seconds....
-- hmm... probably it's worth a possible multi/monster revive if
-- you manage to do that, so let the admin decide if it's honoured
multi_without_death = false -- set to true to stop multi revives if medic dies

allow_tk_revive = true -- if true: a revive of a tk'd team mate does not
                       -- add a revive, but just sets the time of the last
                       -- revive. With this you can tk one, revive someone
                       -- else, then the tk'd and another one with max 3 secs
                       -- between each revive instead of max 3 seconds between
                       -- two not tk'd players
                       -- if false: time between reviving two not tk'd players
                       -- is used

rspree_cmd_enabled = true -- set to false to ignore next line's command
rspree_cmd = "!rspree" -- same as etadmin_mod's killing spree record
record_cmd = "!rsprees"
record_last_nick = false -- set to true to keep the last known nick a guid has,
                         --  ... instead of the one seen the first time
stats_cmd  = "!stats" -- same as etadmin_mod's !stats command
records_expire = 60*60*24*90  -- in seconds! 60*60*24*90 == 90 days

save_awards = true
awards_file = "awards.txt" -- same as kspree.lua's awards file,
                           -- greetings to bennz :-)
R_Sprees = { -- these numbers MUST be multiple of 5...!
     [5] = "is on a reviving spree",
    [10] = "really needs new syringes soon",
    [15] = "earned the bronze syringe",
    [20] = "earned the silver syringe",
    [25] = "earned the golden syringe",
    [30] = "is a god dressed in white",
    [35] = "just arrived from the 4077th M*A*S*H",
}

srv_record = true -- enable/show users with most multi/monster revives
msg_default = true -- print rspree messages to client if true
          -- clients can set their default with 'setu v_rsprees 1' (or 0)
msg_command = "rsprees" -- '\rsprees 1|0' to switch on / off the messages
===============================================================================

Second: Will Silent 7.2 support a settings cfg...with a revive spree blocks...
Example...

[revive]
number    = 3
message   = [n] ^7is on a revive spree! (^13^7 revives)
position  = chat
display   = all
sound     = sound/announces/wav file name
play      = all

 

Third: Will Silent 7.2 support a block on the shurbbot cfg...
Example...

[revive]
number    = 3
message   = [n] ^7is on a revive spree! (^13^7 revives)
position  = chat
display   = all
sound     = sound/announces/wav file name
play      = all

Thanks Raner...



#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

 

g_spreeOptions "2048"  Enable revivesprees ([revive] blocks)

 

This setting doesn't useLua scripts. Lua is an alternative method for it.

 

The second question, no, your alternatives are the inbuilt sprees or doing them with a Lua script, which allows fully editing them.



#3
OFFLINE   RaNeR

RaNeR

    Regular Member

  • Members
  • PipPipPip
  • 80 posts
2
A step in the right direction

Thanks For The Reply gaoesa... 

Now as far as as the second question...

If I'm reading your answer right...

On server cfg...cvar...
g_spreeOptions "2048"  Enable revivesprees ([revive] blocks)

If I use ...

set g_spreeOptions "2048"

If I add:

[revive]
number    = 3
message   = [n] ^7is on a revive spree! (^13^7 revives)
position  = chat
display   = all
sound     = sound/announces/wav file name
play      = all

To a settings cfg the revive spree will work...

or do I add it to the shurbbot cfg for it to work...

Or I'm I reading your answer wrong and it will not work if I add the block to either on the cfg's...

I can install the Lua revive spree if need be but I think the blocks will work just as good if they will work...The Blocks are Easyer to work with for me... Thanks Raner



#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

The blocks don't exist in silent.



#5
OFFLINE   RaNeR

RaNeR

    Regular Member

  • Members
  • PipPipPip
  • 80 posts
2
A step in the right direction

Ok...Then...

The only thing left is the Lua...

Thanks Geoesa...I'll install the Lua and go from there...



#6
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

we have ours set to

set g_spreeOptions 2807  //changed from 0

Also we have a pk3 file with all our spree sounds in.

All I did was rename the sounds I wanted to what silent was looking for and then added them to a pk3 file, I've attached mine to this so you can have a look. I'm not sure if this is what your after or its the corrct way to do it but it works.

 

Mike.

Attached Files



#7
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

Yes. Adding the sounds in a separate pk3 file is the correct way to add them for the inbuilt sprees.

 

Here are the names and location that the files must have. You don't need to put all the files. Only those that you want.

http://mygamingtalk....p/Silent_Sounds



#8
OFFLINE   RaNeR

RaNeR

    Regular Member

  • Members
  • PipPipPip
  • 80 posts
2
A step in the right direction

Ok Guys Thanks for the help...

I'll go with onboard revives...

I tried the Lua but it's not working for some reason...

I get server disconnected for unknown reason when it's installed

as soon as I take it out everything is fine...



#9
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

I dont use lua either, its just a case using the pk3 I attached to see what mine sound like then add your own inside the pk3 in place of mine.

it just works once you've uploaded the pk3 and restart the server.

Dont forget to put the pk3 you use on your redirect as well.



#10
OFFLINE   RaNeR

RaNeR

    Regular Member

  • Members
  • PipPipPip
  • 80 posts
2
A step in the right direction
✓  Best Answer

   How to add revive sprees to silent...in plain english !!!
1) Silent does not have onboard sounds for revive sprees....So
   Make a pk3 and add your wav files to it...Path is...
   sound/announces/revive3.wav
                            /revive5.wav
                            /revive10.wav
 
   A) If you don't know how to make a pk3 file, here you go...this is for WinRAR...
      Well if you want to do it the easy way just download one of the spree pk3
      on this post extract it and change the wav files and rename it...
      But if you want to make your own pk3 here is how I do it...
      Make a new folder on your desktop name it sound then open the sound folder
      and make a new folder inside it and name it announces open the announces
      folder and paste you wav files in it...when your done just close the folder
      Then right click on the sound folder and if your using winrar add the folder
      to archives when the pop windows opens hit zip then highlight the name and name
      it whatever you want but make sure there are no spaces and it ends with .pk3
      not .zip or .rar
      Example:
      clan_name_001.pk3
2) Go to silent cfg and find this cvar...
   set g_spreeOptions " "  if you have spreeOptions enabled in your server
                                         there will be a number maybe 31 if your
                                         killing spree options are enablel. If spree options are
                                         not enabled it will be 0. Either way just add 2807
                                         to what ever number you see...to activate riveve sprees...
3) Add your pk3 file to the silent folder in the server and add it to the silent
   folder in your redirect...
4)Restart your server and your done...if you did everything right your revive sprees
  will work...
OOOH...Almost forgot if you want a great free program to make, edit, combind, wav files or MP3
              files just check out this link...
              http://audacity.sour...ownload/windows
              I have been using this program for years it's
              very good but it takes a bit of getting used to...
             If you need help here is the forum link...
             http://forum.audacit...wforum.php?f=16
Hope this helps you if your thinking of enabling your revive spress...
 
 


Edited by RaNeR, 01 June 2013 - 08:19 PM.


#11
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland

The blocks don't exist in silent.

There's misinformation in docs then:

http://mygamingtalk....#g_spreeOptions
2048 Enable revivesprees ( [revive] blocks )

#12
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

Fixed.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users