Exaust

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2508
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Exaust

Post by ClymAngus »

If the system can't do transparencies then how do we get the exhaust effects?
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Oolite can indeed do transparencies, ( other examples are translucent atmospheres & sun coronas ) but the .dat files parser would need to be overhauled to be able to use translucent textures in ship models. And that could potentially add a lot of bugs to the way existing models are rendered, if not done properly.

One possibility that's already available in trunk, and not quite exploited to its full extent yet, is to play with shaders to see if we can create a translucent effect.

Maybe the burning wreckage Griff made could be used as a starting point - it already mixes transparent & fully opaque pixels within one texture plane.

Still, I must confess I'd very much like to see Scarecrow's Seraphim, even as a wip oxp... he managed to find a fairly low-tech way to get translucency, and hopefully he'll be back to the board at some point in the future! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2508
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

OK next question; if you have a sub entity infront of your laser will it zap the sub entity and not what your pointing at?

I'm working on some ablative armour. (non-trek)
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Most definitely so! Ablative armour should work without a problem.
<edit>: I definitely misunderstood your question! Not sure about that one... you might have to use two shells, leaving some space around the laser to be on the shafe side... </edit>
Are you going to assign death actions to the armour? You can get NPCs to use the comms when you blow a subentity, change their AI depending on which subentity was destroyed, etc...

PS call me cheap, but I would have simply reused the main ship texture for the ablative shield, maybe tweaking the overall hue, then I'd go back to the main ship texture & add the shield attachment points to it.
Last edited by Kaks on Tue Apr 14, 2009 10:23 am, edited 1 time in total.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

ClymAngus wrote:
OK next question; if you have a sub entity infront of your laser will it zap the sub entity and not what your pointing at?

I'm working on some ablative armour. (non-trek)
You can, or are meant to be able to, not sure if its working, set the origin of the laser in 3 dimensions, so you can certainly set it to start in front of the subentity.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Cmdr James wrote:
You can, or are meant to be able to, not sure if its working, set the origin of the laser in 3 dimensions, so you can certainly set it to start in front of the subentity.
It is not working in versions between ca 1.70 till 1.72. Kaks noted that he fixed this for 1.73. It also works in 1.65. So to test laser positions when you don't have 1.73 you can possibly use that old Oolite.
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2508
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

but a subentity that dipped behind the origination point of the laser wouldn't suffer from a problem like this in any version yes?
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

If the laser does not strike the entity then it will not take damage. I think this is one area that the collision detection is certainly good enough
Post Reply