[Mod 0.2.9] Furnace Upgrades

Topics and discussion about specific mods
Post Reply
15Cyndaquil
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Feb 15, 2013 10:34 pm
Contact:

[Mod 0.2.9] Furnace Upgrades

Post by 15Cyndaquil »

I have finished the furnace upgrade mod i have been working on for about a week. I have finished all the code and the recipes are just 5 of the respected material for which the furnace is called (iron furnace is 5 iron plates, copper furnace is 5 copper plates, and steel furnace is 5 steel plates). Although i have finished the code i am not talented in drawing in any shape, form or way so the sprites are the same as the regular furnace.

I am planing to change the recipe of the furnaces to make it a little more challenging to obtain and am willing to take any suggestions on this topic and will consider any and all suggestions given to me for the recipes of these furnaces.

As i have stated i do not have any sprites for the furnaces i added and am unable to create them my self, so anyone who want to submit a sprite for these furnaces i will be willing to update the mod with these furnaces if they are good.

In order to install this mod just extract all files into the main factorio folder

for 0.2.8 not upgraded to 0.2.9
mod_furnace-upgrade 0.1.0.zip
(83.37 KiB) Downloaded 351 times


for 0.2.9
mod_furnace-upgrade 0.2.0.zip
(83.43 KiB) Downloaded 426 times
Last edited by 15Cyndaquil on Sat Mar 02, 2013 8:04 pm, edited 3 times in total.
The more complicated the game the better

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [WIP] Furnace Upgrades

Post by ficolas »

WTF u had the same idea I had...
And for me the copper is needed to create the iron one, so the iron one is better

but the steel furnace is a electric furnace for me :P
But I dont know if I can do that, im gonna try anyways, if I cant, I will read the code :S

15Cyndaquil
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Feb 15, 2013 10:34 pm
Contact:

Re: [WIP] Furnace Upgrades

Post by 15Cyndaquil »

I'm wondering if someone can help. I have already done most of the modding for the furnaces but i keep getting an id error and have not been able to figure out how to fix it.
The more complicated the game the better

Heinrich
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Tue Feb 12, 2013 9:09 am
Contact:

Re: [WIP] Furnace Upgrades

Post by Heinrich »

I tried to create a test furnance yesterday and it worked. The ID error is due tu a missing item definition.

You need an entity definition, a recipe definition and an item definition.

- The entity definition describes how it's integrated in the game world (appearence, behavior).
- The recipe definition describes how it is created.
- The item definition describes how it's handled in your inventory.

Optional you can create an item descriptions/name, so the game can say something meaningfull about it.

I'll upload my test files later when i'm at the other computer.

Hope it helps,
Heinrich.

Heinrich
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Tue Feb 12, 2013 9:09 am
Contact:

Re: [WIP] Furnace Upgrades

Post by Heinrich »

I attached my Test Furnace mod to this post. It just adds more smoke and is less expensive to craft.

The file contains the games data folder with everything deleted not associated with the mod:

1. Edited freeplay.lua + backup to have more resources at start and no creepers spawning.
2. Prototype definitions for the test furnace, including entity, item and recipe definitions.
3. Graphic resources, I just copied the images from the stone furnace and renamed them.

You just have overwrite your [Factorio Folder]\data folder with the data folder in the attachment and it should work. However, i skipped making some description/naming due to lazyness ;) .
Attachments
data.rar
(28.09 KiB) Downloaded 1001 times

15Cyndaquil
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Feb 15, 2013 10:34 pm
Contact:

Re: [WIP] Furnace Upgrades

Post by 15Cyndaquil »

Thanks heinrich ill try this out later today and upload the mod as soon as i get some images.
The more complicated the game the better

MatLaPatate
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Thu Feb 07, 2013 5:25 pm
Contact:

Re: [WIP] Furnace Upgrades

Post by MatLaPatate »

Wait ... it's called Furnace Upgrades, but there is no Electric one ? ^^

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [WIP] Furnace Upgrades

Post by ficolas »

MatLaPatate wrote:Wait ... it's called Furnace Upgrades, but there is no Electric one ? ^^
You cant make an electric furnace yet, c code needs to be edited, and for mods we can just use json and lua

User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: [WIP] Furnace Upgrades

Post by rk84 »

You could make electric furnace from radar type entity (for melting) and container entities (for holding ores/metal). So that onscan event you would check containers next to it and switch ores to metal. Not the easiest setup but could work?
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [WIP] Furnace Upgrades

Post by kovarex »

ficolas wrote:
MatLaPatate wrote:Wait ... it's called Furnace Upgrades, but there is no Electric one ? ^^
You cant make an electric furnace yet, c code needs to be edited, and for mods we can just use json and lua
I will just make the energy source of furnace dynamic (the same way it is specified in mining drill/inserter), so people can create electric furnace easily.

MatLaPatate
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Thu Feb 07, 2013 5:25 pm
Contact:

Re: [WIP] Furnace Upgrades

Post by MatLaPatate »

kovarex wrote:
ficolas wrote:
MatLaPatate wrote:Wait ... it's called Furnace Upgrades, but there is no Electric one ? ^^
You cant make an electric furnace yet, c code needs to be edited, and for mods we can just use json and lua
I will just make the energy source of furnace dynamic (the same way it is specified in mining drill/inserter), so people can create electric furnace easily.
Will we be able to make machines that wouldn't be furnace, i.e processing ore machines ?

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [WIP] Furnace Upgrades

Post by kovarex »

Well, nothing stops you from creating recipe for ore processing even now.

MatLaPatate
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Thu Feb 07, 2013 5:25 pm
Contact:

Re: [WIP] Furnace Upgrades

Post by MatLaPatate »

Yup, but for now it can't be energy based. But that's ok :)

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [WIP] Furnace Upgrades

Post by ficolas »

MatLaPatate wrote:Yup, but for now it can't be energy based. But that's ok :)
Quote from kovarex's post
kovarex wrote:I'm just rewriting the recipe structure so this will be easily possible to mod.
Basically, all recipes will be defined the same way, but every recipe has recipe-category.
Machines (and player and furnace) will have list of categories they can use.
So mod can add new recipe categories and machines that are specialised on certain categories.

MatLaPatate
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Thu Feb 07, 2013 5:25 pm
Contact:

Re: [WIP] Furnace Upgrades

Post by MatLaPatate »

Lol. So I may be able to make some processing machines. Nice :)

Post Reply

Return to “Mods”