Search found 34 matches
- Tue Jan 05, 2016 8:14 pm
- Forum: Modding help
- Topic: Is creating new surfaces implemented?
- Replies: 14
- Views: 26436
Re: Is creating new surfaces implemented?
@orzelek, that sucks, I thought that no one else created a cave world type mod yet. Oh well, I need the lua practice anyways.
- Mon Jan 04, 2016 9:49 pm
- Forum: Modding help
- Topic: entity.destroy not working.
- Replies: 9
- Views: 22243
entity.destroy not working.
I'm trying to make a custom world gen, and I'm over-writing the trees and decorations in my surface, but entity.destroy isn't working. script.on_event(defines.events.on_chunk_generated, function(event) if(event.surface == game.surfaces.Caves) then local caves = game.surfaces.Caves local area = event...
- Mon Jan 04, 2016 9:44 pm
- Forum: Modding help
- Topic: What is surface.find_entities centered around?
- Replies: 6
- Views: 14865
Re: What is surface.find_entities centered around?
I need to always detect the cave entrance, as it needs to be reusable, and act as a teleporter of sorts, rather than detecting it once.
- Mon Jan 04, 2016 8:26 pm
- Forum: Modding help
- Topic: Is creating new surfaces implemented?
- Replies: 14
- Views: 26436
Re: Is creating new surfaces implemented?
Ok, thanks. Hopefully I can make something work that isn't too much of a hack.
- Mon Jan 04, 2016 4:43 pm
- Forum: Modding help
- Topic: Is creating new surfaces implemented?
- Replies: 14
- Views: 26436
Re: Is creating new surfaces implemented?
How did I miss that? I even looked at merge forces...
How can I change what tiles are used and which ores are created when generating the surface?
How can I change what tiles are used and which ores are created when generating the surface?
- Mon Jan 04, 2016 1:48 pm
- Forum: Modding help
- Topic: Is creating new surfaces implemented?
- Replies: 14
- Views: 26436
Is creating new surfaces implemented?
I've looked around and it looks like adding surfaces isn't implemented yet, although the wiki says something about an API. Can I make another surface, and if so how?
- Sun Jan 03, 2016 11:35 pm
- Forum: Modding help
- Topic: What is surface.find_entities centered around?
- Replies: 6
- Views: 14865
Re: What is surface.find_entities centered around?
Ok, thanks. EDIT: I'm checking for my entity in the on_tick event, and it detects everything fine, but it doesn't stop detecting it (As in it doesn't stop printing 'Found Cave Entrance'). local X = game.player.position.x local Y = game.player.position.y local entrance = game.surfaces["nauvis&qu...
- Sun Jan 03, 2016 8:39 pm
- Forum: Modding help
- Topic: What is surface.find_entities centered around?
- Replies: 6
- Views: 14865
What is surface.find_entities centered around?
What does find_entities get centered around? I want to make an entity that can detect when the player walks into it.
- Thu Oct 08, 2015 8:12 pm
- Forum: Modding help
- Topic: Custom generator
- Replies: 0
- Views: 2558
Custom generator
How can I change the required temperature that my custom generator needs to run?
- Thu Oct 08, 2015 8:03 pm
- Forum: Modding help
- Topic: [Solved]How can I change the storage amount of my tank?
- Replies: 4
- Views: 5261
Re: How can I change the storage amount of my tank?
Thanks, I got it to work.
- Wed Sep 30, 2015 1:34 am
- Forum: Modding help
- Topic: [Solved]How can I change the storage amount of my tank?
- Replies: 4
- Views: 5261
Re: How can I change the storage amount of my tank?
I'm creating a new tank, but I should've been more specific. I meant liquid tanks, which is why I'm asking. I'm not even sure if it's possible at this point.
- Sat Sep 12, 2015 4:09 pm
- Forum: Modding help
- Topic: [Solved]How can I change the storage amount of my tank?
- Replies: 4
- Views: 5261
[Solved]How can I change the storage amount of my tank?
How do I change the amount that my tank can store?
- Sat Mar 28, 2015 2:40 pm
- Forum: Already exists
- Topic: New to Factorio Modding
- Replies: 2
- Views: 4511
Re: New to Factorio Modding
Ok I was wondering where to post my questions, and this looked like the place. Thanks for the help
- Sat Mar 28, 2015 1:28 am
- Forum: Already exists
- Topic: New to Factorio Modding
- Replies: 2
- Views: 4511
New to Factorio Modding
I'm new to factorio modding and I would like a link to an api or a guide. I'm not new to modding in general, but I've only modded minecraft before so lua is new to me. I also have coding background but I know barely anything about lua. Any help is appreciated, thanks.