Raised This Month: $ Target: $400
 0% 

Transistor Radio


Post New Thread Reply   
 
Thread Tools Display Modes
Deagle
Veteran Member
Join Date: Jun 2004
Old 07-31-2004 , 17:13  
Reply With Quote #31

valve/models or moddir/models ?
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 08-03-2004 , 02:19  
Reply With Quote #32

??

i want to stick it in the ground
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Hellmaker
Junior Member
Join Date: Aug 2004
Location: Germany
Old 08-26-2004 , 21:57  
Reply With Quote #33

hi! realy funny idea.......
works in dod 1.3

but can you change the plugin so that the sound will be played in a loop and not once ???

i would do it by myself but i dont know how!

would be nice!
thx!
__________________
Visit us: www.clan-got.de
Hellmaker is offline
Send a message via ICQ to Hellmaker
Shinko
Member
Join Date: Aug 2004
Old 08-26-2004 , 22:06  
Reply With Quote #34

So people do know a way to add your own songs to it?
If so can you please post how?
Shinko is offline
Send a message via AIM to Shinko
Hellmaker
Junior Member
Join Date: Aug 2004
Location: Germany
Old 08-26-2004 , 22:13  
Reply With Quote #35

you only have to change the sound directory to the sound you want to have!

exampel change all ambience/arabmusic.wav to ambience/mysound.wav

for adding more than 3 sounds you have to rewrite the code.......

this is a bit harder and i dont know how to do because then i would write a loop for the sound by myself
__________________
Visit us: www.clan-got.de
Hellmaker is offline
Send a message via ICQ to Hellmaker
Shinko
Member
Join Date: Aug 2004
Old 08-27-2004 , 18:14  
Reply With Quote #36

w00t I got it to work with custom song.

Now just like hell's suggestion, wish it could loop .
Shinko is offline
Send a message via AIM to Shinko
Hellmaker
Junior Member
Join Date: Aug 2004
Location: Germany
Old 08-27-2004 , 18:18  
Reply With Quote #37

when you get this to loop notify me instandly

would be real great !!!!!!!!!!!!!
__________________
Visit us: www.clan-got.de
Hellmaker is offline
Send a message via ICQ to Hellmaker
Blunted1
Senior Member
Join Date: Jun 2004
Old 08-27-2004 , 18:18  
Reply With Quote #38

I already custom wrote this with more selection and custom tunes.
It started with a funny quote (taken from various movies etc), then looped a song after.

I can do all of this. Looping is simple. Post the code you want changed (if not the original) and list the changes you want made, when I get a chance I will do it all for you.
Blunted1 is offline
Hellmaker
Junior Member
Join Date: Aug 2004
Location: Germany
Old 08-28-2004 , 08:32  
Reply With Quote #39

if you could only add a loop for the sound at the orginal code would be wounderful..........

thx a lot!
__________________
Visit us: www.clan-got.de
Hellmaker is offline
Send a message via ICQ to Hellmaker
Blunted1
Senior Member
Join Date: Jun 2004
Old 08-29-2004 , 02:31  
Reply With Quote #40

Call me crazy but it appears that it already loops the three default sounds/"stations".....

Code:
public RadioActivate(RadioID[]) {     new EntID = str_to_num(RadioID)         new Station = get_cvar_num("radio_station")     if (Station==1) {         emit_sound(EntID, CHAN_VOICE, "ambience/arabmusic.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)         set_task(107.0, "StartSoundAgain", EntID+22)     } else if (Station==2) {         emit_sound(EntID, CHAN_VOICE, "ambience/Opera.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)         set_task(72.0, "StartSoundAgain", EntID+22)     } else {         emit_sound(EntID, CHAN_VOICE, "ambience/lv_jubilee.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)         set_task(6.0, "StartSoundAgain", EntID+22)     } } public StartSoundAgain(TaskID) {     new EntID = TaskID-22         new Station = get_cvar_num("radio_station")     if (Station==1) {         emit_sound(EntID, CHAN_VOICE, "ambience/arabmusic.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)         set_task(107.0, "StartSoundAgain", EntID+22)     } else if (Station==2) {         emit_sound(EntID, CHAN_VOICE, "ambience/Opera.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)         set_task(72.0, "StartSoundAgain", EntID+22)     } else {         emit_sound(EntID, CHAN_VOICE, "ambience/lv_jubilee.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)         set_task(6.0, "StartSoundAgain", EntID+22)     }     }



Thats a whole lot of StartSoundAgain set_task's and a whole function dedicated to "Starting the sound again"..... are you POSITIVE it doesnt repeat already?

(if you are useing a customized SMA you might be better to post it instead )
Blunted1 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 10:28.


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