Laserbrain Studios

Games Forum Blog Contact

Author Topic: ANSI Coding  (Read 3733 times)

Admyral

  • Newbie
  • *
  • Posts: 28
    • View Profile
ANSI Coding
« on: March 20, 2009, 06:11:19 PM »
Hey Christian, is there any way to embed ANSI codes into the Character Dialog sections in the quest scripting engine?  To change the text colors for example...
Code: [Select]
      \\|/
      --*--  _
       /|\\.-\' \'-.
   (W)(E)(L)(C)(O)(M)(E)
 _.-\'   to Fabulous   \'-._
(_   L A S   V E G A S   _)
  \'-._               _.-\'
      \'-._NEVADA _.-\'
          \'-._.-\'

Christian Knudsen

  • Administrator
  • Ace
  • *****
  • Posts: 3014
    • View Profile
Re: ANSI Coding
« Reply #1 on: March 20, 2009, 09:20:27 PM »
Currently, no. I don't know if I'll add that, as the color is based on the color of the character talking.

Admyral

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: ANSI Coding
« Reply #2 on: March 20, 2009, 09:24:42 PM »
Cool, thanks.  I am building some dialog that has "character pictures" in ascii art, but they look fine monochromatic, too.
Code: [Select]
      \\|/
      --*--  _
       /|\\.-\' \'-.
   (W)(E)(L)(C)(O)(M)(E)
 _.-\'   to Fabulous   \'-._
(_   L A S   V E G A S   _)
  \'-._               _.-\'
      \'-._NEVADA _.-\'
          \'-._.-\'

Christian Knudsen

  • Administrator
  • Ace
  • *****
  • Posts: 3014
    • View Profile
Re: ANSI Coding
« Reply #3 on: March 20, 2009, 10:10:39 PM »
Hey, that sounds pretty cool! Looking forward to it! :)

I'll be adding proper ASCII art support for quests at some point (probably for version 0.5.x or 0.6.x), so you'll be able to make cut-scenes with color ASCII art.

X Leviathan X

  • Veteran
  • *****
  • Posts: 280
    • View Profile
Re: ANSI Coding
« Reply #4 on: April 06, 2009, 02:49:59 AM »
I would love to make use of that, I'm sure I can put it into good use sometime in the future.   :)

mr0t

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: ANSI Coding
« Reply #5 on: October 12, 2011, 06:41:29 PM »
I recently played on a MUSH that uses FANSI, and in using the editor (ansiart.com/draw) was struck by a similarity to the ASCII Sector quest editor. They have differences in their character sets for sure but, it made me wonder if it'd be possible to adapt FANSI to the format used by AS, as well as if it'd be possible to use the AS char set in quests differently, like for instance, could give major characters portraits.. I was certainly impressed with the wide variety of pictures done in a similar manner as those in AS, in any case.
-mr0t