
Me2
Joined: Mar 28, 2009
|
Posted: May 27, 2009 11:05 PM
Msg. 1 of 10
I have been trying to make a door that opens when the player hits a switch like in the b40 level (Assault on the Control Room) before the player spawns the last wave to get the control room. I would like someone to tell me how to do this for any door. I would like some help! Edited by Me2 on May 28, 2009 at 01:15 AM
|
|
|

Sabre
Joined: Dec 10, 2008
I joined RB in protecting Donut's avatar.
|
Posted: May 28, 2009 02:49 AM
Msg. 2 of 10
The panel needs to be linked to a device_machine, through scripts you can get the door to open. Gamma or Me KS could help with the script part.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: May 28, 2009 07:35 PM
Msg. 3 of 10
(script startup door_1 (sleep_until (= (device_get_power [DEVICE CONTROL NAME]) 1) 15) (device_set_power [DEVICE MACHINE NAME] 1.0) )
Not sure if this works.
|
|
|

Me2
Joined: Mar 28, 2009
|
Posted: May 28, 2009 09:38 PM
Msg. 4 of 10
It works, :) Thanks
|
|
|

Headhunter09
Joined: May 6, 2008
This is the truth.
|
Posted: May 29, 2009 07:41 AM
Msg. 5 of 10
Not to threadjack, but where is the string_list that device_controls refer to?
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: May 29, 2009 10:00 PM
Msg. 6 of 10
Quote: --- Original message by: Headhunter09 Not to threadjack, but where is the string_list that device_controls refer to? Near the bottom of the scenario tag, there's a reference called "custom object names". That's the unicode_string_list tag that the controls refer to.
|
|
|

Headhunter09
Joined: May 6, 2008
This is the truth.
|
Posted: May 30, 2009 08:51 AM
Msg. 7 of 10
so this would be in the References section? I don't see an option for 'custom object names'
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: May 30, 2009 12:49 PM
Msg. 8 of 10
At the bottom of the scenario tag, there is the "Structure BSPS" section. Just above it, below the "Cutscene Titles" section, there are three fields. The top one is "custom object names".
|
|
|

Headhunter09
Joined: May 6, 2008
This is the truth.
|
Posted: May 30, 2009 04:57 PM
Msg. 9 of 10
ahh. Are the other two slots where I put the according lists too?
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: May 31, 2009 12:34 PM
Msg. 10 of 10
Quote: --- Original message by: Headhunter09 ahh. Are the other two slots where I put the according lists too? "ingame help text" is a reference to another unicode_string_list tag for the "Cutscene Titles" section just above it (which are the Chapter Titles that appear in the bottom left, like "And the horse you rode in on...") and "hud messages" is a reference to an hud_message_text tag for the messages in the top left of your hud that usually start with ">>".
|
|
|