[Release] Station Ads

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

Moderators: winston, another_commander

Fritz
---- E L I T E ----
---- E L I T E ----
Posts: 591
Joined: Sun Jul 12, 2015 2:30 pm
Location: Bavaria, Germany
Contact:

Re: [Release] Station Ads

Post by Fritz »

A floating holo ad could even "block" the docking port, but I think I wouldn't like it... :roll:

PS: The bugfix worked!
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
User avatar
Day
---- E L I T E ----
---- E L I T E ----
Posts: 545
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: [WIP] Station Ads

Post by Day »

Diziet Sma wrote:
Fritz wrote:
But even in real life communist states like the GDR there have been ads around.
Of course.. because what most people don't understand is that the so-called Communist states, aren't really communist, but simply State Capitalism, as opposed to Private Capitalism. :wink:
Yup, and what most people have forgotten is that Communism means one or few owners, not mandatorily the state. The increasing concentration of wealth in the hands of a few families is in fact the increase of Communism, with all related problems.
Xanthin
Average
Average
Posts: 10
Joined: Wed Mar 09, 2016 7:54 pm

Re: [Release] Station Ads

Post by Xanthin »

Like in this earlier post I get the error

Code: Select all

Exception: TypeError: ship.subEntities[this.$dockSubent] is undefined
    Active script: station_ads_station_script 1.0.1
    station_ads.js, line 66:
    	var lastSubent = ship.subEntities[this.$dockSubent].subEntities.length - 1;
This setup seems to give me the error after starting the game:

Code: Select all

    oolite.oxp.amah.noshaders_extra_stations_addon.oxz
    oolite.oxp.amah.noshaders_extra_stations_resources.oxz
    oolite.oxp.spara.additional_planets_sr_base.oxz
    oolite.oxp.spara.additional_planets_sr_pack_redux.oxz
    oolite.oxp.spara.stations_for_extra_planets.oxz
    oolite.oxp.spara.station_ads.oxz
and if I add YAH plus its Sets to the list, the error comes twice, at the mainscreen and after starting a game.

There is no error in the log if I use only either the noshaders_extra_stations or the stations_for_extra_planets. But, when using the noshaders_extra_stations there is only one blank adscreen at the main stations.
example image

Should I prevent using the noshader addon together with the nice station ads, or is there something I can do to make them happy together? :)

I am using:
Oolite version 1.82 x64
Windows 7, SP 1, 64-bit
OpenGL renderer version: 3.3.0 ("3.3.0"). Vendor: "NVIDIA Corporation". Renderer: "GeForce 210/PCIe/SSE2"
Station Ads OXP ver 1.0.1
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [Release] Station Ads

Post by spara »

Thanks for reporting. New version 1.0.2. It was my oversight not thinking about like_shipping far enough :oops: . Now the error should be gone. Maybe...
Xanthin
Average
Average
Posts: 10
Joined: Wed Mar 09, 2016 7:54 pm

Re: [Release] Station Ads

Post by Xanthin »

Just tried and the log stays quite. :) Thank you very much.
And sorry, my bad, I had taken the readme more serious about supported stations (or just read the one from the extra stations).
User avatar
ffutures
---- E L I T E ----
---- E L I T E ----
Posts: 2172
Joined: Wed Dec 04, 2013 12:34 pm
Location: London, UK
Contact:

Re: [Release] Station Ads

Post by ffutures »

I keep meaning to say how much I enjoy this add-on - it's making me slow most times I dock!
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [Release] Station Ads

Post by spara »

Updated (1.0.3) to work with Griff's new station bundle.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [Release] Station Ads

Post by spara »

Updated to 1.0.4. Now works with Small System Stations OXP.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [Release] Station Ads

Post by spara »

Updated to version 1.1

* Added support for external ad-packs.
User avatar
DataPacRat
Dangerous
Dangerous
Posts: 73
Joined: Sun Feb 18, 2018 12:21 pm
Location: Niagara, Canada
Contact:

Re: [Release] Station Ads

Post by DataPacRat »

I have no idea if any of the current ad-packs can be adapted for this, but from The Dark Wheel, shortly after an escape pod is launched...
The tiny survival vehicle was blasted apart, sparkling fragments falling towards the green world of Leesti.

...

An instant after Alex Ryder hit the hard vacuum ... the RemLok screamed through space for help.

It was a standard survival device, an instantly recognisable distress call indicating that it was being sent out from a small, remotely located, dying body. The alarm screeched out on forty channels, shifting wavelength within each channel four times a second. One hundred and twenty chances to catch attention . . .

Messages from ships to both the planet and its ring of Coriolis stations were abruptly broken as the split second message came screaming through. TV programmes were interrupted, the screen dissolving into a permanently recorded display of the space-grid location of the RemLok. Every advertising space module changed its garish display to flash, in brilliant green, the same information.

In the orbit-space around Leesti, a million heads turned starwards. That split second of panic, that moment's cry of distress, was a sound they knew too well to ignore, and were too frightened of to take for granted.
I doubt that the game's script would easily allow for ad-screens and -haulers and so on to display actual locations; but could they be triggered to show some generic "brilliant green" screen for half-a-minute when escape pods in the system are launched, or are blown up, or something of the sort?
Thank you for your time,
--
DataPacRat
"Does aₘᵢₙ=2c²/Θ ? I don't know, but wouldn't it be fascinating if it were?"
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [Release] Station Ads

Post by spara »

DataPacRat wrote: Thu Mar 01, 2018 11:15 am
I doubt that the game's script would easily allow for ad-screens and -haulers and so on to display actual locations; but could they be triggered to show some generic "brilliant green" screen for half-a-minute when escape pods in the system are launched, or are blown up, or something of the sort?
This short of system override could be interesting. Maybe not with escape pods though, since that happens quite often.

Something like this could happen when the station goes to red alert. All screens could show a Gal Coop warning that could be something like "The station is under attack, all docking canceled!".

If someone wants to design such a screen, I'm all in for coding it.
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1422
Joined: Thu Aug 27, 2015 4:24 pm

Re: [Release] Station Ads

Post by cbr »

how about,

regular

Image

galcop

Image

:)
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [Release] Station Ads

Post by spara »

Image

Hmmm. Need to work on this a bit. I think they look too much like ads, rather than warnings. Thanks anyway, now I have something to work on :).
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1422
Joined: Thu Aug 27, 2015 4:24 pm

Re: [Release] Station Ads

Post by cbr »

Hmmm, perhaps it a bit too bright...

maybe they need something like this :) :) :)

Image

:wink:
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [Release] Station Ads

Post by Cody »

Perhaps you could do without the station icons - simply have a stark warning in a larger font:

Red Alert

Station Under Attack

Docking Forbidden
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply