Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 3 Aug 2003.
Re: [req] Variety of static fireworks

Re: [req] Variety of static fireworks

"Lyrael" <LoL...@wi.rr.com> wrote in message news:<7M2Xa.57676$o27...@twister.rdc-kc.rr.com>...
> Hi all,
> 
> I'm a builder on a text based game (MUD) and I need some ascii fireworks.
> The MUD doesn't support animations (escape/control codes) for security
> issues. So I'm hoping to use some internal stuff to essentially send an
> ascii file with color line by line to the player. (Hope this is clear). I'm
> looking for a small variety of anything that would resemble the static
> picture of a firework going of/after lit.
> 
> I did a search for this sort of thing on the net, but was only able to find
> broken links or links to animations w/i pages that for some reason or other
> didn't display the animation or offer a download file. :)
> 
> Hope this request isn't too pesty.  Will be, of course, sure to include
> whatever tagline/initials you'd like to give credit for the art where its
> due. Thanks so much in advance for reading.
> 
> Lyrael on LoLD
> LoL...@wi.rr.com


I dunno what MUD you have, but I'm running a RoT 2.4 with a few
patches & other updates.
I don't have any ASCII Fireworks so I can't give ya any...& I'm not
sure if I'm understanding how your gunna do it...but if ya need a hand
I do have CARTWHEEL which, if modified slightly should give you
something similar to what ya want....so I hope it helps ;)

In act_move.c add

void do_cartwheel( CHAR_DATA *ch, char *argument )
{
    CHAR_DATA *vic;

static const char *cartwheel=
"
  o
 /|\\ 
 / \\\x1f"CP_CLS"
     \\ o /
       |
      / \\\x1f"CP_CLS"
            _ o
             /\\ 
            | \\\x1f"CP_CLS"

                  ___\\o
                 /)  |\x1f"CP_CLS"
                        __|
                          \\o
                          ( \\\x1f"CP_CLS"
                               \\ /
                                |
                               /o\\\x1f"CP_CLS"
                                       |__
                                     o/
                                    / )\x1f"CP_CLS"

                                           o/__
                                           |  (\\\x1f"CP_CLS"
                                                  o _
                                                  /\\ 
                                                  / |\x1f"CP_CLS"
                                                       \\ o /
                                                         |
                                                        /
\\\x1f"CP_CLS"
                                                               o
                                                              /|\\ 
                                                              /
\\\x1f";

    for ( vic = ch->in_room->people; vic; vic = vic->next_in_room )
    {
	page_to_char( cartwheel, vic );
    }
}

in interp.c add:
{ "cartwheel",	do_cartwheel,	POS_STANDING,	 0, LOG_NORMAL, CMD_ACT },

In social.are add:
cartwheel
{X o   \ o /  _ o         __|    \ /     |__        o _  \ o /   o
{X/|\    |     /\   ___\o   \o    |    o/    o/__   /\     |    /|\  
{X/ \   / \   | \  /)  |    ( \  /o\  / )    |  (\  / |   / \   / \
{X o   \ o /  _ o         __|    \ /     |__        o _  \ o /   o
{X/|\    |     /\   ___\o   \o    |    o/    o/__   /\     |    /|\  
{X/ \   / \   | \  /)  |    ( \  /o\  / )    |  (\  / |   / \   / \
(null)
(null)
(null)
(null)
(null)
(null)

PLEASE NOTE: In colour.c {X is a carrage return...I think it's
modified from stock.
under "const struct COLOUR_TYPE colour_def[]	=" add
    {	"return",	'X',	CH_SPECIAL	,&RETURN},




There might be more too it then that, but it should at least get ya
started...
the code is for a CARTWHEEL, but you would easily convert it with
other images.

the code that causes the cartwheel to "change" does not work in ALL
clients (like GMud) but is REALLY cool in the ones that it does work
with.

CP_CLS is a DO_CLEAR feature...I dunno if it's in stock either, but it
goes in act_info.c

void do_clear( CHAR_DATA *ch, char *argument )
{
    send_to_char(  CP_CLS, ch ) ;
    return;
}

If I'm missing anything, feel free to lemme know...

The end result will be a cartwheel:

  o
 /|\ 
 / \
     \ o /
       |
      / \
            _ o
             /\ 
            | \

                  ___\o
                 /)  |
                        __|
                          \o
                          ( \
                               \ /
                                |
                               /o\
                                       |__
                                     o/
                                    / )

                                           o/__
                                           |  (\
                                                  o _
                                                  /\ 
                                                  / |
                                                       \ o /
                                                         |
                                                        / \
                                                               o
                                                              /|\ 
                                                              / \

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,8c38cba746a31a18
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 2003-08-03 11:51:38 PST
Path: archiver1.google.com!postnews1.google.com!not-for-mail
From: ali...@yahoo.com (Alien Eggman)
Newsgroups: alt.ascii-art
Subject: Re: [req] Variety of static fireworks
Date: 3 Aug 2003 11:51:37 -0700
Organization: http://groups.google.com/
Lines: 160
Message-ID: <111...@posting.google.com>
References: <7M2Xa.57676$o27...@twister.rdc-kc.rr.com>
NNTP-Posting-Host: 65.217.105.134
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1059936698 15962 127.0.0.1 (3 Aug 2003 18:51:38 GMT)
X-Complaints-To: gro...@google.com
NNTP-Posting-Date: 3 Aug 2003 18:51:38 GMT
Xref: archiver1.google.com alt.ascii-art:24487
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2003 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post