Jump to content

[MOD][Systems]new shield systems and more


Ronin213

Recommended Posts

Just a small compilation of systems I tried making, as well as fixing the shield booster recharge doing the opposite of intended.  I have included 3 very different shield systems, Phase, Temporal and Quantum, each playing around two of the shield properties; durability, recharge and recharge time after being.

 

Temporal: constant recharging and quick recharge, also impenetrable, but very fragile

Quantum: Very durable, starts recharging faster, but recharges very slowly

Phase: durable, recharges faster but takes time before recharging

 

you can mix the shields if you want but they mostly counter each other so it would be pretty pointless.

 

Also included are Capital Turrets, adds a huge amount of turrets (5 per rarity) but drains TWs of energy, only for the really big ships, and a shield regenerator, reduces recharge time after being hit and increases recharge speed.

 

Scroll to the bottom of the post to see any updates on this mod and any thing else I'm working on.

 

pics

 

ARmQuvo.jpg

 

 

The numbers may seem slightly large but it needs to be this large to actually see a noticeable difference

 

 

aDqIxWA.jpg

 

 

 

To0tEVl.jpg

 

 

 

GirwjHv.jpg

 

 

 

V0FRtoT.jpg

 

 

 

0Won1Uk.jpg

 

 

 

Installation

extract the files in the data/scripts/systems folder to the matching one in your game directory

 

you'll need to modify the upgradegenerator.lua in data/scripts/lib folder, add the following lines after the similar ones

 

UpgradeGenerator.add("data/scripts/systems/Capitalturrets.lua", 1)

UpgradeGenerator.add("data/scripts/systems/ShieldRegenerator.lua", 1)

UpgradeGenerator.add("data/scripts/systems/shieldphase.lua", 1)

UpgradeGenerator.add("data/scripts/systems/shieldquantum.lua", 1)

UpgradeGenerator.add("data/scripts/systems/shieldtemporal.lua", 1)

 

I included a modified upgradegenerator.lua to include the new systems, if you have other mods that change the upgradegenerator.lua just add the lines after the extra ones

 

Any suggestions or feedback is greatly appreciated

 

Update***

Fixed errors I overlooked new version works fine

 

Update****

fixed post, saw some errors and clarified about fixing shield booster

 

Update *****

Fixed more errors I overlooked, pics added

 

Update******

 

After playing around quite a bit with shields, I have to acccept that the shield recharge problem is not something I can fix right now; for those who don't know, shield recharge works by decreasing the time it takes to heal shields, so if we have 50% it halves the time to fully heal shields, the vanilla game's shield booster adds positive shield regen so we increase the time it takes to heal the shield.  I changed that so it decreases it instead but it gets broken when we hit really high numbers, like over 100%, we have 0s until shield heals fully, so instant shield recharge.  My plan was to try and change it so we have a base value recharge %, say 2% per second, and increase that with shield recharge as I assume was the original intention.  I'll keep trying to see if I can figure anything out but I'm not sure if shields are hard-coded to work how they currently are, I'll keep everyone updated as I work on this.

Capital_Turrets_+_shield_modifiers.zip

Link to comment
Share on other sites

Shield boosters with Recharge bonus actually reduce recharge rate, as opposed to what the system says, I just made it negative and it works as intended.

 

Oh wow... ok thanks I'll have to get that updated on my server thanks for the info! I figured the long recharge time was due to the Shield Reinforcement

 

Also not sure if its just me but the spoilers aren't showing any pictures

Link to comment
Share on other sites

If the shield takes a long time to start recharging after being hit, then the reinforcer is the cause as it should be doing, the recharge rate is how fast the shield recharges per second (say it recharges at 1%/s, the rate should increase that, say 30% recharge rate, it would go up to 1.3% per second) after it starts to recharge.  The booster does not modify the delay before a shield starts to recharge only how fast it "heals".  The way the game has it with the booster is actually the opposite so it says 15% increase but instead it reduces it by 15%, so instead of getting 1.15% per second you'd get .85% per second.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...