Is it possible to modify shield regen?

Freeform discussion about anything related to modding Transcendence.
Post Reply
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Is there any way I can make a device that modifies shield regen? Slow it down/speed it up etc.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

I made a shield device that did this, but I don't think it is possible to make a Miscellaneous device that influences the regen rate of the installed shield generator.

It would be very neat if it where possible though. It would open up the option to install shield-regen boosters after the fashion of for example the Bushido weapon enhancer. (although it would basically result in a two slot shield device, which may be less desirable if you look at it that way).

Cheers,
Pixelfck
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
FourFire
Militia Captain
Militia Captain
Posts: 567
Joined: Sun Aug 12, 2012 5:56 pm

I've seen a mod on xelerus where a generic device modifies sheild regen, it was an old one, <300 or so.
(func(Admin Response)= true){
if(admin func(amiable) = true)
Create func(Helpful Posts)
else func(Keep Calm and Post derisive topics)}
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

You could 'boost' the shield regen by setting the shield hitpoint to a higher amount in an OnUpdate event. However, since the OnUpdate is only fired every 30 ticks, this results in a non-smooth (ugly) regen curve.
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
FourFire
Militia Captain
Militia Captain
Posts: 567
Joined: Sun Aug 12, 2012 5:56 pm

(invisible) Negative damage weapon, fired at playership at 30 shots/s anyone?
(func(Admin Response)= true){
if(admin func(amiable) = true)
Create func(Helpful Posts)
else func(Keep Calm and Post derisive topics)}
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

Use a recurring event on an overlay.

There are functions to damage or heal a shield directly. I don't have them off the top of my head, but they're old enough to be on xelerus.
Literally is the new Figuratively
Post Reply