Search found 445 matches

by AntiElitz
Mon Sep 19, 2016 11:37 pm
Forum: Modding help
Topic: Modify input buffer of assembling machine
Replies: 12
Views: 3719

Re: Modify input buffer of assembling machine

I'm looking for a way to increase the item input buffer of an assembling machine. (So the amount of items that get load into the machine when it is on idle) I took a look and the entity, but didn't find the property there. That makes sense, because it is connected to craftign speed somehow. But whe...
by AntiElitz
Mon Sep 19, 2016 10:22 pm
Forum: Mods
Topic: [MOD 0.14.x] UPS-up
Replies: 41
Views: 22784

Re: [MOD 0.14.x] UPS-up

ralle030583 wrote:tested with 0.14.7 in our MP save, worked great so far only small issue our power consumtion of furnaces with eff. modules seemed to increased x4 in avg., pherhaps the modules are not taken into account right?
fixed for 0.1.1
by AntiElitz
Mon Sep 19, 2016 9:12 pm
Forum: Modding help
Topic: Remove/change drain of furnaces and assemblers
Replies: 6
Views: 1457

Re: Remove/change drain of furnaces and assemblers

i actually found a solution...

while

Code: Select all

entity.energy_source.drain = nil
results in a dynamic drain

Code: Select all

entity.energy_source.drain = 0
will disable the drain
by AntiElitz
Mon Sep 19, 2016 8:32 pm
Forum: Modding help
Topic: Remove/change drain of furnaces and assemblers
Replies: 6
Views: 1457

Re: Remove/change drain of furnaces and assemblers

entity.energy_source.emissions ? I can't see anything else on those protos that would cause energy drain. BTW, don't some recipes have an energy cost? Example: { type = "recipe", name = "gun-turret", enabled = false, energy_required = 10, <-------------- ingredients = { {"i...
by AntiElitz
Mon Sep 19, 2016 8:16 pm
Forum: Modding help
Topic: Remove/change drain of furnaces and assemblers
Replies: 6
Views: 1457

Re: Remove/change drain of furnaces and assemblers

aubergine18 wrote:entity.energy_usage ?
I want to remove the drain only, not the entire power consumption ;)
by AntiElitz
Mon Sep 19, 2016 8:11 pm
Forum: Modding help
Topic: Remove/change drain of furnaces and assemblers
Replies: 6
Views: 1457

Remove/change drain of furnaces and assemblers

i can remove the drain of inserters with for key, entity in pairs(data.raw["inserter"]) do entity.energy_source.drain = nil end but this does not work with furnaces and assemblers. they seem to have a % of the base energy as drain and don't own this poperty. However i still want to delete/...
by AntiElitz
Mon Sep 19, 2016 8:03 pm
Forum: Modding help
Topic: Modify input buffer of assembling machine
Replies: 12
Views: 3719

Re: Modify input buffer of assembling machine

Perfect! thank you so much Klonan!
by AntiElitz
Mon Sep 19, 2016 12:51 pm
Forum: Mods
Topic: [MOD 0.14.x] UPS-up
Replies: 41
Views: 22784

Re: [MOD 0.14.x] UPS-up

How does the "makeing more UPS firendly work"? Does it change stats on the machine? Does it change the speed, balance of builds? shoudnt the devs check that fixes? :D It does remove unneeded stuff and makes entities work in short invervals, so they don't need to be updated as often. Avera...
by AntiElitz
Mon Sep 19, 2016 3:13 am
Forum: Mods
Topic: [MOD 0.14.x] UPS-up
Replies: 41
Views: 22784

[MOD 0.14.x] UPS-up

http://i.imgur.com/SHYpCn3.jpg version: 0.14.x Download: https://mods.factorio.com/mods/AntiElite/UPS-up Be aware that removing this mod will mess things up. You must uninstall it first. See the README.txt Description: This mod decreases the lag of big bases. The UPS (Updates per seconds) may incre...
by AntiElitz
Sun Sep 18, 2016 2:17 pm
Forum: Modding help
Topic: how to events.on_load in MP without desync?
Replies: 19
Views: 4314

Re: how to events.on_load in MP without desync?

I found out how i can implement what I needed! on_player_joined is fired also in SP when loading a game, but ist fired for everybody in multiplayer as well - so there is no desync. So i just count the number of players on_join and if it's only 1 player online, that will probably a load (unless this ...
by AntiElitz
Sun Sep 18, 2016 12:20 pm
Forum: Modding help
Topic: how to events.on_load in MP without desync?
Replies: 19
Views: 4314

Re: how to events.on_load in MP without desync?

However the on_load cannot edit global variables(cause they are not loaded yet). Where did that came from? Modifying "global." is the sole purpose of on_load, It's game objects that are only a dead weight at this stage. The desync comes from "trigger_on_load = true ". This line ...
by AntiElitz
Sun Sep 18, 2016 3:43 am
Forum: Modding help
Topic: how to events.on_load in MP without desync?
Replies: 19
Views: 4314

Re: how to events.on_load in MP without desync?

on_configuration_changed does only fire on game or mod update, not on every load. What i actually want to check is if the user changed the options in my mod folders config file. This is not a mod update tho and does not get capture by on_configuration_changed. the dirtiest way would be to register a...
by AntiElitz
Sun Sep 18, 2016 3:10 am
Forum: Modding help
Topic: how to events.on_load in MP without desync?
Replies: 19
Views: 4314

how to events.on_load in MP without desync?

So when I load a game with my mod, i want to check if some configurations in the config changed. So i registered an event for on_load to check if the config changed. However the on_load cannot edit global variables(cause they are not loaded yet). So i got a workaround here to make it update on the f...
by AntiElitz
Sun Sep 18, 2016 12:36 am
Forum: Modding help
Topic: Modify input buffer of assembling machine
Replies: 12
Views: 3719

Re: Modify input buffer of assembling machine

Push

I still don't know what to edit so the assembler takes 10x the amount of what the reciept needed instead of only 10 times.
by AntiElitz
Thu Sep 15, 2016 4:29 pm
Forum: Modding help
Topic: Modify input buffer of assembling machine
Replies: 12
Views: 3719

Re: Modify input buffer of assembling machine

The amount of items that gets loaded into an assembling machine is 3X the needed item, but not when there is the max amount of things in the output buffer. I'd like to modify it from 3X to like 10X. How can i do that? Also I'd like to remove the drain that seems to be a split of the power consumpti...
by AntiElitz
Wed Sep 14, 2016 2:25 pm
Forum: Modding help
Topic: Modify input buffer of assembling machine
Replies: 12
Views: 3719

Modify input buffer of assembling machine

I'm looking for a way to increase the item input buffer of an assembling machine. (So the amount of items that get load into the machine when it is on idle) I took a look and the entity, but didn't find the property there. That makes sense, because it is connected to craftign speed somehow. But wher...
by AntiElitz
Wed Sep 14, 2016 2:13 pm
Forum: Modding help
Topic: Substring /remove kW
Replies: 6
Views: 1676

Re: Substring /remove kW

thx! that worked perfectly
by AntiElitz
Wed Sep 14, 2016 3:53 am
Forum: Modding help
Topic: Substring /remove kW
Replies: 6
Views: 1676

Substring /remove kW

if trying to do this: local entity = data.raw["assembling-machine"]["assembling-machine-1"] entity.energy_usage = entity.energy_usage * factor However this does not work, since there it is a string with "kW" in it. So i tried substr(entity.energy_usage, 1, strlen (entit...
by AntiElitz
Sat Sep 10, 2016 4:31 pm
Forum: Modding help
Topic: Powerless inserter
Replies: 10
Views: 1990

Re: Powerless inserter

These are all workarounds im not really looking for, isn't there a possibility do make it like - energy_source.type = "none" - ?
by AntiElitz
Sat Sep 10, 2016 5:36 am
Forum: Modding help
Topic: Powerless inserter
Replies: 10
Views: 1990

Powerless inserter

I try to mod the inserter in a way that they work without energy or fuel. The idea is to make them work on outposts without power, so I tried data-updates.lua for index, inserter in pairs(data.raw.inserter) do inserter.energy_per_movement = 000 inserter.energy_per_rotation = 000 inserter.energy_usag...

Go to advanced search