Results 1 to 5 of 5

Thread: Unlimited battle camera zoom. Camera hack/camera debug script

  1. #1

    Default Unlimited battle camera zoom. Camera hack/camera debug script

    Hi!


    I have managed to do a simple script that unlocks zoom limits in battle. It's inspired by another mod for RTW: "camerahack". Credits to that modder.


    So far It's working for vanilla and any mod for the campaign battles.


    Just paste the following code in the file ...\data\world\maps\campaign\imperial_campaign\campaign_script.txt


    ;-------------------- UNLIMITED CAMERA ------------------------

    monitor_event BattleDeploymentPhaseCommenced FactionIsLocal
    camera_restrictions_set off
    camera_position -45.866, 303.729, -700.577 0 1 9000
    end_monitor

    ;------------------------------------------------------------


    Where to paste it? at the beginning, after the line "script".


    How it works:


    After deployment, you press start battle and the camera automatically goes to a far away position. After the camera got to that position the limits are unlocked. Now i usually press "home" button to go back to the general and that's it.


    I NEED HELP :


    The problem remains for custom battles. So far, for custom battles i only know how to do it for mods that have installed the mod ReallyBadAI.


    The way to do it is pasting the same code after the line "declare_counter a2u20_distance" in the file ...\data\scripts\show_me\G5Script2.txt

    For "Total Vanilla Beyond" mod It's working flawlessly for all custom and campaign battles. For the mod "Wrath of the Norsemen The Baltic Release Beta 3.3" it's not working for custom battles, even though that mod has ReallyBadAI installed. I don't know why it's not working there. It worked only once. Maybe because a showmehow script don't work well for custom battles? i've no idea.


    The problem is that i don't know how to do it for mods that don't have installed ReallyBadAI, and there are many mods that don't support ReallyBadAI.


    It's supposed to be a simple script, but i only get CTD's every time i try different options, because i don't know much about scripting. Does anyone know how to do this script that works for custom battles in any mod?


    Thank you in advance

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

    Default Re: Unlimited battle camera zoom. Camera hack/camera debug script

    Great findings!

    As for your question - you should learn "advisor script" method.

    https://www.twcenter.net/forums/show...pt-to-your-mod

    That article is for RTW but for advisor it's the same.

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

  3. #3

    Default Re: Unlimited battle camera zoom. Camera hack/camera debug script

    Quote Originally Posted by bitterhowl View Post
    Great findings!

    As for your question - you should learn "advisor script" method.

    https://www.twcenter.net/forums/show...pt-to-your-mod

    That article is for RTW but for advisor it's the same.
    Thank you for the link

    I'll try to improve the script.

    By the way, i figured it out how to make it work with all mods for custom battles by installing first ReallyBadAI mod and also figured it out how to install ReallyBadAI for all mods, even for "Europa Barbarorum II". I'll explain in next post.

    Anyways, if i have free time to look at that link you said, i could improve the script without the need for installing ReallyBadAI If i'm able to do that, i'll post the files.

  4. #4

    Default Re: Unlimited battle camera zoom. Camera hack/camera debug script

    Ok, so now i got it working!!

    It's here now in this thread:
    https://www.twcenter.net/forums/show...-and-working!-)

  5. #5

    Default Re: Unlimited battle camera zoom. Camera hack/camera debug script

    I have a problem
    This script doesent work on LANDS TO CONQUER MOD
    Works on any other mods who has folder imperial_campaign.

Posting Permissions

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