I was wandering if anyone knows how to increase the maximum strength of the shields in-game. I tried the line: pPlayer.GetShields().SetMaxShields(App.ShieldClass.LEFT_SHIELDS, NewLeft) But it wont accept .SetMaxShields. Any help would be appreciated
you need to go into the bc root dir and then scrip,ships,hardpoints find the name of you ship then click on the py file not the pyc file coz thats comp language anyway scrole down till you find the shild gen bit and find the 6 shild grids frount,back,left,right,top,bottom and edit the values next to each one of them to what ever you want. hope this helps
Well Im a noob to scripting, but Im currently working on a mod which will allow you to transfer power from one shield vector to another. But the game wont allow me to increase the strength of a shield vector over its maximum value. I was wondering if theres a way round this so that you could increase the strength of the fore shields by 150% say. Any ideas?
Use pShields.GetProperty().SetMaxShields() and always check the console if something doesn't work.
import MissionLib import App pPlayer = MissionLib.GetPlayer() pPlayer = App.ShipClass_Cast(pPlayer) pPlayer.GetShields().BoostShield(App.ShieldClass.SHIELD_TYPE, shieldvalue) That should work Take a look at BoostShields.py in QBautostart if you get stuck. As I see, BoostShield directly increases the shield strenght and recharges it to maximum power. That makes your shield a bit stronger every time you use it