This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] [QUESTION] How to add a picture to a text in game  (Read 1572 times)

monoman

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 84
    • View Profile
Hi i was wondering how to add a picture to a text ingame, i have seen text with images but so far im unable to do it myself.


I have used this item as reference: 14679- Of love and Family
[attachment=0:1tchmcry]WoWScrnShot_061514_152616.jpg[/attachment:1tchmcry]

It's page text: 2351 has this code

Quote
<HTML> <BODY> <IMG src="InterfacePictures14679_Tirion_256"/> </BODY> </HTML>

I made a new image to put in the interfacepictures folder, a new page text replacing ofcourse the line with the new file name and adding the page to a new item.

So far i've only got a blank page.

If any one has an idea of how to do this  i would be deeply thankfull for any directions you could give me.
« Last Edit: January 24, 2015, 06:38:02 pm by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [QUESTION] How to add a picture to a text in game
« Reply #1 on: June 15, 2014, 10:23:08 pm »
i know only how to post BLP in chat ... thats alll
ima afraid its not helpfull ... :?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

Shelldon

  • Contributors
  • Loreweaver
  • *****
  • Posts: 92
    • View Profile
Re: [QUESTION] How to add a picture to a text in game
« Reply #2 on: June 16, 2014, 10:35:43 am »
Well, if you're talking about just add some image to a text as a part of it, then you can use this tag: |T |t
For example, you can add flower icon to your text in pagetext or gossip using this:
|TInterface\Icons\inv_misc_flower_02:32:32|t (32:32 here means size (x,y))
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
My imgur collection. My youtube collection.

monoman

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 84
    • View Profile
Re: [QUESTION] How to add a picture to a text in game
« Reply #3 on: June 16, 2014, 05:37:31 pm »
Quote from: "Shelldon"
Well, if you're talking about just add some image to a text as a part of it, then you can use this tag: |T |t
For example, you can add flower icon to your text in pagetext or gossip using this:
|TInterface\Icons\inv_misc_flower_02:32:32|t (32:32 here means size (x,y))

I'll try this, thank you Shelldon

Quote from: "dahaga"
i know only how to post BLP in chat ... thats alll
ima afraid its not helpfull ... :?

I would like to know how to do that anyway, so is ok if you can tell me n_n
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

monoman

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 84
    • View Profile
Re: [QUESTION] How to add a picture to a text in game
« Reply #4 on: June 16, 2014, 07:27:48 pm »
It worked flawlessly, thank you very much Shelldon, it would be a great improvement for current story books.

If you know any other useful text edition codes I would like to learn them.

Again thank you and here is an image to celebrate your kind help

[attachment=0:aikiggzj]WoWScrnShot_061614_131403.jpg[/attachment:aikiggzj]
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Shelldon

  • Contributors
  • Loreweaver
  • *****
  • Posts: 92
    • View Profile
Re: [QUESTION] How to add a picture to a text in game
« Reply #5 on: June 16, 2014, 07:52:55 pm »
You are welcome, about text editing codes - I hope you know about |cffCOLORtext|r (|cffFF0000text here|r - example), you can use it too. Also, there are different textures of book pages in client (as in your image in 1st post), I didn't look into it too much, but I think it is not very hard to make your own one and then add it into the game client.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
My imgur collection. My youtube collection.

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [QUESTION] How to add a picture to a text in game
« Reply #6 on: June 17, 2014, 11:24:38 am »
Its all about SCM (SendChatMessage)

Code: [Select]
/run SendChatMessage("124cff00FF00 Test01 124TInterface\OPTIONSFRAME\NvidiaLogo:128:256124t124r test02");
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

monoman

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 84
    • View Profile
Re: [QUESTION] How to add a picture to a text in game
« Reply #7 on: June 26, 2014, 08:47:00 pm »
Quote from: "dahaga"
Its all about SCM (SendChatMessage)

Code: [Select]
/run SendChatMessage("124cff00FF00 Test01 124TInterface\OPTIONSFRAME\NvidiaLogo:128:256124t124r test02");

Thank you very much Dahaga, i think i have just the way to use it n_n.

Thank you again to all for your kind and useful replies.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »