Njal@Posted: Sun Aug 08, 2004 1:41 am :
This is a very short tutorial - You have been warned :)

Some basics first: Hold Shift+click to select objects, ESC to deselect everything, CTRL+Shift+click to select faces to use different textures on the same brush.

The map: http://w1.313.telia.com/~u31309293/doorGUI.map

Create the door with whatever you want, brushes or models (right-click on the grid and press New Model and choose any of the base/models/mapobjects/doors)
+ a model that can use GUIs and add one of those with the "Gui..." button in the Entity Edit Window (New Model - any base/models/mapobjects/guiobject)


Select the GUI entity first and then the doors. Now press CTRL+K to add the doors as targets for the GUI.


Make sure your doors are locked = 1 or 2, unless you want to close the doors with the button.

I hope this will help someone who has a hard time figuring this out (like me).

Please comment on anything i said wrong or whatever, this is my first time with a game editor.

BNA!@Posted: Sun Aug 08, 2004 8:15 am :
Nice one - try to explain every image to greater depth, I can imagine people new to this to stumble into problems ;)

Burrito@Posted: Sun Aug 08, 2004 11:46 am :
Nice one, thanks.

But what about shrinking the SS to 640x480 and making them links to the original sized ones?

Njal@Posted: Sun Aug 08, 2004 5:45 pm :
B U M P!

edit :)

BNA!@Posted: Sun Aug 08, 2004 8:16 pm :
Njal wrote:
B U M P!

edit :)

Added to the tutorial listing.

Njal@Posted: Sun Aug 08, 2004 10:50 pm :
Thanks :)

Epoz@Posted: Mon Aug 09, 2004 1:20 am :
Thanks for the tutorial however, there is somthing wrong that took me a hour to figure out lol.

If you target the relay trigger first then the func_static with the gui the static won't send the command to the relay so you got to target the static first then the relay.

Also in my test you don't need the relay_trigger. If you target the static with the gui and then the func_doors and hit crtl k the static will set target to them.

Also was wondering in anyone figured out the keypads yet?

MisterCrow@Posted: Mon Aug 09, 2004 3:05 am :
Ok how the heck did you make those saucerlamps on the ceiling project lights around the map? I've been messing around with this crap for a good hour or two and I can't get this crap to behave like it's supposed to.

I can't figure out how to get the light to cast from somewhere OTHER than the top (center isn't working)...it's REAL simple but geez this editor makes it a HUGE chore to figure this out.

Make a light --> Click model --> Choose saucerlamp --> Position --> Rotate / Tilt --> Change light type to projection --> Adjust (near-impossible to adjust with the notches on the 2D views) --> Something.

That doesn't work...what am I doing wrong?

Njal@Posted: Mon Aug 09, 2004 2:37 pm :
How do i lock the door once it's closes?
So if i don't run through it when i unlock and open it it locks again and i have to press the button. Also to lock the door once you're through so you can't get back.

I suck at all kinds of programing and I'm lazy so if scripting is need please just hand me the code :)

Njal@Posted: Mon Aug 09, 2004 5:30 pm :
Here's how far I've gotten:

I can open the doors with the GUI, and when they close they are locked with the help of 'triggerClosed' and the target 'target_lock' but how do i reset the GUI so the button appears again when the doors are locked again?

I'm using the guis/admin/admincontrol.gui with a 'Security Override' button to do stuff but once you press it there is no other button to press to unlock again.

Help, please?

MisterCrow@Posted: Mon Aug 09, 2004 11:32 pm :
Ya, I'd like to know too. I'm tryin to do the same thing ^^^^ they are doing. Any help would be greatly appreciated, thanks :D .

Njal@Posted: Mon Aug 09, 2004 11:37 pm :
Here's what i did:

Changed GUI to base\guis\doors\liftcall.gui and now i can open the door as many times as i want.

cibressus@Posted: Tue Aug 10, 2004 2:51 am :
how do i get a gui entity? i have a airlock door.

Njal@Posted: Tue Aug 10, 2004 3:20 am :
If the door has a Entity GUI just select the door and go to the Entity editor then press the "Gui..." button and add one to your liking.

cibressus@Posted: Tue Aug 10, 2004 3:47 am :
I did that, but it does'nt spawn the little black box.

Njal@Posted: Tue Aug 10, 2004 4:39 am :
black box?

paynterDigital@Posted: Sat Aug 14, 2004 7:48 pm :
I'm new to editing (professional 3d artist though)
The trouble I had with the tutorial is the trigger relay. It wasn't mentioned in the tutorial (though it is in the images) The tutorial still helped a bunch, sine I am very new. Looking at the map itself helped. Is the trigger relay generated automatically? I'll list the steps I did to get it to work. for the inexperienced (Like me) :oops:

in the entity tab for door click model, choose
models/mapobjects/doors/door of your choice
clone door(space), delete old func-door (maybe just bug for me,
but door doesn't show up if i don't do this)
add lock variable set to 1 or 2

Right-Click>new model>model with a gui
i chose models/mapobjects/filler/laptop.lwo
click the gui button under entity tab, add gui
i chose guis/alphalabs1/securitystation.gui

Right-Click>trigger>trigger relay

Hit esc to make sure everything is clear

Select gui object (entity) and then select trigger relay. hit Ctrl+k

Hit esc

Select trigger relay the func door entity. hit Ctrl+k

And thats what worked for me. Still trying to be able to lock and unlock the door repeatedly. This just unlocks and keeps it unlocked. How is that done? Any ideas?

psychonub@Posted: Sat Aug 14, 2004 8:02 pm :
paynterDigital wrote:
And thats what worked for me. Still trying to be able to lock and unlock the door repeatedly. This just unlocks and keeps it unlocked. How is that done? Any ideas?

iam having the sameproblem with the keycode doors, once it is unlocked enter the code again and it says it is locked, but is not.

what is the trigger_relay for? on my door all i did was fill out the gui_parm and then made the target the door name.

Demigod@Posted: Mon Aug 16, 2004 10:43 am :
A friendly bump as I would like to know how to have doors relock/ be opened multiple times off a gui

gunwolf@Posted: Wed Aug 18, 2004 8:13 pm :
Tried the tutorial step by step by paynterDigital above but couldn't get it to work.
Door started off and remain unlocked
and the GUI interface just made the door sound as I clicked it - door did nothing.
Wayne G