Originally posted by cerverus94
View Post
1. Copy the OceanPlugin folder from the main github project eg. D:\OceanProject-master\Plugins\OceanPlugin into your engine version Runtime folder of your plugins eg. D:\UnrealEngine\UE_4.21\Engine\Plugins\Runtime\
2. Delete the Binaries folder and Intermediate folder (if available)
3. Open (power) shell: shift-right click >> open power-shell (normal Windows cmd shell works as well)
4. Using the Unreal build tool execute the following script to build the plugin from scratch (of course make sure the paths are correct):
.\RunUAT.bat BuildPlugin -plugin="D:\UnrealEngine\UE_4.21\Engine\Plugins\Runtime\OceanPlugin\OceanPlugin.uplugin" -package=""D:\UnrealEngine\UE_4.21\Engine\Plugins\Runtime\OceanPlugin"
5. If build finishes correctly you will have two folders (Binaries and Intermediate). Binaries contains the build ocean plugin for version 4.21
Now following the changes listed on the Github page to use the engine for version 2.20.3 adjust your games uproject file to atleast include the following lines:
{
"FileVersion": 3,
"EngineAssociation": "4.21",
"Category": "",
"Description": "",
"Modules": [
{
"Name": "QuickStart",
"Type": "Runtime",
"LoadingPhase": "Default",
"AdditionalDependencies": [
"Engine"
]
}
],
"Plugins": [
{
"Name": "OceanPlugin",
"Type": "Runtime",
"LoadingPhase": "PreDefault",
"Enabled": true
}
]
}
Now for a quick start you can copy the folders in the Content folder of the OceanProject into the Content folder of your game. (Or append if you already have maps premade for instnace). Then simply boot UE and done.
Comment