Search found 7 matches

by Rafiz
Mon Feb 22, 2021 5:38 am
Forum: Multiplayer
Topic: Earth Economy Multiplayer Map HELP
Replies: 5
Views: 747

Re: Earth Economy Multiplayer Map HELP

I'm actually hosting server which provides Earth map and few other custom mods. It's not simplest one (difficulty wise) and needs many to be done yet, but I had quite a number of players in last edition. It's currently down, because factorio got newer version, I had no time to take care of that, and...
by Rafiz
Sun Feb 07, 2021 10:47 pm
Forum: Modding help
Topic: When you assign player force upon creation, it works only form second player on
Replies: 3
Views: 207

Re: When you assign player force upon creation, it works only form second player on

I think what I will do is I will leave first player in 'player' force and start creating forces only from second player. It should have no downsides, and I should've anyway preserve "forces" as there are only 64 available, but still I think it might be considered bug / unwanted behavior.
by Rafiz
Sun Feb 07, 2021 10:29 pm
Forum: Modding help
Topic: When you assign player force upon creation, it works only form second player on
Replies: 3
Views: 207

Re: When you assign player force upon creation, it works only form second player on

Here is whole script : https://pastebin.com/22Uj4xYz * I wrote set_gloal / not set_global, but thakns to copy-pasting everything I can, this doesn't affect anything, function reference is same everywhere.. Output during game start is 1 player 2 rafiz force 3 rafiz force 4 rafiz force , when I added ...
by Rafiz
Sun Feb 07, 2021 10:26 pm
Forum: Modding help
Topic: When you assign player force upon creation, it works only form second player on
Replies: 3
Views: 207

When you assign player force upon creation, it works only form second player on

In short - upon creating new multiplayer game (non-headless) this script : function on_player_created(event) local player = game.players[event.player_index] local newForce = createPlayerForce(player) game.print('1' .. player.force.name) game.print('2' .. newForce.name) player.force = newForce game.p...
by Rafiz
Sun Feb 07, 2021 4:35 am
Forum: Modding help
Topic: Enemies stronger further from spawn ( how to undo that )
Replies: 1
Views: 102

Re: Enemies stronger further from spawn ( how to undo that )

Ok - I did my own lua to fix it.

https://pastebin.com/kuN0M9rF

I might even turn it into mod that will scale down enemies on far palces..
by Rafiz
Sat Feb 06, 2021 11:07 pm
Forum: Modding help
Topic: Enemies stronger further from spawn ( how to undo that )
Replies: 1
Views: 102

Enemies stronger further from spawn ( how to undo that )

I have problem : my idea for scenario allows players to choose their spawn location, whole map is rather big and if you choose spawn far from center of map it is extremally hard to stay alive. What would be best solution to "flatify" map spawning ratios - so that instead of "than furt...
by Rafiz
Sun Jan 17, 2021 10:04 am
Forum: Modding help
Topic: Some error in recipe? Conflict of two mods, that shouldn't interfere that much.
Replies: 0
Views: 102

Some error in recipe? Conflict of two mods, that shouldn't interfere that much.

I have problem with 2 mods (both aren't mine) : one is "xander-mod" and other is "Transport_Drones_Fuel" (TDF, later, coz it's too many words) Problem lays in that TDF simplifies requirements to create transport drones (from "Transport Drones" mod) and xander-mod is cha...

Go to advanced search