Enhanced Camera. Make awesome cutscenes!

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by ♥SOURCE♥, Dec 9, 2014.

  1. ShinGamix

    ShinGamix DS Style 4Ever! Veteran

    Messages:
    3,906
    Likes Received:
    448
    Location:
    Alien Ship
    First Language:
    April Fools
    Primarily Uses:
    N/A
    Hey Source I have had you script in my project for a while now and it's worked fine until recently. I haven't changed any scripts or added any new ones. Now the enhanced camera won't pan on my maps as the character walks. It just stays still. How do I fix this? Do I need to script call the script to start it??
     
    Last edited by a moderator: May 17, 2015
    #21
  2. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    Hello! Does that happen when you start a new game or when you load a save file?
     
    #22
  3. ShinGamix

    ShinGamix DS Style 4Ever! Veteran

    Messages:
    3,906
    Likes Received:
    448
    Location:
    Alien Ship
    First Language:
    April Fools
    Primarily Uses:
    N/A
    Brand New game.
     
    #23
  4. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    Have you tried re-installing the script? You can grab the latest version from pastebin.
     
    #24
  5. ShinGamix

    ShinGamix DS Style 4Ever! Veteran

    Messages:
    3,906
    Likes Received:
    448
    Location:
    Alien Ship
    First Language:
    April Fools
    Primarily Uses:
    N/A
    yes I have and the new version does the same exact thing sadly.
     
    #25
  6. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    Try adding the following code in a Script command and show me a screenshot of what is printed to the console:

    Code:
    p $game_map.ms_ecam_str, $game_map.ms_ecam_ignore_player, $game_map.ms_ecam_locked
     
    #26
  7. Demon God Démigra

    Demon God Démigra Veteran Veteran

    Messages:
    77
    Likes Received:
    40
    First Language:
    English
    Essential for my project. Using and thank you.
     
    #27
  8. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    I'm glad you like it! You're welcome :3
     
    #28
  9. ShinGamix

    ShinGamix DS Style 4Ever! Veteran

    Messages:
    3,906
    Likes Received:
    448
    Location:
    Alien Ship
    First Language:
    April Fools
    Primarily Uses:
    N/A
    [​IMG]

    Ignore the list line about the param limit breaker.
     
    #29
  10. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    Thanks. Would you like to send me a demo? 
     
    #30
  11. SquallStorm

    SquallStorm Resident Persona 5 Hyper Veteran

    Messages:
    214
    Likes Received:
    134
    First Language:
    English
    So I just wanted to say thanks for this script and ask a question.  Do you have a recommended speed for panning?  I start getting motion sick after a while and I usually spend hours at a time playing my stuff.
     
    #31
  12. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    Hello SquallStorm! You're welcome!

    I think the right speed depends on each individual's personal taste and preferences. You might want to try smaller numbers for the deceleration effect first; 1 would be like default ( no deceleration), so the closer to 1, the weaker the deceleration effect strength. If you still get motion sick after trying various numbers, you could try setting the strength to 1 to remove it (it will act like default), and you would still be able to use Enhanced Camera's other features.

    I hope you find a setup that works for you. Let me know if I can do anything else to help. :3
     
    #32
  13. ShinGamix

    ShinGamix DS Style 4Ever! Veteran

    Messages:
    3,906
    Likes Received:
    448
    Location:
    Alien Ship
    First Language:
    April Fools
    Primarily Uses:
    N/A
    Not possible to do at this time. My development project file is huge as I have not worked on reducing the size any.
     
    Last edited by a moderator: May 19, 2015
    #33
  14. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    Okay, try creating a new project, adding Enhanced Camera and a map from your game. If it works, start adding scripts from your game, play-testing after each addition until you find one that breaks it. If the blank project with just Enhanced Camera and a map from your game doesn't work, it's likely an error in the calls/events handling the camera.

    Let me know if you make any progress.
     
    #34
    ShinGamix likes this.
  15. Kes

    Kes Global Moderators Global Mod

    Messages:
    21,100
    Likes Received:
    10,719
    First Language:
    English
    Primarily Uses:
    RMVXA
    I am experiencing a strange phenomenon.

    I have a cut scene which begins with the camera centred on a point other than the player.  After a little dialogue, the camera moves to different points to focus on bits of conversation going on in various groups.  The camera starts off in the correct place.  At the right moment it moves to the new second point, but then returns immediately to the first location.  There is some more dialogue and the camera moves correctly to the third location, but again immediately returns to the first.  Same process happens for the fourth location.  I have tried this both with the camera centred on a specific coordinate and on an event.

    The script call I am using for a coordinate is:

    ms_pro_cam_center_at(12, 15, 40)

    ms_pro_cam_wait_for_scrolling

    The script call for an event is:

    ms_pro_cam_center_at_char(24, 40)

    ms_pro_cam_wait_for_scrolling

    I can see nothing wrong with my script calls, so can you suggest what might be causing this?

    Thanks.
     
    Last edited by a moderator: May 21, 2015
    #35
  16. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    Hello! Try the following instead:

    ms_pro_cam_ignore_player(true)ms_pro_cam_center_at(12, 15, 40)ms_pro_cam_wait_for_scrolling# and the same for the event:ms_pro_cam_ignore_player(true)ms_pro_cam_center_at_char(24, 40)ms_pro_cam_wait_for_scrollingYou would have to use the following when you want the camera to follow the player again:

    ms_pro_cam_ignore_player(false)Let me know if that works.
     
    #36
  17. Kes

    Kes Global Moderators Global Mod

    Messages:
    21,100
    Likes Received:
    10,719
    First Language:
    English
    Primarily Uses:
    RMVXA
    It makes no difference, but that doesn't surprise me, because as I said the cut scene begins with the camera centred on a point other than the player.  In fact, the camera is never centred on the player during this scene, as the player isn't supposed to be there.  This is a scene which happens 'elsewhere'.
     
    #37
  18. ♥SOURCE♥

    ♥SOURCE♥ Too sexy for your party. Member

    Messages:
    693
    Likes Received:
    410
    True! If you want, you could prepare a demo and send me a PM with a link to it. I can take a look at it now :3
     
    #38
  19. Kes

    Kes Global Moderators Global Mod

    Messages:
    21,100
    Likes Received:
    10,719
    First Language:
    English
    Primarily Uses:
    RMVXA
    Okay, will do.
     
    #39
  20. Raythalos

    Raythalos Just a regular Alicef@g~ Veteran

    Messages:
    54
    Likes Received:
    0
    Location:
    Gensokyo
    First Language:
    Indonesian
    Not sure if this is a known issue, but the game crashes with this error if I put "ms_pro_cam_focus_on" inside a move route. Otherwise it works fine if I use it on a regular script call.

    EDIT: it also happens on a fresh game with this script as the only one running

    [​IMG]
     
    Last edited by a moderator: May 26, 2015
    #40

Share This Page