AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved L4D2 - event with camera (https://forums.alliedmods.net/showthread.php?t=335185)

AsphyxiaJLSA 11-13-2021 19:04

L4D2 - event with camera
 
Well, can someone help me, some servers have sky events, the case is they have camera when an event of this sky occurs, i would like o know how i can do that

what should i add to the stripper :(

Video example

Silvers 11-13-2021 19:33

Re: L4d2 - event with camera
 
You don't need to write in caps. Thanks.

Marttt 11-14-2021 10:00

Re: L4d2 - event with camera
 
You have to use a "point_viewcontrol_multiplayer" entity (or their relatives) then trigger it.

Example:

PHP Code:

add:
{
"origin" "10 20 30"
"angles" "0 -180 0"
"targetname" "camera_test"
"spawnflags" "1"
"interp_time" "1.0"
"fov_rate" "1.0"
"fov" "90"
"classname" "point_viewcontrol_multiplayer"
}

;
then to activate you have to trigger it like that
add
:
{
"targetname" "relay_camera_test"
"classname" "logic_relay"
"OnTrigger" "camera_test,Enable,,1.0,-1"
"OnTrigger" "camera_test,Disable,,7.0,-1"


You can test it in console with
PHP Code:

ent_fire camera_test Enable 


AsphyxiaJLSA 11-14-2021 11:08

Re: L4d2 - event with camera
 
Quote:

Originally Posted by Marttt (Post 2763420)
You have to use a "point_viewcontrol_multiplayer" entity (or their relatives) then trigger it.

Example:

PHP Code:

add:
{
"origin" "10 20 30"
"angles" "0 -180 0"
"targetname" "camera_test"
"spawnflags" "1"
"interp_time" "1.0"
"fov_rate" "1.0"
"fov" "90"
"classname" "point_viewcontrol_multiplayer"
}

;
then to activate you have to trigger it like that
add
:
{
"targetname" "relay_camera_test"
"classname" "logic_relay"
"OnTrigger" "camera_test,Enable,,1.0,-1"
"OnTrigger" "camera_test,Disable,,7.0,-1"


You can test it in console with
PHP Code:

ent_fire camera_test Enable 


Thanks Mart


All times are GMT -4. The time now is 01:15.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.