/farming-simulator-map-importer

This project was created as part of an internship for CNH Industrial. By using the Unity Engine, a tool was developed that could automate the importing process of a Farming Simulator map into a HDRP Unity Project.

Primary LanguageC#MIT LicenseMIT

farming-simulator-map-importer

MIT License Stars
Unity C# Visual Studio



Farming Simulator Map Importer

This project was created as part of an internship for CNH Industrial. By using the Unity Engine, a tool was developed that could automate the importing process of a Farming Simulator map into a HDRP Unity Project.

Features

  • Unity's Editor GUI classes are used to design the complete tool's UI.
  • The tool's main feature correctly assigning textures from the game's directory to the scene's empty meshes extracted using GIANTS Editor, the game's modding software.
  • Two shaders were developed using ShaderGraph:
    1. FS_Lit handles the textures from the game and correctly applies them to the object.
    2. FS_terrain creates a complete texture from a set of masks and tiles that is later applied to the terrain.
  • Farming Simulator's trees are not compatible with Unity. This problem was handled by creating personal prefabs of different types of trees and then substituting the corrupted trees with the new models, while paying attention to their species.
  • It can be used to import both official and modded maps or assets

UI

Results

Usage

As of now, i'll not be showcasing how to use the Unity Tool. This repo is beign utilized as an archive for the project.
In the future, however, i could create a short video or document detailing the whole process.