Shouldnt it be like thissch:

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
julyy
Dangerous
Dangerous
Posts: 84
Joined: Mon May 16, 2005 9:51 am

Shouldnt it be like thissch:

Post by julyy »

When we go into witchspace nothing more happens then a tunnel.

When other ships go into that, A Wormhole appears. If I fly through a wormhole, it never brings me further then one system away, so I think this is like what happens when you go into witchspace as well.

So I would like it, if 1 or 2 sec before my ship falls into witchspace this blue ring or something would appear to fly through.

j
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 »

Well, if you watch closely how other ships are entering witchspace, then you'll see that they leave the wormhole after entering it. The blue sphere replaces the ship. They have no blue ring 1-2 seconds before they fly through it.

So why should it be different for the player?
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 »

They leave after entering? Wow, trippy. ;-)
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

same matter cannot occupy the same space....no wait!
the same object cannot exist in the universe twice.

That is why the ship needs to dissapear before the wormhole appears.
Otherwise it could occur that ship is destroyed before entering and ship is always present at other end, so you would find it there nonetheless.
(And it will meet itself on the other side too!)
Last edited by Arexack_Heretic on Fri May 04, 2007 9:07 pm, edited 1 time in total.
Riding the Rocket!
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

Perhaps the ship could glow or flicker, or have a halo or something during the hyperspace countdown, untill it disappears.
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

might be possible, IIRC there is a STATUS_WITCHSPACE_COUNTDOWN
which could concievably be linked to shaders?
Riding the Rocket!
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 »

As it stands (in the development version), it’s possible to bind a shader uniform to a ship’s status, but not the countdown time. If/when scripts gain the ability to set uniform values, it’d be possible for a script to set the time the countdown started, and for the shader to use that and the existing time uniform to work out the remaining time.

However, I’m not sure whether non-player ships have a countdown. My guess is no. On top of that, since each ship type has its own shaders, different ships would have different effects (or in most cases, no effects) which would be rather weird.
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 »

NPCs usually have a "pauseAI: 15.0" before the "performHyperSpaceExit", which is not a countdown and also doesn't establish a state of its own.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

This calls for a (AI)method 'switchShader: shadername' ?
Riding the Rocket!
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

Sorry but IMO shading ships before they hyperspace is not a realistic proposition. All that goes on is the witchdrive booting and warming up. I don't see why that would change the ship's appearence, so I'd say to leave it as is.
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

Why have you not followed the "messing up the classics' thread?

If those glowy things on the 'wings' of the Krait iterceptor were only activated on 'countdown to Jump' then it would be very obvious.
Other ships may just get red glowy bits when the drive powers up.

In any case it is up to the ship-modder whether he/she wants to spend an hour working on a glowmap for something that will most likely be witnessed fairly sporadically by a player_entity.

Besides, a switchshader method can be used for many more purposes than only pimping the witchdrive.
Riding the Rocket!
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

I've nothing against the method, was just commenting my personal opinion on the proposed application... It's really none of my business if some shipyards decide to put out pimped prototypes that announce when the toilet is being used... :wink:
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
User avatar
julyy
Dangerous
Dangerous
Posts: 84
Joined: Mon May 16, 2005 9:51 am

Post by julyy »

Hm, ok leave it as it is. I thought the blue ring is comeing up as a result of the witchspace drive ... ähm ... naaa cant think about realism there. .... .. .
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 »

Arexack_Heretic wrote:
This calls for a (AI)method 'switchShader: shadername' ?
Switching shaders is a relatively costly operation. Changing uniform values is much more reasonable.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

why would switching on/off a shader be more costly than having it in the first place?

Maybe I don't understand or maybe you misunderstood my meaning:

I did not mean switching from shaderA to shaderB. ...although that should be possible IF switchOn/Off was possible. :)
Riding the Rocket!
Post Reply