-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from CWolfs/develop
v0.5.0
- Loading branch information
Showing
22 changed files
with
467 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
cp -r 'mod.json' 'D:/Program Files (x86)/Steam/steamapps/common/BATTLETECH/Mods/ExtendedConversations' | ||
cp -r 'src/bin/Debug/net471/ExtendedConversations.dll' 'D:/Program Files (x86)/Steam/steamapps/common/BATTLETECH/Mods/ExtendedConversations' | ||
cp -r 'src/bin/Debug/net471/ExtendedConversations.pdb' 'D:/Program Files (x86)/Steam/steamapps/common/BATTLETECH/Mods/ExtendedConversations' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"key": "Set BattleTech Camera Hard Lock", | ||
"label": "Hard lock the camera to", | ||
"view": ["label", "inputs"], | ||
"scope": "action", | ||
"category": "primary", | ||
"tooltip": "This will ensure only the set lock target is shown. Mainly useful for 1-on-1 conversations and having the non-main character talk but the camera stay focused on the main character.", | ||
"inputs": [ | ||
{ | ||
"label": "Key", | ||
"types": ["string"], | ||
"values": [ | ||
{ "text": "AUTO", "value": "AUTO" }, | ||
{ "text": "Alexander", "value": "ALEXANDER" }, | ||
{ "text": "Darius", "value": "DARIUS" }, | ||
{ "text": "Farah", "value": "FARAH" }, | ||
{ "text": "Kamea", "value": "KAMEA" }, | ||
{ "text": "Sumire", "value": "SUMIRE" }, | ||
{ "text": "Yang", "value": "YANG" }, | ||
{ "text": "Monitor", "value": "MONITOR" }, | ||
{ "text": "Navscreen", "value": "NAVSCREEN" }, | ||
{ "text": "Default", "value": "DEFAULT" }, | ||
{ "text": "Contracts", "value": "CONTRACTS" }, | ||
{ "text": "Mechwarriors", "value": "MECHWARRIORS" }, | ||
{ "text": "Memorial", "value": "MEMORIAL" }, | ||
{ "text": "Argo Upgrade", "value": "ARGOUPGRADE" }, | ||
{ "text": "Mechlab", "value": "MECHLAB" }, | ||
{ "text": "Breakdown", "value": "BREAKDOWN" }, | ||
{ "text": "Commander", "value": "COMMANDER" }, | ||
{ "text": "Hologram", "value": "HOLOGRAM" }, | ||
{ "text": "Heraldry", "value": "HERALDRY" } | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"key": "Sideload Conversation", | ||
"label": "Sideload conversation", | ||
"view": ["label", "inputs"], | ||
"scope": "action", | ||
"category": "primary", | ||
"tooltip": "This will sideload a conversation into an already running conversation. Useful for having a top level conversation that loads others based on high level conditions. Important: Its recommeneded you set this action on Responses. If you set on a Prompt node then the following Response might not evaluate its condition but it will work for sideloading.", | ||
"inputs": [ | ||
{ | ||
"label": "Conversation Id", | ||
"types": ["string"], | ||
"viewLabel": "for conversation id {value}" | ||
}, | ||
{ | ||
"label": "Entry Node Id", | ||
"types": ["string"], | ||
"tooltip": "The Prompt / Response node to sideload directly into the conversation on. If left blank then it will enter the conversation like normal (and evalute all conditions on root nodes).", | ||
"viewLabel": "and enter at node id {value}" | ||
}, | ||
{ | ||
"label": "Resume host after sideload finished", | ||
"types": ["int"], | ||
"tooltip": "This setting can allow the conversation to resume from this point after the sideloaded conversation has finished.", | ||
"values": [ | ||
{ "viewlabel": "", "text": "False", "value": 0 }, | ||
{ "viewlabel": "and resume the host conversation on finish", "text": "True", "value": 1 } | ||
], | ||
"defaultValue": 1 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
"value": 1 | ||
} | ||
], | ||
"defaultValue": 1 | ||
"defaultValue": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/Patches/Actions/General/SimGameConversationManagerDoLinkActionsPatch.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Harmony; | ||
|
||
using BattleTech; | ||
|
||
using isogame; | ||
|
||
using ExtendedConversations.Core; | ||
|
||
namespace ExtendedConversations { | ||
[HarmonyPatch(typeof(SimGameConversationManager), "DoLinkActions")] | ||
public class SimGameConversationManagerDoLinkActionsPatch { | ||
static void Prefix(SimGameConversationManager __instance) { | ||
Actions.IsLinkAction = true; | ||
Actions.IsNodeAction = false; | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/Patches/Actions/General/SimGameConversationManagerDoNodeActionsPatch.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using Harmony; | ||
|
||
using BattleTech; | ||
|
||
using ExtendedConversations.Core; | ||
|
||
namespace ExtendedConversations { | ||
[HarmonyPatch(typeof(SimGameConversationManager), "DoNodeActions")] | ||
public class SimGameConversationManagerDoNodeActionsPatch { | ||
static void Prefix(SimGameConversationManager __instance) { | ||
Actions.IsLinkAction = false; | ||
Actions.IsNodeAction = true; | ||
} | ||
} | ||
} |
Oops, something went wrong.