Call Of Duty Save

Turn your phone into a wireless controller for shooting games, with voice control!

Project README

Call-of-Duty

codmr

Demo link

Installations

PyAutoGUI is a cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.

$ pip install PyAutoGUI
$ pip install numpy
$ pip install SpeechRecognition

demogif

Download Bluestacks -> link

After downloading Bluestacks open it and go to discover apps and search for Call of Duty and install it.

Collecting data and building the model

We use the Sensor UDP app , that sends the selected sensor values to a receiving program using UDP. We use the orientation parameters. After selecting Orientaion and filling the values, tap on send data.

zz

Getting your ip -

Type in CMD ipconfig and get you IP. Now we need trainig data for 5 positions or movements. So we will store the training data in orientations.csv For each orientation, that is run the program data_collector.py 5 times for each move and be in that position for around 2 minutes.

Enter your IP and port number for UDP data transmission in data_collector.py.

movements

Training the SVM model

I have used Support Vector machine as it was giving good accuracy compared to others.

Gameplay Settings

Start the game and go to settings > Controls and select Simple Mode. Now start your Game and execute the demo.py file and enjoy!!

Open to PR's

Open Source Agenda is not affiliated with "Call Of Duty " Project. README Source: YashIndane/Call-of-Duty-
Stars
132
Open Issues
1
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating