Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

49ers OXP - The Oolite Gold Rush (was: Ore processor)

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

Moderators: another_commander, winston

User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 985
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Post by Dr. Nil »

And that was exactly the simple thing which was wrong :oops:

Thanks for your help.

Well at least it was a fertile error, which bred a lot of good ideas.

Ore Processor v.1.0

It works now.
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 985
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Post by Dr. Nil »

The game gives the message "name of entity"+"scooped" when scooping something.

Atm it just says splinter scooped.

What would be good names for the different kinds of splinters?

Would:

Mixed ore (alloys), Radioactive ore, Gold ore, Platinum ore and Gem ore do it, or what would be fitting English terms?
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2867
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Think a pilot entry for each entry would do that!

Somthing like in shipdata (different one for each entry):-

Code: Select all


<key>unpiloted</key>
<false/>
<key>pilot</key> 
<string>DRrock_1</string>

Then in charcters:-

Code: Select all

<key>DRrock1</key>
<dict>
<key>name</key>
<string>a highly radioactive rock</string>
<key>bounty</key>
<integer>1</integer>
</dict>

Should make Oolite give the message "You have captured a highly radioactive rock", "a gem-studded rock" etc when the item is scooped
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

Dr.-SPACE-Nil wrote:

(@Cmdr Wyvern: What's that ship on your profile?)
The craft in question would be the Paladin, one of the two ships in PTI.oxp.
(Which has been submitted to oosat2, but for some reason hasn't shown up there yet.)
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

There's still a bug in it, Doc.

If you don't have the ore proccessor device on your ship, some scooped splinters give a 'Splinter scooped' HUD message, but nothing is added to the cargo bay.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

I think I figured it out. Now if the proccessor isn't on the ship, one ton of minerals is loaded. I tweaked the code thusly:

Code: Select all

	<key>op_alloys</key>
	<dict>
		<key>like_ship</key>
		<string>op_splinter</string>
		<key>cargo_type</key>
		<string>CARGO_SCRIPTED_ITEM</string>
		<key>script_actions</key>
		<array>
			<string>debugOn</string>
			<string>testForEquipment: EQ_ORE_PROCESSOR</string>
			<dict>
			<key>conditions</key>
			<array>
				<string>foundEquipment_bool equal YES</string>
			</array>
			<key>do</key>
			<array>
				<string>awardCargo: 1 Alloys</string>
			</array>
			</dict>
			<dict>
				<key>conditions</key>
				<array>
					<string>foundEquipment_bool equal NO</string>
				</array>
				<key>do</key>
				<array>
					<string>awardCargo: 1 Minerals</string>
				</array>
			</dict>
			<string>debugOff</string>
		</array>
		<key>roles</key>
		<string>splinter(15.0)</string>
	</dict>
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 985
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Post by Dr. Nil »

Cmdr Wyvern wrote:
There's still a bug in it, Doc.

If you don't have the ore proccessor device on your ship, some scooped splinters give a 'Splinter scooped' HUD message, but nothing is added to the cargo bay.
Thanks for spotting and correcting it. I forgot that commanders would get those splinters no matter what, now that the cargo award is moved to the script entry.

I lowered the price to 1500 Cr. IMO 5000 was too pricey, but perhaps 1500 is too cheap? I haven't looked at this seriously, but my guess is that it will take about 40-50 splinters at this price on average before the processor has paid for itself..

Ore Processor 1.01



Your Paladin looks great. Hope to see it appear on the Sat soon.
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 985
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Post by Dr. Nil »

@DaddyHoggy: :oops: Sorry that I forgot to credit you for input in the first readme. It has been corrected.
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

I found another bug while messing with it last night. Some splinters load food into the cargo bay. So far, I havn't figured out why.

"This system is mildly notable for it's killer edible asteroids..." :lol:
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

@Cmdr W :lol:

@Doc - :) No worries - happy to have helped inspire a small portion what should be an excellent addition and alternative career path to the Oolite Ooniverse.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 985
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Post by Dr. Nil »

Cmdr Wyvern wrote:
I found another bug while messing with it last night. Some splinters load food into the cargo bay. So far, I havn't figured out why.

"This system is mildly notable for it's killer edible asteroids..." :lol:
:lol:


I did a quick search on Image But it's hard to guess what it could be, without knowing where it happened. Did you remember to look in the hold and check what kind of food we're talking here?

It could just have been some edible minerals like this edible clay or an industrial size fridge buried in the remains from a planet which has fallen apart for whatever reason. Which galaxy did this happen in? There are places, where they'll eat things us non diamond teethed earthlings couldn't chew. Could it be rock salt?

What I fear the most is that you've actually made yourself the mortal enemy of every scavenger and space hobo in the Ooniverse by cutting the mythical Big Rock Candy Asteroid to pieces with your lasers. Hopefully not!

At least these are some of the possible explanations until we find one related to code or plists. ;)
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

The proccessor seems to load food instead of gemstones, from what I can tell. All the metals, ie gold, platinium, radioactives and alloys load fine from the proccessor.

After scooping a couple of 'roids worth of splinters, a quick look at my manifest screen wouls show radioactives, minerals, alloys, gold, platinium, and food. All this without scooping loose cargo canisters along the way.

Galaxy 3, the same in any system I visit for mining.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

:lol: It would appear the Ore processor's were built from salvaged food processors - something has been left behind in their programming and they're converting some rock splinters into 'little gem iced cake decorations' and hence the manifest computer is a little confused and so is the station trader who has pressed charges over the supply of "unusual rubies" turned out to be a ¼oz of 'Cola Cubes'. :lol:

I hear there's a Snoopes reporter on his way to the scene now....
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 985
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Post by Dr. Nil »

@Cmdr Wyvern

Thanks for testing and reporting. I think that you pointed me straight to the problem here (I have now replaced 'Gem-stones' with 'Gemstones' in the shipdata).

I haven't looked at the stats yet, but looking at the Paladin on the startup screen makes me wanna buy it.

Ore Processor v1.02

@DaddyHoggy :lol:

Turning stone to bread. A well known CGC hyperarchbishop was quick to claim it to be an act by The Creator in a press release (which has since been withdrawn and denied).
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

A quick test with version 1.02. Results: The edible gemstones bug persists, sad to say.
Unless someone smarter than us - aka Giles or Winston - can offer some insight, the only workaround to getting rock candy instead of gems I can think of is removing the gemstone splinters.

Paladin quick-stats:
Speed 0.365
Roll 2.4
Pitch 1.4
Missiles 6
Energy 5
Cargo 20 + 20 upgrade
Nominal crew 3
Price 290000cr

Comes with scoop, heat shield, and Ingram beam laser standard.
Last edited by Cmdr Wyvern on Fri Dec 29, 2006 6:51 pm, edited 1 time in total.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
Post Reply