View unanswered posts | View active topics It is currently Thu Mar 28, 2024 2:55 pm



Reply to topic  [ 6 posts ] 
 [RECB] How do you... 
Author Message
★★★★
User avatar

Joined: Sat Oct 11, 2008 9:44 pm
Posts: 125
Has thanked: 0 time
Been thanked: 0 time
Question: How do you make it so that when you pick up a key, it doesn't open the door its supposed to be for, but when you go up to the door, it opens up every single time. Look under if you dont understand.

Ok, theres a door, theres you, and a key. The door wont open without a key, and theres a key there. You grab the key and then use it to unlock the door and the door opens any time you interact with it. How does one make it so?

Is it like a system of triggers? or a multi_manager? I can't get this down because mapping for a dead mod is kind of hard and annoying (attempted a few times, made a stupid map, made another stupid map, and now im making a map with sharks and ants because there are no maps have sharks and ants. Yes, Sharks and Ants are MONSTER ENTITIES, not just models.)

_________________
Eternityofdarkness


Sun Dec 12, 2010 12:07 pm
Profile
Site Admin

Joined: Mon May 05, 2008 9:05 pm
Posts: 1426
Has thanked: 19 times
Been thanked: 13 times
I wouldn't know exactly, but it should work a bit like this.

Having a trigger_once box around the key which targets a multi_manager, the multi_manager targets the key which would be a func_wall_toggle(to have it disappear once picked up.),and an entry to target the door, which can be toggled to be locked or unlocked, there's probably some flags for it to be locked by default on map start.

multi_manager is used to target multiple entities at once, also if you want a timed execute of multiple entities, you would use that too. make sure to turn off smart edit before trying to edit it, if you haven't used them before.

_________________
/!\ New MC players please read these 2 threads: Rules and Starter Guide. /!\

Image
Image
[ Steam group for my SC game servers. - Cartman-2000's image host ]


Sun Dec 12, 2010 1:41 pm
Profile
★★★★

Joined: Wed Aug 27, 2008 9:12 pm
Posts: 297
Has thanked: 0 time
Been thanked: 0 time
Is this using the Half-Life FGD or are you using a new FGD? Give me more details.


Fri Jan 07, 2011 11:30 pm
Profile
★★★★
User avatar

Joined: Sat Oct 11, 2008 9:44 pm
Posts: 125
Has thanked: 0 time
Been thanked: 0 time
Stoned:
Its an old .fgd file from '08 when it was last updated. I never use the half-life.fgd and i don't have it.

But cartman's response worked. Figured they had to be func_wall_toggles.

But now I'm clueless on one thing:
How do you have a button be locked until you get a keycard/key for it to be unlocked?

_________________
Eternityofdarkness


Sat Jan 08, 2011 10:12 pm
Profile
Site Admin

Joined: Mon May 05, 2008 9:05 pm
Posts: 1426
Has thanked: 19 times
Been thanked: 13 times
it's probably something similar, is there any options or flags to have it locked by default?

_________________
/!\ New MC players please read these 2 threads: Rules and Starter Guide. /!\

Image
Image
[ Steam group for my SC game servers. - Cartman-2000's image host ]


Sat Jan 08, 2011 11:33 pm
Profile
★★★★
User avatar

Joined: Sat Oct 11, 2008 9:44 pm
Posts: 125
Has thanked: 0 time
Been thanked: 0 time
I don't think so.

Maps in Sven Coop have buttons that respond 'Access Denied', until you get something, and then its 'Access Granted'

_________________
Eternityofdarkness


Sat Jan 29, 2011 8:26 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 13 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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.
[ Time : 0.095s | 17 Queries | GZIP : On ]