Hey guys I went ahead and made a few custom actions that I find useful in my game so I figure I'd share with the rest of the community.
Description: Selects a random text from a simple XML file that is attached to the action. I gutted the ActionSpeech file that Chris wrote for AC and used it as a basis to get this this working.
The action opens a XML file, counts the number of <Speech></Speech> nodes in the file , then selects one at random and sends the enclosed text to AC narration/speech engine.
Also includes two super simple scripts for stopping and starting the dialog scrolling effect as showcased in the video.
Files Included:
- gkActionRandomThoughts.cs
- ExampleXmlFile.xml
Additional
- gkActionScrollingStop.cs
- gkActionScrollingStart.cs
To Install just drop into your AC/Scripts/Actions/ folder and refresh the actions manager. Afterwards you will be able to select these guys from your Customs/Actions.
Enjoy and happy creating!
Comments