Wuuuuuuuu
Das funzt ja wunderbar
Grosses DANKE SCHÖN von mir und vom
<3<3<3 FTK-Clan <3<3<3
Kleine Hinweise für diejenigen die es auch benutzen wollen!
Die gg_en_config.cfg müsst ihr so editieren:
//********************************
// SOUNDS
//********
//
// Sound files
// Put the exact file name here preceded with "gungame/"
// Make sure there are no spaces in it.
// Rename the file if you have to remove any spaces in the name.
// Put your sounds in the cstrike/sound/gungame directory
// To disable a particular sound, leave it empty between
// the quotes: ""
gg_sound_levelup "gungame/smb3_powerup.wav"
gg_sound_leveldown "gungame/smb3_powerdown.wav"
gg_sound_levelsteal "gungame/smb3_1-up.wav"
gg_sound_nade "gungame/nade_level.wav"
gg_sound_knife "gungame/knife_level.wav"
gg_sound_welcome ""
gg_sound_winner ""
gg_sound_handicap "gungame/gg_handicap.wav"
// The triple level sound must be exactly 10 seconds long to work
// correctly with the Gun Game code
gg_sound_triple "gungame/smb_star.mp3"
// RANDOM WINNER SONG
// 0=off, 1=on
gg_rand_song 0
// This will override your gg_sound_winner setting above and play
// a random song from this list.
// EACH FILE MUST BE LOCATED IN YOUR /cstrike/sound/gungame/
// DIRECTORY!!!
// Put each song filename in this list seperated by commas,
// NO SPACES!!!
gg_songlist ""
Sprich: Die
gg_sound_winner müsst ihr
Blank lassen,
gg_rand_song auf
0 setzen und die
gg_songlist auch
Blank lassen.
Wenn ihr die Sounds in die ggs.py reinschreibt gebt bei der Länge nur den vollen Sekunden Wert und immer
ABGERUNDET an.
Bsp.: 13,891 Sec. -> 13 als Wert eintragen
Wenn ihr die Sounds rein geschrieben habt vergesst den Ordner nicht
Es
muss nicht mehr der gungame Ordner sein.
Beispiel meiner ggs.py:
import es, random
sounds = [
["FTK-Server/gungame/ftkggwin1.mp3", 13],
["FTK-Server/gungame/ftkggwin2.mp3", 13],
["FTK-Server/gungame/ftkggwin3.mp3", 14],
["FTK-Server/gungame/ftkggwin4.mp3", 13],
["FTK-Server/gungame/ftkggwin5.mp3", 13]
]
def es_map_start(event_var):
for sound in sounds:
es.server.cmd("downloadable sound/%s" % sound[0])
def gg_win(event_var):
sound, zeit = random.choice(sounds)
es.forcevalue("mp_chattime", zeit + 1)
es.cexec_all("playgamesound", sound)
Hoffe diese kleine Mini-Tutorial Hilfe wird dem ein oder andreen nochmal helfen
PS.: Könntest des Script ja noch bei Mattie hochladen? Würde bestimmt einge Leute geben die des nutzen werden
MFG
Godzilla