Initial commit
This commit is contained in:
commit
80c9ed835c
88
.gitattributes
vendored
Normal file
88
.gitattributes
vendored
Normal file
@ -0,0 +1,88 @@
|
||||
## 3D models
|
||||
*.3dm filter=lfs diff=lfs merge=lfs -text
|
||||
*.3ds filter=lfs diff=lfs merge=lfs -text
|
||||
*.blend filter=lfs diff=lfs merge=lfs -text
|
||||
*.c4d filter=lfs diff=lfs merge=lfs -text
|
||||
*.collada filter=lfs diff=lfs merge=lfs -text
|
||||
*.dae filter=lfs diff=lfs merge=lfs -text
|
||||
*.dxf filter=lfs diff=lfs merge=lfs -text
|
||||
*.fbx filter=lfs diff=lfs merge=lfs -text
|
||||
*.jas filter=lfs diff=lfs merge=lfs -text
|
||||
*.lws filter=lfs diff=lfs merge=lfs -text
|
||||
*.lxo filter=lfs diff=lfs merge=lfs -text
|
||||
*.ma filter=lfs diff=lfs merge=lfs -text
|
||||
*.max filter=lfs diff=lfs merge=lfs -text
|
||||
*.mb filter=lfs diff=lfs merge=lfs -text
|
||||
*.obj filter=lfs diff=lfs merge=lfs -text
|
||||
*.ply filter=lfs diff=lfs merge=lfs -text
|
||||
*.skp filter=lfs diff=lfs merge=lfs -text
|
||||
*.stl filter=lfs diff=lfs merge=lfs -text
|
||||
*.ztl filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
## Audio
|
||||
*.aif filter=lfs diff=lfs merge=lfs -text
|
||||
*.aiff filter=lfs diff=lfs merge=lfs -text
|
||||
*.it filter=lfs diff=lfs merge=lfs -text
|
||||
*.mod filter=lfs diff=lfs merge=lfs -text
|
||||
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ogg filter=lfs diff=lfs merge=lfs -text
|
||||
*.s3m filter=lfs diff=lfs merge=lfs -text
|
||||
*.wav filter=lfs diff=lfs merge=lfs -text
|
||||
*.xm filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Video
|
||||
*.asf filter=lfs diff=lfs merge=lfs -text
|
||||
*.avi filter=lfs diff=lfs merge=lfs -text
|
||||
*.flv filter=lfs diff=lfs merge=lfs -text
|
||||
*.mov filter=lfs diff=lfs merge=lfs -text
|
||||
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
||||
*.mpeg filter=lfs diff=lfs merge=lfs -text
|
||||
*.mpg filter=lfs diff=lfs merge=lfs -text
|
||||
*.ogv filter=lfs diff=lfs merge=lfs -text
|
||||
*.wmv filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
## Images
|
||||
*.bmp filter=lfs diff=lfs merge=lfs -text
|
||||
*.exr filter=lfs diff=lfs merge=lfs -text
|
||||
*.gif filter=lfs diff=lfs merge=lfs -text
|
||||
*.hdr filter=lfs diff=lfs merge=lfs -text
|
||||
*.iff filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||
*.pict filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.psd filter=lfs diff=lfs merge=lfs -text
|
||||
*.tga filter=lfs diff=lfs merge=lfs -text
|
||||
*.tif filter=lfs diff=lfs merge=lfs -text
|
||||
*.tiff filter=lfs diff=lfs merge=lfs -text
|
||||
*.webp filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdn filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Compressed Archive
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Compiled Dynamic Library
|
||||
*.dll filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdb filter=lfs diff=lfs merge=lfs -text
|
||||
*.so filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
## Fonts
|
||||
*.otf filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Executable/Installer
|
||||
*.apk filter=lfs diff=lfs merge=lfs -text
|
||||
*.exe filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Documents
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.doc filter=lfs diff=lfs merge=lfs -text
|
||||
*.docx filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Binary Files
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
5
Documentation/readme.md
Normal file
5
Documentation/readme.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Info
|
||||
|
||||
This folder is used to store the documents for the development team.
|
||||
|
||||
The usage of this folder is optional. If it's not neeeded for your project, it can be deleted.
|
3
Game/.gitattributes
vendored
Normal file
3
Game/.gitattributes
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Unreal Engine file types.
|
||||
*.uasset filter=lfs diff=lfs merge=lfs -text
|
||||
*.umap filter=lfs diff=lfs merge=lfs -text
|
98
Game/.gitignore
vendored
Normal file
98
Game/.gitignore
vendored
Normal file
@ -0,0 +1,98 @@
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/unrealengine
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=unrealengine
|
||||
|
||||
### UnrealEngine ###
|
||||
# Visual Studio 2015 user specific files
|
||||
.vs/
|
||||
|
||||
# Compiled Object files
|
||||
*.slo
|
||||
*.lo
|
||||
*.o
|
||||
*.obj
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
*.pch
|
||||
|
||||
# Compiled Dynamic libraries
|
||||
*.so
|
||||
*.dylib
|
||||
*.dll
|
||||
|
||||
# Fortran module files
|
||||
*.mod
|
||||
|
||||
# Compiled Static libraries
|
||||
*.lai
|
||||
*.la
|
||||
*.a
|
||||
*.lib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
*.ipa
|
||||
|
||||
# These project files can be generated by the engine
|
||||
*.xcodeproj
|
||||
*.xcworkspace
|
||||
*.sln
|
||||
*.suo
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.VC.db
|
||||
*.VC.opendb
|
||||
.vsconfig
|
||||
|
||||
# Precompiled Assets
|
||||
SourceArt/**/*.png
|
||||
SourceArt/**/*.tga
|
||||
|
||||
# Binary Files
|
||||
Binaries/*
|
||||
Plugins/*/Binaries/*
|
||||
|
||||
# Builds
|
||||
Build/*
|
||||
|
||||
# Whitelist PakBlacklist-<BuildConfiguration>.txt files
|
||||
!Build/*/
|
||||
Build/*/**
|
||||
!Build/*/PakBlacklist*.txt
|
||||
|
||||
# Don't ignore icon files in Build
|
||||
!Build/**/*.ico
|
||||
|
||||
# Built data for maps
|
||||
*_BuiltData.uasset
|
||||
|
||||
# Configuration files generated by the Editor
|
||||
Saved/*
|
||||
|
||||
# Compiled source files for the engine to use
|
||||
Intermediate/*
|
||||
Plugins/*/Intermediate/*
|
||||
|
||||
# Cache files for the editor to use
|
||||
DerivedDataCache/*
|
||||
|
||||
### UnrealEngine Patch ###
|
||||
# Don't ignore icon and splash images for mobile app
|
||||
!Build/IOS/Resources/
|
||||
Build/IOS/Resources/*
|
||||
!Build/IOS/Resources/Graphics/
|
||||
Build/IOS/Resources/Graphics/*
|
||||
!Build/IOS/Resources/Graphics/*.png
|
||||
!Build/Android/res/
|
||||
Build/Android/res/*
|
||||
!Build/Android/res/*/
|
||||
Build/Android/res/*/*
|
||||
!Build/Android/res/*/*.png
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/unrealengine
|
||||
|
||||
### MacOS ###
|
||||
.DS_Store
|
60
Game/readme.md
Normal file
60
Game/readme.md
Normal file
@ -0,0 +1,60 @@
|
||||
# Introduction
|
||||
|
||||
This is the ***ROOT*** folder for the unreal game project.
|
||||
|
||||
_NOTE - Unreal has blur enabled by default, disable this in project settings if you don't want blur._
|
||||
|
||||
|
||||
|
||||
# Adding UE5 Game Project
|
||||
|
||||
1. Open unreal, select a template, and create the project template anywhere.
|
||||
2. Open the ***ROOT*** folder of the UE5 project you just created and copy `yourgame.uproject`, `Content`. `Config`, and `Source` into this folder.
|
||||
3. If your `yourgame.uproject` file & `Content`. `Config`, `Source` folders are in the same directory as the repositories `.gitignore` file, then your setup is correct.
|
||||
|
||||
Once you've completed the above steps you're ready to open the project and start working.
|
||||
|
||||
|
||||
|
||||
# Opening The Project: For Programmers
|
||||
|
||||
If you're a programmer and plan on doing work in C++ you should right click the `yourgame.uproject` file and select the `Generate Visual Studio project files` option. When this is complete double click the `yourgame.sln` file and run the game from Visual Studio by clicking `Local Windows Debugger`. Whenever you code in C++ you should close UE5 and recompile it from VS.
|
||||
|
||||
If you are not doing anything in C++, then you can open the project straight from double clicking `yourgame.uproject`. Make sure you click yes on the prompt asking to compile. UE5 will take awhile to open because it's compiling C++ binaries in the background.
|
||||
|
||||
If UE5 is bing weird delete all the cache files/folders & generated files/folders, then lauch it from Visual Studio so it's forced to compile everything correctly and you will catch any compiler bugs if anything is wrong.
|
||||
|
||||
|
||||
|
||||
# Common Visual Studio/C++ Problems
|
||||
|
||||
### Too Much Unreal
|
||||
|
||||
If you are trying to run UE5 from Visual Studio, then close any other UE5 executable windows you have open. If Unreal is already running when you launch it from Visual Studio then it will sometimes prevent Visual Studio from being able to correctly compile your C++ files, which results in a compiler error.
|
||||
|
||||
To fix this close all open instances of Unreal Engine. Once you've done that everything will be fine and you should be able to run Unreal from Visual Studio.
|
||||
|
||||
|
||||
### I'm getting an error with the build.bat in the Visual Studio error console
|
||||
|
||||
This happens when certain executables are already running in the background and haven't shutdown when they're meant to. To fix this open task manager and close `HUB for UE5 runtime traces...` and close every instance of `Runtime Broker` you can find.
|
||||
|
||||
Once you've done this, Visual Studio will work again and you can compile code.
|
||||
|
||||
|
||||
|
||||
# Fixing UE5 Setup
|
||||
|
||||
### dotnet is not recognized as an internal or external command
|
||||
|
||||
If you get an error similar to this one when generating visual studio project files or opening the project for the first time, it's because `.NET 6` is not installed or its environment path is not set.
|
||||
|
||||
To fix this locate `C:\program files\dotnet`, and delete the `dotnet` folder if it exists. If it doesn't exist, then don't do anything.
|
||||
|
||||
Next download the .NET 6 SDK ([.NET 6 download here](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)) and install it. _(do not download `ASP.NET Core Runtime`, `.NET Desktop Runtime`, `.NET Runtime`, or any other SDK - just the plain `.NET 6` SDK that has everything included)_
|
||||
|
||||
This will fix the dotnet error.
|
||||
|
||||
### I don't know how to setup VS2022 for Unreal Engine 5
|
||||
|
||||
Follow this guide: [Setting Up Visual Studio Environment for C++](https://docs.unrealengine.com/5.1/en-US/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine/)
|
26
readme.md
Normal file
26
readme.md
Normal file
@ -0,0 +1,26 @@
|
||||
# Introduction
|
||||
|
||||
This is a Unreal Engine template for 5.1 or greater.
|
||||
|
||||
The template was made by **Rian Rutherford** _(rr262471)_. To make the template, I used the pervious UE4 template as a starting point.
|
||||
|
||||
`Documentation` is an optional folder, it can be deleted if you don't want it.
|
||||
|
||||
If you want, you can rename the `Game` folder to something else. What is important is to make sure whatever the folder name, it has the original `.gitignore` and `.gitattributes` file inside.
|
||||
|
||||
If you are a programmer and using this template or Unreal Engine for the first time, you need to read the [project root readme](Game/readme.md). It has useful information about UE5, and UE5 C++ that you should know.
|
||||
|
||||
|
||||
|
||||
# WARNING!!!
|
||||
|
||||
Do not put in development or completed project assets in this repository. When you import assets into unreal they're taken into unreal and changed into `.uasset` files. Because of this it's wasteful to put the original development assets in the game repository. Doing so bloats the project and increases cloning times of the project for everyone.
|
||||
|
||||
Instead you should have another repo that uses the [art-lfs-repo](https://github.falmouth.ac.uk/Games-Academy/art-lfs-repo) template. This is where you put your development assets like your models and textures while working on them, including your completed ones. Then when you're done, you import them into Unreal Engine (and UE5 will store the files internally in its own format).
|
||||
|
||||
|
||||
|
||||
# UE5 Stucture & Organisation
|
||||
|
||||
1. [UE5 Directory Structure](https://docs.unrealengine.com/5.1/en-US/unreal-engine-directory-structure/)
|
||||
2. [UE5 Asset Naming Conventions](https://docs.unrealengine.com/5.1/en-US/recommended-asset-naming-conventions-in-unreal-engine-projects/)
|
Loading…
Reference in New Issue
Block a user