Page 2 of 2 FirstFirst 12
Results 21 to 30 of 30

Thread: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Dismounted Feudal Knight's Avatar 🦀¯\_(ツ)_/¯🦀
    Civitate

    Join Date
    Aug 2017
    Location
    behind you, probably
    Posts
    2,553
    Blog Entries
    1

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    This man's getting a medal for this one if I get it working. I'll give it a look within the next few days if not today.

  2. #2
    AnthoniusII's Avatar Μέγαc Δομέστικοc
    Join Date
    Feb 2007
    Location
    Thessalonike Greece
    Posts
    18,974

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    Quote Originally Posted by Dismounted Feudal Knight View Post
    This man's getting a medal for this one if I get it working. I'll give it a look within the next few days if not today.
    This man is also very helpfull with scripts for mods that need his experties. If you nominate him for a medal you have my own support ..
    TGC in order to continue its development seak one or more desicated scripters to put our campaign scripts mess to an order plus to create new events and create the finall missing factions recruitment system. In return TGC will give permision to those that will help to use its material stepe by step. The result will be a fully released TGC plus many mods that will benefit TGC's material.
    Despite the mod is dead does not mean that anyone can use its material
    read this to avoid misunderstandings.

    IWTE tool master and world txt one like this, needed inorder to release TGC 1.0 official to help TWC to survive.
    Adding MARKA HORSES in your mod and create new varietions of them. Tutorial RESTORED.


  3. #3
    kostic's Avatar Campidoctor
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    1,939

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    That's it, it works ! And this mod is just awesome !
    Here are some shots I was able to take thanks to @p8q:


    Many thanks also to you, @bitterhowl, because without your help the mod wouldn't have worked !
    Spoiler Alert, click show to read: 





  4. #4
    bitterhowl's Avatar Campidoctor
    Join Date
    Feb 2011
    Location
    Russian Feodality
    Posts
    1,566

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    I'm glad it helped!

    Also want to point you at this small tip, I think this way battle animation looks more natural. You can add it into same script as above, just below camera script lines.
    Animation-Speed-Tip-(Better-looking-Battles)

    My sister, do you still recall the blue Hasan and Khalkhin-Gol?
    Russian warship is winning. Proofs needed? Go find yourself!

  5. #5
    kostic's Avatar Campidoctor
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    1,939

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    Thank you for your proposal, but regarding the speed of the units, I am quite satisfied with my settings.


    I often use 0.8 speed to have time to watch my units and better follow my strategy. Except in snowy terrain or in the middle of a forest where the speed of the units is already slowed down.
    I noticed that in speed 1.0, when an army is regrouped and asked to move forward, some units go too fast and it spoils the show for me.
    Towards the end of the battle, I return to speed 1.0 because the units being tired, they then move more slowly.

  6. #6
    kostic's Avatar Campidoctor
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    1,939

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    Just a small problem: with this mod, you can no longer use the "backspace" key to stop your units: The free and unlimited camera activates and quickly moves away from the unit targeted by the given order.
    Moreover, even when I try to change the assignment of a key, the latter is added and does the same thing as the "backspace" key.


    I also tried to modify the script file by changing order_alt but I did not find the language that works to assign another key to the free and unlimited camera...


    Is there a solution to change this?

  7. #7
    bitterhowl's Avatar Campidoctor
    Join Date
    Feb 2011
    Location
    Russian Feodality
    Posts
    1,566

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    Well, I thought how to edit this issue too, but delayed it for future because I use this function now only for making unitcards, not for playing battles.

    So, partly I healed it, make the first line of monitor lire this

    monitor_event ShortcutTriggered ShortcutTriggered radar dec_scale


    This time script will activate after F3 button pressed.

    Still camera replacement issue didn't fixed, I tried to comment out ( the line with camera_position command, but in this case there's no effect on free camera zoom.

    My sister, do you still recall the blue Hasan and Khalkhin-Gol?
    Russian warship is winning. Proofs needed? Go find yourself!

  8. #8

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    I can see people are having problems with pressing the button to make the script work. I was wondering which button could be better and it's not easy to choose. That, plus realizing i'm declaring a counter that i don't need, i came with this new improved version!


    Spoiler Alert, click show to read: 
    declare_counter is_script_ready_to_end




    while I_CompareCounter is_script_ready_to_end = 0
    end_while



    Therefore, I have made this new improved version. Now, you just have to click the "show_me_how" button and the script already works. Then press any button that moves the camera "ASDW" or whatever button, and automatically everything is ok and the camera is unlimited.

    Here is the new script:

    Spoiler Alert, click show to read: 
    script


    declare_show_me

    camera_restrictions_set off
    camera_position -45.866, 303.729, -700.577 0 50 700
    camera_position 0, 50, 700 -45.866 303.729 -700.577

    end_script


    Who was going to imagine doing the code more simple it was going to work better!

    I will edit the main first post of this forum with this new update.

    If anyone knows how to make the camera comeback to normal position without pressing any camera button, that would be wonderful. So far in docudemons i only found this:

    Identifier: camera_position
    Parameters: position x,y,z target x,y,z
    Description: Immediately places the camera at the specified position
    Sample use: "camera_position 0 0 0 0 0 -1"
    Class: CAMERA_POSITION

    In my second camera_position command i'm trying to bring the camera to a normal position, but it doesn't work and i don't know why. However, I'll leave it like this for further research and improvement.

    I hope you guys enjoy this mini mod, i felt satisfaction when i saw someone likes it and the screenshots
    Last edited by p8q; April 04, 2023 at 03:14 AM. Reason: Doing it more neat

  9. #9

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    Hi! I successfully installed your mod in Third Age but noticed it doesn't allow to freely pan the camera by pressing one of the mouse buttons?
    Thanks for your amazing work!

  10. #10
    kostic's Avatar Campidoctor
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    1,939

    Default Re: Unlimited zoom for battle camera. For Rome 1, Medieval II and any of their mods. Finished and working! :)

    Your upgrade is working great, thank you ! Now the camera goes into "free" mode as soon as I click on the "start deployment" panel. So I no longer have a problem playing the battle and using the "backspace" key to cancel an order or stop a unit.
    Only small inconvenience, the jump in the free camera interrupts the general's sentence and requires using the "home" key to return to him.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •