-
Notifications
You must be signed in to change notification settings - Fork 0
How to make Unit changes correctly (Inheritance)
If you want to make changes to a unit's gear, name or any other setting you have two options Both are solid options but have different impact.
If you duplicate to "GlobaclConflictsMissions" This makes a local copy of the prefab. Any updates made to the original prefab in GlobalConflictsUnits will not be updated on your duplicated version.
Please move it so it's under "GlobalConflictsMissions/worlds/[YourName]/[MissionName]"
This is great if you want to have 100% control, but it also means that if something breaks and the dev of the unit fixes the problem. Only missions that use Inherit will be fixed. You will be required to update your mission.
If the Inherit option is not available, see the guide below to add it.
If you Inherit, a "reference" is created that you can have local. It will only contain the changes that you make to the unit. This means that if a change is made to the prefab in GlobalConflictsUnits, your local Prefab will also inherit that change. This is great when you just want to make small changes and is the recommended way to work.
Please move it so it's under "GlobalConflictsMissions/worlds/[YourName]/[MissionName]/Prefabs/Groups or Characters" If it's a change you want to use in multiple missions, feel free to add a Prefab folder under /[YourName]/ for easier organisation
You can only Inherit from modpacks where you have the "soruce files" locally.
-
Fork https://github.com/Global-Conflicts-ArmA/gc-reforger-units/fork to your local Github account.
-
Clone the repository to your computer

- Open Reforger Tools, in the launcher click "Add project" and "Add Exsting Project"

- Navigate to the addon.gproj file where you cloned the github repository to.

- Add "Global Conflicts Units" to the "Global Conflicts Missions" project by right clicking on "Global Conflicts Missions" and selecting "Open with Addons"
6. Tick "Global Conflicts Missions", there will be two options. If you mouse over them, they will show the location on your drive. Tick the you cloned.

- Now open the "Global Conflicts Missions" project, and it the "Inherit" should now be avaible for prefabs in the "Global Conflicts Units" list

Global Conflicts maintain a list of Unit compositions in https://github.com/Global-Conflicts-ArmA/gc-reforger-units.