Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
Last visit was: Sat May 22, 2010 7:15 pm It is currently Sat May 22, 2010 7:15 pm

All times are UTC




 [ 35 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Short Tutorial: How to unlock/+open a door with a GUI
PostPosted: Sun Aug 08, 2004 1:41 am 
Offline
The first 10 posts have been the best...

Joined: Fri Aug 06, 2004 6:32 pm
Posts: 22
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


1.
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)

Image


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


Image


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.


Last edited by Njal on Mon Aug 09, 2004 9:55 am, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2004 8:15 am 
Offline
Site Admin
User avatar

Joined: Tue May 28, 2002 5:17 pm
Posts: 10122
Location: Munich / Germany
Nice one - try to explain every image to greater depth, I can imagine people new to this to stumble into problems ;)

_________________
Image Staff - The world is yours, soon in 6 degrees of freedom!
Visit ModWiki


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2004 11:46 am 
Offline
Captured the Flag
User avatar

Joined: Tue Nov 05, 2002 3:45 pm
Posts: 1817
Location: Wiesbaden, Germany
Nice one, thanks.

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

_________________
Image Staff


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2004 5:45 pm 
Offline
The first 10 posts have been the best...

Joined: Fri Aug 06, 2004 6:32 pm
Posts: 22
B U M P!

edit :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2004 8:16 pm 
Offline
Site Admin
User avatar

Joined: Tue May 28, 2002 5:17 pm
Posts: 10122
Location: Munich / Germany
Njal wrote:
B U M P!

edit :)


Added to the tutorial listing.

_________________
Image Staff - The world is yours, soon in 6 degrees of freedom!
Visit ModWiki


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2004 10:50 pm 
Offline
The first 10 posts have been the best...

Joined: Fri Aug 06, 2004 6:32 pm
Posts: 22
Thanks :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2004 1:20 am 
Offline
is connecting to Doom3world.org

Joined: Sun Aug 08, 2004 6:08 am
Posts: 6
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2004 3:05 am 
Offline
has joined the game

Joined: Sun Aug 08, 2004 8:25 am
Posts: 42
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2004 2:37 pm 
Offline
The first 10 posts have been the best...

Joined: Fri Aug 06, 2004 6:32 pm
Posts: 22
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 :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2004 5:30 pm 
Offline
The first 10 posts have been the best...

Joined: Fri Aug 06, 2004 6:32 pm
Posts: 22
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2004 11:32 pm 
Offline
has joined the game

Joined: Sun Aug 08, 2004 8:25 am
Posts: 42
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 .


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2004 11:37 pm 
Offline
The first 10 posts have been the best...

Joined: Fri Aug 06, 2004 6:32 pm
Posts: 22
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 10, 2004 2:51 am 
Offline
The first 10 posts have been the best...

Joined: Mon Aug 09, 2004 4:08 am
Posts: 12
how do i get a gui entity? i have a airlock door.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 10, 2004 3:20 am 
Offline
The first 10 posts have been the best...

Joined: Fri Aug 06, 2004 6:32 pm
Posts: 22
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 10, 2004 3:47 am 
Offline
The first 10 posts have been the best...

Joined: Mon Aug 09, 2004 4:08 am
Posts: 12
I did that, but it does'nt spawn the little black box.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 10, 2004 4:39 am 
Offline
The first 10 posts have been the best...

Joined: Fri Aug 06, 2004 6:32 pm
Posts: 22
black box?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 14, 2004 7:48 pm 
Offline
is connecting to Doom3world.org

Joined: Fri Aug 06, 2004 10:08 pm
Posts: 7
Location: Massachusettes
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:

Right-Click>function>func_door
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?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 14, 2004 8:02 pm 
Offline
has joined the game

Joined: Mon Aug 09, 2004 9:03 am
Posts: 41
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 16, 2004 10:43 am 
Offline
picked up a pistol

Joined: Mon Aug 16, 2004 10:37 am
Posts: 59
A friendly bump as I would like to know how to have doors relock/ be opened multiple times off a gui


Top
 Profile  
 
 Post subject: GUI doesn't work
PostPosted: Wed Aug 18, 2004 8:13 pm 
Offline
picked up a pistol

Joined: Fri Aug 06, 2004 9:53 pm
Posts: 54
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

_________________
Visit Top End Miniatures at http://www.topendminiatures.com
Check out my website: http://www.gunwolf.com/models/
Feedback is always appreciated.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
 [ 35 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: MSN [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group