Difference between revisions of "How to make mods"
Line 71: | Line 71: | ||
=== Static Mesh === | === Static Mesh === | ||
Need something here | |||
=== Skeletal Mesh (Rigged) === | === Skeletal Mesh (Rigged) === | ||
Here aswell | |||
== Creating the Mod == | |||
== | Open the '''BergsbrukModding''' project | ||
Find the Template or Example object closest to the thing you want to add (we will add those as we go along) | |||
Duplicate that object and name it something like "'''MyModteam_BrandedDozer_Model666'''" | |||
Otherwise the game might get a bit annoyed finding 7 vehicles named "Dozer" | |||
[[File:DuplicateObject.png|none|thumb|1203x1203px|Duplicate that object and name it something like unique, like i have done above the pink arrow (but plz be a bit more creative with our naming)]] | |||
[[File:Interface LoadInfo.png|none|thumb|1195x1195px|For all mods you need to Edit the "Load Info" Thats the info for the store and help texts, The price is in USD the diffent Categories and Types are listed below this pic]] | |||
=== Categories === | |||
* Vehicle | |||
* Tool | |||
* Building | |||
* Part | |||
* Misc | |||
=== Types === | |||
* Dozer | |||
* Excavator | |||
* Loader | |||
* Semitruck | |||
* Pickuptruck | |||
* Grader | |||
* Crusher | |||
=== Building object === | |||
In this you can add any static mesh you can think of or build, | |||
you can also '''add in any effects or stuff as children''' to the "Build object" but always turn off collsions and '''never add any Collsions'''[[File:SelectTheBuildObject.png|none|thumb|1023x1023px|Select the build object]] | |||
[[File:SelectTheBuildObject.png|none|thumb|1023x1023px| | [[File:PressThedropdown.png|none|frame|Press the dropdown and select your mesh]] | ||
[[File:PressThedropdown.png|none|frame| | |||
Line 90: | Line 117: | ||
=== Vehicle === | === Vehicle === | ||
[[File:InterfaceLights.png|none|thumb|1359x1359px| | These are the other infaces that need editing and are vehicle specific [[File:InterfaceLights.png|none|thumb|1359x1359px|Here you add all the lights you want as standard equipment, Just copy the '''"Set visibility"''' node and connect it to the Light references. | ||
[[File:Interface Materials.png|none|thumb|1362x1362px| | |||
[[File:Interface Wheels.png|none|thumb|1360x1360px| | All lights are just '''static meshes''' with a super bright material and a '''Spotlight''' that you make visible when turning on the light]] | ||
[[File:Interface Tracks.png|none|thumb|1364x1364px| | [[File:Interface Materials.png|none|thumb|1362x1362px|Here you add all the material refrences you want to be "Dynamic", that means have the ablity to paint, wear and get dirty, Just drag in your mesh ref, Connect it, set your Material Element index and the Paint index]] | ||
[[File:Interface Wheels.png|none|thumb|1360x1360px|For each wheel there need to be a "WheelComp" with its 4 children (Move the WheelComp and NOT the Children) Add/Delete those as you want and then just connect the refs, you can have 8 wheels on each side of the vehicle ]] | |||
[[File:Interface Tracks.png|none|thumb|1364x1364px|Edit the splines to fit your need and Swap to your Trackmesh (one trackpad) Then you can edit the amount of trackpads and the Speed if thats needs any tweaking, You can have 4 tracks in total]] | |||
[[File:Interface Collisions.png|none|thumb|1355x1355px| | [[File:Interface Collisions.png|none|thumb|1355x1355px|Add or remove collsions as you need and drag in and connect the refs, '''Collsions and the COLREFs needs to have the location''' '''and rotation''']] | ||
[[File:Interface Loadhydraulics.png|none|thumb|1378x1378px| | [[File:Interface Loadhydraulics.png|none|thumb|1378x1378px|Here you just enter the '''Hydraulic limits''' for each axis, you only need to edit the ones your using in the "'''Event Graph'''" and '''Diesel Max Capacity''' and '''Steering Max Angle''']] | ||
[[File:Interface BaseVehicle.png|none|thumb|1381x1381px| | [[File:Interface BaseVehicle.png|none|thumb|1381x1381px|Here you add in all the other Refs, Remember to edit the '''Transmission''' Array and the '''Dirt Max Capacity''' if its a Dirt moving thing]] | ||
=== Vehicle Addon === | === Vehicle Addon === | ||
Coming soon | |||
=== Vehicle Attachment === | === Vehicle Attachment === | ||
Coming soon | |||
== Exporting & Uploading == | == Exporting & Uploading == |
Revision as of 20:47, 5 November 2021
Welcome to modding for Bergsbruk! our goal has been to make this as easy as possible to add your own stuff, but remember you can only make stuff you legaly have ALL rights to (And you cant sell mods). Good Luck!
Software
Required Software:
- Unreal Engine 4.27 Free to use with a creators license Link:https://www.unrealengine.com/en-US/eulacheck/creators
- Blender Free to use 3D modeling software Link: https://www.blender.org/download/
- Example Project Needed as a base for the mods Link: https://drive.google.com/file/d/1Yy_L_WdwqxzAxYoRbHfHny8U0FitVjGE/view?usp=sharing
Optional Software:
- Substance Painter Expensive texturing software Link: https://store.steampowered.com/app/1454900/Substance_3D_Painter_2021
Modeling
Modeling for Bergsbruk is the same as for most games, with 2k-400k polys is recommended as anything above 400K gets tough for lowend users.
Mods in Bergsbruk are "encrypted" (not open to edit like FS) that way only the person with the mod project files can make edits, that also makes most bought models "legal" to use.
Any 3D software that support FBX export can be used but we recommend Blender.
There are 2 Types of Meshes we use,
Static Meshes: Solid objects like Wheels, trackpads, Building objects lights etc, These do not need Rigging.
Skeletal Meshes: Moving objects like a vehicle with a Crane/Arm, or a tilting bucket etc, These need Rigging to work,
Vehicles are imported to Unreal without Wheels and Tracks, You only need to import one wheel (if all wheels are identical) or one Trackpad
Fillplanes & Cut Edge
All dirt moving Machinery/Attachements need 8 Fillplanes that range from 0 to 100% full and a Dirt Cut Edge that looks like the one in the pic but match the bucket or blade.
Dumpers & Trucks and other stuff that transport dirt only need 8 Fillplanes that range from 0 to 100% full
Loaders & Excavators that only have attachers do not need Fillplanes or the Dirt Cut Edge
Rigging
Exporting
This is pretty simple, Export as Fbx to your texturing software, Bada bing bada booom almost done!
Texturing
Texturing for Bergsbruk is pretty simple, The UV mapping is the same boring thing it always been.
On the diffuse texture you only Paint Red for Wear, Green for Snow, Blue for Dirt, The machine/assets colour is in a diffrent place later on.
The diffuse needs to have a Solid Black background behind the Red Green Blue.
The Normal map and AO are made just like in any other game,
You can NOT use any Roughness or Metallic as this changes with Wear/Snow/Dirt
You can add wear to plastic and other stuff aswell, its editable later what the wear shows.
Do not use any textures over 2048x2048 as this will cause issues,
Importing to Unreal
Static Mesh
Need something here
Skeletal Mesh (Rigged)
Here aswell
Creating the Mod
Open the BergsbrukModding project
Find the Template or Example object closest to the thing you want to add (we will add those as we go along)
Duplicate that object and name it something like "MyModteam_BrandedDozer_Model666"
Otherwise the game might get a bit annoyed finding 7 vehicles named "Dozer"
Categories
- Vehicle
- Tool
- Building
- Part
- Misc
Types
- Dozer
- Excavator
- Loader
- Semitruck
- Pickuptruck
- Grader
- Crusher
Building object
In this you can add any static mesh you can think of or build,
you can also add in any effects or stuff as children to the "Build object" but always turn off collsions and never add any Collsions
Vehicle
These are the other infaces that need editing and are vehicle specific
Vehicle Addon
Coming soon
Vehicle Attachment
Coming soon
Exporting & Uploading
Coming soon
Other Tutorials
If your new to blender we recomend watching this series to learn blender:
- Blender Beginner Tutorial - Part 1: https://www.youtube.com/watch?v=TPrnSACiTJ4
- Blender Beginner Tutorial - Part 2: https://www.youtube.com/watch?v=RaT-uG5wgUw&t=2s
- Blender Beginner Tutorial - Part 3: https://www.youtube.com/watch?v=R2qjqqfkH6E
- Blender Beginner Tutorial - Part 4: https://www.youtube.com/watch?v=jmSgsaNSQ6s
- Blender Beginner Tutorial - Part 5: https://www.youtube.com/watch?v=6OTX3ZdYvEA
- Blender Beginner Tutorial - Part 6: https://www.youtube.com/watch?v=ZTxBrjN1ugA
- Blender Beginner Tutorial - Part 7: https://www.youtube.com/watch?v=5lr8QnR5WWU
Texturing in Blender
- Blender UV Mapping Tutorial: https://www.youtube.com/watch?v=XeBUfMKKZDo
- Blender Surface Texture Painting - Part 1: https://www.youtube.com/watch?v=GxUsg4x3iz8
- Blender Surface Texture Painting - Part 2: https://www.youtube.com/watch?v=4ibLLmoh3oY
- Blender Surface Texture Painting - Part 3: https://www.youtube.com/watch?v=hEH8TsGM78o
- Blender Surface Texture Painting - Part 4: https://www.youtube.com/watch?v=XJ__9yH5IPc