Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Need help!  (Read 658 times)

Torknick

  • Bay Watcher
    • View Profile
Need help!
« on: February 22, 2013, 10:01:30 pm »

How do I display text if someone uses an interaction?
For instance if I make a interaction that shoots a fireball how do I make it so that it displays "fireball powers activate!" on the screen?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Need help!
« Reply #1 on: February 23, 2013, 12:01:32 pm »

[CDI:VERBAL_SPEECH:file.txt]

That's about the best way to do it. It'll show up in combat logs surrounded by quotes. You'll have to make the txt file and populate it with the things you want them to say.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Need help!
« Reply #2 on: February 23, 2013, 03:01:03 pm »

[CDI:VERBAL_SPEECH:file.txt]

That's about the best way to do it. It'll show up in combat logs surrounded by quotes. You'll have to make the txt file and populate it with the things you want them to say.

Do you drop that speech.txt in data/speech or raw/objects?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Need help!
« Reply #3 on: February 23, 2013, 06:41:54 pm »

data/speech