[MOD 0.12.29] Worm Attack 0.1.2 (update 3rd April)

Topics and discussion about specific mods
Post Reply
iamseph
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Mar 31, 2016 12:50 pm
Contact:

[MOD 0.12.29] Worm Attack 0.1.2 (update 3rd April)

Post by iamseph » Thu Mar 31, 2016 1:16 pm

WormAttack01.png
WormAttack01.png (156.18 KiB) Viewed 6527 times
Mod-name: Worm Attack
Description: Adds Behemoth and Colossal worms, which can burrow and attack your base from below
Version: 0.1.2
Release: 31/03/2016
License: Creative commons
Factorio-Version: 0.12.29
Tags: worms, late-game
Download:
WormAttack_0.1.2.zip
Update 0.1.2
(169.23 KiB) Downloaded 165 times
Videos:
0.1.0 Base attack video
0.1.1 Size demonstration video
Overview
Changelog
Known Issues
Future Features
Old versions
Last edited by iamseph on Sun Apr 03, 2016 9:41 pm, edited 6 times in total.
The Cerberus
Mods: Worm Attack

iamseph
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Mar 31, 2016 12:50 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by iamseph » Thu Mar 31, 2016 1:20 pm

Here's the video link: https://youtu.be/AAVUZG96QHk
The Cerberus
Mods: Worm Attack

Supercheese
Filter Inserter
Filter Inserter
Posts: 834
Joined: Mon Sep 14, 2015 7:40 am
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by Supercheese » Thu Mar 31, 2016 7:19 pm

Oooh this looks suitably evil! Need to drop some laser turrets all over my base now! :D

Choumiko
Smart Inserter
Smart Inserter
Posts: 1302
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by Choumiko » Thu Mar 31, 2016 8:23 pm

Great idea! I had an error when loading Factorio, there was a comma missing in info.json somewhere.

@Supercheese: Support for EMP and Swarm incoming? :twisted:

Supercheese
Filter Inserter
Filter Inserter
Posts: 834
Joined: Mon Sep 14, 2015 7:40 am
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by Supercheese » Thu Mar 31, 2016 8:34 pm

Choumiko wrote:@Supercheese: Support for EMP and Swarm incoming? :twisted:
Swarm doesn't apply to worms, and EMP burrowing colossal worms would just be too evil, even for me! ;)

Factorio2016
Fast Inserter
Fast Inserter
Posts: 136
Joined: Wed Dec 23, 2015 1:17 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by Factorio2016 » Thu Mar 31, 2016 8:35 pm

need new building to the game that will distract his attention.
To save the buildings.

For Example, Flare Stack (making a very loud noise, attracts attention, consumes resources)
viewtopic.php?f=93&t=21586&hilit=Flare+Stack

The video shows only Colossal worms!
Where's Behemoth?
English is not my native language. Translator.

User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by Adil » Thu Mar 31, 2016 9:29 pm

Eh, json is error.
Prototypes refer to non-existant things:

Code: Select all

type = "decorative",
    name = "colossal-worm-burrowing",
	icon = "__base__/graphics/KS_power/icons/blank.png",
You must have really interesting factorio folder you work with.

I used to do modding this way too, but then factorio refused to update.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.

User avatar
Kazaanh
Inserter
Inserter
Posts: 31
Joined: Tue Oct 27, 2015 2:57 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by Kazaanh » Thu Mar 31, 2016 10:00 pm

Make them attack sometimes energy capacitors or solar panels lol

iamseph
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Mar 31, 2016 12:50 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by iamseph » Thu Mar 31, 2016 10:15 pm

Adil wrote:Eh, json is error.
Prototypes refer to non-existant things:

Code: Select all

type = "decorative",
    name = "colossal-worm-burrowing",
	icon = "__base__/graphics/KS_power/icons/blank.png",
You must have really interesting factorio folder you work with.

I used to do modding this way too, but then factorio refused to update.
Yeah I made a bit of a mess doing that. I decided to start switching everything to proper mod architecture today so I could try releasing mods.
I was also using some assets from another mod when I was just messing around making it. I switched to some of my own when I made it to release, obviously I missed some though...


Anyway, updated file in OP, errors should be fixed, sorry about that.
The Cerberus
Mods: Worm Attack

iamseph
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Mar 31, 2016 12:50 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0

Post by iamseph » Thu Mar 31, 2016 10:17 pm

Factorio2016 wrote:need new building to the game that will distract his attention.
To save the buildings.

For Example, Flare Stack (making a very loud noise, attracts attention, consumes resources)
viewtopic.php?f=93&t=21586&hilit=Flare+Stack

The video shows only Colossal worms!
Where's Behemoth?
Yeah I was thinking of something like that. My first thought was something like the thumpers from Dune, but since I've built them to be keyed to pollution it makes more sense to chase a flare stack.

I'll adjust their targeting priority so it factors in emissions when I do a new version, currently they just go for the target with the most health. If they're keyed to emissions then you can use whatever polluting structures you want (such as the flare stack) to bait them.

Behemoth appears at evolution 0.95, Colossal at 0.99. My video was at 0.99 so had Colossals. Video making is kinda boring tbh or I'd try to include some behemoths too :P
The Cerberus
Mods: Worm Attack

Factorio2016
Fast Inserter
Fast Inserter
Posts: 136
Joined: Wed Dec 23, 2015 1:17 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.0 (errors fixed)

Post by Factorio2016 » Fri Apr 01, 2016 6:30 am

Make video with Behemoth. Use Test-mode for speed.
I want to see his size and how he looks. He's so great?

:?: You can do that on a normal enemy bases turrets-worms crawled from place to place in a certain radius from the base?
To make the game more dynamic!
English is not my native language. Translator.

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

Re: [MOD 0.12.29] Worm Attack 0.1.0 (errors fixed)

Post by Darloth » Fri Apr 01, 2016 1:27 pm

I'd love it if smaller worms attacked at lower evolution levels, but could be stopped entirely with the tier tier of flooring. Stone bricks or higher for small or medium worms, concrete or any mod flooring to stop large worms.

Is that possible?

iamseph
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Mar 31, 2016 12:50 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.1 (updated)

Post by iamseph » Fri Apr 01, 2016 7:37 pm

I've updated the mod a little, new file in the OP. The quake code was really broken and I've fixed it up now. The worms are also much tougher now.

it should work fine just to turn off the old version and turn the new one on.

Factorio2016:
There's now a video (in the OP) for the worm sizes

Darloth:
I'll include big worms launching underground attacks in a later version when I have time


I had a shot at emissions-based targeting but kept getting errors, I don't know how to do that yet. If anyone knows how to check the emissions production of furnaces and the like I'll add it, otherwise I'll add it as soon as I can work out how.
The Cerberus
Mods: Worm Attack

orzelek
Smart Inserter
Smart Inserter
Posts: 3590
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.1 (updated)

Post by orzelek » Fri Apr 01, 2016 7:53 pm

You can look at LuaSurface methods - there is a get_pollution there to read pollution value for given location.

iamseph
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Mar 31, 2016 12:50 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.1 (updated)

Post by iamseph » Fri Apr 01, 2016 8:08 pm

orzelek wrote:You can look at LuaSurface methods - there is a get_pollution there to read pollution value for given location.
Yeah I'm already doing that (the worms navigate to the most polluted chunk)

I need to work out how to target a specific building based on the emissions it produces, they have "emissions" values but I don't know a way of checking if an entity has an "emissions" value that doesn't throw errors on every entity that doesn't
The Cerberus
Mods: Worm Attack

orzelek
Smart Inserter
Smart Inserter
Posts: 3590
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.1 (updated)

Post by orzelek » Fri Apr 01, 2016 9:31 pm

Entity prototype seems to have emissions_per_tick property. You'd need to take a look what that value represents in practice.

iamseph
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Mar 31, 2016 12:50 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.1 (updated)

Post by iamseph » Sun Apr 03, 2016 5:30 am

I've taken the emissions-detection discussion over to the modding discussion forum
The Cerberus
Mods: Worm Attack

iamseph
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Mar 31, 2016 12:50 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.2 (update 3rd April)

Post by iamseph » Sun Apr 03, 2016 9:25 pm

v0.1.2
Big worms can now also burrow to your base and attack (big worm attacks start at evolution 0.8)
Worms will sometimes surface on open ground rather than always coming up under a building
The rate of worm growth and worm attacks has been reduced overall, various other balance tweaks
Concrete and stone floors can be used to protect your buildings from attack - worms will prioritise buildings on soft ground more
Worms that break through buildings will have less than full health when they surface, they will lose more health if they break through stone or concrete
Worms will give more significance to assembling machines, furnaces, etc when choosing their target
The Cerberus
Mods: Worm Attack

User avatar
Shin
Inserter
Inserter
Posts: 29
Joined: Sun May 08, 2016 5:16 am
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.2 (update 3rd April)

Post by Shin » Sun Apr 30, 2017 2:21 am

Are you still working on it? Cause this is awesome!

User avatar
wodzu93
Inserter
Inserter
Posts: 23
Joined: Thu Apr 20, 2017 3:57 pm
Contact:

Re: [MOD 0.12.29] Worm Attack 0.1.2 (update 3rd April)

Post by wodzu93 » Tue May 02, 2017 5:39 pm

@iamseph - I uploaded updated version to the mod portal, with given credit and linking back to this post.

It's a great mod, and I hope you don't mind me updating it. If yes, give me a PM and I will delete it.
IT student that likes modding in his free time.

Shameless self-promotion:
http://steamcommunity.com/sharedfiles/f ... =555765765
http://steamcommunity.com/sharedfiles/f ... =575758597

Post Reply

Return to “Mods”

Who is online

Users browsing this forum: Anhalter, Bing [Bot], espenhw