Jump to content

Recommended Posts

Posted

[Tutorial] - Images in HTML ingame

 

In this tutorial i'll show you how you can easly add a picture in a html of an NPC.

First of all you need to take an NPC or make one yourself.

I took an existing NPC called Veteran Ascalon

html: Veteran_ascalon001.htm this one i will edit with a picture in it.

htmltut2.jpg

 

Client side:

First take a picture that you want in your html.

i took this one:

DW.jpg

 

what i have done is edited the height and width in photoshop to 256x256

and saved it as an DDS DXT1 named laller.dds

you get the DSS plugin Here

 

Make a UTX file for it.

Get UnrealEdit from HERE

Install it.

 

Run it with UnrealEd.exe

you will get a window with the name Textures.

There you go to File > New ,click it

you will get a new window. called New Material

Package: tutorialtest

Group: <empty>

name: lol (doenst matter what you put here)

 

and click "New"

and close the upcoming window.

Go to File > Import.

and search for your image and dubbel click it.

i named it laller

then press OK.

 

go to File > save

and save it where you want. i left the name untouched.

place it in your systextures directory of your Lineage client.

 

Server side:

I took this html

 

From Veteran Ascalon, in Giran

 

<HTML><HEAD><BODY>
Veteran Ascalon:<BR>
Would you like to hear stories of my splendid past? In my youth I was a soldier of 
fortune, wandering freely, fighting aliens and making love to women with foreign names. 
There were some hard times, but my blazing Warrior spirit kept me going. 
The deep brotherhood among comrades, struggles, fierce battles, love, romance, 
I experienced it all. 
I was truly a Warrior.
<BR>But now I am old. If I could find a talented young fellow to succeed me, I would 
retire in peace.<BR><A action="bypass -h talk_select">Quest</A>
</BODY></HTML>

 

now if you done the same as me above including the names you can use this code:

 

<IMG src="tutorial.laller" width=256 height=256>

 

then place it where you want in the html like this:

 

<HTML><HEAD><BODY>
Veteran Ascalon:<BR>
Would you like to hear stories of my splendid past? In my youth I was a soldier of 
fortune, wandering freely, fighting aliens and making love to women with foreign names. 
There were some hard times, but my blazing Warrior spirit kept me going. 
The deep brotherhood among comrades, struggles, fierce battles, love, romance, 
I experienced it all. 
I was truly a Warrior.
<BR>But now I am old. If I could find a talented young fellow to succeed me, I would 
retire in peace.<BR><A action="bypass -h talk_select">Quest</A>
<IMG src="tutorial.laller" width=256 height=256>
</BODY></HTML>

 

if you done that save the html and place it in the html of the server.

you can restart the server or got to l2server > Set > and remove HTML Caching

 

Log in and go to the NPC you edited/made and check it out!

 

htmltut1.jpg

 

 

Source: Postpacific

Posted

Xm that's good... I have to say that i didn't know that x.x

 

An easier method is to import an image to an existing file and do it like in thelasthero's guide. Anyway, use this one as the other method is going to get you mad :P (Because of some unexpected erros that may be caused by the encryption).

  • 2 weeks later...
Guest
This topic is now closed to further replies.



  • Posts

    • Thank you very much. It would also be good if you looked into this issue. UnknownSoldier has been manipulating me to make me look bad. He deleted all the evidence I uploaded and left all the insults against me. You'll also see that on April 26th, he reopened the thread and then locked it again just so his friend from Argentina could post: links down :l XD   In the thread: https://maxcheaters.com/topic/253997-sourceservercliente-l2devs-files-l2devscom/page/2/ They do this so they can later tell people that I deleted the links because it was a lie, and so on. Realize that all the damage you're causing is related to this same person. Regards and thank you very much! 🙂 PS: I would like UnknownSoldier to publish the evidence for why he has repeatedly called me a SCAMMER and explain why he also says that to other people. This person is using forum privileges to smear and discredit those who don't work with him. I WANT ALL THE EVIDENCE OF WHAT HE'S SAYING.  
    • Theres a lot of drama going on about Guytis scamming people. I want real, solid proof showing that he scammed anyone attach everything you have.   About reputation: we’re all adults here, yet some are acting like kids fighting over pixels. Think before spreading rumors. False claims don’t make you look better they make you look worse.   I’m waiting for actual evidence that he scammed any user. If there’s nothing to back it up, I’ll deal with it myself. Time’s running out this has been going on long enough.
    • I’ve read the whole topic about Baylee and Protojah. From what I can see, Baylee wanted to buy some htmls and they agreed on a price. Later, Baylee changed her mind and decided not to go through with it. The product wasn’t delivered because Baylee changed her mind. Even if she initially agreed to the price, to avoid confusion. if the files had been sent and payment not made, I would call it a scam. But since they weren’t sent, this isn’t a scam.   I want to stress that I try to be fair to everyone, no matter the situation.   Yeah, Protojah did put in time and effort, and that’s fine, but disagreements happen all the time, even in real life jobs, no matter what the work is. I’m going to lock this topic to avoid more drama. Please keep all personal issues in private messages. And before anyone says anything else I’m not taking sides. I don’t protect scammers and I ban them, but since this isn’t a scam, you both should resolve this situation in DMs.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..