understanding shipdata.plist
Moderators: winston, another_commander
-
- Competent
- Posts: 61
- Joined: Thu Jun 04, 2009 5:47 pm
understanding shipdata.plist
Before I start running amok with the ships, I want to make sure I'm clear on certain variables.
1) Thrust. What exactly does this do? Is it acceleration/deceleration?
2) Fuel. The wiki only has a short blurb, but the value for all ships is 70, which I assume refers to the 7.0ly maximum jump that any ship can take. I'm debating whether to tweak this. Part of this consideration has to do with the distance between planets. I'm not sure how to ask this question, but I'm trying to figure out the maximum distance between two adjacent planets. In other words, would a ship be able to access all planets (even if it had to take a long way around) if it could only jump 6ly? What about 5ly? How low can you go and still be able to access everything?
3) Energy and recharge. Does this apply to fore/aft shields as well? Regardless of the value, every ship has a certain number of full bars of energy. Is there a value that's used as a break point to start a new bar? If so, is the amount of energy in each bar split between them? So if the breakpoint is 101. would a ship with 100 energy would have one bar of 100, which a ship with energy 150 would have two bars of 75? Also, is the recharge rate the amount of energy the regenerates per second?
4) Cargo. Correct me if I'm wrong. A ship that doesn't have an extra_cargo entry cannot upgrade their cargo hold. If they do have it, then it can be upgraded, and by an amount specified by an integer value.
I think that's all I got for now. Thanks.
1) Thrust. What exactly does this do? Is it acceleration/deceleration?
2) Fuel. The wiki only has a short blurb, but the value for all ships is 70, which I assume refers to the 7.0ly maximum jump that any ship can take. I'm debating whether to tweak this. Part of this consideration has to do with the distance between planets. I'm not sure how to ask this question, but I'm trying to figure out the maximum distance between two adjacent planets. In other words, would a ship be able to access all planets (even if it had to take a long way around) if it could only jump 6ly? What about 5ly? How low can you go and still be able to access everything?
3) Energy and recharge. Does this apply to fore/aft shields as well? Regardless of the value, every ship has a certain number of full bars of energy. Is there a value that's used as a break point to start a new bar? If so, is the amount of energy in each bar split between them? So if the breakpoint is 101. would a ship with 100 energy would have one bar of 100, which a ship with energy 150 would have two bars of 75? Also, is the recharge rate the amount of energy the regenerates per second?
4) Cargo. Correct me if I'm wrong. A ship that doesn't have an extra_cargo entry cannot upgrade their cargo hold. If they do have it, then it can be upgraded, and by an amount specified by an integer value.
I think that's all I got for now. Thanks.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
With regards to (2) - there are several planets and indeed systems of planets that cannot be accessed (short of Gal. Hyper jumping in) because there is MORE than 7ly between them and another system....
Good places to set OXPs though - or indeed as Drew did - set your fiction!
Good places to set OXPs though - or indeed as Drew did - set your fiction!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
Re: understanding shipdata.plist
I'll leave the other questions to smarter people but I don't think there's any good way of knowing the answer to your question. The galaxies were generated from random seeds, and there are in fact some systems and groups of systems which can't be reached (without some clever inter-galactic navigation) because they lie more than 7 light-years away from the rest of the group. Take a look at e.g. Galaxy 6:punkbohemian wrote:2) Fuel. The wiki only has a short blurb, but the value for all ships is 70, which I assume refers to the 7.0ly maximum jump that any ship can take. I'm debating whether to tweak this. Part of this consideration has to do with the distance between planets. I'm not sure how to ask this question, but I'm trying to figure out the maximum distance between two adjacent planets. In other words, would a ship be able to access all planets (even if it had to take a long way around) if it could only jump 6ly? What about 5ly? How low can you go and still be able to access everything?
Re: understanding shipdata.plist
Yes. The lower the thrust, the longer it takes to gain full speed or stop from it. With low thrust, the ship also requires a much longer distance to fall out of torus drive speed, with the possibility to crash into objects.punkbohemian wrote:1) Thrust. What exactly does this do? Is it acceleration/deceleration?
The recharge rate is basically causing the recharge per second, however, for the exact formula you would have to look into the code.punkbohemian wrote:3) Energy and recharge. Does this apply to fore/aft shields as well? Regardless of the value, every ship has a certain number of full bars of energy. Is there a value that's used as a break point to start a new bar? If so, is the amount of energy in each bar split between them? So if the breakpoint is 101. would a ship with 100 energy would have one bar of 100, which a ship with energy 150 would have two bars of 75? Also, is the recharge rate the amount of energy the regenerates per second?
The amount of energy also sets the amount of energy banks. I'm not sure how much energy one bank stands for, but I think it's something like 75. More banks are pretty much useless except surviving missile hits, as that energy does not cause the shields to be stronger.
The recharge rate of energy also appears not to enhance the shield build up, although the energy recharge does slow down (or stop) if the shields need to be charged. I think there's a cap for shield recharge, thus you won't see much effect there.
I personally would very much like to have energy banks being drained for faster shield regeneration...but that would require a code change.
Yes.punkbohemian wrote:4) Cargo. Correct me if I'm wrong. A ship that doesn't have an extra_cargo entry cannot upgrade their cargo hold. If they do have it, then it can be upgraded, and by an amount specified by an integer value.
Screet
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Regarding the fuel question, it has to do with the fuel capacity of a ship, which at the moment is hardcoded to 7.0LY. You cannot have ships that can jump 5.0 or 6.0LY for now, although changing this in the code seems to be relatively easy (famous last words). But I think that such a gameplay related change should be considered only after 1.73 goes public.
-
- Competent
- Posts: 61
- Joined: Thu Jun 04, 2009 5:47 pm
I have yet to do any intergalactic navigation. Maybe I should before I start oxp designing Based on what you said, I get the impression that when you make an intergalactic hop, you're in the same place (on the map), but in a different galaxy. So if a place in galaxy 1 is inaccessible, you could hop to galaxy 2, make your way to the approximate location of your destination and then hop back. Is this correct?there are in fact some systems and groups of systems which can't be reached (without some clever inter-galactic navigation).
I'm not sure I understand what you're saying. My impression from gameplay is that you have fore/aft shields and then x number of energy banks. If attacks get through the shields, then energy banks start to take a hit. Additionally, the sole function of shields is to measure how much of a beating a ship can take. With that in mind, doesn't more banks equate to more energy, which equates to a good thing?More banks are pretty much useless except surviving missile hits, as that energy does not cause the shields to be stronger.
Does that mean changing the fuel value does nothing? If so, why is it in the plist? Can/does it serve another function?Regarding the fuel question, it has to do with the fuel capacity of a ship, which at the moment is hardcoded to 7.0LY.
No. You go all the way to galaxy 8, then make your way to the approximate location, and then hop back to galaxy 1. It's the scenic route to inaccessible systems in a galaxy.punkbohemian wrote:So if a place in galaxy 1 is inaccessible, you could hop to galaxy 2, make your way to the approximate location of your destination and then hop back. Is this correct?
Dream as if you'll live forever
Live as if you'll die tomorrow
Live as if you'll die tomorrow
If the shields are shot through, the shots directly hit your energy banks. More banks = longer survival, true, but it's worth nothing as a single hit which goes through the shields can damage your equipment. Thus you probably survive in a state where you want to reload anyway.punkbohemian wrote:I'm not sure I understand what you're saying. My impression from gameplay is that you have fore/aft shields and then x number of energy banks. If attacks get through the shields, then energy banks start to take a hit. Additionally, the sole function of shields is to measure how much of a beating a ship can take. With that in mind, doesn't more banks equate to more energy, which equates to a good thing?
With missile hits it's different, as they do a massive amount of energy damage when coming through the shields. More energy = better survival chance against the first hit.
Screet
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Changing the fuel value will change the fuel the ship has available, but I think it works for NPCs only. It does not change the fuel capacity of a ship. It's in the plist for NPCs and for possible player future use.punkbohemian wrote:Does that mean changing the fuel value does nothing? If so, why is it in the plist? Can/does it serve another function?Regarding the fuel question, it has to do with the fuel capacity of a ship, which at the moment is hardcoded to 7.0LY.
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
..
Yep, giving player ships a higher fuel value than 7.0 LYs has no effect. It also doesn't make NPCs jump farther than that limit.another_commander wrote:Changing the fuel value will change the fuel the ship has available, but I think it works for NPCs only. It does not change the fuel capacity of a ship. It's in the plist for NPCs and for possible player future use.
The only use going beyond that limit is giving NPC ships lots of fuel to burn for their injectors, thereby making them massively faster and more on the same speed level as you as a player, a strategy I am using extensively for my meta-oxp.
Not sure if having a lower LYs distance for player ships would be so game-enhancing. It would, for example, mean that with a 5 LYs only player ship, you would have a new galactic map with new inaccessible islands - perhaps even landing you in uncharted ones you can't leave because any Galactic Hyperdrive you could buy would be more than those 5 LYs away. So you would have to buy a new ship to leave the island etc. ...
My 0.2 Cr
L
I'm sure I remember playing about with the fuel variable. My aging memory seems to tell me that if you change it to, say, 100 (ie 10 light years), you can still jump only seven, but you end up with 3 LYsworth in your tank - and it does work on a player ship.
I always thought it might be a worthwhile OXP subject - a fuel tank upgrade - although you can already get extra fuel pods which take up missile space.
Mike
I always thought it might be a worthwhile OXP subject - a fuel tank upgrade - although you can already get extra fuel pods which take up missile space.
Mike
But who wants to use up pylon space? Thus improved fuel tanks, which then come with higher capacity, are surely interesting, even if they cost a lot of money...and that from me who often hesitates to pay 70Cr for the little bit of fuel in a pylon mounted tank or the price of a Rock HermitMKG wrote:I always thought it might be a worthwhile OXP subject - a fuel tank upgrade - although you can already get extra fuel pods which take up missile space.
Screet
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
...
Already done.MKG wrote:I always thought it might be a worthwhile OXP subject - a fuel tank upgrade - although you can already get extra fuel pods which take up missile space.
The OSE WiP oxp you can have a look at over there in the Testing forum has a new equipment item "Hyperdrive Class 2" that enables you to buy new, special fuel tanks which have 7 LYs of fuel in them.
Don't know if an even higher upgrade still makes sense gamebalance-wise. If there was a "Hyperdrive Class 3+" that awarded you even more fuel or endless fuel why not let any ship jump anywhere at once and get rid of the waiting time for the next jump completely?
Food for thoughts, though
L
Re: ...
Hehe, I was thinking about that few hours ago: Something like a galactic hyperdrive, but only working on the same map...the player selects the target planet anywhere on the map...but even if it would be more costly than a galactic hyperdrive, it probably would destroy most of the fun and break missions where a player has to travel to a distant planet with constant attacks on the way there.Lestradae wrote:Don't know if an even higher upgrade still makes sense gamebalance-wise. If there was a "Hyperdrive Class 3+" that awarded you even more fuel or endless fuel why not let any ship jump anywhere at once and get rid of the waiting time for the next jump completely?
Screet
- Cmdr Wyvern
- ---- E L I T E ----
- Posts: 1649
- Joined: Tue Apr 11, 2006 1:47 am
- Location: Somewhere in the great starry void
Concerning energy banks, one bank is 64 in the shipdata.
How did I figure that out, you ask? Let's crunch some numbers.
The startup Cobby has four banks. In it's entry in shipdata, energy = 256
256 divided by 4 = 64
So, knowing that, you can give a ship as many banks as you like accurately.
Want 7 banks? Easy. 64 times 7 = 448
See how that works?
How did I figure that out, you ask? Let's crunch some numbers.
The startup Cobby has four banks. In it's entry in shipdata, energy = 256
256 divided by 4 = 64
So, knowing that, you can give a ship as many banks as you like accurately.
Want 7 banks? Easy. 64 times 7 = 448
See how that works?
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor