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

Radio Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
stevenlafl
Member
Join Date: Apr 2005
Location: Florida, USA
Old 03-16-2006 , 13:34   Radio Mod
Reply With Quote #1

This is a new attempt at a radio mod. It's probably going to get shot down as I don't think its all that good. But here anyways:

There's one command which is..
say /radiomenu - shows a menu of the radio's songs

This radiomod automatically precaches anything in the "radio.ini" file. (MODDIR/radio.ini)

Inside the radio.ini file:
FileLocation*Song-Name

EXAMPLE: blah/blah.wav*This song is Blah
Attached Files
File Type: sma Get Plugin or Get Source (radiomod.sma - 1236 views - 4.4 KB)
__________________
Hippopotomonstrosesquippedaliophobia
stevenlafl is offline
Send a message via AIM to stevenlafl
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 03-16-2006 , 15:24  
Reply With Quote #2

--Edited--
SubStream is offline
stevenlafl
Member
Join Date: Apr 2005
Location: Florida, USA
Old 03-16-2006 , 19:02  
Reply With Quote #3

Quote:
Originally Posted by SubStream
dont you need
Code:
register_plugin("PLUGIN","VERSION","AUTHOR")
Somewhere under the public plugin_init() or is it different with menus?

Also... sorry that I'm a nub but... where does radio.ini go? MODDIR does that mean it goes inside addons/amxmodx/ folder? or in the configs folder for amxmodx? or the cstrike folder since I play counter-strike? you might want to upload a sample copy of one so I can make sure I am doing things right when I add my own songs.

It compiled fine but I wanted to wait till you give me the info on the radio.ini first before I test it.
It's in your Mod directory. You know? Like, /valve/ or /tfc/ directory.
__________________
Hippopotomonstrosesquippedaliophobia
stevenlafl is offline
Send a message via AIM to stevenlafl
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 03-16-2006 , 19:11  
Reply With Quote #4

Hasn't this been done many times before? I know there are atleast 2 versions that stream, and atleast 2 versions that don't. I don't know if the two that don't are menu based.
__________________
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
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 04-01-2006 , 21:23   Re: Radio Mod
Reply With Quote #5

Quote:
Originally Posted by stevenlafl
This is a new attempt at a radio mod. It's probably going to get shot down as I don't think its all that good. But here anyways:

THEN WHY DID YOU POST IT!

Moved to unapproved
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS 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 16:48.


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