Git Product home page Git Product logo

Comments (11)

way-zer avatar way-zer commented on August 17, 2024

Don't know how is your PVP mode. The team is calculated through this code

val allTeam: Set<Team>
get() {
if (!state.rules.pvp) return setOf(state.rules.defaultTeam)
return state.teams.getActive().mapTo(mutableSetOf()) { it.team }.apply {
remove(Team.derelict)
removeIf { !it.data().hasCore() }
removeAll(bannedTeam)
}
}

(Do you translate using language? World you like to share it?)

from scriptagent4mindustryext.

44wrw44 avatar 44wrw44 commented on August 17, 2024

And under what conditions does he choose teams?

from scriptagent4mindustryext.

44wrw44 avatar 44wrw44 commented on August 17, 2024

I just noticed that it only displays the player’s core and even /team doesn’t see the other cores

from scriptagent4mindustryext.

way-zer avatar way-zer commented on August 17, 2024

/team is also for pvp, so only players'teams are allowed.

from scriptagent4mindustryext.

way-zer avatar way-zer commented on August 17, 2024

And under what conditions does he choose teams?

What mean? The variable is calculated everytime when accessing.

from scriptagent4mindustryext.

44wrw44 avatar 44wrw44 commented on August 17, 2024

He sees only the team of players that is set in the map editor; the second base, which is set as the opponent, is not defined as a team selection option. Therefore pvp is not playable.

from scriptagent4mindustryext.

way-zer avatar way-zer commented on August 17, 2024

He sees only the team of players that is set in the map editor; the second base, which is set as the opponent, is not defined as a team selection option. Therefore pvp is not playable.

Do you play a map with PVP mode? or just survive mode?

from scriptagent4mindustryext.

44wrw44 avatar 44wrw44 commented on August 17, 2024

In pvp mode, at least in /maps it is displayed as pvp

from scriptagent4mindustryext.

way-zer avatar way-zer commented on August 17, 2024

In pvp mode, at least in /maps it is displayed as pvp

Other teams have cores?
Could you provide the map file?

from scriptagent4mindustryext.

44wrw44 avatar 44wrw44 commented on August 17, 2024

PInterstellar.msav.zip

from scriptagent4mindustryext.

way-zer avatar way-zer commented on August 17, 2024

PInterstellar.msav.zip

This map trigger backCompatibility, which banned waveTeam.

if (time < Calendar.getInstance().apply { set(2022, 3 - 1, 3) }.toInstant()) {
rules.tags.put("@banTeam", "2")

The backCompatibility is due to some map use waveTeam(red) as neutral team. Which is defaultly banned in old plugin.
If you don't need, you can just remove this.

from scriptagent4mindustryext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.