Station Left: Num Pad Key 4
Station Right: Num Pad Key 6
Volume Up: Num Pad Key +
Volume Down: Num Pad Key -
Turn Off/On - Num Pad Key 8
Hi Everyone,
I am currently working on an asset that seems to be surprisingly missing from the asset store, a vehicle radio system.
Below is a video of what I currently have:
So far I have in the following:
All audio is constantly playing - This gives the organic feel of a real life radio station. Instead of you choosing the next Station and it starting a song from the beginning, it it already playing and could be half way through or near the end of a song! this also allows the user to go back to the previous playing station and the track be further on or a new track completely.
Audio loops back to the first track once all the tracks within the station have been played - Again helping with the organic feel, your radio station will never be out of songs!
You can change station by clicking the Keypad 4 and 6 buttons. This will loop back to the first or last station within the list and so users can seamlessly scroll between the stations without any loss of audio or time.
The volume of the audio can be changed by using the Keypad + and - buttons.
Still to do before it is released:
- Add the GUI. I currently have the Station Name and Icon. I will be creating a GUI to show these, as well as the track name, to the user as they change.[/S] - Allow the radio to be turned on or off. Currently it plays all the time as in my demo the player is the car. Nice things for future additions: - Audio clips based off quest completion. For example, in the game I am basing it off, the station host may comment about things that have gone on previously within the game. - Audio based off vehicle type. Have a air traffic controller talking to you as you fly a jet?? - Enhance the system to work when entering and exiting a vehicle For anybody purchasing, Add tags StationIcon and TrackText to your tag manager. Assign StationIcon to StationImage and assign TrackText to text, both assigned under Canvas in the demo scene. I am looking at releasing this for $10, however the price may increase as I add more and more to it. Any feedback on anything you have seen or not seen above would be great, especially the price. Thanks!
I have added in a basic GUI to show the user what the current station is and what the track is. This info disappears after 3 seconds. Changing to another station restarts the wait.
@MikeUpchat this video is a lot shorter! Thanks for the earlier comment
I have submitted Version 1.1 of the asset to the store, which contains the following changes:
-Added new scene containing character exiting and entering a vehicle. This allows you to see how I implement the radio functionality when the player is no longer within the vehicle
-Now remembers last station played and will start this station on load of game (demo scene) or when entering the car (new scene).
-Now remembers previous volume and sets accordingly.
-Bug fixes
Breaking changes:
-I have added ID to each station. This is required so the UI does not show when another station track is changing
-Tags. Added Vehicle tag (assigned in new scene to differentiate between player and vehicle)
I am also INCREASING the price to $12 to cover the number of changes made. However the price is still $10 until Unity approve this new version, so anybody wanting it cheaper, please purchase now. Every new version will incur a small price increase, so purchasing it now offers the best value.
I have a compiler error saying the type or namespace name “BaseVehicle” cannot be found are you missing an assembly reference. This is on the demo so i can get it to work.
“Assets/Vehicle Radio/Scripts/BaseVehicle.cs(8,16): error CS0246: The type or namespace name ThirdPersonCharacter' could not be found. Are you missing UnityStandardAssets.Characters.ThirdPerson’ using directive?”
I’m sure there is an easy fix for this, but after trying for a while any fix I try just results in more/different problems. It seems like the RadioManager script should be able to work entirely on its own, but it’s tied into other scripts for the demo scenes.
I have just submitted an updated version of 1.1 which is now fully compatible with unity 5.5 and above and unity 2017.1 and above (although I have not tested the 2018 beta).
For full disclosure, in 2016 I was diagnosed with a severe chronic illness which causes me paralysis so development on the project has not gone as quick as I would have liked so for that I fully apologise, however I will still offer support and further development when I can.
For this I have also decreased the price back to $10 as a good will gesture
I have also entered it into the Unity Pro and Plus subscriber discount program so anybody who already subscribes can also get the asset slightly cheaper too!
hello. You thought about use also Radio / Internet Radio: Radio PRO | Audio | Unity Asset Store and let the Gamer use is own MP3 Files ? Also your Asset broke all our scripts ingame because of VehicleRadio namespace it override all scripts and is unfixable because much things our scripts used yours rewritten etc . Also in empty project with only your asset and test scene and standard needed unity assets: Assets/Vehicle Radio/Scripts/BaseVehicle.cs(8,14): error CS0246: The type or namespace name ThirdPersonCharacter' could not be found. Are you missing UnityStandardAssets.Characters.ThirdPerson’ using directive? Fixed with using UnityStandardAssets.Characters.ThirdPerson but then 5 new error come and again and again Regards