Hi there,
How do i get custom attributes to be included in a blueprint. I have a request chest and i store information about request slots an items in a global table. Now i want these global variables to be copied when the user blueprints the chest. How can i do this i did not find any information ...
Search found 25 matches
- Wed Mar 15, 2017 8:04 pm
- Forum: Modding help
- Topic: Make a custom attribute blueprintable
- Replies: 0
- Views: 675
- Fri Oct 07, 2016 8:33 am
- Forum: Mods
- Topic: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
- Replies: 5
- Views: 3096
Re: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
In case somebody is interested in the Mod i will upload a new Version until tomorrow and updated the Main post to comply with the General Mod Post style.
I will also add a small Video explaining what the Mod does and hope it will not be to shitty :D
So far the following Changes will be in the new ...
I will also add a small Video explaining what the Mod does and hope it will not be to shitty :D
So far the following Changes will be in the new ...
- Wed Oct 05, 2016 8:41 pm
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
Re: How to make a GUI?
Hehe cool that was my workaround so far anyway

Code: Select all
function gui_update_requests(entity,mygui)
message_all("save button pressed")
for k, elementName in pairs(mygui.children_names) do
message_all(elementName)
local guiElement = mygui[elementName]
- Wed Oct 05, 2016 8:12 pm
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
Re: How to make a GUI?
Hi again,
the solution prg gave me works excellent
the loop with pairs does not work
i have this gui
local gui = player.gui.center.add({type = "frame", name = "LokiChest_gui", direction = "vertical"})
gui.add({type = "table", name = "title", colspan = 2, style = "lokis-table"})
gui.title.add ...
the solution prg gave me works excellent
the loop with pairs does not work
i have this gui
local gui = player.gui.center.add({type = "frame", name = "LokiChest_gui", direction = "vertical"})
gui.add({type = "table", name = "title", colspan = 2, style = "lokis-table"})
gui.title.add ...
- Wed Oct 05, 2016 12:29 pm
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
Re: How to make a GUI?
Thanks a ton aubergine thats exactly what i need
- Wed Oct 05, 2016 10:58 am
- Forum: Mods
- Topic: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
- Replies: 5
- Views: 3096
Re: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
Hi Gtrak,
Thanks for the Feedback and the compliment, glad you like it
Did not think of blueprints when creating the Mod the problem here is that it will copy the "current" slots and not the table assosciated with the chest
For now a workaround would be to create the setup outside of your ...
Thanks for the Feedback and the compliment, glad you like it
Did not think of blueprints when creating the Mod the problem here is that it will copy the "current" slots and not the table assosciated with the chest
For now a workaround would be to create the setup outside of your ...
- Wed Oct 05, 2016 9:56 am
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
Re: How to make a GUI?
thanks a lot for the help will test it when i am home tonight
- Wed Oct 05, 2016 7:25 am
- Forum: Mods
- Topic: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
- Replies: 5
- Views: 3096
Re: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
To all the 9 People who downloaded the mod. I hope you like it and it runs without problems so far.
I am still working on the mod cause i really like robots and this greatly improves efficiency of robots in supplying construction chains with materials.
Here are some News.
- added the function that ...
I am still working on the mod cause i really like robots and this greatly improves efficiency of robots in supplying construction chains with materials.
Here are some News.
- added the function that ...
- Wed Oct 05, 2016 6:21 am
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
Re: How to make a GUI?
ah sorry i think my question was not phrased properly.
I know i could access the variable like that but i can not access it like this
for i = 1 to 5 do
local wantedchild = "labelfillup"..i
local currentchild = maintable.children.wantedchild
print currentchild.name
end
is there a way to do ...
I know i could access the variable like that but i can not access it like this
for i = 1 to 5 do
local wantedchild = "labelfillup"..i
local currentchild = maintable.children.wantedchild
print currentchild.name
end
is there a way to do ...
- Tue Oct 04, 2016 10:05 pm
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
Re: How to make a GUI?
Hi Folks,
Another Question about gui elements.
Is there a way to refer to an gui element by variable?
lets say i have this element created in a loop
gui.maintable.add({type = "label", name = "labelfillup" .. k, caption = "Fillup Amount: "})
and i now want to get the one with labelfillup5 is ...
Another Question about gui elements.
Is there a way to refer to an gui element by variable?
lets say i have this element created in a loop
gui.maintable.add({type = "label", name = "labelfillup" .. k, caption = "Fillup Amount: "})
and i now want to get the one with labelfillup5 is ...
- Mon Oct 03, 2016 5:38 am
- Forum: Mods
- Topic: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
- Replies: 5
- Views: 3096
Re: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
Was thinking about the mod Yesterday. I think i will change it so that the request gets deleted instead of set to 1.
Also i want to add an Option to check for items in the network first.
Lets say you have the robot set to fill the chest with 400 iron plates it gets filled up production starts and ...
Also i want to add an Option to check for items in the network first.
Lets say you have the robot set to fill the chest with 400 iron plates it gets filled up production starts and ...
- Sun Oct 02, 2016 4:53 pm
- Forum: Ideas and Requests For Mods
- Topic: [Request] Better Request Chest
- Replies: 5
- Views: 1885
Re: [Request] Better Request Chest
Hi together,
I put my first workin in Progress on the Forum so if you want to test it Check it out its really cool already.
hope it runs as smooth as my tests for everyone.
viewtopic.php?f=97&t=33674
Greets
Loki
I put my first workin in Progress on the Forum so if you want to test it Check it out its really cool already.
hope it runs as smooth as my tests for everyone.
viewtopic.php?f=97&t=33674
Greets
Loki
- Sun Oct 02, 2016 4:43 pm
- Forum: Mods
- Topic: [MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
- Replies: 5
- Views: 3096
[MOD 0.14.x] LokisRequestChest_0.2.0 (smartRequest)
Hi Everybody,
I decided to put out my early Alpha here to get some Feedback from you guys.
Let me say that i never made a mod before but i wanted this Feature so i sat down yesterday Evening and looked at some Mods of other people to see how stuff works and after a sleepless night i have a basic ...
I decided to put out my early Alpha here to get some Feedback from you guys.
Let me say that i never made a mod before but i wanted this Feature so i sat down yesterday Evening and looked at some Mods of other people to see how stuff works and after a sleepless night i have a basic ...
- Sun Oct 02, 2016 10:43 am
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
Re: How to make a GUI?
Hi Adil,
Thanks for pointing me to the API. Was already too late for me Yesterday.
Found the LuaStyle Section that should answer all my Questions for now
Will check out later what i can get done if i am stuck i will come back
Greets and Big Thanks Loki
Thanks for pointing me to the API. Was already too late for me Yesterday.
Found the LuaStyle Section that should answer all my Questions for now

Will check out later what i can get done if i am stuck i will come back
Greets and Big Thanks Loki
- Sun Oct 02, 2016 6:49 am
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
Re: How to make a GUI?
QUick update i figured out how to get the custom function going. and i was able to add gui elements like a button etc.
Now i just need to find out how i change sizes and positions etc.
We will get there
Now i just need to find out how i change sizes and positions etc.
We will get there

- Sun Oct 02, 2016 5:09 am
- Forum: Modding help
- Topic: How to make a GUI?
- Replies: 13
- Views: 7804
How to make a GUI?
Hi there,
I would like to have a GUI to make some settings in my Mod but i cant find any good tutorials on how to do it.
I was looking at other mods but i can not get it to work somehow.
Does someone have a good tutorial on that or can give some tips?
also i have a question for custome events ...
I would like to have a GUI to make some settings in my Mod but i cant find any good tutorials on how to do it.
I was looking at other mods but i can not get it to work somehow.
Does someone have a good tutorial on that or can give some tips?
also i have a question for custome events ...
- Sun Oct 02, 2016 1:53 am
- Forum: Ideas and Requests For Mods
- Topic: [Request] Better Request Chest
- Replies: 5
- Views: 1885
Re: [Request] Better Request Chest
For everybody who wants to know.
it is defenetly doable.
I have a testversion up and running and i hope what i did there is not totally unusable in a bigger scale but we will see that
For now i have 2 chests up and running without any problems :)
will post the mod as soon as i finished the ...
it is defenetly doable.
I have a testversion up and running and i hope what i did there is not totally unusable in a bigger scale but we will see that
For now i have 2 chests up and running without any problems :)
will post the mod as soon as i finished the ...
- Sat Oct 01, 2016 11:07 pm
- Forum: Modding help
- Topic: [SOLVED] ItemStack Question with requestslot
- Replies: 2
- Views: 1223
Re: ItemStack Question with requestslot
Hi There,
I just figured out my mistake :)
i tried it with slotinfo.name before but that was an error too.
problem was he did not like the empty slots....
when you print it out as string it does not seem to bother him but if he expects a table and gets a nil he is not happy :D
for i = 1, ent ...
I just figured out my mistake :)
i tried it with slotinfo.name before but that was an error too.
problem was he did not like the empty slots....
when you print it out as string it does not seem to bother him but if he expects a table and gets a nil he is not happy :D
for i = 1, ent ...
- Sat Oct 01, 2016 10:08 pm
- Forum: Modding help
- Topic: [SOLVED] ItemStack Question with requestslot
- Replies: 2
- Views: 1223
[SOLVED] ItemStack Question with requestslot
Hi together,
I just started to get into the whole Modding thing and i am stucl with this
for i = 1, ent.request_slot_count do
local slotinfo = ent.get_request_slot(i)
message_all(slotinfo)
end
this code works but it prints only Unknown Key:"Fast inserter" (given i have a fast inserter in ...
I just started to get into the whole Modding thing and i am stucl with this
for i = 1, ent.request_slot_count do
local slotinfo = ent.get_request_slot(i)
message_all(slotinfo)
end
this code works but it prints only Unknown Key:"Fast inserter" (given i have a fast inserter in ...
- Sat Oct 01, 2016 8:19 pm
- Forum: Ideas and Requests For Mods
- Topic: [Request] Better Request Chest
- Replies: 5
- Views: 1885
Re: [Request] Better Request Chest
Hi thanks for link with the circuit network i was thinking about that too but it seems a bit unpractical (impossible?) if you have a large number of chests that you want to control.
I started to learn how to mod Factorio and i will see if i can make this mod happen by myself with a bit help from ...
I started to learn how to mod Factorio and i will see if i can make this mod happen by myself with a bit help from ...