Page 1 of 1
Standart Forces Name Change?
Posted: Wed Jun 21, 2017 11:54 pm
by KDR
If you didn't changed anything before, you'll get 3 teams:
'player' -- default team for all new players who joins the game, including you.
'enemy' -- default team for aliens, their hives, bitters, spitters etc.
'neutral' -- empty team by default, but you can join it to build some infrastructure accessible for members of all teams, including currently not existing.
How i can change the Title of this 3 groups, just the name, nothing else? Where i can find the files?
Re: Standart Forces Name Change?
Posted: Thu Jun 22, 2017 1:32 pm
by Rseding91
You can't change the force names of the built in forces.
Re: Standart Forces Name Change?
Posted: Thu Jun 22, 2017 3:03 pm
by KDR
And is there any way to change the buildings build by the team.
i dont want to be on players but when i leave then my builded factory is red and not mine. can i change that?
Re: Standart Forces Name Change?
Posted: Thu Jun 22, 2017 5:07 pm
by prg
Code: Select all
/c for _, entity in pairs(game.player.surface.find_entities_filtered{force="player"}) do entity.force="new-force" end
(assuming you only have one surface with player stuff on it)
Re: Standart Forces Name Change?
Posted: Fri Jun 23, 2017 4:55 am
by KDR
Thanks this worked
but now are 2 forces with the buildings, how can i delete one of these? which command?
Re: Standart Forces Name Change?
Posted: Fri Jun 23, 2017 6:38 pm
by prg
Could you rephrase that question? What did you do already, what are you trying to achieve exactly?
Re: Standart Forces Name Change?
Posted: Fri Jun 23, 2017 7:10 pm
by KDR
Sorry for my bad english,
i mean when i change the buildings to another force, then the first force keep this buildings too, i dont want this, i want that the first force give the buildings to force 2, and then delete by force 1.
Re: Standart Forces Name Change?
Posted: Fri Jun 23, 2017 7:19 pm
by prg
What makes you think the buildings belong to two forces at the same time?
Re: Standart Forces Name Change?
Posted: Sat Jun 24, 2017 2:49 am
by KDR
Its not marked red on the map for force 1 and force 2, player force is active on the buildings and my own force too