Liners OXP

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

Moderators: winston, another_commander

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: [RELEASE] Liners OXP

Post by Thargoid »

The Emerald should already do that (at least the launching bit). Having the station also launch is possible, but it's a pain to synchronise to allow the liner to leave again within any suitable time.

I already sent Smivs an update file to sort a few of the known bugs out in the OXP. I guess he's not had time to work on it yet though.
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: [RELEASE] Liners OXP

Post by Fatleaf »

Thargoid wrote:
I already sent Smivs an update file to sort a few of the known bugs out in the OXP. I guess he's not had time to work on it yet though.
Well I washed up on his doorstep looking hungry, taking up some of his precious time. :wink:
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [RELEASE] Liners OXP

Post by Smivs »

Fatleaf wrote:
Thargoid wrote:
I already sent Smivs an update file to sort a few of the known bugs out in the OXP. I guess he's not had time to work on it yet though.
Well I washed up on his doorstep looking hungry, taking up some of his precious time. :wink:
He did, as well! Imagine waking up one morning and finding this large hungry green thing with big teeth on your doorstep?!
Seriously I will look at this soon...I'm plucking up the courage to try and sort out the Aurora's dock at the same time, and have been on a bit of an OXP binge of my own lately (four releases in the last month, and Christmas as well!).
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [RELEASE] Liners OXP

Post by Smivs »

v1.2 is now available for download :D

The shader updates from Thargoid have now been included, and the dock issue has been resolved. The problem seemed to be with the model for the dock sub-entity, and was not going to be quick or easy to sort out, so the decision was made to remove it entirely. The ship looks fine without the dock (better in my opinion), but it does of course mean a feature has been lost from the OXP. At least it looks good and works without any strange things happening.

Downloads as before from Smivsonline
Commander Smivs, the friendliest Gourd this side of Riedquat.
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:

Re: Liners OXP

Post by Commander McLane »

I just downloaded and installed liners.oxp (v 1.2) for the first time, and I am a little puzzled. The included readMe claims
This OXP is self contained and has no dependencies. Big Ships and CCL are NOT required.
However, I don't see any script that will spawn one of the liners inside the OXP. And none of the liners has any generic role. Therefore—as far as I can see—no liner will ever get spawned.

Was there a spawning script that somehow accidentally got deleted in version 1.2? Or is the readMe just wrong, and bigShips.oxp is required? All liners do have a "bigTrader"-role, which may be the one used by bigShips.oxp.

I also notice that the Aurora model isn't centered, which leads to two issues: first, the reticle box gets too big; and second, the escorts are placed so far away that they're practically useless. An escort out of the scanner range of its mother won't be much help in case of an attack.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Liners OXP

Post by Thargoid »

Yes there should be a spawning script, which does seem to have gone AWOL from v1.2.

The OXP will work with bigShips, but should also have that script as a supplement (the script used to self-disable if bigShips was present).
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Liners OXP

Post by Smivs »

The spawning script has definitely gone missing from this OXP, and unfortunately so has all trace of it, so I think we may need to re-write it.
I am temporarily suspending downloads of this OXP until this is fixed. As soon as it is sorted out I'll let you all know here.
Sorry.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Liners OXP

Post by Eric Walch »

Smivs wrote:
The spawning script has definitely gone missing from this OXP, and unfortunately so has all trace of it, so I think we may need to re-write it.
I am temporarily suspending downloads of this OXP until this is fixed. As soon as it is sorted out I'll let you all know here.
Sorry.
The script is still on my computer were I never updated after version 1.0 :P

And even when it did, I have Time Machine installed on my mac. That allows me to retrieve any file that has been on my mac for over a week. (Providing my backup disk is big enough). Currently my backup still contains weekly snapshots of my HD since I bought it mid 2010. :lol:
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Liners OXP

Post by Thargoid »

I've got a copy of it (it was in v1.1 - it's script.js in the config folder of the OXP) but as noted it's missing from v1.2.

I'll make it available later today if I get chance. In the meantime the OXP will work fine if bigShips.oxp is installed.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Liners OXP

Post by Smivs »

Ah, yes, I see.
I do have that so can proceed with sorting this out. There is also one other minor scripting issue to look at.
Hopefully later today I'll be able to re-upload and re-release this OXP.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Liners OXP

Post by Smivs »

Bugfix release v1.3

OK, all done (I think/hope :wink: )
v1.3 has now been uploaded.
As all previous versions had issues I would suggest that everybody using this OXP now upgrades to v1.3.
Commander Smivs, the friendliest Gourd this side of Riedquat.
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:

Re: Liners OXP

Post by Commander McLane »

Smivs, you're ahead of your time. :D :wink:
Wiki wrote:
Version History

v1.3 Released Nov 23rd 2012 - Major bugfix - re-installed spawning script which was absent, and corrected one ship-script.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Liners OXP

Post by Smivs »

Ha, thanks. That's the peril of c&p-ing then forgetting to change stuff. :oops:
Corrected now.
Commander Smivs, the friendliest Gourd this side of Riedquat.
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:

Re: Liners OXP

Post by Commander McLane »

Commander McLane wrote:
I also notice that the Aurora model isn't centered, which leads to two issues: first, the reticle box gets too big; and second, the escorts are placed so far away that they're practically useless. An escort out of the scanner range of its mother won't be much help in case of an attack.
To illustrate, here are two screenshots. The first shows an Aurora as it comes with the OXP. I'm flying alongside it at a distance of roughly 10km:
Image
You notice that it only fills the first half of its target reticle box, which is much too big for the ship. This is caused by the model being off-center. Its origin is relatively close to the rear end of the ship. Oolite calculates the ship's radius (and therefore the size of the box) from the ship's origin's distance to the vertex that is farthest away from the origin, which in this case is the ship's bow. So the ship appears much bigger to Oolite than it actually is. This has another consequence as well apart from the oversized bounding box: The position of its escorts depends on the ship's size. The bigger the ship size, the further away will the escorts be. In the screen shot only one of the four escorts can be seen by its blip on the scanner. It's one of the innermost escorts, and it's almost a full scanner range away from the mother. Too far to be of any help in case of an attack. And the outermost escort is even further out by another scanner range.

For comparison, here is another screen shot, after I've spent the night centering the Aurora model:
Image
Now the ship fills the complete target reticle box, which I find aesthetically more pleasing. But there is a practical difference as well: Now Oolite has correct information about the ship's real size, and calculates completely different escort positions, much closer to the mother. On the scanner you now see the blips of both left-side escorts. The outermost escort is now in the place where the innermost escort was before. The escorts are no longer disconnected from their mother.

I'd still suggest to use the new custom escort facilities and place the escorts even closer to the mother, though.

Another point: while I was at it, I not only centered the main entity of the Aurora, but the engine entities as well. As a byproduct of this, I was able to get rid of three out of four engine models, and simplify the ship by using only one engine model and putting it on the ship at four different places. Three DAT files that could be scrapped completely. Also, I added a pirate-victim-roles.plist with the role that is used in the spawning script.

If pagroove is interested, I can make these changes available.
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:

Re: Liners OXP

Post by Commander McLane »

Commander McLane wrote:
I'd still suggest to use the new custom escort facilities and place the escorts even closer to the mother, though.
For further illustration, here's an X-shaped escort pattern sideways to the ship:
Image
Distance of each escort to the mother: about 7750 meters.
Post Reply