Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Sun Jun 08, 2003 7:38 pm   

Graphics
 
I found this and want to use it. I entered it all in already and have the buttons. I download the appropirate graphics and such but I am not sure where I put them so I see them on this. Can anyone help?

--------------------------------------------------------------------------------------

#BUTTON 4 {} {} {} {} {} {} {stand.bmp} {Size} {29} {32} {Pos} {1} {1} {} {} {} {} "" {Inset|Top} {} {position}
#BUTTON 5 {} {} {} {} {} {} {blank.bmp} {Size} {29} {32} {Pos} {1} {30} {} {} {} {} "" {Inset|Top} {} {hidden}
#BUTTON 6 {} {} {} {} {} {} {blank.bmp} {Size} {29} {32} {Pos} {1} {59} {} {} {} {} "" {Inset|Top} {} {bleeder}
#BUTTON 7 {} {} {} {} {} {} {blank.bmp} {Size} {29} {32} {Pos} {1} {117} {} {} {} {} "" {Inset|Top} {} {stunned}
#BUTTON 8 {} {} {} {} {} {} {blank.bmp} {Size} {29} {32} {Pos} {1} {88} {} {} {} {} "" {Inset|Top} {} {joined}
#BUTTON 9 {} {} {} {} {} {} {blank.bmp} {Size} {29} {32} {Pos} {1} {146} {} {} {} {} "" {Inset|Top} {} {webbed}
#BUTTON 10 {} {} {} {} {} {} {blank.bmp} {Size} {29} {32} {Pos} {1} {175} {} {} {} {} "" {Inset|Top} {} {dead}
#BUTTON 11 {} {} {} {} {} {} {blank.bmp} {Size} {29} {32} {Pos} {1} {204} {} {} {} {} "" {Inset|Top} {} {unconscious}


#TRIGGER "postures" {P} {
pos = %gsl( P)
#IF @pos=@cpos {#ABORT 1}
#IF (%pos( N, @pos)>0 AND %pos( D, @pos)>0) {#NOOP %btnimage( hidden, "invhide.bmp")} {#IF %pos( D, @pos)>0) {#NOOP %btnimage( hidden, "inv.bmp")} {#IF (%pos( N, @pos)>0) {
#NOOP %btnimage( hidden, "hidden.bmp")
} {
#NOOP %btnimage( hidden, "blank.bmp")
}}}
#IF (%pos( P, @pos)>0) {
#NOOP %btnimage( joined, "join.bmp")
} {#NOOP %btnimage( joined, "blank.bmp")}
#IF (%pos( M, @pos)>0) {#NOOP %btnimage( unconscious, "unc.bmp")} {#NOOP %btnimage( unconscious, "blank.bmp")}
#IF (%pos( I, @pos)>0) {
#NOOP %btnimage( stunned, "stun.bmp")
} {#NOOP %btnimage( stunned, "blank.bmp")}
#IF (%pos( C, @pos)>0) {
#NOOP %btnimage( webbed, "web.bmp")
} {#NOOP %btnimage( webbed, "blank.bmp")}
#IF (%pos( B, @pos)>0) {#NOOP %btnimage( dead, "dead.bmp")} {#NOOP %btnimage( dead, "blank.bmp")}
#IF (%pos( GH, @pos)>0) {
#NOOP %btnimage( position, "kneel.bmp")
} {
#IF (%pos( G, @pos)>0) {
#NOOP %btnimage( position, "lie.bmp")
} {
#IF (%pos( H, @pos)>0) {
#NOOP %btnimage( position, "sit.bmp")
} {#NOOP %btnimage( position, "stand.bmp")}
}
}
#IF (%pos( O, @pos)>0) {
#NOOP %btnimage( bleeder, "bleed.bmp")
} {#NOOP %btnimage( bleeder, "blank.bmp")}
cpos=@pos
} "" {gsl}


***EDIT**

Updated the postures trigger to include two new invisible images, one for when you are just invisible and another for when you are hidden and invisible. The images use the same button as the hidden image. Thanks to geniusclown for pointing out that these were missing and supplying the images. Also if someone could host these images that would be great.

***EDIT**

What this trigger does is check the P value for valid values with the %pos function. If it finds it, it displays the corresponding graphic, if it doesn't it displays the blank graphic. You can get rid of blank.bmp and just have no picture.
----------------------------------------------------------------------------------------
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jun 08, 2003 11:04 pm   
 
You can put the button graphics in either the main ZMud directory (I think) or your specific MUD character directory.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net