Author Topic: ZS Music Replace by Krasher  (Read 1064 times)

0 Members and 1 Guest are viewing this topic.

Offline ¦FlapJack¦

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-1
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #15 on: March 30, 2010, 05:44:54 AM »
lol i show you what it looks like in the luas


zs_options.lua


Code: [Select]
-- Set this to true if you want your admins to be able to use the 'noclip' concommand.
-- If they already have rcon then it's pointless to set this to false.
ALLOW_ADMIN_NOCLIP = true


-- Put your unoriginal, Rob Zombie and Metallica music here.
LASTHUMANSOUND = "lasthuman.mp3"


-- In seconds, the length of the above file. It's important to have this correct or you may get delayed or overlapping music.
LASTHUMANSOUNDLENGTH = 120


-- Sound to play for ambient Un-Life music. Depricated as of v2.0
UNLIFESOUND = "unlife1.mp3"
UNLIFESOUNDLENGTH = 210


-- Sound played to a person when they lose the game.
ALLLOSESOUND = "lose_test.mp3"


-- Sound played to a person when they win the game.
HUMANWINSOUND = "humanwin.mp3"


-- Sound played to a person when they die as a human.
DEATHSOUND = "music/stingers/HL1_stinger_song28.mp3"


-- Turn off/on the redeeming system. If you want a really unforgiving environment then you can turn this off.
REDEEM = true


-- Human kills needed for a zombie player to redeem (resurrect). Do not set this to 0. If you want to turn this
-- system off, set AUTOREDEEM to false.
REDEEM_KILLS = 4


-- Players don't have a choice if they want to redeem or not. Setting to false makes them press F2.
AUTOREDEEM = true


it is server-side like krasher said

Yes, because renaming sound files is something you need Lua for.

Offline jimonions

  • All your mapping needs
  • Übermensch
  • *****
  • Posts: 901
  • Karma: +31/-10
  • Gender: Female
  • durp my name is JIM what is yours?
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #16 on: March 30, 2010, 06:07:15 AM »
ok i want this to be the last time i say this since people dont seem to be reading the posts. you dont need to change the lua code to play what you want, just go to your sounds folder in your gmod directory and replace the current sound file wth your own. this requires no lua changing whatsoever but you can if you want, but thats server side, all its doing is looking for the sound file named lasthuman in your directory and playing it.

i think for random server's zs you need to name it lasthuman_test
« Last Edit: March 30, 2010, 06:11:39 AM by jimonions »

(Guest) combines is druck: IF I WAS AN ADMIN I WOULD BAN ONE OF YOU NOT ZOMBIES AND PUSH ME AS AN HUMAN I WILL

Offline Tomcat

  • Smartical
  • Übermensch
  • *****
  • Posts: 1694
  • Karma: +42/-13
  • Gender: Male
  • OMG IS DAT A CHEEZEBURGER
    • View Profile
    • Rnd Upload
Re: ZS Music Replace by Krasher
« Reply #17 on: April 05, 2010, 07:54:04 PM »
we know but we are trying to make this defualt


Quote
Andrew: your mom spazzes
.:RND`=- Tomcat: not me
Tomcat: andrew
Tomcat: dont go there
.:RND`=- Tomcat: i will rape you all they way back to 1980

Offline CRAZY!

  • Regular Member
  • ***
  • Posts: 206
  • Karma: +5/-4
  • Gender: Male
  • l always fail
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #18 on: April 07, 2010, 04:13:02 AM »
l prefer to use rick roll or benny hill theme lol



Offline =-Mastgrr-=

  • Critical hit!
  • Übermensch
  • *****
  • Posts: 990
  • Karma: +21/-27
  • Gender: Male
  • Respect: <9000
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #19 on: April 07, 2010, 04:30:42 AM »
Epic music is Epic
.:~`=-rANdOm-=`~:. Game Server's Respected Team

Offline =-Mastgrr-=

  • Critical hit!
  • Übermensch
  • *****
  • Posts: 990
  • Karma: +21/-27
  • Gender: Male
  • Respect: <9000
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #20 on: April 07, 2010, 04:37:50 AM »
lul it very simple to change since its not all serverside. just find lasthuman_test in your sounds and replace it with watever you want (must be a wave file)
Can you please tell me where exactly to find the folder?
.:~`=-rANdOm-=`~:. Game Server's Respected Team

Offline jimonions

  • All your mapping needs
  • Übermensch
  • *****
  • Posts: 901
  • Karma: +31/-10
  • Gender: Female
  • durp my name is JIM what is yours?
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #21 on: April 07, 2010, 04:52:41 AM »
C:\Program Files\Steam\SteamApps\YOURNAME\garrysmod\garrysmod\sound

(Guest) combines is druck: IF I WAS AN ADMIN I WOULD BAN ONE OF YOU NOT ZOMBIES AND PUSH ME AS AN HUMAN I WILL

Offline =-Mastgrr-=

  • Critical hit!
  • Übermensch
  • *****
  • Posts: 990
  • Karma: +21/-27
  • Gender: Male
  • Respect: <9000
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #22 on: April 07, 2010, 06:06:08 AM »
thx found it
it wasnt lasthuman_test its just lasthuman
.:~`=-rANdOm-=`~:. Game Server's Respected Team

Offline Tomcat

  • Smartical
  • Übermensch
  • *****
  • Posts: 1694
  • Karma: +42/-13
  • Gender: Male
  • OMG IS DAT A CHEEZEBURGER
    • View Profile
    • Rnd Upload
Re: ZS Music Replace by Krasher
« Reply #23 on: April 07, 2010, 10:19:13 AM »
yeah thtas why we named it lasthuman_test.mp3 so people would hear it once if added

Quote
Andrew: your mom spazzes
.:RND`=- Tomcat: not me
Tomcat: andrew
Tomcat: dont go there
.:RND`=- Tomcat: i will rape you all they way back to 1980

Offline =-Mastgrr-=

  • Critical hit!
  • Übermensch
  • *****
  • Posts: 990
  • Karma: +21/-27
  • Gender: Male
  • Respect: <9000
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #24 on: April 07, 2010, 11:06:57 AM »
Oooh
.:~`=-rANdOm-=`~:. Game Server's Respected Team

Offline Mr.Franklin

  • RND's Favorite Uncle
  • Übermensch
  • *****
  • Posts: 847
  • Karma: +8/-2
  • Gender: Male
  • MingeFest 2010!
    • View Profile
    • Pirate Hat Dance!
Re: ZS Music Replace by Krasher
« Reply #25 on: April 08, 2010, 07:29:46 PM »
I agree with first post, epicness go up 10,000%!
HABA BABA ^_^

Offline » Magic «

  • Who dares wins
  • WaffleBBQrz
  • ******
  • Posts: 4020
  • Karma: +101/-34
  • Gender: Male
  • Prepare for the worst :D
    • View Profile
Re: ZS Music Replace by Krasher
« Reply #26 on: April 09, 2010, 11:50:26 AM »
out with the old in with the new
Copyright© .:~`=-rANdOm-=`~:. GameServer's Administration Team 2008/2009/2010


bubbly bubbly so darn bubbly