[2.3] Door Blocks

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,868
63
155
Norwich
I'm looking to try and block a door via a black box popping up when you try to walk into it.

e.g.
"You cannot enter this door without activating the portal first"

Any ideas how this can be done?
I know its possible
 
  • Like
Reactions: MythRohan

Jalell

Dedicated Member
Dedicated Member
Jan 17, 2012
244
10
44
Best way of doing it is making a NPC looking like a door a do a script saying that you can't enter..
 
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,868
63
155
Norwich
I'm pretty sure theres a way to do it without NPCs lol.
It bounces you back from the door when you try to run into it
 
Upvote 0

spon

Dedicated Member
Dedicated Member
Oct 6, 2012
165
3
44
there is a way to do it it bounces u back from door and say sumfink like "oops i feel dizzy" i remmeber seeing this before i think i have this on my server

---------- Post Merged at 04:50 PM ---------- Previous Post was at 04:49 PM ----------
 
Upvote 0

thedeath

LOMCN Developer
Developer
Mar 26, 2003
1,350
97
294
if i i remember correctly: one solution would be putting a mapquest script to the map on that handles the msg poping up if you cant enter,
while at the same time setting a flag 0/1 setting on that map that blocks you (just look at old redmoonsword quest scripts)
 
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,868
63
155
Norwich
Aye a friend explained this to me last night, however I cant find the mapquest script for it and I can't find the mapname ><

EDIT:
------

I've found the following things in TBL_MapInfo:

D10061 / Great_TaoTomb / DARK CHECKQUEST(Q1404) NEEDSET_ON(404) NORECALL NORECONNECT(D10031)

D10053 / RedValley_5thF / DARK CHECKQUEST(Q1406) NEEDSET_ON(406) NORECALL NORECONNECT(D10031)

D10054 / RedValley_5thF / DARK CHECKQUEST(Q1411) NEEDSET_ON(411) NORECALL NORECONNECT(D10031)

------------------------

And in ..\Envir\MapQuest

Q1406.txt

[@main]
#IF
check [407] 1
#ACT
break

#IF
check [406] 1
#ACT
SET [407] 1
#ELSESAY
(I feel dizzy...)

-----------

Still confused lmfao!
How would I set this up so you can only enter through the door after a certain level?
 
Last edited:
Upvote 0

Ilsta

Dedicated Member
Dedicated Member
Feb 20, 2012
563
23
80
Think it works like this in map info add..

Code:
CHECKQUEST(omacave)

Then in map mapquest_def folder make a new txt file call it omacave and add something like..

Code:
#IF
CHECK [500] 1
#ACT
MAPMOVE D001 50 50
#ELSESAY
Sorry you haven't unlocked this cave yet. <close/@exit>
 
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,868
63
155
Norwich
I'm just looking to do it by level really, I'm just confused how I would lay it out.
(I'm not the best in the world with flags), I just tend to use Namelists everywhere :D

Also, wouldnt I need to add the door coords in anywhere? Or will it just reject people from teleporting on the map full stop?
 
Upvote 0

Ilsta

Dedicated Member
Dedicated Member
Feb 20, 2012
563
23
80
#IF
CHECKLEVEL 10
#ACT
MAPMOVE D001 50 50 << teleports you to the cave (no other map coods required as it checks the quest in the mapinfo)
#ELSESAY
Sorry you need to be level 10 to enter. <close/@exit>
 
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,868
63
155
Norwich
That doesn't make sence lol,
It defeats the object of the door block if its just going to teleport you in ><

I've been advised to wait for the ace files to be released anyhow to save having to convert more things.
I think i'll just leave it for now, but thanks :P
 
Upvote 0

Ilsta

Dedicated Member
Dedicated Member
Feb 20, 2012
563
23
80
That doesn't make sence lol,
It defeats the object of the door block if its just going to teleport you in ><

I've been advised to wait for the ace files to be released anyhow to save having to convert more things.
I think i'll just leave it for now, but thanks :P

I'm looking to try and block a door via a black box popping up when you try to walk into it.

e.g.
"You cannot enter this door without activating the portal first"

Any ideas how this can be done?
I know its possible

Makes perfect sense to me as that's what you wanted, you can't enter the omacave map unless you activate it via quest or level check or what ever.. once activated it would teleport you in if not it would bring up a message saying so.
 
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,868
63
155
Norwich
Sorry to bring this up again but I'm still struggling ><

I have a guild cave in with 5 floors + KR.
5th floor mapname = nn05
KR mapname = nn06

I'm trying to make it so you have to be on the namelist before you can enter the next floor.
Heres what (I think) that I should be adding, but is it correct?

FLD_MapInfo (SQL)

nn06Svaltus Lair0409NULLDARK CHECKQUEST(Q1000)

..\Envir\MapQuest_Def\Q1000.txt

[@main]
#IF
checknamelist \Market_Def\GuildTerritory\Namelists.txt
#ACT
break
#ELSEACT
Goto @Sorry

[@Sorry]
#SAY
You must unlock the guild territory quest before you can enter this room.
 
Last edited:
Upvote 0