Raised This Month: $ Target: $400
 0% 

Solved L4D2 - event with camera


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AsphyxiaJLSA
Member
Join Date: Oct 2021
Location: Lima,Perú
Old 11-13-2021 , 19:04   L4D2 - event with camera
Reply With Quote #1

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
__________________
→MY STEAM PROFILE←

My COOP server in L4D2 -> connect 45.126.208.162:27010
DISCORD: Asphyxia#9797

Sorry for my bad English

Last edited by AsphyxiaJLSA; 11-14-2021 at 11:19.
AsphyxiaJLSA is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-13-2021 , 19:33   Re: L4d2 - event with camera
Reply With Quote #2

You don't need to write in caps. Thanks.
__________________
Silvers is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-14-2021 , 10:00   Re: L4d2 - event with camera
Reply With Quote #3

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 
__________________

Last edited by Marttt; 11-14-2021 at 10:02.
Marttt is offline
AsphyxiaJLSA
Member
Join Date: Oct 2021
Location: Lima,Perú
Old 11-14-2021 , 11:08   Re: L4d2 - event with camera
Reply With Quote #4

Quote:
Originally Posted by Marttt View Post
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
__________________
→MY STEAM PROFILE←

My COOP server in L4D2 -> connect 45.126.208.162:27010
DISCORD: Asphyxia#9797

Sorry for my bad English

Last edited by AsphyxiaJLSA; 11-14-2021 at 11:19.
AsphyxiaJLSA is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:14.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode