White flashers

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

Moderators: winston, another_commander

Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

White flashers

Post by Chaky »

Possible?
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Been discussed before - simple answer "no" - I wanted black ones - not possible either
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

Assuming you dont mean black in the UV sense, what on earth is a black light flasher? One that flashes shadow?
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

:) I wanted to create a ship that looked like it was being eaten (this is in the days before Griff's clever nibbling shaders demos) or transforming by creating a large black flasher that would pulse slowly and thus, against a background of mainly stars/black look like it was being eaten/regenerating - I was thinking of organic-B5-shadow like ships a long time ago - but no black flashers was the first stumbling block - I guess now I'll have to learn how to use the shaders (and how to model ships (and write OXPs...)etc, etc, etc)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

Post by Chaky »

I wanted to put white ones as headlights..
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Well, flashers don't cast any additional light and if you've had chance to look over some of Griff's new ships you can see that his glow maps would do what you want (but still don't cast any additional light - I asked why a looooonnnnnng time agoand Ahruman bamboozled me with some techno-babble that I think boiled down to - "it's complicated and Oolite's not programmed graphical to cope with it")
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

The simple answer is, in fact, yes. As of Oolite 1.73, subentities can be specified as dictionaries for greater flexibility.

Code: Select all

subentities =
(
    {
        type = flasher;
        color = whiteColor;
        position = (0, 0, 100);
        initially_on = yes;
        size = 10;
        frequency = 1;
        phase = 0;
    }
);
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Cool!

So, DaddyHoggy, when can we expect to see your eat-my-ship.oxp? :wink:
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Commander McLane wrote:
Cool!

So, DaddyHoggy, when can we expect to see your eat-my-ship.oxp?
…however, flashers (like lasers) can’t be black (or below 50% value in the HSV colour space). It wouldn’t work anyway; if you could set a flasher to black, it would just be invisible, since it uses additive blending.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

...and still we won't see DH's first OXP! :( :evil: :cry: :roll:
Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

Post by Chaky »

(Back to flashers)

I tried to make them glow (not flash) at their peak, but I'm confused here. If I set offset to 0.5 (which is supposed to be peak of sine), I get half-a-glow. Same for practically any value, while a flashing flashers are clearly brighter than non-flashing ones. (Offset is supposed to be brightness control for always-on-flashers, right?)

I'm talking about regular flashers. I still haven't tested this new flasher technique.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Commander McLane wrote:
...and still we won't see DH's first OXP! :( :evil: :cry: :roll:
I have to pick what I'd like to do quite carefully to maintain this 100% non-achievement record! :wink:
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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"

Post by Diziet Sma »

DaddyHoggy wrote:
Commander McLane wrote:
...and still we won't see DH's first OXP! :( :evil: :cry: :roll:
I have to pick what I'd like to do quite carefully to maintain this 100% non-achievement record! :wink:
Too late.. you blew that out of the water with your contributions to YAH.. :lol:
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
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Diziet Sma wrote:
DaddyHoggy wrote:
Commander McLane wrote:
...and still we won't see DH's first OXP! :( :evil: :cry: :roll:
I have to pick what I'd like to do quite carefully to maintain this 100% non-achievement record! :wink:
Too late.. you blew that out of the water with your contributions to YAH.. :lol:
Ah, but I don't count my contributions to YAH, or OSE, or Race Teams, or LH2 or the (potential) Banking oxps because they're not mine - I didn't start them, just chucked into the pot a little flavouring that's all :wink:
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
ovvldc
---- E L I T E ----
---- E L I T E ----
Posts: 344
Joined: Sat Apr 02, 2005 9:32 am
Location: Netherlands

Post by ovvldc »

Now, don't be coy, DaddyHoggy.
Post Reply