Raised This Month: $ Target: $400
 0% 

Transistor Radio


Post New Thread Reply   
 
Thread Tools Display Modes
crab head
Junior Member
Join Date: May 2005
Old 08-15-2005 , 20:36  
Reply With Quote #91

Actually it is possible to make this Plugin using MP3s, please have a look at this Pluginsource:

http://www.modns.org/forums/index.ph...readyroom&st=0

Unfortunaly this way of using mp3 isn't perfect, as all entitys reset from time to time (often) so also the music resets. Theres no Way to get around. (i've been told)

My request:
- Make the Plugin support .wav and .mp3 (the best would be, both at the same time configurable by .cfg file,cause as written above, the mp3 entity ways is not perfect)

- Add a Feature to dedicated place Radios on coordinates (-2565 3157 719 for example), playing a specific song in either .wav or .mp3 configurable in a .cfg File.


We just need to find someone to rewrite the code for us now ;)
crab head is offline
Indiana
Member
Join Date: Nov 2004
Location: Landshut, Germany
Old 10-29-2005 , 13:59  
Reply With Quote #92

Sorry for my "late" answere, but I was very busy by my job (and wife *g*).

Azimuth: I recommend to user sv_downloadurl to point to a web service. But the max download speed is the same as sv_maxrate in-game.

nitricacid: Please explain your "shoutcast" more in detail. But if you want to have a shoutcast stream in-game .. thats not posible.

crab head: Again, it is not posible to use mp3 the way it is done with wav.
There is absolutly no way exept you re-write Half-Life.
The plugin you point just play a mp3 to all player in defined area, thats not the same what this radio is doing.
With the radio the music get louder if you are near and after da defind range the music is off.
__________________
C'ya
Indiana

Visit my Fun-Clan: www.wc3-freaks.de
Indiana is offline
Creekaleak
New Member
Join Date: Mar 2006
Old 04-06-2006 , 19:54   work with amxx 1.01
Reply With Quote #93

Do these plugs work with amxx 1.01?
Creekaleak is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 04-18-2006 , 22:59  
Reply With Quote #94

hmmm, so far it seems to work fine on ts amxx 1.01 (of course i changed the songs, the ones that aren't auto precaching seem to be having problems though, i'm not sure if i messed up or plugin messed up....)

EDIT: Does anyone know how to get this working with midi's?
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
bigman11
Member
Join Date: Jun 2006
Location: Computer
Old 01-28-2007 , 23:33   Re: Transistor Radio
Reply With Quote #95

How do I make it so i can put a url for a song to play
__________________
bigman11 is offline
Send a message via MSN to bigman11
dellairion
New Member
Join Date: Nov 2006
Old 08-29-2007 , 17:15   Re: Transistor Radio
Reply With Quote #96

I'm very interested in this one cause RadioMod from the AdminOP site isn't working on my linux server (it works on windows). I will like to know if it's possible to give the player a menu with a list of songs when they press the use key and how to replace that model with the one from RadioMod or if there is already an alternative for RadioMod pls tell me.

Thnx,
Dellairion
dellairion is offline
TheMadCat
Junior Member
Join Date: Aug 2007
Location: Wisconsin
Old 09-02-2007 , 10:36   Re: Transistor Radio
Reply With Quote #97

I love your plugin and asking if there is anymore updates for it? Also, if there are update is there anyway to edit some of your code? For Example when (if your new code like old code)

PHP Code:
public StartSoundAgain(TaskID) {
    new 
EntID TaskID-22
    
    
new Station get_cvar_num("radio_station")
    if (
Station==1) {
        
emit_sound(EntIDCHAN_VOICE"misc/transistorradiodef/NarutoWindedited2.wav"VOL_NORMATTN_NORM0PITCH_NORM)
        
set_task(107.0"StartSoundAgain"EntID+22)
    } else if (
Station==2) {
        
emit_sound(EntIDCHAN_VOICE"ambience/Opera.wav"VOL_NORMATTN_NORM0PITCH_NORM)
        
set_task(72.0"StartSoundAgain"EntID+22)
    } else {
        
emit_sound(EntIDCHAN_VOICE"ambience/lv_jubilee.wav"VOL_NORMATTN_NORM0PITCH_NORM)
        
set_task(6.0"StartSoundAgain"EntID+22)
    } 
and

PHP Code:

public plugin_precache() {
    
precache_sound("weapons/mine_deploy.wav")    // Radio Place
    
precache_sound("common/null.wav")            // Radio Off
    
precache_sound("misc/transistorradiodef/NarutoWindedited2.wav")    // Jihad Channel (1)
    
precache_sound("ambience/Opera.wav")        // Opera Channel (2)
    
precache_sound("ambience/lv_jubilee.wav")    // New Wave Channel (3)
    
precache_model("models/w_transistor.mdl")
    
precache_model("models/w_transistort.mdl")
    return 
PLUGIN_CONTINUE 

String TrasistorRadioStation1 = "weapons/mine_deploy.wav"; (java code) so don't have to run done the code editting few line when switch to different wav. Thank You. (I would do it, but I never script this kind of code)

String TrasistorRadioStation1 = "weapons/mine_deploy.wav";

.....
if (Station==1) {
emit_sound(EntID, CHAN_VOICE, TrasistorRadioStation1 , VOL_NORM, ATTN_NORM, 0, PITCH_NORM)
....

etc

Last edited by TheMadCat; 09-02-2007 at 10:44.
TheMadCat is offline
Maniak
Junior Member
Join Date: May 2007
Old 12-06-2007 , 12:36   Re: Transistor Radio
Reply With Quote #98

Is there any possibility tu force play .pls files, it would be perfect, becouse then i could stream my radio music
Maniak is offline
AceWiz
New Member
Join Date: Dec 2007
Location: Lithuania
Old 12-07-2007 , 15:54   Re: Transistor Radio
Reply With Quote #99

Sweet Plugin
__________________
AceWiz is offline
Send a message via Skype™ to AceWiz
DJ URBAN NINJA
Junior Member
Join Date: Oct 2008
Old 10-28-2008 , 07:12   Re: Transistor Radio
Reply With Quote #100

i use mp3.amxx its active. using it 2 play music to all players. now i got to find out what is moddir. other forums say its the root mod directory.well all my mods located in addons(no moddie file on my server) hopefuly it will be heard in a 2 weeks. if u want to check it out my server ip. is 8.12.21.50:27015 HD quality music ready just need to upload it in this "mistry moddir??"
DJ URBAN NINJA 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 02:53.


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