Code Monkey home page Code Monkey logo

Comments (3)

benellis3 avatar benellis3 commented on September 11, 2024 1

Yeah you can use the "fixed" distribution type I believe (https://github.com/oxwhirl/smacv2/blob/main/smac/env/starcraft2/distributions.py#L33). Then you can list the team that you want.

This isn't the most well tested use case but it should work just fine.

from smacv2.

benellis3 avatar benellis3 commented on September 11, 2024

Hi! The separate conic fov and shooting is not on the main branch. The options conic_fov and conic_shooting can be found here: https://github.com/oxwhirl/smacv2/blob/separate-conic-fov-and-shooting/smac/env/starcraft2/starcraft2.py#L92

A simple way of not doing random team compositions is to just configure the weighted teams to only spawn one unit type with probability 1. For example, you can change the weights in this config file to 1.0, 0.0, and 0.0 https://github.com/benellis3/mappo/blob/ablation/src/config/envs/sc2_ablate_unit_terran_80-10-10.yaml#L38

Let me know if this doesn't solve your problem and I can try to help you get this working.

from smacv2.

kinalmehta avatar kinalmehta commented on September 11, 2024

Thank you @benellis3
This answers most part my of queries.

So based on my understanding, I believe having multiple unit types with deterministic team composition is not possible.

from smacv2.

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.