[REL] Miniaturization Fix

No more rounding errors!

http://rapidshare.de/files/23742398/MiniFix.zip

After reading numerous posts about how advancing research along the Miniaturization branch will cause your ships to hold LESS than they did before, and noting that many of you mentioned rounding errors, I decided to create this mod that multiplies *all* Ship Capacity and Component Volume values by 100x.

I did not remove the % of ship size modifier from components because it *is* a valid convention. Engines go without explanation, and turrets require structural modifications which will impact the ship hull regardless(wiring, motor mounts, load-bearing structures, etc.)

So, now you have two additional decimal places, which severely diminishes the impact of rounding errors so you get a more *true* representation of your miniaturization efforts. Let me know how it works for you!


P.S.: You'll have to restart a mission if you saved in the middle of a game, otherwise the hull/component size changes won't take effect.
27,432 views 8 replies
Reply #1 Top
Dude, you're sure sizemod is a percent?
Reply #2 Top
Uhm... No I'm not sure it's a percent. I went by what anyone who knew had said in the posts regarding the miniaturization bug  
Reply #3 Top
sizemod is percent, said in carielfs guide
Reply #4 Top
Hmm I think this should fix the problem in almost all cases.
Reply #5 Top
Dudes, did this work for you?
Reply #6 Top
I have a problem with this too but I wanted to make a particular scale for my mod and I'm finding it difficult since sizemod is a percent based on hull size.Then miniaturization increases hull size and correspondingly increases component size which is very unusual.I want engines and defenses to scale up based on mass and size then have weapons at a very close size regardless of hull size.Although in my mod you still gain space when getting miniaturization it doesn't look right to me that "ships get larger" and some of the "components get larger" when logically the only thing that should happen is component size getting smaller(maybe ship size could increase a small amount too due to building better base "structure").I understand they probably did it this way to keep the code simple and it works OK but I would rather have an option of using tags for miniaturization as far as modding goes.

Maybe as an option instead of miniaturization being a percent hull size increase it could be a tag such as hull size +2,component size -1 (base size only so as to keep sizmod available).This way miniaturization could look and feel better when it comes to mods.I know that might not work for the "default" game but if you could slip that in the code as an option I am sure alot of modders would like it.I don't have alot of knowledge as far as programming,but an option like this doesn't seem like a major job since it shouldn't have anything to do with the AI or major game mechanics.
Reply #7 Top
Personally, I think sizemod is fine as a percentage of the hull capacity; it's just that it needs to be set up so that it's the base hull capacity that the final component size value is calculated from. Provided that happens sometime, it also wouldn't hurt to remove the cap on the miniaturization bonus, which is currently 125%.
Reply #8 Top
I think the sizmod value is excellent.I just don't like the percentage increase in size from miniaturization.It should'nt be a percentage unless it is applied to components and not the hulls.But it wouldn't be as effective to apply it to components since you would have no other option except to increase the sizes of those to get a realistic value there, which would result in a corresponding increase in hull size to compensate.So I suggest "miniaturizing" component base sizes(i.e. Ion engines at a base size of 14 with a sizemod of 20% works well until current style miniaturization kicks in increasing hull and component sizes when a simple method of a category reduction in component base sizes would work much better...................Ion engines size 14-2=12 with sizemod 20%) which would leave hulls staying the same size and wouldn't interfere with the sizmod option as it currently is.I am also not saying the system as it is now should be replaced.It just seems that this could be an additional tag for miniaturization tech so those of us trying to mod something a little different could do so.

The method you describe would also help fix it but it still wouldn't be as accurate since hull sizes would still increase.All I'm saying is I would like to have an option to truly miniaturize components without screwing up hull size or using a different set of numbers.It would require a change in code if either idea was used I just like a more accurate and more flexible way to do it.