Gammon Forum
Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
MUSHclient
General
Back-Background Image
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Tseris
(98 posts) bio
|
Date
| Mon 27 Dec 2010 11:42 PM (UTC) |
Message
| Ive seen threads talking about using images/colors/repeated textures not as "background" as in behind the command window text, but behind all miniwindows, but for the life of me I cant find those threads.
My question is, is it possible to use an image behind the miniwindows and have that image change based on what sector type your current room is? So for example you would have a forest image load while in a forest room, and it changes to a city image when moving into a town.
This concept of changing images based on game events is cropping up in alot of ideas Im starting to map out, such as having a miniwindow load the image of the mob you are fighting, with particle effects layered on it when you use spells and special attacks. | top |
|
Posted by
| Fiendish
USA (2,533 posts) bio
Global Moderator |
Date
| Reply #1 on Tue 28 Dec 2010 07:11 AM (UTC) |
Message
| It sounds like maybe you want a combination of SetBackgroundImage and TextRectangle, but I'm not entirely sure based on your description. |
https://github.com/fiendish/aardwolfclientpackage | top |
|
Posted by
| Nick Gammon
Australia (23,042 posts) bio
Forum Administrator |
Date
| Reply #2 on Tue 28 Dec 2010 08:29 AM (UTC) |
Message
| |
Posted by
| Tseris
(98 posts) bio
|
Date
| Reply #3 on Tue 28 Dec 2010 09:27 AM (UTC) |
Message
| I actually found the thread I was looking for, it was here:
http://www.gammon.com.au/forum/bbshowpost.php?action=subscribe&bbsubject_id=10242
and Ive made my first semi successful attempts at working with miniwindows. My question now is, is there any way to call on in-game information to change the image that is displayed? i.e. "if sector type = forest, display forest.bmp". I thought maybe the GetInfo command was what I was looking for, but looking through that list it seems it gathers different info than what I need. | top |
|
Posted by
| KaVir
Germany (117 posts) bio
|
Date
| Reply #4 on Tue 28 Dec 2010 11:35 AM (UTC) |
Message
|
Tseris said: My question now is, is there any way to call on in-game information to change the image that is displayed? i.e. "if sector type = forest, display forest.bmp".
There are various ways, such as MXP, MSDP, GMCP, etc - but they need to be supported by the mud. If your mud doesn't support any such protocols, you'll need to try and work out the sector from the room title or description.
| top |
|
Posted by
| Tseris
(98 posts) bio
|
Date
| Reply #5 on Tue 28 Dec 2010 06:43 PM (UTC) |
Message
| Im working with tbaMUD, who incidentally got me connected to your pages KaVir and the work you had done with Godwars 2, which is the whole reason I ended up looking into mushclient. Im pretty sure tbaMUD can use both MXP and MSDP, but ill check into it. I tried looking at your Godwars 2 plugins, but when it came to the MSDP sections I couldnt really make heads or tails out of it. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
19,620 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.