Page 1 of 2
Moar Rocks 1.0
Posted: Tue Sep 02, 2014 1:40 pm
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
Re: Moar Rocks 1.0
Posted: Tue Sep 02, 2014 1:48 pm
by Cody
Sweet!
Re: Moar Rocks 1.0
Posted: Tue Sep 02, 2014 2:40 pm
by Tichy
How fast!!
I was going to do it by myself, but since you came first... Thanks
Re: Moar Rocks 1.0
Posted: Tue Sep 02, 2014 2:43 pm
by Venator Dha
cool. Thanks.
Downloaded
Re: Moar Rocks 1.0
Posted: Tue Sep 02, 2014 4:38 pm
by Zireael
Yeah!
Re: Moar Rocks 1.0
Posted: Tue Sep 02, 2014 8:01 pm
by Diziet Sma
Re: Moar Rocks 1.0
Posted: Wed Sep 03, 2014 5:16 am
by SteveKing
Re: Moar Rocks 1.0
Posted: Thu Sep 04, 2014 2:31 am
by Switeck
By "rocks" do you mean boulders in-and-around existing asteroids?
Re: Moar Rocks 1.0
Posted: Thu Sep 04, 2014 4:24 am
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.
Re: Moar Rocks 1.0
Posted: Fri Sep 05, 2014 12:40 pm
by Switeck
I ask because I always found it strange that I never found boulders anywhere unless there's a miner around.
Re: Moar Rocks 1.0
Posted: Fri Sep 05, 2014 3:33 pm
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
Re: Moar Rocks 1.0
Posted: Sat Sep 06, 2014 12:22 am
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.
Re: Moar Rocks 1.0
Posted: Sat Sep 06, 2014 7:35 pm
by Cody
This seems to be
working rather well - excellent!
Re: Moar Rocks 1.0
Posted: Sun Sep 07, 2014 6:32 pm
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
.
Re: Moar Rocks 1.0
Posted: Mon Sep 08, 2014 6:59 am
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.