Page 1 of 2

[MOD 0.12.x] Transformator

Posted: Thu Jul 16, 2015 1:07 pm
by Gotbread
Type: Mod
Name: Transformator
Description: Adds a building which controls the flow of power
License: CC BY-NC 4.0 ->http://creativecommons.org/licenses/by-nc/4.0/
Version: 0.0.3
Release: 2015-07-16
Tested-With-Factorio-Version: 0.12.0
Category: Item
Tags: Power, Grid, Switch, Transformator, Priority, Accumulator
Download-Url:
Transformator_0.0.4.zip
(103.65 KiB) Downloaded 1863 times
Website:
License
Long description
Pictures
Version history
Special thanks
All Downloads

Re: [0.11.22] Transformator

Posted: Thu Jul 16, 2015 1:17 pm
by Rockstar04
I'm getting ready to start a new play throught and would love to give this a shot!

Re: [0.11.22] Transformator

Posted: Thu Jul 16, 2015 5:28 pm
by GotLag
I really like that this appears to at last simplify having subordinate power networks.

Re: [0.11.22] Transformator

Posted: Thu Jul 16, 2015 7:31 pm
by jockeril
Great mod ! hope your first try at modding works well - I will d/l it now and try it out :)

Re: [0.11.22] Transformator

Posted: Fri Jul 17, 2015 2:23 pm
by psihius
This is realy great.
Going into my mod list.

Re: [0.11.22] Transformator

Posted: Sat Jul 18, 2015 7:54 am
by Gotbread

Re: [0.11.22] Transformator

Posted: Sun Jul 26, 2015 5:50 am
by jockeril
Gotbread wrote:Updated for 0.12

see here:
https://forums.factorio.com/forum/vie ... 93&t=13599
That post is redundent - please remove it so all thread talk will continue here only

Re: [0.12] Transformator

Posted: Sun Jul 26, 2015 11:45 am
by ssilk

Re: [0.12] Transformator

Posted: Sun Jul 26, 2015 3:12 pm
by nqrott
i can't load any of my saves with version 0.0.4 with 0.0.3 it works fine.

i get "corrupted map, contains id not in the dictionary: 16686".
if i disable the mod i can't load the map aswell i got "unknown ingredient type 5. i already removed all transformators i build.
with version 0.0.2 or 0.0.3 active i can load my games.
any idea?
or at least how to clean my savefile.
with a new game or old saves i didn't build any train tracks i can use the version 0.0.4

Re: [0.12] Transformator

Posted: Sun Jul 26, 2015 9:05 pm
by orzelek
It's a bug in 0.12.1 - will be fixed for next version.

Re: [0.12] Transformator

Posted: Wed Aug 05, 2015 2:15 am
by netmc
I have encountered a "bug" of sorts trying to use this to isolate the power for my reactor pumps. I tried placing it and linking to a substation, but I couldn't get it to work. However, if I used a regular pole to connect to the left side, it worked just fine. What I discovered is that if the right side of the transformator is inside the effective radius of the substation or power pole from the feeding side, the transformator doesn't work. It won't transfer energy to the network attached to the right side even if the wires all connect properly. I assume this has something to do with using the accumulator models. My guess is that the accumulator models are just looping the power back to iself and never actually sending it to the isolated side.

Re: [MOD 0.12.x] Transformator

Posted: Tue Sep 01, 2015 12:23 am
by grifter1
Hi

Just want to say thank you this mod has changed the way i play this game in a very good way
i think more then all the other mods i have tried this mod needs to be in the base game
please keep it up to date as i don't think i will play without it

Re: [MOD 0.12.x] Transformator

Posted: Wed Oct 07, 2015 3:25 pm
by JohnnyBandit
Hey, any chance this is gonna get updated with multiplayer compatibility? I crash when I place down the transformator when there is a second player with "Map doesn't contain 1 player" it's crashing at control.lua @ line 70

Re: [MOD 0.12.x] Transformator

Posted: Wed Oct 07, 2015 9:22 pm
by Adil
replace

Code: Select all

game.player
on line 70
with

Code: Select all

entity

Re: [MOD 0.12.x] Transformator

Posted: Wed Oct 21, 2015 10:36 pm
by hofi02
I found a bug,
One of my outposts got overwhelmed from aliens because it run out of supplies. After the Transformater was destroyed I got this message:

Code: Select all

Error while running the event handler:
__Transformator__/control.lua:140: LuaEntity
API call when LuaEntity was invalid
So I was testing it a little bit.
Here is how you can reproduce it easy yourself:
place down a transformator, shoot the input and/or output connector (little ghost box an both sides), not the transformater itself!
After you destroyed these shoot the transformator itself and you get that error.

Re: [MOD 0.12.x] Transformator

Posted: Thu Oct 22, 2015 6:07 pm
by jorgenRe
Just did a quick fix to make this mod multiplayer compatible, and compatible with 0.12.11+ :)!

Re: [MOD 0.12.x] Transformator

Posted: Tue Oct 27, 2015 3:57 am
by bbgun06
JorgenRe, I tried your version in a multiplayer game and it crashed the game. The error message was: "Error while running the event handler: _ _Transformator_ _/control.lua:74: attempt to index global 'builder' (a nil value)"

Re: [MOD 0.12.x] Transformator

Posted: Tue Oct 27, 2015 3:12 pm
by hofi02
Try this version. I also did a dirty workaround for the crashing issue i have when the poles are destroyed before the transformator itself. The health is set to -1 of these. I don't know how to fix it properly
Should also work in multiplayer.

Re: [MOD 0.12.x] Transformator

Posted: Tue Oct 27, 2015 6:02 pm
by jorgenRe
bbgun06 wrote:JorgenRe, I tried your version in a multiplayer game and it crashed the game. The error message was: "Error while running the event handler: _ _Transformator_ _/control.lua:74: attempt to index global 'builder' (a nil value)"
How odd i used a multiplayer game when i fixed the mod :/

Re: [MOD 0.12.x] Transformator

Posted: Sat Oct 31, 2015 12:12 pm
by Vile
Perfect! This just became the first mod I'll use. I'm a bit of a purist, so I don't use mods typically. Well done, and thank you!

Note: it's good for people to know that the transformer will only transfer up to 10MW of power, so if they need more than that, they'll need to hook up multiple transformers to handle the throughput.