Oolite Bulletins

For information and discussion about Oolite.
It is currently Wed Sep 20, 2017 7:33 am

All times are UTC




Post new topic  Reply to topic  [ 248 posts ]  Go to page Previous 113 14 15 16 17 Next
Author Message
 Post subject: Re: Liners OXP
PostPosted: Fri Apr 03, 2015 7:54 pm 
Offline
Dangerous
Dangerous

Joined: Sun Feb 22, 2015 6:52 pm
Posts: 112
Hi,

I just found the following in my log...

21:49:16.995 [shader.compile.failure]: ***** ERROR: GLSL vertex shader compilation failed for liners_tigershark.vertex:
>>>>> GLSL log:
0:0(9): preprocessor error: Redefinition of macro OO_TANGENT_ATTR



21:49:16.995 [shader.load.failed]: ***** ERROR: Could not build shader liners_tigershark.vertex/liners_tigershark.fragment.


Top
   
 Post subject: Re: Liners OXP
PostPosted: Fri Apr 03, 2015 9:01 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3006
Location: On a famous planet
Hi QCS. Yes this OXP has shader problems in the newest builds. I have not time at the moment to look into the problem at this moment as I'm busy with other projects (on this moment a project in another game to: Trainz).

But I notice too that the Tigershark and also the Aurora show weird textures. Probably that is because of that the liners use some older shader code from pre 1.80 (I think).

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
 Post subject: Re: Liners OXP
PostPosted: Tue Mar 14, 2017 8:12 pm 
Offline
Retired Assassin
Retired Assassin
User avatar

Joined: Tue Feb 09, 2010 11:31 am
Posts: 8282
Location: Disunited Kingdom
Update release v1.6 14th March 2017

This new version of 'Liners' has several updates to the code to optimise it for current Oolite versions, and eliminate some log errors. One minor ship has been added, one of the escorts has been replaced and several of the textures have been improved. The ships now have ship library definitions.

It is available via the Expansions Manager.
The previous version v1.51 is also still listed as this was previously Thargoid's responsibility. I have PM'd him so hopefully he will de-activate it soon.

cim has removed the old version from the manager now.
Thanks cim.

Changelog:-

shipdata.plist revised to remove log errors regarding old-style sub-entity definitions. Thanks to PHKB for these.

Scripts now all have 'Use strict' and appear to be error-free.

Tigershark vertex shader code fixed. Thanks to A_C for this.

shiplibrary.plist added and descriptions.plist expanded (to allow ships to appear in the start-up library).

The 'Saga Class' liners, and inter-system ferrys have improved normal mapping.

The escorts for the 'Saga Class' liners have been upgraded from Adder to Sidewinder-X.

A new Lifeboat has been added.

_________________
Commander Smivs, the friendliest Gourd this side of Riedquat.


Last edited by Smivs on Sat Mar 18, 2017 9:47 pm, edited 1 time in total.

Top
   
 Post subject: Re: Liners OXP
PostPosted: Tue Mar 14, 2017 10:09 pm 
Offline
Deadly
Deadly

Joined: Thu Aug 27, 2015 4:24 pm
Posts: 233
Great! one of my all time favourites oxp/oxz. :D


Top
   
 Post subject: Re: Liners OXP
PostPosted: Wed Mar 22, 2017 1:39 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1701
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
A small error in liners_tigershark.vertex. First line of the file reads
Code:
 gives correct tangent data to shader.
I think this should be
Code:
// gives correct tangent data to shader.

_________________
My OXP's


Top
   
 Post subject: Re: Liners OXP
PostPosted: Wed Mar 22, 2017 7:34 am 
Offline
Retired Assassin
Retired Assassin
User avatar

Joined: Tue Feb 09, 2010 11:31 am
Posts: 8282
Location: Disunited Kingdom
Bugger, I thought I'd sorted that.
<Smivs goes off to see what's happened.........>
Ah, my fix for the shader needed fixing! Following advice here I deleted the offending line, but didn't realise that the following line needed commenting out.
All fixed now - v1.6.1 is up on the Manager.
Thanks for the report phkb.

_________________
Commander Smivs, the friendliest Gourd this side of Riedquat.


Top
   
 Post subject: Re: Liners OXP
PostPosted: Wed Mar 22, 2017 10:28 pm 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1701
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
I'm really sorry, but I found another one...

In the "liners_drone.js" file, you need to move the isHostile function to be at the top of the function it sits in. ie
Code:
this.findMastersHostiles = function()
	{
	function isHostile(entity) 
		{ 
		return (entity.isShip && entity.target && (entity.target == this.ship.owner || entity.target == this.ship) && entity.hasHostileTarget);
		}
	if(!this.ship.owner)
	...snip...
Otherwise you get errors like this:
Code:
09:16:04.626 [script.javaScript.load.failed]: ***** Error loading JavaScript script c:\Oolite-Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.smivs.Liners.oxz/Scripts/liners_drone.js -- compilation failed
09:16:06.907 [script.javaScript.exception.strictFunctionStatement]: ***** JavaScript exception (bigShips_populator 1.0.2): SyntaxError: in strict mode code, functions may be declared only at top level or immediately within another function
09:16:06.907 [script.javaScript.exception.strictFunctionStatement]:       c:\Oolite-Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.smivs.Liners.oxz/Scripts/liners_drone.js, line 17: 		function isHostile(entity) 

_________________
My OXP's


Top
   
 Post subject: Re: Liners OXP
PostPosted: Wed Mar 22, 2017 11:43 pm 
Offline
Retired Assassin
Retired Assassin
User avatar

Joined: Tue Feb 09, 2010 11:31 am
Posts: 8282
Location: Disunited Kingdom
No, don't be sorry - I'm grateful.
I took this on recently from Thargoid and have never really poked around in the parts I haven't had a hand in, so in an attempt to get rid of log errors I set all the scripts to 'Use_strict' as those warnings were spamming the log. I ran the game a few times and the log was clear so I assumed everything was OK. It's possible there may be other problems lurking, so I'll hold off another update for a while just in case.

_________________
Commander Smivs, the friendliest Gourd this side of Riedquat.


Top
   
 Post subject: Re: Liners OXP
PostPosted: Thu Mar 23, 2017 3:10 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3006
Location: On a famous planet
Thank you for updating the package Smivs :D . Do you think the Orisis oxp could be rolled in into Liners as well. Because it is also a ferry? Edited to add. Then we can control the distribution of the liners a bit better.

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
 Post subject: Re: Liners OXP
PostPosted: Thu Mar 23, 2017 3:54 pm 
Offline
Retired Assassin
Retired Assassin
User avatar

Joined: Tue Feb 09, 2010 11:31 am
Posts: 8282
Location: Disunited Kingdom
Yes, I think we might have discussed this before, a long time ago. It certainly looks a good fit, so I'll try to have a look at this soon. Would you keep the stand-alone OXP available, or have Orisis only available in Liners?
The more ships in the package the better really, because as you suggest it makes the appearance of each type less common, which is a good thing. That is one reason I added the other Ferrys a while back. While going through my files I did find another capital ship sent to us by a long-lapsed member, which got me all excited, but it turns out it was a model lifted from a website and although it was stated as being free to use I could find no licence etc, so it is no use to us.
If anybody else has a Liner or similar and would like it included in Liners, let me know.

_________________
Commander Smivs, the friendliest Gourd this side of Riedquat.


Top
   
 Post subject: Re: Liners OXP
PostPosted: Thu Mar 23, 2017 11:04 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3006
Location: On a famous planet
Quote:
Yes, I think we might have discussed this before, a long time ago. It certainly looks a good fit, so I'll try to have a look at this soon. Would you keep the stand-alone OXP available, or have Orisis only available in Liners?
The more ships in the package the better really, because as you suggest it makes the appearance of each type less common, which is a good thing. That is one reason I added the other Ferrys a while back. While going through my files I did find another capital ship sent to us by a long-lapsed member, which got me all excited, but it turns out it was a model lifted from a website and although it was stated as being free to use I could find no licence etc, so it is no use to us.
If anybody else has a Liner or similar and would like it included in Liners, let me know.
I want to roll the Orisis into Liners and then only support a Legacy Orisis version for people who want the standalone. But the goal is to make one package indeed.

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
 Post subject: Re: Liners OXP
PostPosted: Fri Mar 24, 2017 4:25 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6178
Location: Aboard the Pitviper S.E. "Blackwidow"
Quote:
If anybody else has a Liner or similar and would like it included in Liners, let me know.
As Head Janitor for D.T.T. Shipbuilders, I'd like to request that the D.T.T. Galaxy Liner be included in Liners.

_________________
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


Top
   
 Post subject: Re: Liners OXP
PostPosted: Fri Mar 24, 2017 9:00 am 
Offline
Retired Assassin
Retired Assassin
User avatar

Joined: Tue Feb 09, 2010 11:31 am
Posts: 8282
Location: Disunited Kingdom
I'll start work on incorporating the Orisis in a few days time (half-way through another project at the moment) and then release an update with phkb's scripting fix as well. A wait of a week or so will also give any other errors a chance to show up as well.
@ Diz, I'm in two minds about the DTT Galaxy Liner. It is quite small, isn't it? And this is supposed to be about BIG ships. At 145m it is actually smaller than the existing ferries and in fact is hardly bigger than the escort ships used by the Saga Class liners. Also, if it were to become a liner/ferry in this pack then I don't think it should be player-buyable.
It is a lovely design though (and it still reminds me of something I've forgotten!) so I will give this some further thought.

_________________
Commander Smivs, the friendliest Gourd this side of Riedquat.


Top
   
 Post subject: Re: Liners OXP
PostPosted: Fri Mar 24, 2017 1:06 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6178
Location: Aboard the Pitviper S.E. "Blackwidow"
Quote:
@ Diz, I'm in two minds about the DTT Galaxy Liner. It is quite small, isn't it? And this is supposed to be about BIG ships. At 145m it is actually smaller than the existing ferries and in fact is hardly bigger than the escort ships used by the Saga Class liners. Also, if it were to become a liner/ferry in this pack then I don't think it should be player-buyable.
It is a lovely design though (and it still reminds me of something I've forgotten!) so I will give this some further thought.
Given that it's the only Liner that can actually dock in a Station, yes, it is on the small side.. but I'd argue there's a market for smaller, highly exclusive Liners as well.. after all, the dynastic, truly obscenely wealthy don't like to rub shoulders with the nouveau riche, or even go to the same holiday locations.. (I could tell you a story about that, as told to me by a friend whose family falls into that 'dynastic wealth' category) let alone be forced to mingle with thousands of them on some over-sized, glittering, ostentatious barge. They don't like drawing attention to themselves.

I don't see being player-buyable necessarily being an obstacle either.. why shouldn't a Commander buy one, pack it full of Passenger Berths, and try to run his own Cruise Line? :mrgreen:

However, whatever you decide on is fine.. just didn't want such a lovely ship overlooked.

_________________
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


Top
   
 Post subject: Re: Liners OXP
PostPosted: Fri Mar 24, 2017 1:33 pm 
Offline
Retired Assassin
Retired Assassin
User avatar

Joined: Tue Feb 09, 2010 11:31 am
Posts: 8282
Location: Disunited Kingdom
As I said, I do like it, so......
A Yacht! One of those mega-buck super-yachts the rich and famous own. You described this without giving it a name so what if it not a (small) ferry or (giant) Liner, but a yacht for those who don't have to use either.
Player-buyable would make sense, as would a price tag of around Cr.24,000,000.

_________________
Commander Smivs, the friendliest Gourd this side of Riedquat.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 248 posts ]  Go to page Previous 113 14 15 16 17 Next

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited