Hi,
Intrigues is an amazing asset, it truly is.
I do have a couple of questions though since i'm a complete unity newbie.
- How can I add a tutorial just like in the demo? (I assume I should create an empty and add a script that invokes a dialog. Any chance you could share the code to invoke a specific dialog?)
- Are policies only manageable thought scripting ("Ep.11.5 - Intrigues | Coffe Break 2") ?
- I noticed the "Age Check" function that forbids one to marry someone with a 7 years age difference. Where can I change the 7 value?
Thank you.
A couple of questions
Re: A couple of questions
Greetings! Thank you for expressing your appreciation for Intrigues! Your message has truly uplifted my spirits.
Now, let's address your queries one by one, ensuring clarity and accuracy in our responses:
Now, let's address your queries one by one, ensuring clarity and accuracy in our responses:
- Creating tutorial narratives with Intrigues is a straightforward process.
Allow me to guide you through setting up a sample tutorial flow:
Next, we'll initiate the scheme we've created with the following script:Click to see the image
Code: Select all
using Nullframes.Intrigues; using UnityEngine; public class Start_Tutorial : MonoBehaviour { void Start() { IM.Player.StartScheme("Tutorial"); } }
- Regarding policies, their effects are entirely user-driven. (In the Advanced AI extension, policies will influence AI behaviors.)
To assist you further, I've provided some helpful links below:
Nodes
Scripting
Events
- As for the 'Love' scheme in the demo, we've included a condition involving a 7-year age difference. Here's how it's implemented
First, create a method named 'AgeCheck' that returns 'IResult'. Then, add [IInvokeAttribute] to the method. (You can find this in the 'Demo_Methods' script in the demo scene.)
CodeClick to see the image
Subsequently, navigate to the 'Rules' tab, access the 'Love Rule' flow, and call the method using the 'Invoke Node'.Code: Select all
[IInvoke("Age Check")] private IResult AgeCheck(Actor conspirator, Actor target) { if (conspirator == null || target == null) return IResult.Null; // Checks the age difference. Returns False if the difference is greater than 7. if (Math.Abs(conspirator.Age - target.Age) > 7) { return IResult.False; } return IResult.True; }
This approach allows you to access custom methods for more detailed queries.Click to see the image
For further guidance, I've provided some additional links:
I hope this explanation proves beneficial.
Following the 1.0.5 update, I plan to take a brief hiatus from the update series to extensively revise the documentation (wiki) for improved clarity and readability, alongside the incorporation of new documents. Additionally, a change in theme (departing from MediaWiki) is in the works.
Furthermore, expect the release of numerous new tutorial videos covering a wide range of topics, catering to all skill levels.
Your patience is greatly appreciated, and I remain committed to ensuring your seamless learning and utilization of Intrigues.
Re: A couple of questions
Thank you so much!
Just added a 5 stars review because it is so worth it, and because you provided an amazing support.
Thank you!
Just added a 5 stars review because it is so worth it, and because you provided an amazing support.
Thank you!
Re: A couple of questions
You're welcome! I'm glad I could assist you. Your feedback and support mean a lot to us. If you have any more questions or need further assistance, feel free to ask.