Known Issues and Workarounds: Difference between revisions

From HoF2 Community Modding Wiki
Jump to navigation Jump to search
(Created page with "The Hand of Fate 2 modding tools are a work in progress and may include some bugs and rough edges. These will change over time as old issues are fixed and new ones are discove...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
The Hand of Fate 2 modding tools are a work in progress and may include some bugs and rough edges. These will change over time as old issues are fixed and new ones are discovered, so if you see something here that doesn't belong, or don't see something here that should be, make note in this page's [[Talk:Known Issues and Workarounds]] or remove/add the relevant section (when removing, please include a link to relevant release notes threads from the Steam forums in the change summary!).
The Hand of Fate 2 modding tools are a work in progress and may include some bugs and rough edges. These will change over time as old issues are fixed and new ones are discovered, so if you see something here that doesn't belong, or don't see something here that should be, make note in this page's [[Talk:Known Issues and Workarounds|Discussion tab]] or remove/add the relevant section (when removing, please include a link to relevant release notes threads from the Steam forums in the change summary!).
 


<br clear=all>
==Card Encounter Prefab Wizard Doesn't Make Encounters==
==Card Encounter Prefab Wizard Doesn't Make Encounters==
[[File:EncounterCardPrefabWizard.png|400px|thumb|right|The Encounter Card Prefab Wizard.]]
[[File:EncounterCardPrefabWizard.png|400px|thumb|right|The Encounter Card Prefab Wizard.]]
Line 14: Line 14:
To work around this, open your modding project in a file browser, and create '''Encounters/EncounterTrees''' folders in Assets/Prefabs.
To work around this, open your modding project in a file browser, and create '''Encounters/EncounterTrees''' folders in Assets/Prefabs.


 
<br clear=all>
==Variables Do Not Show In The Encounter Tab==
==Variables Do Not Show In The Encounter Tab==
[[File:Encounter prefab project browser.png|400px|thumb|right|One of an Encounter's prefabs as seen in the Unity Project Browser.]]
[[File:Encounter prefab project browser.png|400px|thumb|right|One of an Encounter's prefabs as seen in the Unity Project Browser.]]
Line 22: Line 22:
If this occurs, select the Encounter prefab under Assets/Prefabs/Encounters/ in the [[Unity Project Browser]] and look for the '''Blackboard'' property of the '''Encounter (Script)''' component in the Inspector. If this shows ''None (Blackboard)'', drag and drop the selected Encounter prefab into the '''Blackboard''' property's slot.
If this occurs, select the Encounter prefab under Assets/Prefabs/Encounters/ in the [[Unity Project Browser]] and look for the '''Blackboard'' property of the '''Encounter (Script)''' component in the Inspector. If this shows ''None (Blackboard)'', drag and drop the selected Encounter prefab into the '''Blackboard''' property's slot.


<br clear=all>
==Text Fields In Dropdowns Don't Respond To Keyboard Input On Linux==
[[File:Dropdown text field.png|400px|thumb|right|A text field in a dropdown.]]
On Linux, text fields in dropdowns can not be typed into. To work around this, type the text elsewhere, copy it and then right click in the text field and select Paste.


[[Category:Howto guides]]
[[Category:Howto]]

Latest revision as of 07:15, 17 September 2018

The Hand of Fate 2 modding tools are a work in progress and may include some bugs and rough edges. These will change over time as old issues are fixed and new ones are discovered, so if you see something here that doesn't belong, or don't see something here that should be, make note in this page's Discussion tab or remove/add the relevant section (when removing, please include a link to relevant release notes threads from the Steam forums in the change summary!).


Card Encounter Prefab Wizard Doesn't Make Encounters

The Encounter Card Prefab Wizard.

With a fresh SDK, the Encounter Card Prefab Wizard will not create new encounters, and will result in the following exception.

Parent directory must exist before creating asset at Assets/Prefabs/Encounters/EncounterTrees/EncounterTree_NewEncounter.asset.
UnityEditor.AssetDatabase:CreateAsset(Object, String)
Defiant.Modding.ParadoxNotion.Design.EditorUtils:CreateAsset(Type, String)
Defiant.Modding.EncounterCardPrefabWizard:OnCreate(SerializedObject)
...

To work around this, open your modding project in a file browser, and create Encounters/EncounterTrees folders in Assets/Prefabs.


Variables Do Not Show In The Encounter Tab

One of an Encounter's prefabs as seen in the Unity Project Browser.
An Encounter's prefab in the Unity Inspector showing an empty Blackboard property .

Local Blackboards may not be set up correctly on newly created Encounters, causing the Encounter Tab's Variables list to not display.

If this occurs, select the Encounter prefab under Assets/Prefabs/Encounters/ in the Unity Project Browser and look for the Blackboard property of the Encounter (Script)' component in the Inspector. If this shows None (Blackboard), drag and drop the selected Encounter prefab into the Blackboard property's slot.


Text Fields In Dropdowns Don't Respond To Keyboard Input On Linux

A text field in a dropdown.

On Linux, text fields in dropdowns can not be typed into. To work around this, type the text elsewhere, copy it and then right click in the text field and select Paste.