[MOD 0.15.x] Shield Pulse

Topics and discussion about specific mods
Post Reply
User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

[MOD 0.15.x] Shield Pulse

Post by Ranakastrasz » Thu Jun 09, 2016 11:07 pm

Shield Pulse

Description:
  • This is a simple mod that displays a shield animation when you take damage and as your shield charges.
    Video
Details:
  • Factorio Version: 0.15
  • Released: July 28th 2015
  • License: MIT License
  • Tags: Shield,Animation,Graphics
Download
[
Shield-Pulse_15.1.2.zip
(975.94 KiB) Downloaded 30 times
/b][/color]



LONG DESCRIPTION
TODO
CHANGLOG
Attachments
Shield-Pulse_15.1.1.zip
(971.27 KiB) Downloaded 28 times
Shield-Pulse_15.1.0.zip
(971.23 KiB) Downloaded 32 times
Shield-Pulse_0.0.1.zip
(468.65 KiB) Downloaded 60 times
Last edited by Ranakastrasz on Mon May 29, 2017 9:50 pm, edited 7 times in total.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 179
Joined: Sun Apr 17, 2016 12:55 am
Contact:

Re: [MOD 0.12.x] Shield Pulse

Post by sporefreak » Fri Jun 10, 2016 12:38 am

Pictures really are important. a lot of people won't touch mods without pictures. (Myself included)
Some mods don't need pictures, (Like something that just speeds up vanilla buildings.
Basically, anything with any visual change should have pictures :)

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.12.x] Shield Pulse

Post by Ranakastrasz » Fri Jun 10, 2016 12:44 pm

Added a video demo. It isn't that good, but it should help at least.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
LuziferSenpai
Fast Inserter
Fast Inserter
Posts: 205
Joined: Tue Jul 08, 2014 10:06 am
Contact:

Re: [MOD 0.12.x] Shield Pulse

Post by LuziferSenpai » Sat Jun 25, 2016 9:24 pm

Pls fix a Bug:

In the info.json is the Version 0.1.0 and not 0.0.1 ^^

Greetz,

Senpai
Coding is awesome!
Animes are love!
Factorio is life!

My MODs:
Click

Greetz,

Senpai

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.12.x] Shield Pulse

Post by Ranakastrasz » Sat Jun 25, 2016 9:36 pm

It was already fixed.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Ranakastrasz » Thu May 04, 2017 4:52 pm

V15.1.0
Updated for V15.

Unfortunately, my clever plan of using the new sticker mechanic failed because stickers don't support players or latency hiding yet.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

Darloth
Fast Inserter
Fast Inserter
Posts: 115
Joined: Sun Jun 08, 2014 3:57 pm
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Darloth » Wed May 10, 2017 10:25 pm

I got a crash bug with this but sadly I could not reproduce it.

I have a lot of mods installed.

Here's the things I was doing at the time. Doing the same things after loading an autosave didn't seem to cause the problem to reoccur, sadly.
  • While having no armour at all, building a light armour.
  • Standing on a belt full of iron plates holding down F (which is also bound as the shortcut for autofill for me) to scoop things up.
  • Passing under an inserter taking the plates off the belt and into a chest.
Under these conditions I got an error from shield pulse saying that grid was null, just about the time the new armour finished building. Not entirely sure what was happening but somehow it seems to have tried to query for a shield in an armour that can't have one, and crashed.

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Ranakastrasz » Wed May 10, 2017 11:23 pm

Ugh. Still?

Why did they have to change the API again?.....

Will look into it.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Ranakastrasz » Wed May 10, 2017 11:27 pm

Could you send me the save? Assuming you are using Version 15.1.0, i don't see how that could have happened.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

Darloth
Fast Inserter
Fast Inserter
Posts: 115
Joined: Sun Jun 08, 2014 3:57 pm
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Darloth » Wed May 10, 2017 11:41 pm

well with the latest version of the mod in the latest version of Factorio I get the grid error reliably on every load of the save I'm about to link you.

I think it's because you're checking grid.valid but haven't checked if grid itself is a null reference, on line 107 of control.lua.

Darloth
Fast Inserter
Fast Inserter
Posts: 115
Joined: Sun Jun 08, 2014 3:57 pm
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Darloth » Wed May 10, 2017 11:54 pm

Indeed, changing line 107 to:

Code: Select all

                    if (grid ~= nil) and (grid.valid) then -- Check for grid existence.
has fixed the problem for me.

Now if dropbox would kindly hurry up with uploading the save, I'd gladly send it over...

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Ranakastrasz » Thu May 11, 2017 1:26 am

Seriously?

Weird. I don't get the issue on my end, but maybe it has to do with other factors.

I mean, I run the game, add light-armor. and nothing goes wrong. Not really sure what is going on there. The validation I use gets rid of the crash for me, but apperently other factors exist.

Thing is, they reciently changed the API involved, so I had to rewrite the validation, so I am not hugely surprised.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

Darloth
Fast Inserter
Fast Inserter
Posts: 115
Joined: Sun Jun 08, 2014 3:57 pm
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Darloth » Thu May 11, 2017 12:50 pm

Well here's the link to the save, see if it works for you?

https://www.dropbox.com/s/q045h4eyhs2pb ... s.zip?dl=0

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Ranakastrasz » Thu May 11, 2017 12:54 pm

Getting an error trying to download.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 1999
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [MOD 0.15.x] Shield Pulse

Post by Ranakastrasz » Thu May 18, 2017 12:22 pm

V15.1.1
Fixed that null-grid error, probably.

thing is, I can't reproduce it, so I have no idea what causes it. as such, It might not be a functional fix.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

Post Reply

Return to “Mods”

Who is online

Users browsing this forum: No registered users