Lockable doors

Post your scripting questions / solutions here

Moderator: Moderators

lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

Code: Select all

$nameOfDoor unlock
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Ke3pR
Corporal
Posts: 44
Joined: Tue Dec 14, 2004 3:17 pm

Post by Ke3pR »

hehe the code from green beret worked .. thanks all , yes i was confused .. lol but now i have to work on a nasty red line that shows a leak and i just can't find that ***** :p .. so il be busy now ;)
Ke3pR
Corporal
Posts: 44
Joined: Tue Dec 14, 2004 3:17 pm

Post by Ke3pR »

`grr.. im soooo upset.. everythings goes wrong .. again again again.. if i load the game it shuts down and says ERROR MAX PATCH PLANES .. oeeffff how do i hate that grr..
:evil:
User avatar
HyperKiller
Corporal
Posts: 38
Joined: Wed May 19, 2004 8:00 pm
Location: Slovenia
Contact:

Post by HyperKiller »

If you load the game or if you load the map?
You must know that you are special, just like everyone else.
Ke3pR
Corporal
Posts: 44
Joined: Tue Dec 14, 2004 3:17 pm

Post by Ke3pR »

the map :(
Ke3pR
Corporal
Posts: 44
Joined: Tue Dec 14, 2004 3:17 pm

Post by Ke3pR »

ffs how can i solve it ??
Ke3pR
Corporal
Posts: 44
Joined: Tue Dec 14, 2004 3:17 pm

Post by Ke3pR »

plz, i want to map 8-)
User avatar
HyperKiller
Corporal
Posts: 38
Joined: Wed May 19, 2004 8:00 pm
Location: Slovenia
Contact:

Post by HyperKiller »

ERROR MAX PATCH PLANES
Hmm, never had that problem, perhaps becouse i have never made big maps.

Well obviosly (how do i speel that?) there is too much something. Does your map have Trerrain? Maybe a big detailed structure, like a big ball? Someone had a problem with a long ladder, but the error he got had something to do with too much vertex-es(?) in one line.
Try to figure out what could be the problem, i think it has something to do with large amounts of something.
Ke3pR
Corporal
Posts: 44
Joined: Tue Dec 14, 2004 3:17 pm

Post by Ke3pR »

hmm i have a secret euhm.. how do you say that.. like a sewer .. but then round.. lets give it a try ;)

**edit**

thats not it :( !

but... i have a large dungeon .. thats the map.. .. its all covered up so you cant see the sky so is the skybox still needed :?:
User avatar
HyperKiller
Corporal
Posts: 38
Joined: Wed May 19, 2004 8:00 pm
Location: Slovenia
Contact:

Post by HyperKiller »

I thin that the skybox is needed, to make the square "space".
I have read the vis tutorial.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

ERROR MAX PATCH PLANES

Post by tltrude »

ERROR MAX PATCH PLANES means your patch mesh is to complex. Try replacing some with brushes, and reducing the compexity of the larger ones.

Your world will need a caulk textured skybox when your map is finished. It is ok to leave it out for now.
Tom Trude,

Image
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Ain't there an easier way to make locked doors (with that sweet sound :D ) than described in the tut on this site (with all them zillions trigger things :D )
Btw, if I wanna have a door just locked, do I use the whole script (from the tut)?
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

IvaN (master of disaster) wrote:Btw, if I wanna have a door just locked, do I use the whole script (from the tut)?
For a door that is just locked, don't turn the door brush into a func_door but leave it a simple brush. Then place a trigger_use in front of it (with the door's dimensions) and give it targetname/door_locked. Do this for as many doors as u like.
Then add to ur script before level waitTill prespawn

Code: Select all

exec global/door_locked.scr::lock
That's it :D
If u want to be nice to the players, u could think about giving locked doors a different look as normal doors like a certain texture or giving (just) normal doors a wall lamp next to it. This way they won't waste time running into closed doors again and again :wink:
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Map

Post by tltrude »

Here is an example map for doors that use a switch on the wall to lock and unlock. The .map file is included.

http://pages.sbcglobal.net/tltrude/Temp ... e_test.zip
Image
Tom Trude,

Image
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

Aaaahhhh Wackos avatar has changed! Its now a growling paper bag :shock: :wink:
ImageImage
Post Reply