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