Making a warp.

Results 1 to 3 of 3
  1. #1
    Enthusiast 11223344556677 is offline
    MemberRank
    Jul 2008 Join Date
    43Posts

    Making a warp.

    So I'm trying to make a warp, i've searched this forum on every page just to get to dead ends. So i'm trying to add a portal somewhere in green despair but i couldn't make the actual portal model to spawn there, so , i tried with a npc Yul to be more precise. I need some help if you have a few minutes.

    Here is my cabal.enc places where i made the changes.

    Code:
    		<world	id="3"	name="world3"	type="0"	map_file="world_03.mcl"	terrain_mesh=""	icon="J_icn_map3"	m_code="1"	t_max_x="1"	t_max_z="1"	gpsorder="3"	allowedwar="0"	warcontrol="0"	>
    			<world_npc	id="1"	npc_name="npc03-0001"	x="224"	y="43"	is_obj="0"	/>
    			<world_npc	id="2"	npc_name="npc03-0002"	x="210"	y="18"	is_obj="0"	/>
    			<world_npc	id="3"	npc_name="npc03-0003"	x="214"	y="59"	is_obj="0"	/>
    			<world_npc	id="4"	npc_name="npc03-0004"	x="200"	y="18"	is_obj="0"	/>
    			<world_npc	id="5"	npc_name="npc03-0005"	x="196"	y="29"	is_obj="0"	/>
    			<world_npc	id="6"	npc_name="npc03-0006"	x="201"	y="55"	is_obj="0"	/>
    			<world_npc	id="7"	npc_name="npc03-0007"	x="169"	y="42"	is_obj="0"	/>
    			<world_npc	id="8"	npc_name="npc03-0008"	x="166"	y="77"	is_obj="0"	/>
    			<world_npc	id="9"	npc_name="npc03-0009"	x="145"	y="47"	is_obj="0"	/>
    			<world_npc	id="10"	npc_name="npc03-0010"	x="187"	y="22"	is_obj="0"	/>
    			<world_npc	id="11"	npc_name="npc03-0011"	x="181"	y="11"	is_obj="1"	/>
    			<world_npc	id="15"	npc_name="npc03-0015"	x="221"	y="13"	is_obj="1"	/>
    			<world_npc	id="16"	npc_name="npc03-0016"	x="174"	y="209"	is_obj="1"	/>
    			<world_npc	id="17"	npc_name="npc03-0017"	x="206"	y="248"	is_obj="1"	/>
    			<world_npc	id="18"	npc_name="npc03-0018"	x="52"	y="25"	is_obj="1"	/>
    			<world_npc	id="19"	npc_name="npc03-0019"	x="77"	y="222"	is_obj="1"	/>
    			<world_npc	id="20"	npc_name="npc03-0020"	x="185"	y="181"	is_obj="1"	/>
    			<world_npc	id="21"	npc_name="npc03-0021"	x="217"	y="173"	is_obj="1"	/>
    			<world_npc	id="22"	npc_name="npc03-0022"	x="196"	y="98"	is_obj="1"	/>
    			<world_npc	id="23"	npc_name="npc03-0023"	x="21"	y="248"	is_obj="1"	/>
    			<world_npc	id="24"	npc_name="npc03-0024"	x="228"	y="41"	is_obj="1"	/>
    			<world_npc	id="25"	npc_name="npc03-0025"	x="75"	y="54"	is_obj="1"	/>
    			<world_npc	id="26"	npc_name="npc03-0026"	x="42"	y="140"	is_obj="1"	/>
    			<world_npc	id="27"	npc_name="npc03-0027"	x="90"	y="246"	is_obj="1"	/>
    			<world_npc	id="28"	npc_name="npc03-0028"	x="193"	y="223"	is_obj="1"	/>
    			<world_npc	id="29"	npc_name="npc03-0029"	x="26"	y="240"	is_obj="1"	/>
    			<world_npc	id="49"	npc_name="npc03-0049"	x="195"	y="56"	is_obj="1"	/>
    			<world_npc	id="50"	npc_name="npc03-0050"	x="0"	y="0"	is_obj="0"	/>
    NPC id 49 is Yul.

    Code:
    		<world	id="3"	>
    			<npc	id="11"	>
    				<warp_list	order="0"	type="0"	target_id="9"	level="50"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    			</npc>
    			<npc	id="15"	>
    				<warp_list	order="0"	type="0"	target_id="46"	level="3"	Fee="0"	warp_item=""	quest_id=""	gps_view="1"	/>
    			</npc>
    			<npc	id="16"	>
    				<warp_list	order="0"	type="1"	target_id="52"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="1"	type="1"	target_id="84"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="2"	type="1"	target_id="121"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="3"	type="2"	target_id="152"	level="1"	Fee="0"	warp_item="550:154"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="4"	type="2"	target_id="179"	level="1"	Fee="0"	warp_item="543:179"	quest_id=""	gps_view="0"	/>
    			</npc>
    			<npc	id="17"	>
    				<warp_list	order="0"	type="1"	target_id="56"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="1"	type="1"	target_id="82"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="2"	type="1"	target_id="205"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="3"	type="2"	target_id="153"	level="1"	Fee="0"	warp_item="550:155"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="4"	type="2"	target_id="180"	level="1"	Fee="0"	warp_item="543:180"	quest_id=""	gps_view="0"	/>
    			</npc>
    			<npc	id="18"	>
    				<warp_list	order="0"	type="1"	target_id="210"	level="0"	Fee="0"	warp_item="441:1180"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="1"	type="2"	target_id="170"	level="1"	Fee="0"	warp_item="550:170"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="2"	type="2"	target_id="181"	level="1"	Fee="0"	warp_item="543:181"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="3"	type="2"	target_id="194"	level="1"	Fee="0"	warp_item="578:1108"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="4"	type="2"	target_id="295"	level="0"	Fee="0"	warp_item="1213:1323"	quest_id=""	gps_view="1"	/>
    			</npc>
    			<npc	id="19"	>
    				<warp_list	order="0"	type="1"	target_id="41"	level="0"	Fee="0"	warp_item="446:1015"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="1"	type="1"	target_id="75"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="2"	type="1"	target_id="135"	level="0"	Fee="0"	warp_item="505:1174"	quest_id=""	gps_view="0"	/>
    			</npc>
    			<npc	id="20"	>
    				<warp_list	order="0"	type="1"	target_id="42"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="1"	type="1"	target_id="83"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    			</npc>
    			<npc	id="21"	>
    				<warp_list	order="0"	type="1"	target_id="85"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    			</npc>
    			<npc	id="22"	>
    				<warp_list	order="0"	type="1"	target_id="59"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="1"	type="1"	target_id="144"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="2"	type="1"	target_id="201"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    			</npc>
    			<npc	id="23"	>
    				<warp_list	order="0"	type="1"	target_id="127"	level="0"	Fee="0"	warp_item="495:1117"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="1"	type="1"	target_id="134"	level="0"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="2"	type="1"	target_id="138"	level="0"	Fee="0"	warp_item="502:1152"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="3"	type="1"	target_id="142"	level="0"	Fee="0"	warp_item="503:1153"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="4"	type="1"	target_id="145"	level="0"	Fee="0"	warp_item="504:1154"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="5"	type="1"	target_id="206"	level="0"	Fee="0"	warp_item="501:1186"	quest_id=""	gps_view="0"	/>
    				<warp_list	order="6"	type="0"	target_id="276"	level="155"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="7"	type="0"	target_id="276"	level="155"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="8"	type="0"	target_id="276"	level="155"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>	
    		    </npc>
    			<npc	id="24"	>
    				<warp_list	order="0"	type="0"	target_id="206"	level="110"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    			</npc>
    			<npc	id="49"	>
    				<warp_list	order="0"	type="0"	target_id="292"	level="155"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="1"	type="0"	target_id="292"	level="155"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>
    				<warp_list	order="2"	type="0"	target_id="292"	level="155"	Fee="0"	warp_item=""	quest_id=""	gps_view="0"	/>	
    		    </npc>
    		</world>

    Here in warp index i have lots of lines so i'm going to post only the one that i wrote.

    Code:
    		<warp_index	x="205"	y="241"	nation1x="205"	nation1y="241"	nation2x="205"	nation2y="241"	w_code="0"	Fee="0"	WorldIdx="18"	level="155"	/>
    		</warp_point>
    If i take all the warp_index's lines and i have a total of 292 lines where the 292 line is the one that i posted above.


    Here is my extra_obs.enc

    Code:
    		<extra_object	world_id="3"	>
    			<extra_stuff	ID="0"	filename="character\w29etc17.EBM"	min="-170.873,-25.3112,-244.727"	max="215.379,650,172.775"	>
    				<extra_entity	type="1"	pos="19505,0,5661"	rotate="0,0,0,0"	scale="1,1,1"	disable_cell_radius="1"	stuff_id="0"	name="extra_npc_008"	npc_id="49"	npc_tag="0"	npc_type="7"	/>
    			</extra_stuff>
    		</extra_object>
    I dont really know what to do here but i kinda followed this tutorial : http://forum.ragezone.com/f460/guide...g-work-652228/

    That is all for the client side , now let's move to the server side.

    Here is my world3_npc.scp

    Code:
    [NpcPos]	Flags	Index	PosX	PosY	Type	IsRangeCheck
    0	0	1	224	43	3	1
    1	0	2	210	18	2	1
    2	0	3	214	59	5	1
    3	0	4	200	18	1	1
    4	0	5	196	29	1	1
    5	0	6	201	55	4	1
    6	0	7	169	42	1	1
    7	0	8	166	77	7	0
    8	0	9	145	47	7	0
    9	0	10	187	22	7	0
    10	0	11	181	11	6	1
    11	1	15	221	13	6	1
    12	1	16	174	209	6	1
    13	1	17	206	248	6	1
    14	1	18	52	25	6	1
    15	1	19	77	222	6	1
    16	1	20	185	181	6	1
    17	1	21	217	173	6	1
    18	1	22	196	98	6	1
    19	0	23	21	248	6	1
    20	0	24	228	41	6	0
    21	0	25	75	54	7	0
    22	0	26	42	140	7	0
    23	0	27	90	246	7	0
    24	0	28	193	223	7	0
    25	0	49	195	56	6	1
    26	0	50	0	0	1	0
    
    [WarpLst]	NpcsIdx	NSetIdx	TargetIdx	LV	Fee	Type
    0	11	0	9	50	0	0
    1	15	0	46	3	0	0
    2	16	0	52	0	0	1
    3	16	1	84	0	0	1
    4	16	2	121	0	0	1
    5	16	3	152	1	0	2
    6	16	4	179	1	0	2
    7	17	0	56	0	0	1
    8	17	1	82	0	0	1
    9	17	2	205	0	0	1
    10	17	3	153	1	0	2
    11	17	4	180	1	0	2
    12	18	0	210	0	0	1
    13	18	1	170	1	0	2
    14	18	2	181	1	0	2
    15	18	3	194	125	0	2
    16	18	4	295	0	0	2
    17	18	5	302	75	0	2
    17	19	0	41	0	0	1
    18	19	1	75	0	0	1
    19	19	2	135	0	0	1
    20	20	0	42	0	0	1
    21	20	1	83	0	0	1
    22	21	0	85	0	0	1
    23	22	0	59	0	0	1
    24	22	1	144	0	0	1
    25	22	2	201	0	0	1
    26	23	0	127	0	0	1
    27	23	1	134	0	0	1
    28	23	2	138	0	0	1
    29	23	3	142	0	0	1
    30	23	4	145	0	0	1
    31	23	5	206	0	0	1
    32	23	6	276	155	0	0
    33	23	7	276	155	0	0
    34	23	8	276	155	0	0
    35	24	0	206	110	0	0
    36	49	0	292	155	0	0
    37	49	1	292	155	0	0
    38	49	2	292	155	0	0

    And here are my last lines of warp.scp

    Code:
    289	21	0	21	104	21	117	21	117	125	0
    290	12	0	126	130	133	90	133	90	1	0
    291	12	0	126	130	193	76	63	179	1	0
    292	18	0	205	241	205	241	205	241	155	0


    The problem is the following: I try to click on the npc but i won't get any response, i once made it by mistake to open a shop , but i want to teleport me in world map 18. If someone could help me with this, i would really appreciate. Where did i do wrong , what else do i need to do and how the hell i'm suppose to use this with a portal like a normal person not with a npc !

    Thank you very much for reading.


    // Edit this is my first time that i try to add a warp.
    Last edited by 11223344556677; 18-12-12 at 07:27 PM.


  2. #2
    sad pierr32 is offline
    MemberRank
    Aug 2009 Join Date
    PolandLocation
    248Posts

    Re: Making a warp.

    that is my last reply, no more request NPC have more option we can add any warp we wany some types is add on client "more types"
    i not relase anything why ??
    i can reply --> like other ppl like SpeedDevil.
    yes this posst is for u SpeedDevil, if u not realase how to load the bikes i not relase full dungeon and load 77 id map on server, urs choice

    Dungeon have full mission and Quest work all from ep8
    have nice day, night :)

  3. #3
    Enthusiast 11223344556677 is offline
    MemberRank
    Jul 2008 Join Date
    43Posts

    Re: Making a warp.

    That didn't helped me at all :D But i appreciate your comment pierr. I somehow managed to add the portal to forbidden island in portlux but it seems like i can't do it for ft b2f , I will continue it hoping i would find the proper way to add the portal. Since it doesnt spawn at my coords. Anyway thank you.



Advertisement