hyperradio

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: hyperradio

Post by cim »

Yes. That one's harder to fix, since the jump takes place within a single very long frame.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: hyperradio

Post by Diziet Sma »

Understood..

Incidentally, I've noticed the music stopping mid-play a lot more in-game, lately.. it gets (much) worse close to a busy Station, I've noticed, but even elsewhere in the system, it happens more frequently than before..
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
MCO
Poor
Poor
Posts: 7
Joined: Fri Jan 20, 2017 11:23 pm

Re: hyperradio

Post by MCO »

hey everyone!
i hope this is not considered necroposting, but hyperradio is still being used, and i really feel like sharing this. i just wanted to show you a way to display the current songs name along with the "Connection established" message, maybe this will help someone who is even worse at js than me :wink: no responiblity is taken etc etc, you know the drill.

find you addons folder and open the hyperradio oxp/oxz. go to the scripts folder and open the file "hyperradio.js". pretty far down, you will see this line:
player.consoleMessage("Connection to "+this.stationDesc[this.stationSelect]+" established. Days left: "+(this.hyperradioDuration-clock.days));
change it to this:
player.consoleMessage("Connection to "+this.stationDesc[this.stationSelect]+" established. Days left: "+(this.hyperradioDuration-clock.days)+". Now Playing: "+this.next.substr(0, (this.next.length-4)));

and that's it. hope this will help someone someday. thanks for the awesome OXP!
Honorable Trader/Pirate Hunter.
Current Kill Count: 544
Post Reply