Search found 22 matches
- Sun Jan 24, 2021 6:00 pm
- Forum: Multiplayer
- Topic: [Brasil] Alguém pra jogar o game de uma forma diferenciada?
- Replies: 3
- Views: 2393
[Brasil] Alguém pra jogar o game de uma forma diferenciada?
Hello people, alguém gostaria de jogar Factorio com Mods ( Lista Abaixo ) especialmente outros modos do Game Ex: PvP, TvTvE, entre outros cenários. Atualmente tem eu e mais 4 pessoas. Versão do Factorio 1.1.15 ( Último disponível ) Lista de Mods ( O jogo fica bem diferente do Vanilla ): auto-track-l...
- Sun Jan 24, 2021 5:20 pm
- Forum: Modding help
- Topic: Wireless charging that doesn't "take" energy from the network/generator
- Replies: 0
- Views: 510
Wireless charging that doesn't "take" energy from the network/generator
Guys, I've made a fork of the mod camedo-microwave ( to change some thinks to my like and update it to 1.1 ) but I can't solve a little problem... When you connect it to your power generator ( accumulator, steam turbine whatever ) it doesn't 'debit' energy while charging an entity, I only did static...
- Wed Jan 06, 2021 12:48 am
- Forum: Modding help
- Topic: Reading installed mods in control.lua
- Replies: 3
- Views: 1050
Reading installed mods in control.lua
Hello ppl, I hope y'all are great, so, I'm new to modding, and I searched a little bit ( 3 days maybe ) and I can't find a proper ( and simple ) way to check if a mod exist inside control.lua, could u guys please give me an example?
- Sun Jan 03, 2021 6:11 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
- Sun Jan 03, 2021 4:57 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Yep sir haha, I'll give u credit when I post it.
- Sun Jan 03, 2021 4:06 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Oh I c, it was my fault sorry, I checked it again and I changed a wrong value, so now it's fully working.
- Sun Jan 03, 2021 1:07 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Only one thing I notice is that it drains power while the vehicle isn't used, Is there a way to add a check if player is inside then debit the energy ?
- Sun Jan 03, 2021 1:00 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Some good News, It's working perfectly fine as I wanted, I will remove the debugging and change somethings then release it, bro thanks a lot for the help, I'll put your name there haha
- Sun Jan 03, 2021 12:25 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
If I remove this line do to a test: if not (entity and entity.valid and isVehicle(entity)) then return end ( it's in control.lua ) And place a vehicle, I get an error: O mod ZElectricEngine (0.0.1) causou um erro não recuperável. Por favor, reporte este erro ao autor do mod. Error while running even...
- Sun Jan 03, 2021 12:21 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Sir, it's unregistering the vehicles ( I can c their IDs ) but not registering, I think it's something with onBuilt.
- Sat Jan 02, 2021 11:38 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Yep it's buffering
Energy: 1.0MJ/1.0MJ
Energy: 1.0MJ/1.0MJ
- Sat Jan 02, 2021 9:27 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
So, conclusions, with the updated code, no error appeared, but the mechanic ( what should happen ) is not working, I equipped the car with the transformer + battery + Fusion reactor and nothing, I remove the flags from the fuel to test it and it's working fine( manual input of the fuel ). Any ideas ?
- Sat Jan 02, 2021 7:14 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Also, another one: O mod ZElectricEngine (0.0.1) causou um erro não recuperável. Por favor, reporte este erro ao autor do mod. Error while running event ZElectricEngine::on_tick (ID 0) __ZElectricEngine__/control.lua:32: attempt to index field 'cars' (a nil value) stack traceback: __ZElectricEngine_...
- Sat Jan 02, 2021 7:10 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
So, I'm trying your code, put some icon ( was missing so game wont start ) but there's a new error, in control.lua line 10: __ZElectricEngine__/control.lua:10: attempt to index global 'game' (a nil value) stack traceback: __ZElectricEngine__/control.lua:10: in main chunk Line 10: local CAPACITY = ga...
- Sat Jan 02, 2021 11:29 am
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
After a few tests it works "reverse" add the fuel when I leave the vehicle, also one thing that's missing and I can't add, I searched a lot but no lucky, is to drain energy from grid everytime the mod add fuel.
- Fri Jan 01, 2021 7:51 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Thanks a lot sir, i'll try to improve it and and change it according to my mind, again, thanks buddy.
- Fri Jan 01, 2021 7:25 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Thanks a lot for the tips, I'll try to search and make it work
- Fri Jan 01, 2021 6:17 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
Also another fuel sounds great, it can be named something like " Transformer Output" and have a custom icon so it makes more sense
- Fri Jan 01, 2021 6:14 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
That's a perfect ideia, but since I'm very new to Lua and modding, sounds complicated for me.
- Fri Jan 01, 2021 5:25 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6597
Re: An item fuel that uses energy stored on equipment grid to power vehicles
I didn't test it but as I said it's exactly what "Electric vehicles reborn" do but they do only for vanilla vehicles, not modded one as I'm thinking