NPCs should also be able to display images #5178
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#5178
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Instead of long texts only, it should also be possible to display images between the lines. These images must be uploaded to the server in advance and integrated from there. Images from external servers should not be included. In order for the integration to be as easy as possible, a uniform size, e.g. 512x512, the PNG form and the possibility to use transparency are sufficient.
This would increase the possibilities of the NPCs enormously, and quests in particular could be made more exciting.
many 512x512 images -> lot of data to download when connecting -> slow logins
They already can. What the NPC show (provided the client is sufficiently up to date) is hypertext. Search for "Markup Language" in MT's doc/lua_api.md
Example:
Only if someone is talking to a NPC. Nothing to do with data download when connecting, no slow login.
Nope sixer is correct all assets(textures/sounds/models) for the server are downloaded on login if they are prepared in advance.
Only exceptions are dynamic media which are generated and downloaded while the server is running.
Ok, then let's just take it this way. ;)
Wish 512x512, get 256x256...
Soko's hint was worth its weight in gold, because you can really already include pictures of items. This means that many great things are already feasible and I am surprised that this has hardly been used or not used at all so far.
So my need for ADDITIONAL pictures is probably not so great anymore. However, there should be a standardized way to upload required images, as is already possible with skins.
That's indeed a good usage and could help a lot with the language barrier and make some things easier. Looks very good!
As to the images...they still need to be downloaded at startup, same as skins. It might be necessary to negotiate with Alias for each one.
what happened here? it's been closed without a comment? i assume it is fixed?
This was closed because NPCs can already display textures existing on the client via
<img>
tag.If we want to use
minetest.dynamic_add_media
to load additional textures specific to the NPC, then we should reopen this (or, I guess, create a new issue requesting that + ability for players to submit images for quests).