Page 1 of 1

[WIP] UPS Courier oxp 1.9 wip3

Posted: Fri Mar 14, 2014 4:51 pm
by spara
Here's another classic oxp retouched :D . The original 1.8.4 has aged a bit and deserves to be retouched. There were a lot of direct references to the core models, exhaust definitions and such that produced some compatibility problems when using replacement shipsets. And while I was at it, I added support for some popular oxps as I have done before. Thanks to Eric for showing the green light for releasing the new version and Keeper for suggesting the project to me. It's wip till I'm happy. Report any oddities and bugs as before.
For compatibility with various shipsets, all references to core models have been removed and replaced with like_ships.

Ships

* For compatibility, removed special exhausts
* Replaced oxp specific boas and python with like_ships
* Unified ship naming overall and updated to use randomshipnames oxp, if present.
* Updated escorts to use escort formations oxp, if present

Asteroids

* No more custom asteroids in missions. Uses any available asteroids now.
* Special splinter models are now re-textured Griff models.

Stations

* Solar research station is replaced with a turretless Kiota Solar station, if present.
* Pirate bases are replaced with Griff's hermit, if present

Other

* Fixed black box to work correctly with Griff's barrel
* Metal plates normal mapped by Keeper
* Ground radars enhanced with normal & emission maps
* Fixed ground radars from being stations with docking possibilities
Download: Version 1.9 wip3

Re: [WIP] UPS Courier oxp 1.9 wip2

Posted: Sun Mar 16, 2014 3:51 pm
by spara
Work continues. New version (1.9 wip2) is up

* Total overhaul of mission asteroids. Oxp no longer uses it's own custom asteroids, but uses any asteroids available. Tested to work with the Asteroid storm and ZygoUgo's, so should work with any set.
* Special splinter models are now retextured Griff's splinter models, so you can still visually identify them. Corrected to work with Ore Processor's scan function.
* Thanks to Keeper, all metal plates are now normal mapped

All reports about the new asteroid handling are much appreciated.

Re: [WIP] UPS Courier oxp 1.9 wip2

Posted: Sun Mar 23, 2014 12:57 am
by UK_Eliter
Spara: thanks for this.

Re: [WIP] UPS Courier oxp 1.9 wip2

Posted: Sun Mar 23, 2014 1:30 am
by UK_Eliter
Spara

I've got this in my log:

Code: Select all

ERROR: one or more shipdata.plist entries have like_ship references that cannot be resolved: ups-dependance2-kiota, ups-dependance3-kiota, ups-dependance4-kiota
Perhaps there's some other OXP I should have installed (or something else I've overlooked) . .

EDIT: Still, this OXP does advertise itself as work in progress!

Re: [WIP] UPS Courier oxp 1.9 wip3

Posted: Sun Mar 23, 2014 7:43 am
by spara
Thanks Keeper. Fixed. :D

Re: [WIP] UPS Courier oxp 1.9 wip3

Posted: Sun Mar 23, 2014 9:16 am
by onno256
Ahh, looking forward to playing this!

Re: [WIP] UPS Courier oxp 1.9 wip2

Posted: Mon Mar 24, 2014 11:27 pm
by Eric Walch
UK_Eliter wrote:
I've got this in my log:
The log was only a warning but does not do any harm. The fix of Spara was to suppress the warning.

Re: [WIP] UPS Courier oxp 1.9 wip3

Posted: Tue Aug 04, 2015 8:41 pm
by Day
Hey spara,

I might have found some bugs (not thargoids, though).

I'm on a 1.82 Oolite, compiled from source, and lots of oxp/z.
UPS Courier is last version from the expansion manager.

When I'm proposed the boa mission,
a) when I ask for the map to see where it is, there is no map displayed,
b) when I exit the UPS mission screen, and go back to the usual map (F6), my destination has been changed to the one of the UPS mission.

That's it :-)

Re: [WIP] UPS Courier oxp 1.9 wip3

Posted: Mon Sep 14, 2015 2:33 am
by phkb
There's a fairly critical bug in the "ups_sun.js" script which causes a "universe is full" error.

Change this function:

Code: Select all

this.sunTraders = function (count, coordSystem)
{
    for(var i=0; i<count; i++)
    {
        var trader = system.addShipsToRoute("sunskim-trader", 1, Math.random(), coordSystem)[0];
        trader.switchAI("route2sunskimUpsAI.plist");
        trader.primaryRole = "trader";
        if (coordSystem == "sw") trader.AIState = "HEAD_FOR_SUN";
        trader.heatInsulation = (1000 / trader.maxSpeed) + 1;
        if (trader.escorts) for (var i=0; i < trader.escorts.length; i++)
        {
            trader.escorts[i].heatInsulation = trader.heatInsulation;
        }
    }
}
to this:

Code: Select all

this.sunTraders = function (count, coordSystem)
{
    for(var i=0; i<count; i++)
    {
        var trader = system.addShipsToRoute("sunskim-trader", 1, Math.random(), coordSystem)[0];
        trader.switchAI("route2sunskimUpsAI.plist");
        trader.primaryRole = "trader";
        if (coordSystem == "sw") trader.AIState = "HEAD_FOR_SUN";
        trader.heatInsulation = (1000 / trader.maxSpeed) + 1;
        if (trader.escorts) for (var j=0; j < trader.escorts.length; j++)
        {
            trader.escorts[j].heatInsulation = trader.heatInsulation;
        }
    }
}

Re: [WIP] UPS Courier oxp 1.9 wip3

Posted: Mon Sep 14, 2015 6:51 am
by Smivs
Isn't the old "sunskim-trader" role now obsolete?

Re: [WIP] UPS Courier oxp 1.9 wip3

Posted: Mon Sep 14, 2015 7:46 am
by spara
The original UPS is seriously old and has a lot of deprecated and obsolete bits when ran with the current version of Oolite. This update I once made is currently so deprecated that it's practically useless :( . Even ship models have changed. Oolite has changed too much on the way.

To update the original oxp, one must start from the scratch. I have actually started it a couple of times, but RL has always interrupted me. One day, I'll do it. Unless someone beats me to it :mrgreen: .

Re: [WIP] UPS Courier oxp 1.9 wip3

Posted: Sat Oct 29, 2016 3:29 pm
by DredgerMan
Hey Spara.

I have just found an exception error originating from the latest UPS courier version in the download manager (1.8.4).

The error came about after rescuing a slave and returning him to his home world. It is:

Code: Select all

Exception: Error: Cannot set property gem-stones of instance of Manifest to invalid value NaN.
    Active script: ups_slaves 1.8.3
    ups_slaves.js, line 63:
                    player.ship.manifest["gem-stones"] += 15;
Nothing crashed, I just lost out on 15 gr of gem-stones, which is annoying but I did it for the warm fuzzy feeling anyway. :lol: :lol: :lol: :lol: :lol:

Anyway, one for the list?

Re: [WIP] UPS Courier oxp 1.9 wip3

Posted: Tue Nov 01, 2016 8:15 pm
by DredgerMan
WOW! :P :P :P

I just captured Eric Walch! The miscreant apparently ransacked a UPS courier and I was 'requested' to relieve the 'good' commander and his trusty Boa of his ill-gotten gains.

Mission successfully completed after forcing the 'good' Captain to jump ship first and scooping him.

Is this the end of Eric? I thought so but after docking I was greeted with a mission screen stating that E.W. thanked me for bypassing the entry security scan and paid me 150 credits before disappearing!!

:lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

So I for one am now certain that the good commander will be back!!!