Raised This Month: $51 Target: $400
 12% 

[TF2] Smoke Weed Every Day (1.3)


Post New Thread Reply   
 
Thread Tools Display Modes
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-16-2011 , 23:44   Re: [TF2] Smoke Weed Every Day (1.3)
Reply With Quote #31

You could probably replace the entire playing of the sound with a sound hook that just replaces the Medic's Oktoberfest line with the weed_path sound.

Also, why isn't the TF2_GetPlayerConditionFlags stock being used?
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 05-16-2011 at 23:47.
FlaminSarge is offline
snowblind33
New Member
Join Date: Aug 2012
Old 08-24-2012 , 21:38   Re: [TF2] Smoke Weed Every Day (1.3)
Reply With Quote #32

Alright, so I made an account just to post on this.

I cannot get this to work for the absolute life of me. Here's what I'm doing:

1) I have the .smx in the addons\sourcemod\plugins directory
2) I have the sound in the correct directory, tf\sound\imgay
3) I have the sound whitelisted in the pure_server_whitelist.txt
Here is a copy of my whitelist in the hl2 folder.
whitelist
{
//
// 3 modifiers are allowed on file specifications:
//
// from_steam
// allow_from_disk - allow the file to come from disk
// check_crc - used with allow_from_disk - server does CRC checks on the client's file to make sure it matches
//
// The default modifier on all files is allow_from_disk. Thus, all files can come from disk and don't need CRC checks unless
// allow_from_disk can be set at the same time as check_crc. Use the + character in between them to signify this: allow_from_disk+check_crc.


//
// Three types of file specifications:
//
// 1. directory\*.* - refers to all files under the directory
// 2. directory\... - refers to all files under the directory and all directories under that (recursively)
// 3. directory\filename - refers to a single file


//
// By default, when in pure server mode, most content file types are only allowed to come from Steam.
//
materials\... from_steam
models\... from_steam
sound\... from_steam


//
// Allow custom player models. Don't do CRC checks on them because the clients may all
// have different custom models and the server won't have them all.
//
models\player\... allow_from_disk
materials\models\player\... allow_from_disk

//
// Allow custom spray decals.
//
materials\temp\... allow_from_disk
materials\vgui\logos\... allow_from_disk
materials\vgui\logos\ui\... allow_from_disk

//
// Allow replay browser thumbnails.
//
materials\vgui\replay\thumbnails\... allow_from_disk

//
// (Uncomment and edit these for mods).
// Allow mod resources to come from disk.
//

sound\imgay\...\ allow_from_disk+check_crc

}

I have nothing else in my whitelist, for simplicity's sake.

4) I have the CVARS added at the end of my server config, as such:

weed_version 1.3
weed_path imgay\smokeweederryday.mp3

5) I have sv_pure set to 1 in my autoexec.cfg.


So what exactly am I doing wrong here?

Last edited by snowblind33; 08-24-2012 at 21:40.
snowblind33 is offline
cooltownaz
Member
Join Date: Apr 2010
Old 01-02-2013 , 01:35   Re: [TF2] Smoke Weed Every Day (1.3)
Reply With Quote #33

I sure wish i could get this to work. I have the files and directories set... and i have sv_pure set to 0. When i connect to my server it downloaded the files to my computer so i dont see why its not working
cooltownaz is offline
captaindeterprimary
AlliedModders Donor
Join Date: Sep 2012
Old 01-02-2013 , 14:43   Re: [TF2] Smoke Weed Every Day (1.3)
Reply With Quote #34

Quote:
Originally Posted by cooltownaz View Post
I sure wish i could get this to work. I have the files and directories set... and i have sv_pure set to 0. When i connect to my server it downloaded the files to my computer so i dont see why its not working
Are the models and sounds on the server along side the fastdownload server?
__________________
Last edited by ; Today at 08:20 AM. Reason: Get rid of s
captaindeterprimary is offline
wawazy
Member
Join Date: Aug 2009
Old 01-07-2013 , 19:47   Re: [TF2] Smoke Weed Every Day (1.3)
Reply With Quote #35

Download worked
server pure 0

sound are in folder /tf/sound/imgay

"weed_path" = "imgay/SmokeWeedErryDay.mp3"

but no sound

p.s. my quake sound work perfecly but not this one



wa
wawazy is offline
wawazy
Member
Join Date: Aug 2009
Old 01-18-2013 , 16:56   Re: [TF2] Smoke Weed Every Day (1.3)
Reply With Quote #36

well somone got an idea ????
wawazy is offline
Galactic
New Member
Join Date: May 2014
Old 06-08-2014 , 18:53   Re: [TF2] Smoke Weed Every Day (1.3)
Reply With Quote #37

Yeah I'm getting the same issues as the guys above me, anyone got a clue?
(It downloads fine, weed_path is showing the correct directory, but nothing happens)
__________________
Galactic is offline
snupydogg
Junior Member
Join Date: Aug 2014
Old 08-31-2014 , 20:03   Re: [TF2] Smoke Weed Every Day (1.3)
Reply With Quote #38

Anyone know where to put the sound file at? I have the plugin loaded but it wont play the soundfile ;_; Also is there a way to make it so I can play this whenever I want to? I haven't edited the whitelist or anything and i have imgay/SmokeWeedEveryday.mp3 in tf/sound. I'm still really new at this ;_;

edit: nevermind i got it to work and i love it lol

Last edited by snupydogg; 08-31-2014 at 20:52.
snupydogg is offline
Reply



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 17:59.


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