Quote:
Originally Posted by thewintersoldier97
Hello everyone, I followed Proaxel and other stripper configs to modify event in my sv and it seem to be working. But all the holdout event I tested so far, the layout/hint instruction/how the event played out was running fine but no common infected spawning at all, for example the holdout event when calling the elevator in c1m1_hotel, I pushed the button, heard a horde alert but no CI to be seen. The one event similar is shoot the toxic waste barrels in c5m3_cemetery. Help please
|
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"
__________________