HLFX.Ru Forum
Показать все 3 сообщений этой темы на одной странице

HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- Global and Multisource (https://hlfx.ru/forum/showthread.php?threadid=5813)


Отправлено chaos7040 26-03-2022 в 07:47:

Global and Multisource

Hello, english user here.

I am having troubles using env_global, and the multisource entity to open a door in a different level using the J.A.C.K level editor. I have tried multiple ways to do this without having to resort to using a trigger_auto, but can't seem to figure it out.

I've included two maps in a .rar, and if someone could point out why it's not working I'd greatly appreciate it

Thank you


Отправлено XaeroX 28-03-2022 в 04:23:

Hi chaos7040!
Your setup is correct. The only issue is that the door has a targetname. If a door has a targetname set, player can't open it by bumping into it.
If you clear the targetname, the global/multisource sequence will work just fine.

I also noticed that you specified "target" in the multisource, setting it to the door name. This doesn't actually make sense. Let's pretend that our door can be opened by bumping into it despite targetname. The multisource will wait until it has been triggered by all its targets, and the global state is set (if specified). But our door can't trigger multisource, because the door is locked by this particular multisource as a master. In this case, multisource will never get active, and the door will never open.

However, if you add a button that targets the multisource, name it, and specify the button name as "target" of the multisource, then, to open the door, you have to activate both buttons, on both levels. The first one makes multisource "active" (all its targets got fired), and the second one sets the global state; and we're good to go.

__________________

xaerox on Vivino


Отправлено chaos7040 28-03-2022 в 12:39:

Hey there XaeroX!

Thank you so much for your help, and easy to understand explanations. It all makes sense now!

Thanks again!


Временная зона GMT. Текущее время 22:50.
Показать все 3 сообщений этой темы на одной странице

На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024