Page 1 of 3

[MOD 0.13.x] Advanced Personal Defense

Posted: Fri Jun 03, 2016 11:21 pm
by AutoMcD
ImageImage
Type: Mod
Name: Advanced_Personal_defense
Description: Adds 2 items- an advanced laser defense, and a gun defense (equipment for modular armor).
License: MIT License
Version: 0.1.2
Release: 2016-6-3
Tested-With-Factorio-Version: 0.13.x
Category: (Item)
Tags: Equipment, laser, gun, weapon
Download-Url: https://www.dropbox.com/s/okgg8u6nn6s7r ... 2.zip?dl=0
Mod Portal link: https://mods.factorio.com/mods/AutoMcD/ ... al_Defense
Website:
License
Long description
Pictures
Version history

Re: Advanced Personal Defense

Posted: Sat Jun 04, 2016 1:19 pm
by AutoMcD
After the .13 release it should be easier to iron out the quirks. Works well enough for now! :D

Image
I do hope next version is easier, I've got a few more toys I'd like to add to the armor. :twisted:

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Tue Jun 07, 2016 3:24 pm
by Degraine
You have my attention.

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Tue Jun 07, 2016 7:50 pm
by sporefreak
You should just make an iron man modular armour suit :D

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Tue Jun 07, 2016 8:28 pm
by AutoMcD
I have aspirations to make all the parts show on the character, it's a long ways off though. A lot of work to generate the animations.
I'd love to do this all modularly though. I'll see how things look in 0.13 before getting too crazy. After coming up with graphics would have to figure out the programming. Maybe bug Adil for help again. Plus I'm hoping some quirks with the gun can get ironed out.

A full War Machine conversion would definitely be fun! 8-)
This particular mod was just filling a particular niche in what was given to us, I didn't want to go off the rails from stock. War Machine obviously would be different. Nightvision helmet, arm guns, missile turret, etc. Would kick some ass for sure.

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Wed Jun 08, 2016 8:30 pm
by AutoMcD
Edited the OP w/ more screens and better description of how the gun+ammo thing works.

For those that try this out, I would like some feedback regarding game balance on both of the parts. Particularly the laser, I'm shooting for an end-game "useful but not overpowered" area that fits well in the vanilla game. I ask because I'm considering raising the damage output to 35 or 40. At 25 I'm still having trouble justifying packing 2 of these instead of the 3 shields I could have in that space. Thoughts?

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Thu Jun 09, 2016 2:49 am
by Slayer1557
AutoMcD wrote:Edited the OP w/ more screens and better description of how the gun+ammo thing works.

For those that try this out, I would like some feedback regarding game balance on both of the parts. Particularly the laser, I'm shooting for an end-game "useful but not overpowered" area that fits well in the vanilla game. I ask because I'm considering raising the damage output to 35 or 40. At 25 I'm still having trouble justifying packing 2 of these instead of the 3 shields I could have in that space. Thoughts?
Consider a destroyer capsule does 20+20 damage I believe, at a rate of 2/s x5 robots. I haven't tried your mod, but I would use destroyer capsules as the balancing point. How powerful compared to a destroyer should it be worth? Would it be too strong if you stack a lot of them? Is one worthwhile? This is what you need to ask yourself.

My gut feeling, without testing it, would be to make it as strong as one destroyer capsule. But I dunno.

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Thu Jun 09, 2016 4:03 pm
by AutoMcD
Slayer1557 wrote:
AutoMcD wrote:Edited the OP w/ more screens and better description of how the gun+ammo thing works.

For those that try this out, I would like some feedback regarding game balance on both of the parts. Particularly the laser, I'm shooting for an end-game "useful but not overpowered" area that fits well in the vanilla game. I ask because I'm considering raising the damage output to 35 or 40. At 25 I'm still having trouble justifying packing 2 of these instead of the 3 shields I could have in that space. Thoughts?
Consider a destroyer capsule does 20+20 damage I believe, at a rate of 2/s x5 robots. I haven't tried your mod, but I would use destroyer capsules as the balancing point. How powerful compared to a destroyer should it be worth? Would it be too strong if you stack a lot of them? Is one worthwhile? This is what you need to ask yourself.

My gut feeling, without testing it, would be to make it as strong as one destroyer capsule. But I dunno.
Based on that, destroyer cap is capable of 400DPS.
Our little laser friend dishes out 25dmg at 5/s, 125DPS. So if that's how we compare then it could use a buff.

The other thing is I'm thinking the energy buffer holding 10 shots is actually what might be OP about the whole thing. I'll back that off to 5 shots when I raise the damage.

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Sat Jun 11, 2016 4:09 pm
by SomeDuder
AutoMcD wrote: Based on that, destroyer cap is capable of 400DPS.
Our little laser friend dishes out 25dmg at 5/s, 125DPS. So if that's how we compare then it could use a buff.
The Destroyer bots do have a timer tho. And while the bullet-version of this gun may run out of ammo, ammo, even AP, is a LOT easier and cheaper to craft than even a single Destroyer.

What I'm saying is that if you buff this thing too much, it may make Destroyer bots irrelevant. I feel that it'd be way too powerful. Destroyer bots should always be needed to take on the big & behemoth biters. Otherwise, you may as well play in peaceful mode, since there'd be no challenge either way.

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Sun Jun 12, 2016 2:22 am
by Slayer1557
SomeDuder wrote:
AutoMcD wrote: Based on that, destroyer cap is capable of 400DPS.
Our little laser friend dishes out 25dmg at 5/s, 125DPS. So if that's how we compare then it could use a buff.
The Destroyer bots do have a timer tho. And while the bullet-version of this gun may run out of ammo, ammo, even AP, is a LOT easier and cheaper to craft than even a single Destroyer.

What I'm saying is that if you buff this thing too much, it may make Destroyer bots irrelevant. I feel that it'd be way too powerful. Destroyer bots should always be needed to take on the big & behemoth biters. Otherwise, you may as well play in peaceful mode, since there'd be no challenge either way.
I agree. But when you use Destroyer Capsules, you generally use a lot. I think balancing an end game Power Armor module to be worth maybe one capsule is reasonable (Depending on how many fit into the grid. Obviously we don't want to go overboard)

It should be able to kill big/behemoth biters at least somewhat effectively while running around, but if you're in a nest, you're gonna need more help.

Re: [MOD 0.12.x] Advanced Personal Defense

Posted: Mon Jun 13, 2016 12:04 am
by AutoMcD
Giant biters, sure. I haven't tangled w the behemoths yet but I'm under the impression that if this laser can single handedly take one down then it's probably too powerful. Maybe if you have 6 of them cooking! :lol:

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Wed Jul 06, 2016 1:16 am
by AutoMcD
UPDATED.

It now works in version .13.

I will follow up with some tweaks shortly, for now the main hurdle was just getting it running again.

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Sat Jul 23, 2016 4:42 pm
by AutoMcD
From the portal:

loading multiplayer save game ends with crash

126.735 Error MainLoop.cpp:373: Exception at tick 899582: Error while running the event handler: Advanced_Personal_Defense/control.lua:39: User isn't connected; can't read character

I'll see if Adil can help. :?

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Sun Jul 24, 2016 9:30 pm
by Pasmans23
Since the mod version 0.1.1 is for Factorio v0.13, I'm assuming version 0.1.0 was for Factorio v0.12? Is it still available for download somewhere?

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Fri Aug 12, 2016 3:37 am
by AutoMcD
Updated.
Gun now returns unused ammo to inventory when removed from armor.
Costs reduced a little.
Added armor research requirement to gun because it's relevant.

Currently the enhanced laser is almost not needed, I'm having such an easy time clearing bases with the flame thrower, in addition to the battery+shield buff. So I will not be increasing the stats on it (as I was considering previously). 1 reactor and 2 batts can easily power 4 of these, casually stroll through spawn camps.

The gun on the other hand, VERY useful for early/mid game. It burns through ammo too quickly to rely on it, still should use flamer for the heavy lifting. But it's pretty great. 2 of them in modular armor keeps you plenty safe.

Still have to test multiplayer.
Pasmans23 wrote:Since the mod version 0.1.1 is for Factorio v0.13, I'm assuming version 0.1.0 was for Factorio v0.12? Is it still available for download somewhere?
added links to previous versions.

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Sat Aug 13, 2016 6:34 am
by Zarnoo
getting this error when I try to use the gun (the laser is ok):

Error while running event on_tick(ID 0)
__Advanced_Personal_Defense__/control.lua:1
36: bad argument #1 to 'pairs' (table expected,
got nil)


Any ideas ?

Otherwise, great mod

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Sun Aug 14, 2016 2:02 am
by AutoMcD
Zarnoo wrote:getting this error when I try to use the gun (the laser is ok):

Error while running event on_tick(ID 0)
__Advanced_Personal_Defense__/control.lua:1
36: bad argument #1 to 'pairs' (table expected,
got nil)


Any ideas ?

Otherwise, great mod
That's odd, it's been working great for me. Can you give any more detail about the game mode and other mods you are running? And this is latest version?

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Sun Aug 14, 2016 3:53 am
by DUMBHA
Posted this on mod portal, but posting here in case you don't manage to get around checking that.

After a quick check in sandbox mode, I found that the Mk1/vanilla Personal Laser Defense is affected by the laser tower damage/speed upgrades while your Mk2 one is not,so the Mk1 ends up being better then your Mk2 PLD once you get all those upgrades researched. Any chance you could look into that?

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Sun Aug 14, 2016 2:57 pm
by AutoMcD
DUMBHA wrote:Posted this on mod portal, but posting here in case you don't manage to get around checking that.

After a quick check in sandbox mode, I found that the Mk1/vanilla Personal Laser Defense is affected by the laser tower damage/speed upgrades while your Mk2 one is not,so the Mk1 ends up being better then your Mk2 PLD once you get all those upgrades researched. Any chance you could look into that?
What method are you checking this? From both the tooltips and from the bonus information panel, I do not see bonuses applied to either of the personal laser defense units. Only the normal laser turret.

Although now that I'm taking another look, the shooting speed of the defense gun seems very high, no wonder it burns through ammo so quickly!

Re: [MOD 0.13.x] Advanced Personal Defense

Posted: Sun Aug 14, 2016 10:29 pm
by Zarnoo
AutoMcD wrote:
Zarnoo wrote:getting this error when I try to use the gun (the laser is ok):

Error while running event on_tick(ID 0)
__Advanced_Personal_Defense__/control.lua:1
36: bad argument #1 to 'pairs' (table expected,
got nil)


Any ideas ?

Otherwise, great mod
That's odd, it's been working great for me. Can you give any more detail about the game mode and other mods you are running? And this is latest version?
So, after a bit of trial and error I worked out which other mod was causing the problem, and it's either AmmoBox or AmmoBox_Autorequest. Either way, I like your mod more than that one, so I dumped it. Now I can install the unit without the error, but it just sits at 0% power. After reading your note I realised that was the "quirky" ammo counter, but I didn't have any standard ammo (which is why it wasn't increasing), and unfortunately your mod doesn't use mod'd ammo (e.g. Shattering bullets from FactorioExtended-Weaponry, or the biological bullets from Natural_Evolution_Enemies).

Anyway, hope my fault-finding helps..