User Tools

Site Tools


modding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
modding [2025/06/03 16:29] shomodding [2025/12/12 12:54] (current) – removed dcs
Line 1: Line 1:
-====== Modding ====== 
  
-===== Prerequisites ===== 
- 
-  - Install [[https://www.unrealengine.com/en-US/download|Unreal Engine]] 5.4.4 in the Epic Games Launcher. {{pasted:20250603-162652.png?nolink&600}} 
-  - Install [[https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x86&rid=win-x86&os=win10&apphost_version=8.0.13|.NET 8.0 Runtime]]. The link should directly start the download. 
- 
-===== Create a mod ===== 
- 
-  - Go to ''Modding SDK\Plugins\SubwaySim_Extern''. 
-  - Rename the folder ''Simuverse_ModTemplate'' to ''YourName_YourMod'' and inside the folder rename the file ''Simuverse_ModTemplate.uplugin'' to ''YourName_YourMod.uplugin''. 
-  - Rename all occurences of ''Simuverse_ModTemplate'' to ''YourName_YourMod'' in ''YourName_YourMod.uplugin'' and ''Lua\mod.lua''. 
-  - Start the project by double clicking ''Modding SDK\SubwaySim2.uproject''. 
-  - Enable ''Show Plugin Content'' in the ''Settings'' of the ''Content Browser''. {{pasted:20250603-135837.png?nolink&600}} 
-  - Use the content folder ''All > Plugins > YourName_YourMod Content'' for your mod content and use the Lua folder ''Modding SDK\Plugins\SubwaySim_Extern\YourName_YourMod\Lua'' for your Lua scripts. 
- 
- 
-===== Build a mod ===== 
- 
-  - Open the build script ''BuildMod.bat'' in a text editor and adjust the variables ''DLC_NAME'' to ''YourName_YourMod'' and ''ENGINE_ROOT'' to your engine path at the top. 
-  - Run the build script by double clicking ''BuildMod.bat''. 
-  - The mod will be built in ''Modding SDK\Output\YourName_YourMod.pak''. Subsequent build times will be much shorter. 
- 
-===== Install a mod ===== 
- 
-  - Place the mod in ''%userprofile%\Documents\My Games\SubwaySim 2\Mods'' (create the folder if it does not exist). 
- 
-===== Testing Lua scripts without rebuilding the mod ===== 
- 
-  - Create an empty folder for your plugin ''%userprofile%\Documents\My Games\SubwaySim 2\Mods\YourName_YourMod\''. 
-  - Copy the Lua scripts from your Lua folder inside this folder maintaing the same folder structure. 
-  - The game will now use the Lua scripts from this folder if they exist, otherwise it falls back to the mod itself. 
- 
-===== FAQ ===== 
- 
-Asset modifications in the ''SubwaySim2_Modding'' plugin are not reflected in the game. 
-You may only modify assets in your ''YourName_YourMod'' plugin, modified assets in the ''SubwaySim2_Modding'' plugin are ignored. 
- 
- 
-  - The build script shows errors and warnings: Certain errors and warnings are expected and can usually be ignored if the mod has been built successfully. 
modding.1748960999.txt.gz · Last modified: by sho

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki