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: alien_eggman@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: <111f5200.0308031051.14577ecd@posting.google.com> References: <7M2Xa.57676$o27.1297156@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: groups-abuse@google.com NNTP-Posting-Date: 3 Aug 2003 18:51:38 GMT Xref: archiver1.google.com alt.ascii-art:24487 "Lyrael" wrote in message news:<7M2Xa.57676$o27.1297156@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 > LoLDLyrael@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 /|\ / \