Jump to content


Photo

Moving camera for one player only


  • Please log in to reply
5 replies to this topic

#1 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 21 May 2020 - 05:44 AM

Hi, I'm working on a multiplayer map for BFME1 and I'm wondering if it's possible to move the camera to a waypoint/location for one player only. I can find a script that does it for everyone, but that's not quite what I'm looking for. Am I missing the obvious here? I went through the script actions and couldn't find anything that sounds like it could be helpful. Any help is much appreciated!


26285.png


#2 seemann

seemann
  • Members
  • 231 posts
  • Location:Bucharest

Posted 21 May 2020 - 11:43 AM

Not sure it works but try this:

 

There is a script somewhere in the Camera section (at least for ROTWK it is) which says something like: If camera enters area x

You can create a trigger area (x) surrounding the starting point for the player that you want.

By default, when the game start, that player's camera will be at his starting point, therefore inside area x for the player you want. But the other player's cameras will be outside.

Just to be sure disable this scripts after a couple of seconds.

 

Hope it helps,

seemann


Apocaliptica & Nina Hagen - seemann

#3 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 21 May 2020 - 01:19 PM

Thanks for the reply. The script condition exists, but what action do I need to make it work? I want to move the camera to a location only for one player when certain (different) conditions are met.


26285.png


#4 seemann

seemann
  • Members
  • 231 posts
  • Location:Bucharest

Posted 21 May 2020 - 06:20 PM

in rotwk world builder is like this (remember area X is a trigger area that you create to encircle the one's player base):

 

Scripts --> New Script:

 

Script Conditions:

**IF**

Camera:

        Camera enters area X

 

Actions If True:

Camera:

   Move:

         Move camera to a location (waypoint y or whatever)

 

 

i'm not 100% this will work but i'd try this


Apocaliptica & Nina Hagen - seemann

#5 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 21 May 2020 - 08:42 PM

I think that last time I tried that, it would alter the camera for all players, but I will give it another shot. Thanks :)


26285.png


#6 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 187 posts
  • Location:Sweden
  •  Mapper

Posted 24 May 2020 - 04:21 AM

Probably not what you are looking for but could this be useful in any way?

https://forums.revor...pting/?p=266337






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users