Moar Rocks 1.0

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

Moderators: another_commander, winston

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

Moar Rocks 1.0

Post by spara »

Venator Dha mentioned in Griff's thread that it would be nice to have more rocks in systems. Well, this little OXP does exactly that and nothing more. It checks the number of rocks (asteroids) in system and then adds new rocks (asteroids) around every found rock. In other words rocks multiply :) .

Multiplication can be controlled by altering the variable addition in script line 9. The default is five new rocks per every existing rock.

Download oxz: https://app.box.com/s/dqjbqfn9fkpubjcffsgo
Last edited by spara on Thu Sep 04, 2014 4:25 am, edited 1 time in total.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16058
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Moar Rocks 1.0

Post by Cody »

Sweet!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Tichy
---- E L I T E ----
---- E L I T E ----
Posts: 345
Joined: Wed Jul 11, 2012 5:48 pm

Re: Moar Rocks 1.0

Post by Tichy »

How fast!!
I was going to do it by myself, but since you came first... Thanks :D
User avatar
Venator Dha
---- E L I T E ----
---- E L I T E ----
Posts: 329
Joined: Sun Feb 23, 2014 11:26 am
Location: Sweden

Re: Moar Rocks 1.0

Post by Venator Dha »

:D cool. Thanks.
Downloaded :D
Taurus Driving through the galaxy since... .
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: Moar Rocks 1.0

Post by Zireael »

Yeah!
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Moar Rocks 1.0

Post by Diziet Sma »

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
User avatar
SteveKing
---- E L I T E ----
---- E L I T E ----
Posts: 258
Joined: Tue Apr 15, 2014 9:09 am
Location: DownUnder (W Aus)

Re: Moar Rocks 1.0

Post by SteveKing »

SteveKing
(not quite the author)
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2412
Joined: Mon May 31, 2010 11:11 pm

Re: Moar Rocks 1.0

Post by Switeck »

By "rocks" do you mean boulders in-and-around existing asteroids?
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2676
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Moar Rocks 1.0

Post by spara »

Switeck wrote:
By "rocks" do you mean boulders in-and-around existing asteroids?
They are all rocks to my miner :) . In his words:
Some are bigger, some are smaller. Big ones you shoot and tiny ones you scoop.
This oxp multiplies the number of asteroids in system.
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2412
Joined: Mon May 31, 2010 11:11 pm

Re: Moar Rocks 1.0

Post by Switeck »

I ask because I always found it strange that I never found boulders anywhere unless there's a miner around.
User avatar
Venator Dha
---- E L I T E ----
---- E L I T E ----
Posts: 329
Joined: Sun Feb 23, 2014 11:26 am
Location: Sweden

Re: Moar Rocks 1.0

Post by Venator Dha »

Switeck wrote:
I ask because I always found it strange that I never found boulders anywhere unless there's a miner around.
Interesting point.

This is probably inelegant and I'm sure spara or others can think of a better way but adding

Code: Select all

system.addShips("boulder", addition, position);
system.addShips("splinter", addition, position);
after

Code: Select all

system.addShips("asteroid", addition, position);
will generate a field of asteroids, boulders and splinters.

and reduced the multiplication to 3

Code: Select all

var addition = 3;//number of asteroids added per asteroid
Not certain if this is a good idea or not - basically free money in the splinters :lol:
Taurus Driving through the galaxy since... .
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2412
Joined: Mon May 31, 2010 11:11 pm

Re: Moar Rocks 1.0

Post by Switeck »

When I didn't have a mining laser installed, I'd ram boulders to break them into splinters. Had to be very careful about it...or my ship would break first.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16058
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Moar Rocks 1.0

Post by Cody »

This seems to be working rather well - excellent!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2676
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Moar Rocks 1.0

Post by spara »

Switeck wrote:
I ask because I always found it strange that I never found boulders anywhere unless there's a miner around.
I always rationalized it so that boulders and splinters are products of mining. Then again, you can get splinters when you bash two boulders together...
Switeck wrote:
When I didn't have a mining laser installed, I'd ram boulders to break them into splinters. Had to be very careful about it...or my ship would break first.
The hardest start? An Adder with no money, no fuel, no missiles, no heat shielding and no laser.
Cody wrote:
This seems to be working rather well - excellent!
Nice asteroid field :D .
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2412
Joined: Mon May 31, 2010 11:11 pm

Re: Moar Rocks 1.0

Post by Switeck »

A ratio of asteroids to boulders makes the universe more diverse and interesting. Also, spotting an asteroid field might be harder if it had few true asteroids but many boulders. If I recall, boulders are invisible roughly beyond max sensor distance (~25 km).
spara wrote:
Switeck wrote:
When I didn't have a mining laser installed, I'd ram boulders to break them into splinters. Had to be very careful about it...or my ship would break first.
The hardest start? An Adder with no money, no fuel, no missiles, no heat shielding and no laser.
Many of the times, I wasn't ramming asteroids or boulders because I was poor but because I was bored. Usually I Lasered asteroids and only rammed any boulders left behind. I had 4 Military Lasers mounted on my ship which only took shield damage if I did it right. Ore Processor meant it was profitable. I often even had to eject at slow speed a bit of cargo to make room for splinters, though I found it safer to dump off some of my cargo at a nearby station and pick it back up later.
Last edited by Switeck on Mon Sep 08, 2014 8:21 am, edited 1 time in total.
Post Reply