Adding a Structure Variant
Jump to navigation
Jump to search
Original Guide by JasonFJ - Forum Post
Contents
- 1 COPY REQUIRED BLUEPRINTS TO YOUR MODS FOLDER
- 2 REFERENCE YOUR NEW ITEM TO PRIMALGAMEDATA
- 3 CUSTOMIZE YOUR ENGRAM REQUIREMENTS and Reference the Structure
- 4 CUSTOMIZE YOUR STRUCTURE and Reference the in-game Actor
- 5 CUSTOMIZE YOUR OBJECT
- 6 CUSTOMIZE INVENTORY (optional, only if the structure has an inventory)
COPY REQUIRED BLUEPRINTS TO YOUR MODS FOLDER
- Copy the blueprint you want to make a variant of to your Mods folder, e.g. PrimalEarth/CoreBlueprints/Items/Structures/Misc/PrimalItemStructure_StandingTorch. You do this by left-click dragging the blueprint to your Mod folder and choosing Copy.
- Rename it to PrimalItemStructure_MyStandingTorch. Compile and save.
- Copy the actual structure to your Mods folder, e.g. PrimalEarth/Structures/StandingTorch.
- Rename it to MyStandingTorch. Compile and save.
- Copy the structures inventory (if it has an inventory) to your Mods folder, e.g. PrimalEarth/CoreBlueprints/Inventories/PrimalInventoryBP_StandingTorch
- Rename it to PrimalInventoryBP_MyStandingTorch. Compile and save.
- Copy the engram which will unlock this to your Mods folder. e.g. PrimalEarth/CoreBlueprints/Engrams/EngramEntry_StandingTorch
- Rename it to EngramEntry_MyStandingTorch
REFERENCE YOUR NEW ITEM TO PRIMALGAMEDATA
- Edit PrimalGama data
- Expand Additional Engram Blueprint Classes, click +, and add EngramEntry_MyStandingTorch.
- Expand Additional Structures to Place, click +, and add your MyStandingTorch
- Compile and save.
CUSTOMIZE YOUR ENGRAM REQUIREMENTS and Reference the Structure
- Edit EngramEntry_MyStandingTorch
- Change Blue Print Entry to PrimalItemStructure_MyStandingTorch
- Compile and save.
CUSTOMIZE YOUR STRUCTURE and Reference the in-game Actor
- Edit PrimalItemStructure_MyStanding Torch
- Locate Descriptive Name Base and call it "My Standing Torch Ingame Name"
- Locate Structure to Build, change it to MyStandingTorch
- Compile and save.
CUSTOMIZE YOUR OBJECT
- Edit MyStandingTorch
- (optional, only if structure burns fuel)
- Locate Active Requires Fuel Items, and add any fuel items that may be accepted.
- Locate Fuel Items Consume Internval, and add the interval. Interval depends on day cycle length.
- Locate Fuel Items Consumed Give Items, and add None or whatever residual item is left behind once burning is done.
- Locate Structure->Consumes Primal Item, and change it to PrimalItemStructure_MyStandingTorch
- Locate Targetable->Descriptive Name and change it to "My Standing Torch Targetable Name"
CUSTOMIZE INVENTORY (optional, only if the structure has an inventory)
- Whilst still editting MyStandingTorch...
- In the top right of the window, where it says "Defaults > Components > Graph"... click on "Components"
- Right-click delete PrimalInventoryBP_StandingTorch
- Click Add Component, and choose PrimalInventoryBP_MyStandingTorch
- Compile and save.
- Edit PrimalInventoryBP_MyStandingTorch
- Locate Remote Inventory Description String and change it to "Inventory info for players".
- Locate Remote Add Item Only Allow Item Classes, and add/remove allow items to place in the inventory. MUST match items in 5.2.1 if fuel burning.
- Locate Inventory Name Override, and change it to "Override Ingame Inventory Name"
- Compile and save.