Perhaps this is an oxp feature? Every OXP author is responsible for getting their shipdata.plist right. It's all well-documented, and it's not exactly rocket science.Commander McLane wrote:Back to topic again.
The question is more or less rhetorical, because I don't see an easy way to prevent miners from shooting iceteroids. According to the WikiCommander McLane wrote:The next question is: if there is nothing to gain from mining iceteroids, should miners shoot them up in the first place? Perhaps they'd do it for fun, or to clear the area?scanForRocks
scans first for ships havin role "boulder" and, if it finds none, for ships having role "asteroid". Therefore the ice boulders are ignored, because they don't have "boulder" among their roles. The iceteroids, however, are spawned through their "asteroid" role, therefore they have that role by definition. And while it is possible to add other roles after spawning, I don't think it's possible to remove a role after spawning. Thus, as long as they're spawned as normal asteroids (which in itself makes sense), I don't think miners can easily be prevented from blowing them up.
[RELEASE] Icesteroids V2
Moderators: winston, another_commander
- CommonSenseOTB
- ---- E L I T E ----
- Posts: 1397
- Joined: Wed May 04, 2011 10:42 am
- Location: Saskatchewan, Canada
Re: [RELEASE] Icesteroids V2
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
- Staer9
- ---- E L I T E ----
- Posts: 570
- Joined: Fri Feb 18, 2011 4:53 pm
- Location: Hatfield, Hertfordshire (poor industrial)
Re: [RELEASE] Icesteroids V2
I agreeCommonSenseOTB wrote:Perhaps this is an oxp feature? Every OXP author is responsible for getting their shipdata.plist right. It's all well-documented, and it's not exactly rocket science.
- Commander McLane
- ---- 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:
Re: [RELEASE] Icesteroids V2
I'm sure it is. (Which detail of my musings are you referring to? The fact that Oolite (to my knowledge) doesn't allow the removing of roles after spawning has nothing to do with any OXP, though.)CommonSenseOTB wrote:Perhaps this is an oxp feature?Commander McLane wrote:The question is more or less rhetorical, because I don't see an easy way to prevent miners from shooting iceteroids. According to the WikiCommander McLane wrote:The next question is: if there is nothing to gain from mining iceteroids, should miners shoot them up in the first place? Perhaps they'd do it for fun, or to clear the area?scanForRocks
scans first for ships havin role "boulder" and, if it finds none, for ships having role "asteroid". Therefore the ice boulders are ignored, because they don't have "boulder" among their roles. The iceteroids, however, are spawned through their "asteroid" role, therefore they have that role by definition. And while it is possible to add other roles after spawning, I don't think it's possible to remove a role after spawning. Thus, as long as they're spawned as normal asteroids (which in itself makes sense), I don't think miners can easily be prevented from blowing them up.
- CommonSenseOTB
- ---- E L I T E ----
- Posts: 1397
- Joined: Wed May 04, 2011 10:42 am
- Location: Saskatchewan, Canada
Re: [RELEASE] Icesteroids V2
This is a feature. The miners are clearing navigational hazards from the spacelanes or just having fun. Inexplicable or bizarre and even slightly less than logical behaviour by npcs adds to the immersion factor.Commander McLane wrote:The next question is: if there is nothing to gain from mining iceteroids, should miners shoot them up in the first place? Perhaps they'd do it for fun, or to clear the area?
old freighter captain wrote:Beware those belters son, steer clear of 'em when you see 'em. Spends most o' their time alone and some of 'em tend to go all funny in the head. No tellin' what they might do. Heh! You heed my words now son, ya hear?
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
- Commander McLane
- ---- 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:
Re: [RELEASE] Icesteroids V2
Yes, that's what I suggested in the first place with the second question, isn't it?CommonSenseOTB wrote:This is a feature. The miners are clearing navigational hazards from the spacelanes or just having fun.Commander McLane wrote:The next question is: if there is nothing to gain from mining iceteroids, should miners shoot them up in the first place? Perhaps they'd do it for fun, or to clear the area?
There is one detail that could seem odd, though. If the miners shoot iceteroids in order to clear navigational hazards, why do they completely ignore the resulting ice boulders? Aren't those navigational hazards as well, given their much bigger number compared to the original iceteroids?
I haven't installed the OXP, therefore I have no experience at all with it. I just imagine that I'd perhaps find this behaviour odd, if I'd observe it. And all I'm doing is musing about the current behaviour of the OXP as far as I understand it, which is that miners do target iceteroids, but then ignore their ice boulders.
Re: [RELEASE] Icesteroids V2
I tried that and now when an ice boulder is shot with a mining laser, it spawns a few more in its place. Although that was reported earlier in the thread, it is definitely doing it now. I am currently watching some mining vessels trying to mine an ever-increasing cloud of blue rocks. Link.[/quote]Commander McLane wrote:SandJ wrote:give them the role together with a role weight of 0. Then they never get chosen as ordinary boulders. You should add "boulder(0)" to their roles.
You could add a ship script to the ice boulders containing
Code: Select all
this.shipTakingDamage(amount,whom,type) {
if (this.ship.energy <= 0) {
this.ship.remove(true);
}
}
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: [RELEASE] Icesteroids V2
Good. It's about time someone did.Norby wrote:I added this nicesteroids into the OXZ manager.
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Icesteroids
3 Comments
1) Transparency/translucency
2) SW Economy
This oxp introduces water as a commodity. Could scooped icesteroids count - or would they need melting and distilling? And how would one include this in the game? Some sort of code in SW Economics, maybe?
3) Shiplibrary.plist
There isn't one...
4) Griff's Version
For reference: Griff's (original?) version is here
Edit: Oops! Wrong link
1) Transparency/translucency
Will this still be an issue with all the work that a_c has recently done on graphics?Staer9 wrote: ↑Sat Jun 11, 2011 8:59 amThanks for your comments, the trouble is that oolite doesn't support transparency (something which has had some debate before so there is no point going into detail now) because of this I had to emulate it as best as I could, which is why the normals are flipped, it is an effect not immediately noticeable by if you do notice you'll find yourself slowly getting closer and closer to the monitor. I also attempted to emulate a fractioning effect by using a glow-map... the problem with this you have pointed out, when they are on the dark side of the planet it seems unreal...Wildeblood wrote:Too bright - the effect is more phosphorescent than translucent. It doesn't matter so much if they're in the sunlight, but on the dark side of the planet, where there is no sun at all, it is particularly obvious. I thought "kryptonite" more than "ice". Also, being bright, the edges of polygons are obvious which makes them look unrealistic...
2) SW Economy
This oxp introduces water as a commodity. Could scooped icesteroids count - or would they need melting and distilling? And how would one include this in the game? Some sort of code in SW Economics, maybe?
3) Shiplibrary.plist
There isn't one...
4) Griff's Version
For reference: Griff's (original?) version is here
Edit: Oops! Wrong link
Last edited by Cholmondely on Sun Oct 23, 2022 4:05 pm, edited 1 time in total.
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- montana05
- ---- E L I T E ----
- Posts: 1166
- Joined: Mon May 30, 2016 3:54 am
- Location: lurking in The Devils Triangle (G1)
Re: Icesteroids
If you want to keep it simple, just include a simple script to this OXP:Cholmondely wrote: ↑Fri Oct 21, 2022 11:50 am2) SW Economy
This oxp introduces water as a commodity. Could scooped icesteroids count - or would they need melting and distilling? And how would one include this in the game? Some sort of code in SW Economics, maybe?
Check the market if water is a commodity
If yes, spawn some additional splinters containing water to scoop after a boulder is destroyed. Splinters are quite similar, with containers so easy to handle.
Scars remind us where we've been. They don't have to dictate where we're going.
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Icesteroids
I think that both this one - and Griff's original - produce ice-boulders, ice-splinters and occasional chunks of alloy.montana05 wrote: ↑Sat Oct 22, 2022 3:10 amIf you want to keep it simple, just include a simple script to this OXP:Cholmondely wrote: ↑Fri Oct 21, 2022 11:50 am2) SW Economy
This oxp introduces water as a commodity. Could scooped icesteroids count - or would they need melting and distilling? And how would one include this in the game? Some sort of code in SW Economics, maybe?
Check the market if water is a commodity
If yes, spawn some additional splinters containing water to scoop after a boulder is destroyed. Splinters are quite similar, with containers so easy to handle.
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- montana05
- ---- E L I T E ----
- Posts: 1166
- Joined: Mon May 30, 2016 3:54 am
- Location: lurking in The Devils Triangle (G1)
Re: Icesteroids
I didn't have a look at both OXP's, so now I am just guessing. I do believe that the splinters will provide minerals, nothing else. To spawn water, you will need to add more splinters containing it. I am still waiting for advice from phkb if this is a wanted feature or just another bug in the core game.Cholmondely wrote: ↑Sat Oct 22, 2022 6:50 pmI think that both this one - and Griff's original - produce ice-boulders, ice-splinters and occasional chunks of alloy.montana05 wrote: ↑Sat Oct 22, 2022 3:10 amIf you want to keep it simple, just include a simple script to this OXP:Cholmondely wrote: ↑Fri Oct 21, 2022 11:50 am2) SW Economy
This oxp introduces water as a commodity. Could scooped icesteroids count - or would they need melting and distilling? And how would one include this in the game? Some sort of code in SW Economics, maybe?
Check the market if water is a commodity
If yes, spawn some additional splinters containing water to scoop after a boulder is destroyed. Splinters are quite similar, with containers so easy to handle.
Scars remind us where we've been. They don't have to dictate where we're going.
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Icesteroids
I was wrong. Double-checked with Telescope and a Mining Laser.montana05 wrote: ↑Sun Oct 23, 2022 2:33 amI didn't have a look at both OXP's, so now I am just guessing. I do believe that the splinters will provide minerals, nothing else. To spawn water, you will need to add more splinters containing it. I am still waiting for advice from phkb if this is a wanted feature or just another bug in the core game.Cholmondely wrote: ↑Sat Oct 22, 2022 6:50 pmI think that both this one - and Griff's original - produce ice-boulders, ice-splinters and occasional chunks of alloy.
Staer9's icesteroids produce ice boulders which either split up into smaller ice boulders or into metal fragments (alloys).
Griffs Ice Asteroids split immediately into metal fragments.
One wonders if these effects should be changed. But then we would need boulders for Griff and splinters for both.
And one presumes that all that ice is just supposed to vaporise under the effects of the laser, even a tightly focused mining laser.
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- montana05
- ---- E L I T E ----
- Posts: 1166
- Joined: Mon May 30, 2016 3:54 am
- Location: lurking in The Devils Triangle (G1)
Re: Icesteroids
Both could be changed, Staer9's could have added splinters and therefore to water if available. Griff I need to have a look at the OXP first,Cholmondely wrote: ↑Sun Oct 23, 2022 6:58 amI was wrong. Double-checked with Telescope and a Mining Laser.montana05 wrote: ↑Sun Oct 23, 2022 2:33 amI didn't have a look at both OXP's, so now I am just guessing. I do believe that the splinters will provide minerals, nothing else. To spawn water, you will need to add more splinters containing it. I am still waiting for advice from phkb if this is a wanted feature or just another bug in the core game.Cholmondely wrote: ↑Sat Oct 22, 2022 6:50 pmI think that both this one - and Griff's original - produce ice-boulders, ice-splinters and occasional chunks of alloy.
Staer9's icesteroids produce ice boulders which either split up into smaller ice boulders or into metal fragments (alloys).
Griffs Ice Asteroids split immediately into metal fragments.
One wonders if these effects should be changed. But then we would need boulders for Griff and splinters for both.
And one presumes that all that ice is just supposed to vaporise under the effects of the laser, even a tightly focused mining laser.
if I could use the shaders for splinters, there shouldn't be a problem. However, I only know the basics of shaders and therefore Griff's usually I fail to modify. I also believe that splinters have a default of minerals, so a workaround will be needed to actually get water.
Scars remind us where we've been. They don't have to dictate where we're going.
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Icesteroids
Griff labelled it as an experiment... I wonder if he would be up to updating it for Specular/Gloss/Colourblind etc. - and then adding boulders and splinters?montana05 wrote: ↑Sun Oct 23, 2022 11:14 amBoth could be changed, Staer9's could have added splinters and therefore to water if available. Griff I need to have a look at the OXP first,Cholmondely wrote: ↑Sun Oct 23, 2022 6:58 amI was wrong. Double-checked with Telescope and a Mining Laser.montana05 wrote: ↑Sun Oct 23, 2022 2:33 am
I didn't have a look at both OXP's, so now I am just guessing. I do believe that the splinters will provide minerals, nothing else. To spawn water, you will need to add more splinters containing it. I am still waiting for advice from phkb if this is a wanted feature or just another bug in the core game.
Staer9's icesteroids produce ice boulders which either split up into smaller ice boulders or into metal fragments (alloys).
Griffs Ice Asteroids split immediately into metal fragments.
One wonders if these effects should be changed. But then we would need boulders for Griff and splinters for both.
And one presumes that all that ice is just supposed to vaporise under the effects of the laser, even a tightly focused mining laser.
if I could use the shaders for splinters, there shouldn't be a problem. However, I only know the basics of shaders and therefore Griff's usually I fail to modify. I also believe that splinters have a default of minerals, so a workaround will be needed to actually get water.
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?