Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: AI agent and Joystick #85

Open
tahaaideveloper opened this issue Jan 24, 2024 · 4 comments
Open

Question: AI agent and Joystick #85

tahaaideveloper opened this issue Jan 24, 2024 · 4 comments

Comments

@tahaaideveloper
Copy link

tahaaideveloper commented Jan 24, 2024

How can you control one plane with programming (for AI agent) and another plane with a keyboard or joystick (Human agent) in same dogfight-sandbox in network mode?

@tahaaideveloper tahaaideveloper changed the title AI agent and Joystick Question: AI agent and Joystick Jan 24, 2024
@Neogrl
Copy link

Neogrl commented Feb 2, 2024

Maybe you can introduce "one on one" to "network mode" in Mission.py

@tahaaideveloper
Copy link
Author

Does anyone have experience with this?
How should it be done?

@Neogrl
Copy link

Neogrl commented Feb 3, 2024

You can find the initialization of "One on one" and "Network mode" at the bottom of Missions.py.
For different missions, they all have three function arguments:setup_players, end_test and end_phase_update.That's what you need to modify.You can copy it to modify another.

@muratozbek23
Copy link

Hi Taha, you can run the "agent " folder to run use AI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants