GNN

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

Moderators: winston, another_commander

User avatar
BlackWolf
---- E L I T E ----
---- E L I T E ----
Posts: 289
Joined: Thu Feb 15, 2018 9:30 am
Location: Texas

Re: GNN

Post by BlackWolf »

I have to tell you that I like both GNN and Snoopers. They fill a void and help in the traders area.
I'm actually very glad they don't conflict with each other.
Creativity is a gift, use it well.
User avatar
BlackWolf
---- E L I T E ----
---- E L I T E ----
Posts: 289
Joined: Thu Feb 15, 2018 9:30 am
Location: Texas

Re: GNN

Post by BlackWolf »

Okay here are the Snoopers channels re-makes all in one pic.
The images that I did not adjust are, snoopers_background.png, snoopers_gcnews_clean.png,
snoopers_gcnewsA11.png, and the snoopers_redux.png. I like Melina Escobar hence why her pics are unchanged. All the channels on the link are in order as they appear in the image folder, for easy match up.
aegidian.org/bb/posting.php?mode=reply&f=4&t=6937
Creativity is a gift, use it well.
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: GNN

Post by Cody »

BlackWolf wrote: Sun Feb 25, 2018 9:03 am
I like Melina Escobar...
Image
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!
User avatar
BlackWolf
---- E L I T E ----
---- E L I T E ----
Posts: 289
Joined: Thu Feb 15, 2018 9:30 am
Location: Texas

Re: GNN

Post by BlackWolf »

ROFLMAO. :lol:
Creativity is a gift, use it well.
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: GNN

Post by Svengali »

[EliteWiki] GNN v1.1 is online.

Changes:
- GNN.js
Added CBID property for callbacks. This gives AddOns more control.
Added method _addExtImages(arr,ws) to allow AddOns to expand the image pool.
- GNN_Words.js:
Moved more into descriptions.plist. This is still an ongoing process!
- GNN_PhraseGen.js:
Changed startUp behaviour to allow earlier access.
herodotus
Competent
Competent
Posts: 45
Joined: Wed Jul 12, 2017 12:53 pm

Re: GNN

Post by herodotus »

Hey, out of interest, is there a reason that this and Library are not available through the in-game OXP manager? Especially if all these various OXPs are being updated quite regularly as things are ported over from the older versions, it's kind of convenient being able to check for and install new updates in game rather than having to do it manually!
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: GNN

Post by Svengali »

[EliteWiki] GNN 1.2 is online and in the manager as well.

Changes:
- Cutout corrected in GNN_A31.png.
- Added choices to go to the next message screen if multiple messages are in the pool.
- Added check for double inserted messages.
- Simplified GNN shader GNN_1.fs.
- Fix for hotnews handling leaving null object.

@herodotus: It's done now .-)
User avatar
Milo
---- E L I T E ----
---- E L I T E ----
Posts: 462
Joined: Mon Sep 17, 2018 5:01 pm

Re: GNN

Post by Milo »

Code: Select all

> system.mainStation.dockPlayer() 
Warning (strict mode): reference to undefined property worldScripts[obj.ws][obj.prop.name]
    Active script: GNN 1.2
    GNN.js, line 81:
    			if(worldScripts[obj.ws][obj.prop.name]===obj.prop.v) pass++;
    			
    		
> worldScripts.GNN.$doop 
{
    ext: [{
        ws: "AsteroidStorm",
        prop: {
            name: "badRockKiller",
            v: "PLAYER"
        },
        mV: {
            name: "asteroids",
            v: "asteroids_OVER"
        },
        act: {
            EX: "AsteroidStorm",
            m: "badrock",
            p: 1,
            Model: "badrock",
            Spin: 1
        }
    }, {
        ws: "oolite-constrictor-hunt",
        mV: {
            name: "conhunt",
            v: "CONSTRICTOR_DESTROYED"
        },
        act: {
            m: "conhunt",
            p: 1,
            Model: "constrictor",
            Spin: 1
        }
    }, {
        ws: "oolite-nova",
        mV: {
            name: "nova",
            v: "NOVA_ESCAPED_SYSTEM"
        },
        act: {
            m: "nova",
            p: 1,
            Mat: {
                "lib_null.png": {
                    emission_map: "GNN_solar.png",
                    fragment_shader: "GNN_solar.fs",
                    vertex_shader: "lib_simple.vs",
                    textures: ["GNN_solar.png", {
                        name: "lib_explode2.png",
                        repeat_s: true,
                        repeat_t: true
                    }],
                    uniforms: {
                        colorMap: {
                            type: "texture",
                            value: 0
                        },
                        fxMap: {
                            type: "texture",
                            value: 1
                        },
                        Time: "timeElapsedSinceSpawn"
                    }
                }
            }
        }
    }],
    hud: false,
    inf: {
        Name: "GNN",
        Display: "Config",
        Alive: "$doop.inf",
        Bool: {
            B0: {
                Name: "$snoop.audio",
                Def: true,
                Desc: "Audio"
            }
        },
        SInt: {
            S0: {
                Name: "$snoop.maxDays",
                Def: 24,
                Min: 12,
                Max: 99,
                Desc: "Interval"
            },
            Info: "^GNN_INFS"
        }
    },
    intern: 206,
    expImages: [[], [], [], []],
    expPrefixes: []
}


> worldScripts.GNN.$doop.ext.length 
3

> worldScripts.GNN.$doop.ext[0].prop 
{
    name: "badRockKiller",
    v: "PLAYER"
}

> worldScripts.GNN.$doop.ext[1].prop 
Warning (strict mode): reference to undefined property worldScripts.GNN.$doop.ext[1].prop

> worldScripts.GNN.$doop.ext[2].prop 
Warning (strict mode): reference to undefined property worldScripts.GNN.$doop.ext[2].prop
User avatar
Cholmondely
Archivist
Archivist
Posts: 5186
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: GNN

Post by Cholmondely »

Just for the record,

according to the information squirreled away in the wiki,

Curse of the Black Sunspot
Darkside Moonshine Distillery
Jaguar Company
RRS Group

all use Snoopers if it is available!

[url]Category:Required OXP-Snoopers[/url]
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
hiran
Theorethicist
Posts: 2262
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: GNN

Post by hiran »

From what I heard and read the GNN is meant not only to provide it's own news but also for other OXPs to feed their news into.

I was experimenting a bit with insertNews(obj) and could also verify that my message entered the queue:

Add news message to the queue:

Code: Select all

worldScripts.GNN._insertNews({ID:'BGS',Message:'Hello'});
Check the internal status of GNN:

Code: Select all

worldScripts.GNN.$snoop
Not only can I see that my message was enqueued. I can also go to ship and system interfaces screen (F4) and select the Galactic News Network to see the message. But would such messages not be presented directly when the ship docks at a station?
Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4777
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: GNN

Post by phkb »

hiran wrote: Sat Jan 01, 2022 9:37 pm
But would such messages not be presented directly when the ship docks at a station?
Yes, because displaying mission screens while in flight is not recommended.
User avatar
hiran
Theorethicist
Posts: 2262
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: GNN

Post by hiran »

phkb wrote: Sat Jan 01, 2022 9:51 pm
hiran wrote: Sat Jan 01, 2022 9:37 pm
But would such messages not be presented directly when the ship docks at a station?
Yes, because displaying mission screens while in flight is not recommended.
Fair enough. It seems I forgot to mention that I docked multiple times now on different system's main stations with that message in the queue and it is not shown.
What can be the reason for that?
Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4777
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: GNN

Post by phkb »

From memory (I’m away from my PC so I can’t confirm atm) news items will stay in the queue until you open the F4 page and view them. I don’t believe they’re forced to be shown (although there may be a setting to make that happen).
User avatar
hiran
Theorethicist
Posts: 2262
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: GNN

Post by hiran »

phkb wrote: Sat Jan 01, 2022 9:58 pm
From memory (I’m away from my PC so I can’t confirm atm) news items will stay in the queue until you open the F4 page and view them. I don’t believe they’re forced to be shown (although there may be a setting to make that happen).
Your memory matches my investigation of GNN.js. There is a function that can show a message immediately (when docked to a main station etc.) but it is not used from within that OXP.
Which means for messages that need to be broadcasted litterally the sending OXP needs to take care to invoke GNN via the _showScreen(obj) method.

I updated the wiki page.
Sunshine - Moonlight - Good Times - Oolite
User avatar
Cholmondely
Archivist
Archivist
Posts: 5186
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: GNN

Post by Cholmondely »

Looking at Arquebus's you-tube videos, he received a horde of GNN news broadcasts and just presumed that they were e-mails! I doubt he ever read a single news broadcast!

So.

Arquebus downloaded hundreds of oxp's and never sat down and worked out what they all did. I would be amazed if he were the only player taking that approach.

While the on-screen notification during flight is good, it is not good enough. I myself have often seen it and then something happens before docking which makes me forget to check GNN. And with my own zillion and one oxp's, GNN gets pushed to the second page of the F4 screen which spells oblivion!

Is there some way of improving matters?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply