Factorio

Factorio

View Stats:
lalala Apr 2, 2022 @ 3:15pm
some npc factions mod out there?
With settlements, producing stuff maybe even tanks :D. Tried to search with various terms but found nothing.
< >
Showing 1-15 of 22 comments
Tag me if you find any
lalala Apr 21, 2022 @ 9:48am 
Sure. :)
Fuinril Apr 21, 2022 @ 1:21pm 
While it *might* be possible as the API allows it in theory, what you ask for would be a tremendous work as the modder will have to script the entire AI logic for the faction (I don't even know if it's realistic considering how much variables are in play and the computing speed involved - LUA is good but slow).

That beeing said you have Biter Factions which create different biter factions which fight each other (and you). That's not exactly what you asked for but afaik that's the closest thing you'll find
Last edited by Fuinril; Apr 21, 2022 @ 1:31pm
lalala Apr 21, 2022 @ 1:32pm 
I was thinking about it too. The AI doesn't have to be player-like. More focused. Might be some military faction focuses on producing tanks and granades/ammo and send it to the player in intervals. No science production or development like player.

Evtl. with some custom buildings to simplify chains (they don't have same tech).
Last edited by lalala; Apr 21, 2022 @ 1:33pm
Fuinril Apr 21, 2022 @ 1:45pm 
The main issue is, simplified or not, the AI does not know how to play the game. Not at all. It has no hint about how to acquire resource, build or even expand... even less how to build what to acquire something or even what it needs. And while it certainly is possible to script something like this in LUA with the factorio API.... I'll not be the one to do it for sure for one part, and I'm afraid, considering how LUA is interpreted in this game, it will lead to serious stuttering.

That's why you have biter factions (it use the core biter AI ), but not even an helping mod in charge of parts of your factory
Last edited by Fuinril; Apr 21, 2022 @ 1:46pm
lalala Apr 21, 2022 @ 1:47pm 
Originally posted by Fuinril:
The main issue is, simplified or not, the AI does not know how to play the game. Not at all. It has no hint about how to acquire resource, build or even expand...

Originally posted by lalala:
I was thinking about it too. The AI doesn't have to be player-like. Might be some military faction focuses on producing tanks and granades/ammo and send it to the player in intervals. No science production or development like player.

I don't read anything of expand, contrary: not player-like.
Last edited by lalala; Apr 21, 2022 @ 1:48pm
Fuinril Apr 21, 2022 @ 1:55pm 
Originally posted by lalala:
Originally posted by Fuinril:
The main issue is, simplified or not, the AI does not know how to play the game. Not at all. It has no hint about how to acquire resource, build or even expand...

Originally posted by lalala:
I was thinking about it too. The AI doesn't have to be player-like. Might be some military faction focuses on producing tanks and granades/ammo and send it to the player in intervals. No science production or development like player.

I don't read anything of expand, contrary: not player-like.

But you need to expand to build. Basically placing even ONE building is expanding. What may be possible with that logic is a mod with pre-made, auto satisfying, factories.... which you still need to design, place according to the map... and will get obliterated as soon as they run out of resources or when the biters grow
Last edited by Fuinril; Apr 21, 2022 @ 1:57pm
Fuinril Apr 21, 2022 @ 1:55pm 
Originally posted by lalala:
Originally posted by Fuinril:
The main issue is, simplified or not, the AI does not know how to play the game. Not at all. It has no hint about how to acquire resource, build or even expand...

Originally posted by lalala:
I was thinking about it too. The AI doesn't have to be player-like. Might be some military faction focuses on producing tanks and granades/ammo and send it to the player in intervals. No science production or development like player.

I don't read anything of expand, contrary: not player-like.

But you need to expand to build. Basically placing even ONE building is expanding. What may be possible with that logic is a mod with pre-made, auto satisfying, factories.... which you still need to design, place, according to the map... and will get obliterated as soon as they run out of resources or when the biters grow
lalala Apr 21, 2022 @ 1:57pm 
I don't know what's not clear in my explanation and why you keep comming with building. The AI is generated initially or spawn like the current biters. They don't need to follow the player logic. Didn't I mention it twice already?
Fuinril Apr 21, 2022 @ 2:10pm 
Last message. Either you understand or not. Be it a player logic or another one, everything not static has to follow a logic, a script, which can be more or less complex.... and has to abide by game rules (no building on water for exemple). So you can have a faction which use the biter logic.... or you can create your own (good luck with that). The other solution is placing patches of independent, premade blueprint factories specialized in defense across the map at generation, but even in this (simplier) case you'll soon encouter issues like their relative strength compared to the biters which evolved - and not them... and just unlocking new techs will be far from enough.... I suppose you might be able to adapt the blueprint depending of the biter strength at chunk generation, but still....

Moreover even if you make them super strong, it just makes static bastions across the map, far from the "life" you hope to see (if I understand correctly). They will never attack, never expand.... just a mine, 3 asembly machine, a belt and turrets and walls
lalala Apr 21, 2022 @ 2:32pm 
You keep returning to the falacy of player or player-like logic. None of the problems you'v stated exists with non-player like "cheaty" behavior. It only exists when you want to solve the problems in a player-like fashion. Do I really need to keep tell you that for every single point and you keep coming with another one?
Fuinril Apr 22, 2022 @ 1:38pm 
Just do it then. LUA is VirtualBasic programmation level (a child can do it, it's literally made it's as simple as a child's game) and the entire Factorio API is here https://lua-api.factorio.com/ (note: the APi is way more complex than the programmation language)

I tried to explain to you the why, you do not understand, so give it a shot
Last edited by Fuinril; Apr 22, 2022 @ 1:47pm
Fuinril Apr 22, 2022 @ 1:56pm 
And the game states only two types of forces (you'll not understand this if you did not read the API): "player" and "biter". So either you have a "player force" with no AI, either you have a "biter force" with full AI (rather the biter scripting). You can write what you want this faction to use, but there is NOTHING apart from biter scripting in the game currently. So if you want mor biters factions that's not an issue, but anything else with some kind of an intelligent behaviour will be

Edit: to be entirely true (from long memories way before 1.0 when I was modding the game - but I do not see any point for the devs working on this since), the "player" does not exists. Nor does the "biter", the only thing that exists is a flag 'AI' (true mean the biter AI, false player)
Edit2: but you can load a script which override the default script settings.... If you're able to do it, that's it...
Last edited by Fuinril; Apr 22, 2022 @ 2:12pm
lalala Apr 22, 2022 @ 2:07pm 
Originally posted by Fuinril:
Just do it then. LUA is VirtualBasic programmation level (a child can do it, it's literally made it's as simple as a child's game) and the entire Factorio API is here https://lua-api.factorio.com/ (note: the APi is way more complex than the programmation language)

I tried to explain to you the why, you do not understand, so give it a shot

I guess you now completely lost the context of the topic.
Fuinril Apr 22, 2022 @ 2:16pm 
Originally posted by lalala:
I guess you now completely lost the context of the topic.

Let see. You want a kind of mod which does not exist. I tried to explain to you why it does not exist. You then complain that I do not understand what you ask for and I try to force my logic on you...

Ohhh... I see.... That remember me why I never explain anything to my customers when they want detail about the programming work they give me to do
< >
Showing 1-15 of 22 comments
Per page: 1530 50