Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 04.05.2007, 19:24   #1
Fot@r@s
Архивный участник
 
Join Date: Mar 2007
Posts: 118
Default [Help] Global GateKeeper

Hello guyz, I have try to made an global teleporter, but it isn't working.
Look: npcdata.txt, npc_pch.txt ( I have attached )
ai.obj here
and htmls:

Quote:
<HTML><HEAD>

<BODY>
Global GateKeeper: <BR>Greetings. I am the Global Gatekeeper , My lord
"ArenaNet Server" order me to be your slave. I am in your orderss, Sir!. So then,
Can i teleport you?<BR>The teleport costs 1 adena... axaxaxax<BR><A action="bypass -h teleport_request"> Teleport </A>
<BR><BR> </BODY></HTML>
Quote:
<HTML><HEAD><BODY>Global GateKeeper::<BR>I'm sorry, but my lord doesn't allo me to teleport you. Sorry, but you must reflect on yourself and repent some more before coming back.</BODY></HTML>
I have something wrong?

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
gatekeeper_npc_phc.txt — 20 байт
gatekeeper_npcdata.txt — 2718 байт
Fot@r@s is offline  
Old 04.05.2007, 19:35   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

What is the thing isnt working ??

Isnt teleporting you ?
NPC dont show teleport locations ?
Whats the problem ?


NOTE: I recommend you to write html tags in lowerletters.
FidoW is offline  
Old 04.05.2007, 21:07   #3
Fot@r@s
Архивный участник
 
Join Date: Mar 2007
Posts: 118
Default

When i choose "Teleport" the NPC doesn't show me the teleport locations.
Fot@r@s is offline  
Old 04.05.2007, 23:45   #4
PsychoBR
Архивный участник
 
Join Date: Mar 2005
Posts: 33
Default

Your AI? Post here plz
PsychoBR is offline  
Old 06.05.2007, 18:54   #5
Fot@r@s
Архивный участник
 
Join Date: Mar 2007
Posts: 118
Default

Quote:
Originally Posted by Fot@r@s View Post
ai.obj here
i have already made a link...
Fot@r@s is offline  
Old 07.05.2007, 12:07   #6
alysia
Архивный участник
 
Join Date: Apr 2005
Posts: 151
Default

when you want to do a simply global teleporter you can delete the talk and menu_select in your AI

you only need the telposlist

Quote:
class 1 globalgk : teleporter
property_define_begin
telposlist_begin Position
{"Talking Island Village"; -84141; 244623; -3729; 1; 0 }
{"The Elven Village"; 46951; 51550; -2976; 1; 0 }
{"The Dark Elven Village"; 9709; 15566; -4500; 1; 0 }
telposlist_end
property_define_end
class_end
thats all what you need in your need (for example)


and another thing you put all teleport position in the "telposlist_begin Position" because you have also other teleport position like noobless but you haven't any button in your HTML for nobless teleport
alysia is offline  
Old 07.05.2007, 17:54   #7
Fot@r@s
Архивный участник
 
Join Date: Mar 2007
Posts: 118
Default

Ok, thanks. I will test it...
Fot@r@s is offline  
Old 28.05.2007, 18:29   #8
citruz
Архивный участник
 
Join Date: May 2006
Posts: 23
Default

Many locations on a single AI list.

You have to create a Multilist AI, like:

Position1
{ some teleports }
Position2
{ some teleports }

Of course, with the format of AI...


Example:
Code:
class 1 gatekeeper_global : teleporter_multi_list
property_define_begin
	telposlist_begin Position1
		{"Oren Castle Town"; 82971; 53207; -1470; 4400; 4 }
		{"Hunters Village"; 117156; 76878; -2670; 8200; 0 }
		{"Aden Castle Town"; 146768; 25856; -2000; 12000; 5 }
	telposlist_end
	telposlist_begin Position2
		{"Ivory Tower 1st Floor"; 84852; 15863; -4270; 0; 0 }
		{"Ivory Tower 2nd Floor"; 85289; 16225; -2780; 0; 0 }
		{"Ivory Tower 3rd Floor"; 85289; 16225; -2270; 0; 0 }
		{"Ivory Tower 4th Floor"; 85289; 16225; -1750; 0; 0 }
	telposlist_end
property_define_end
class_end
I Hope i help you =)
citruz is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:58.