Asteroids without boulders

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Ark
---- E L I T E ----
---- E L I T E ----
Posts: 664
Joined: Sun Dec 09, 2007 8:22 am
Location: Athens Greece

Asteroids without boulders

Post by Ark »

How can i have a type of asteroid without boulders. It seems that the keys

Code: Select all

likely_cargo = 0;
max_cargo = 0;
inside the shipdata plist does not affect them
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Code: Select all

no_boulders = yes;
(This can also take a probability, as in no_boulders = 0.5;)
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

As an additional information: Eric Walch pointed out to me that only asteroids with primary role 'asteroid' produce boulders at all. If you create some custom asteroid and call it via any other role, it produces metal fragments like a ship, not boulders.
User avatar
Ark
---- E L I T E ----
---- E L I T E ----
Posts: 664
Joined: Sun Dec 09, 2007 8:22 am
Location: Athens Greece

Post by Ark »

Commander McLane wrote:
As an additional information: Eric Walch pointed out to me that only asteroids with primary role 'asteroid' produce boulders at all. If you create some custom asteroid and call it via any other role, it produces metal fragments like a ship, not boulders.
Strange i was under the impression the since 1.70, look here: https://bb.oolite.space/viewtopic.php?t=4061 in the change log, the
scripted asteroid behave the same way as the ones added by the populator
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Well, yes, they still work like the ones from the populator, but only if they have primary role asteroid. If you spawn an asteroid with the role "my_fancy_asteroid_role", then it will produce metal fragments on destruction. Maybe we need to make it so that boulders are generated if the asteroid contains the role asteroid in its roleset, rather than checking for primary role only.
Post Reply