Results 1 to 7 of 7
  1. #1

    Exclamation I have 9 camera in Game,how to switch camera with keyboard

    Please help me.

  2. #2

    Default

    One way I know is to use kismet.

    In kismet, you can switch between cameras with 'Console Event' and 'Set Camera Target'. I managed to map a keyboard input to a custom camera in a test project. (for example between 14 and 18 sec in the below link)


    Youtube Link
    Last edited by drzovil; 05-27-2010 at 10:46 AM.

  3. #3
    MSgt. Shooter Person
    Join Date
    Mar 2009
    Location
    Victoria, Australia
    Posts
    315

    Default

    Also doable if you create a CameraManager Actor, add all your cameras and put Exec commands in the CameraManger class. Probably much cleaner than Kismet.

  4. #4
    Redeemer
    Join Date
    Nov 2009
    Location
    Caracas
    Posts
    1,628
    Gamer IDs

    Gamertag: daimakupikoro PSN ID: lone_vampire

    Default

    i'm interesting in this topic too, how can i create a CameraManager ? is in the Actors of the engine ? or i need to code it?
    http://vincenzoravo.vrs.com.ve http://www.slaughtermaze.com

    please don't fill my inbox with questions, ask in the forum, the answers will help you and others !!!

  5. #5
    MSgt. Shooter Person
    Join Date
    Mar 2009
    Location
    Victoria, Australia
    Posts
    315

    Default

    Its something you'll need to code. Just create an Actor which will hold an array of all the cameras. You add a reference to each camera in the order you want to cycle, and have exec functions in the Actor as well

  6. #6
    Iron Guard
    Join Date
    Dec 2009
    Location
    Russia
    Posts
    519

    Default

    why you need many cameras? you can use one camera and set new location to it every time you want to change camera view. maybe it is simpler?

  7. #7
    Redeemer
    Join Date
    Nov 2009
    Location
    Help-me!
    Posts
    1,243

    Default

    I swear if that guy makes another thread about changing cameras with keyboard, I will kill this kitten.

    This: http://forums.epicgames.com/showthread.php?t=726985
    Lead Programmer
    It's the Only NEET Thing to Do

    Programming for non-fiction.
    I'm the function of my code. Conditions are my body and calls are my blood. I have input over a thousand lines. Unknown of bugs, nor known to work. Have withstand coffee to create many programs. Yet, those hands will never code anything again. So, as I pray, Unlimited Code Works.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.