[Help]Create HTML for NPC and new GK L2J 

Skilled Illusionist
Joined
Jan 13, 2007
Messages
316
Reaction score
0
Location
Mother Russia
Ok ppl becourse forum was reorganaized and we can't create thread and answer in archive. I'll create a same threads with link to old. ;)

Original : Thread

My question : How to create a CUSTOM Gatekeeper ?
 
Ok that is easy but need time!!!

First the basics

That is the Heros gatekeeper tha i never like but is a start!!
Code:
<html>
<body>
<center><tr><td><font color="800080">-= Talking Island Township =-</font></tr></td>
<br>
 <tr><td><font color="FF0066">______________________________</font></tr></td><br><br>
<tr><td><a [COLOR=red]action="bypass -h npc_%objectId%_goto[/COLOR][COLOR=red] 2504"[/COLOR] msg="811;Talking Island Village"><[COLOR=lime]font color="80F0FF">Talking Island Village</font>[/COLOR]</a></td></tr>
<tr><td><br></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_goto 2878" msg="811;Talking Island Harbor"><font color="80F0FF">Talking Island Harbor</font></a></td></tr>
<tr><td><br></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_goto 2873" msg="811;Cedrics Training Hall"><font color="00FF00">Cedric's Training Hall</font></a></td></tr>
<tr><td><br></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_goto 2874" msg="811;Einhovants School of Magic"><font color="00FF00">Einhovant's School of Magic</font></a></td></tr>
<tr><td><br></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_goto 2876" msg="811;Northern Coast"><font color="00FF00">Northern Coast</font></a></td></tr>
<tr><td><br></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_goto 2877" msg="811;Obelisk Of Victory"><font color="00FF00">Obelisk Of Victory</font></a></td></tr>
<tr><td><br></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_goto 2875" msg="811;Elven Ruins"><font color="FF0000">Elven Ruins</font></a></td></tr>
 
<br>
<tr><td><font color="FF0066">______________________________</font></tr></td><br>
<a action="bypass -h npc_%objectId%_Chat 0"><font color="FFF080">Back</font></a>
</body>
</html>


U see the red the number is a id on teleport tabla at your database!!
The green one is the name of that action!! and how it looklike at html of npc!
About the msg i am not sure!! I think that is a chat thing !!! That is put at your chat! Like : U teleport Talking Island Harbor!!!

But i brefere buttoms!!!

Look that is my work!

Code:
<!Done by NikSpace 2.3!>
<html>
<body>
<center>
<img src="L2UI_CH3.herotower_deco" width=256 height=32>
<tr><td><font color="FF40FF">Lineage 2 Warlords Gatekeeper</font></tr></td><br>
<br>Welcome,  Traveler you can go <br> anywhere for just 15.000 Adena.<br>
<table width="160">
 <tr>
  <td><button value="C4 Area" action="bypass -h npc_%objectId%_Chat 1" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  <td><button value="Towns" action="bypass -h npc_%objectId%_Chat 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
 <tr>
  <td><button value="Aden Area" action="bypass -h npc_%objectId%_Chat 3" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  <td><button value="Dark Elven Area" action="bypass -h npc_%objectId%_Chat 4" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
 <tr>
  <td><button value="Area Dwarf" action="bypass -h npc_%objectId%_Chat 5" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  <td><button value="Elven Area" action="bypass -h npc_%objectId%_Chat 6" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
 <tr>
  <td><button value="Area Orc" action="bypass -h npc_%objectId%_Chat 7" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  <td><button value="Gludin Area" action="bypass -h npc_%objectId%_Chat 8" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
 <tr>
  <td><button value="Giran Area" action="bypass -h npc_%objectId%_Chat 9" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  <td><button value="Indaril Area" action="bypass -h npc_%objectId%_Chat 10" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
 <tr>
  <td><button value="Gludio Area" action="bypass -h npc_%objectId%_Chat 11" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  <td><button value="Oren Area" action="bypass -h npc_%objectId%_Chat 12" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
 <tr>
  <td><button value="Talking Island"" action="bypass -h npc_%objectId%_Chat 13" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  <td><button value="Wastelands" action="bypass -h npc_%objectId%_Chat 14" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
 <tr>
  <td><button value="DVC Areas" action="bypass -h npc_%objectId%_Chat 15" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
  <td><button value="Cruma Tower" action="bypass -h npc_%objectId%_Chat 16" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
 <tr> 
 <td><button value="C5 Areas" action="bypass -h npc_%objectId%_Chat 20" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
 <td><button value="TOI" action="bypass -h npc_%objectId%_Chat 21" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
</tr>
</table>
<br>
<img src="L2UI_CH3.herotower_deco" width=256 height=32>
</center></body></html>


And buttom for teleport to TOI 14 Floor
Is like that
Code:
 <button value="14rd Floor" action="bypass -h npc_%objectId%_goto 215" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal">


And if u want at teleport table u can creat a new teleport ! And change the price and bla bla!!!

I hope i help U!

George if u cant move my theead!! [Get help]
 
Last edited:
Upvote 0
Back