Cim has optimised the code for the main planet. The above mod is not ideal, but its ok for my requirements. Would be good if someone could produce a proper oxp for adding rings to additional planets.mossfoot wrote:I'm curious to tweak this as well, but can the frequency be upped a bit? I'd like to assume 1 in 10 outer planets has a ring, for example
Tinkerer's Workshop - OXP tweaking for fun and profit!
Moderators: winston, another_commander
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
I tested the rings on Additional Planets and the problem that rose was that they were not visible from ~2500 km and over (or maybe it was more, can't quite remember as it's been awhile). Optimization I think. So there was no point of putting them to the farther planets. That was in 1.77, maybe 1.80 is different.
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
I would like to tweak Market Observer so it is compatible with AI Trading Assistant. Does anyone have any suggestions? Also, the same question about Sell All.
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
How does Market Observer clash? I'll be happy to add any compatibility code necessary to it.Wildeblood wrote:I would like to tweak Market Observer so it is compatible with AI Trading Assistant. Does anyone have any suggestions? Also, the same question about Sell All.
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
Agreed, at the moment it is just eye candy:spara wrote:I tested the rings on Additional Planets and the problem that rose was that they were not visible from ~2500 km and over (or maybe it was more, can't quite remember as it's been awhile). Optimization I think. So there was no point of putting them to the farther planets. That was in 1.77, maybe 1.80 is different.
- Redspear
- ---- E L I T E ----
- Posts: 2687
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
The index on the first page of this thread should now be up to date.
If anyone spots any issues with it then please let me know. Thanks.
I'll look to update it in future of course but meanwhile the more recent a post is here, the more likely it is to be visible.
If anyone spots any issues with it then please let me know. Thanks.
I'll look to update it in future of course but meanwhile the more recent a post is here, the more likely it is to be visible.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
Thanks mate.. much appreciated..
Edit: I've just been and checked it out.. you've done a fantastic job!
Edit: I've just been and checked it out.. you've done a fantastic job!
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
- Redspear
- ---- E L I T E ----
- Posts: 2687
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
You're welcome
...
Here's a request I made re Random Shipnames a while back
Could anyone show me how to tie that oxp's functioning to the bounty scanner please?
i.e. random shipnames only show when bounty scanner is installed and fuctional.
It would make the bounty scanner much more interesting to me and I think I'd take the names less for granted if I lost them every so often.
...
Here's a request I made re Random Shipnames a while back
Could anyone show me how to tie that oxp's functioning to the bounty scanner please?
i.e. random shipnames only show when bounty scanner is installed and fuctional.
It would make the bounty scanner much more interesting to me and I think I'd take the names less for granted if I lost them every so often.
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
Can I take your idea and run away with it?
I suggest making a separate piece of equipment. Just like Bounty Scanner only reveals bounty and Elite Rank Scanner (from my Elite Ranks OXP) only reveals the rating, I'd make the equipment, say Transponder Reader, only read names.
I suggest making a separate piece of equipment. Just like Bounty Scanner only reveals bounty and Elite Rank Scanner (from my Elite Ranks OXP) only reveals the rating, I'd make the equipment, say Transponder Reader, only read names.
- Redspear
- ---- E L I T E ----
- Posts: 2687
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
Yeah, go for it!Zireael wrote:Can I take your idea and run away with it?
I suggest making a separate piece of equipment. Just like Bounty Scanner only reveals bounty and Elite Rank Scanner (from my Elite Ranks OXP) only reveals the rating, I'd make the equipment, say Transponder Reader, only read names.
Be cool if that was an oxp/z
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
I created a nice(?) little tweak to the RandomShipnames so that some of the hunter names are pulled from RandomHits. This might be of interest to you, if you don't want to use the Random Hits Shipset addon, but would like to occasionally see a Deputy on patrol.
First find the commentfrom the randomshipnames.js file. In an unmodified script, that would be line 828
A couple of lines under that is a line sayingThat would be line 831, if the file has not been modified.
Change that line to thisRandomHits is naturally required for this to do anything. If you feel the probability (0.1) to be too high or low, feel free to alter it. Now approximately every tenth hunter gets its name from RandomHits.
First find the comment
Code: Select all
// hunters, defense ships, escorts, and some special ships
A couple of lines under that is a line saying
Code: Select all
ship.displayName += ": " + this.$randomHunterName(ship);
Change that line to this
Code: Select all
if (Math.random() < 0.1 && ship.primaryRole.indexOf("hunter") !== -1 && worldScripts.Random_Hits) {
if (ship.primaryRole === "hunter-heavy")
ship.displayName += ": " + expandDescription("[random_hits_hunterhigh_name]");
else if (ship.primaryRole === "hunter-medium")
ship.displayName += ": " + expandDescription("[random_hits_huntermedium_name]");
else ship.displayName += ": " + expandDescription("[random_hits_hunterlow_name]");
}
else ship.displayName += ": " + this.$randomHunterName(ship);
-
- ---- E L I T E ----
- Posts: 288
- Joined: Sat May 31, 2014 9:02 pm
- Location: Melbourne, Australia
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
I've extended the script.js file created for spara's cargo scooping tweak to also enable the non-linear scanner and ultra-zoom functions when I launch.
That lets me change HUDs and keep the functionality without having to tweak the new HUD each time.
Note that by setting it this way, if the HUD is changed while in flight the settings will revert to the HUD defaults until the next time you dock.
- Neelix
That lets me change HUDs and keep the functionality without having to tweak the new HUD each time.
Note that by setting it this way, if the HUD is changed while in flight the settings will revert to the HUD defaults until the next time you dock.
Code: Select all
this.shipWillLaunchFromStation = function() {
player.ship.scannerNonLinear = true;
player.ship.scannerUltraZoom = true;
}
Talaxian Enterprises: [wiki]Vacuum Pump[/wiki] [wiki]Waypoint Here[/wiki]
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
Whilst I've never tried the Mining game myself, it was recently mentioned that one of the problems with the Miner Start option was that the ship was often incapable of catching up with fast-moving splinters. Recalling that in the past, I've seen a couple of mentions of members who'd tweaked their copy of Thargoid's Cargo Shepherd so that it attracted splinters as well, making it much simpler to scoop them, I thought it might make a good addition to the Tinkerer's Workshop.
As the tweak for this has never been posted, I decided to take a shot at it, for those who may want to make use of it. Note that this is completely untested, but in principal should work, as it's a pretty straightforward code addition. I'm sure if I've messed it up, someone will let me know, anyway..
Into this:and save.
Remember to shift-start Oolite to make sure your change takes effect.
As the tweak for this has never been posted, I decided to take a shot at it, for those who may want to make use of it. Note that this is completely untested, but in principal should work, as it's a pretty straightforward code addition. I'm sure if I've messed it up, someone will let me know, anyway..
In
cargoShepherd_magnet.js
, simply edit line 9 from this:
Code: Select all
function allPods(entity) {return entity.isShip && (entity.hasRole("cargopod") || (entity.isCargo && !entity.isPiloted))};
Code: Select all
function allPods(entity) {return entity.isShip && (entity.hasRole("cargopod") || entity.hasRole("splinter") || (entity.isCargo && !entity.isPiloted))};
Remember to shift-start Oolite to make sure your change takes effect.
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
-
- ---- E L I T E ----
- Posts: 288
- Joined: Sat May 31, 2014 9:02 pm
- Location: Melbourne, Australia
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
Erm... no tweaks needed for that - It already attracts splinters (but not boulders) as is.
- Neelix
- Neelix
Talaxian Enterprises: [wiki]Vacuum Pump[/wiki] [wiki]Waypoint Here[/wiki]
Re: Tinkerer's Workshop - OXP tweaking for fun and profit!
The default version shouldn't, as per Dizzy's post above. You may have already tweaked your copy in the past perhaps, as this isn't the first time it's been suggested?
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link