[WIP] UPS Courier oxp 1.9 wip3

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

Moderators: another_commander, winston

Post Reply
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2555
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

[WIP] UPS Courier oxp 1.9 wip3

Post 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
Last edited by spara on Mon Mar 24, 2014 2:33 pm, edited 2 times in total.

User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2555
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [WIP] UPS Courier oxp 1.9 wip2

Post 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.

UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1108
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: [WIP] UPS Courier oxp 1.9 wip2

Post by UK_Eliter »

Spara: thanks for this.

UK_Eliter
---- E L I T E ----
---- E L I T E ----
Posts: 1108
Joined: Sat Sep 12, 2009 11:58 pm
Location: Essex (mainly industrial and occasionally anarchic)

Re: [WIP] UPS Courier oxp 1.9 wip2

Post 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!
Last edited by UK_Eliter on Sun Mar 23, 2014 3:41 pm, edited 1 time in total.

User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2555
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [WIP] UPS Courier oxp 1.9 wip3

Post by spara »

Thanks Keeper. Fixed. :D

User avatar
onno256
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Thu Aug 12, 2010 11:31 am
Location: The Netherlands

Re: [WIP] UPS Courier oxp 1.9 wip3

Post by onno256 »

Ahh, looking forward to playing this!
Wheeling an' dealing while cruisin' the galaxies

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: [WIP] UPS Courier oxp 1.9 wip2

Post 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.

User avatar
Day
---- E L I T E ----
---- E L I T E ----
Posts: 527
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: [WIP] UPS Courier oxp 1.9 wip3

Post 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 :-)

User avatar
phkb
Commodore
Commodore
Posts: 2532
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: [WIP] UPS Courier oxp 1.9 wip3

Post 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;
        }
    }
}

User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Disunited Kingdom
Contact:

Re: [WIP] UPS Courier oxp 1.9 wip3

Post by Smivs »

Isn't the old "sunskim-trader" role now obsolete?
Commander Smivs, the friendliest Gourd this side of Riedquat.

User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2555
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [WIP] UPS Courier oxp 1.9 wip3

Post 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: .

User avatar
DredgerMan
Deadly
Deadly
Posts: 253
Joined: Fri Oct 21, 2011 9:01 am
Location: Some buggy planet at the edge of the known universe

Re: [WIP] UPS Courier oxp 1.9 wip3

Post 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?
Flying The Sizzlin' Suzie VI, a trusty and venerable Boa Class Cruiser in Oolite 1.84 on

under Windows 6.1.7601 Service Pack 1 64-bit
with a Geforce GT610 videocard

User avatar
DredgerMan
Deadly
Deadly
Posts: 253
Joined: Fri Oct 21, 2011 9:01 am
Location: Some buggy planet at the edge of the known universe

Re: [WIP] UPS Courier oxp 1.9 wip3

Post 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!!!
Flying The Sizzlin' Suzie VI, a trusty and venerable Boa Class Cruiser in Oolite 1.84 on

under Windows 6.1.7601 Service Pack 1 64-bit
with a Geforce GT610 videocard

Post Reply