Senior Member
Join Date: Aug 2021
Location: Vietnam
|
11-26-2021
, 22:10
Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
|
#62
|
Quote:
Originally Posted by Tank Rush
Spoiler
Sky uses vscripts to call the panic event.
https://github.com/Attano/Sky/tree/m...ripts/vscripts
PHP Code:
"OnPressed" "director,BeginScript,sky_event_c1m1_hotel.nut,0,-1"
"OnPressed" "director,EndScript,sky_event_c1m1_hotel.nut,35,-1"
but you can use this instead by adding this line to the trigger:
PHP Code:
"OnPressed" "director,PanicEvent,,2,-1"
remove the 2 lines I mentioned first and then add "OnPressed" "director, PanicEvent ,, 2, -1" here:
PHP Code:
{
"classname" "func_button"
"targetname" "sky_elevator_button"
"movedir" "0 0 0"
"origin" "2263 5696 2516.17"
"spawnflags" "1025"
"speed" "5"
"OnPressed" "!activator,speakresponseconcept,C2M3CoasterStart,0,-1"
"OnPressed" "!activator,speakresponseconcept,PlayerMoveOn,40,-1"
"OnPressed" "director,PanicEvent,,2,-1"
"OnPressed" "elevator_1_door1,Open,,40,-1"
"OnPressed" "elevator_1_door2,Open,,40,-1"
"OnPressed" "elevator_movement_sound,PlaySound,,0,-1"
"OnPressed" "elevator_movement_sound,StopSound,,40,-1"
"OnPressed" "sky_elevator_button_model,stopglowing,,0,-1"
"OnPressed" "sky_instructor_hint,EndHint,,0,-1"
"OnPressed" "sky_instructor_hint,Kill,,0.1,-1"
"OnPressed" "!self,Kill,,0.1,-1"
}
In the case of the explosive barrels in c5m3_cemetery it would be "OnTrigger"
PHP Code:
"OnTrigger" "director,PanicEvent,,2,-1"
|
Thank Tank Rush, it worked great Could I do this with other event cause I see Sky used a lot of different vscripts here.
__________________
Looking for some fun!
|
|