Aottg2 is the sequel to the original Attack on Titan Tribute Game created by FengLee. This project is currently built in Unity 4, with plans to migrate to modern versions of Unity. For more details, join our discord server: https://discord.gg/GhbNbvU.
The game is not currently available to the public, however you can create a build by cloning the project using git lfs, and following the build process below.
Contributing: join our discord server for more details on how to contribute. We accept applicants for a variety of work including programming, 3D modeling, texture and 2D art, sound effects, music, translation, and more.
The project is not yet a complete Unity project, with the code and unity assets being compiled separately. The Assembly folder contains all scripts, AssetBundle contains all unity assets, and Aottg2 contains the build. In order to create a build, we first compile the scripts from the Assembly folder into a dll file (Aottg2/Aottg2_Data/Managed/Assembly-CSharp.dll). Next, we compile the unity assets into an assetbundle (Aottg2/Aottg2_Data/MainAssets.Unity3d). Once these two files are replaced, the build is complete. If you do not have access to Unity pro in order to build the MainAssets file, you can instead copy an existing one from a released build to your Aottg2/Aottg2_Data folder.
- Install git: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
- Install git lfs: https://git-lfs.github.com/
- If modifying code, install .NET 3.5: https://www.microsoft.com/en-us/Download/details.aspx?id=25150, and visual studio: https://visualstudio.microsoft.com/vs/
- If modifying unity assets, install Unity 4.7.2: https://download.unity3d.com/download_unity/UnitySetup-4.7.2.exe (you will need pro version to build and test asset bundles on your local machine, but this is not necessary to contribute to the project)
- Open command prompt and navigate to your preferred installation folder
- Enter
git clone https://github.com/AoTTG-2/Aottg2-Unity4.git
- To open the assembly scripts, navigate to Aottg2-Unity4/Assembly and open the Assembly-CSharp.sln using Visual Studio
- To open the asset bundle, open up Unity 4.7.2 and select the Aottg2-Unity4/AssetBundle folder
- Navigate your command prompt to the project folder (Aottg2-Unity4 folder)
- Switch to your assigned branch by using
git checkout branch_name
- Enter
git pull
to update the project to the latest version
- Navigate your command prompt to the project folder (Aottg2-Unity4 folder)
- Switch to your assigned branch by using
git checkout branch_name
- Modify or add files to either Assembly or AssetBundle folders
- Make sure your project is updated to the latest version by using
git pull
- Enter
git status
to see which files have been changed, added, or removed by you - Add the files changes you wish to upload by entering
git add FILE
, or entergit add .
to add all changes - Enter
git commit -m "Message"
to commit the changes, replace Message with your change description but include the quotation marks - Enter
git push
to finally upload the changes
- Open the assembly scripts by navigating to Aottg2-Unity4/Assembly and opening Assembly-CSharp.sln
- Make your desired changes to the scripts
- Build the assembly by clicking Build -> Build Assembly-CSharp or by pressing Ctrl+B
- The Aottg2/Aottg2_Data/Managed/Assembly-CSharp.dll file should now be updated and ready to play
- Open the AssetBundle by opening Unity 4.7.2 and selecting the Aottg2-Unity4/AssetBundle folder
- Make your desired changes to the unity assets
- In Unity, right click on the "MainAssets" folder and click "Build asset bundle from selection - Track dependencies"
- Save as MainAssets.unity3d to the Aottg2/Aottg2_Data folder, and overwrite the file when prompted.
- The Aottg2/Aottg2_Data/MainAssets.unity3d file should now be updated and ready to play