Raised This Month: $ Target: $400
 0% 

Solved L4D2 - event with camera


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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←

DISCORD: Asphyxia#9797

Sorry for my bad English

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


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 05:36.


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