camera field of views

scubazoo

Member
Reaction score
1
Hi,

I have two triggers, one in which i want the camera to pan to the new unit selected and set new camera bounds and field of view, and another in which another unit is selected and new camera bounds and field of view are set for this unit as well. however, the way it is working now is that the camera does pan and switch to either unit when selected, as desired, although the field of view is not implemented. how can i implement two fields of view for two different units?

here are the triggers:

Trigger:
  • player red outside vision
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
      • (Outside Visibility <gen> contains (Triggering unit)) Equal to True
    • Actions
      • Camera - Set the camera bounds for Player 1 (Red) to Outside Visibility <gen>
      • Camera - Pan camera as necessary for Player 1 (Red) to (Position of (Triggering unit)) over 0.00 seconds
      • Camera - Set Player 1 (Red)'s camera Field of view to 3200.00 over 0.00 seconds




Trigger:
  • player red inside hedgehog
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
      • (Outside Visibility <gen> contains (Triggering unit)) Equal to False
      • (hedgehog inside <gen> contains (Triggering unit)) Equal to True
    • Actions
      • Camera - Set the camera bounds for Player 1 (Red) to Hedgehog <gen>
      • Camera - Pan camera as necessary for Player 1 (Red) to (Position of (Triggering unit)) over 0.50 seconds
      • Camera - Set Player 1 (Red)'s camera Field of view to 1600.00 over 0.00 seconds
 
You could try changing the over time change in the Field of View camera to .5 seconds. That or you could try to change field of view first than pan camera.

I'm wondering if locking the camera bounds obstructs the field of view? Because if it does a alternative could be to pan and change field of view first, than lock the camera to the unit.

Sorry I am unspecific I hope it works out for you.
 
Are you sure you mean Field of View? This field is hardly ever used and it's max is 120. This changes how wide the camera is (think peripheral vision).

Do you mean Distance to Target? This changes how long the camera is (zooming in and out).
 
no i mean field of view, ive used it before and actually it is working in the first trigger, the camera zooms out to encompass a larger field of view, however, i cant get it to zoom back in when selecting the unit in a different region, such as the second trigger.
 
The max value for Field of View is still 120. The number represents degrees, so the theoretical max would still be 360.

"1600" is close the the distance to target default which is 1650... BTW.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top