Results 1 to 12 of 12

Thread: Question: Modding campaign map camera zoom?

  1. #1

    Default Question: Modding campaign map camera zoom?

    Has anyone ever modded the campaign map camera zoom on a warscape engine before? I'd love to increase the max height zoom on the campaign map.

    I've had a look in the preferences script and apart from the debug cam on battles I can't see anything else that looks even remotely related

  2. #2
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: Question: Modding campaign map camera zoom?

    Oh. If someone finds how to do that I will give him +10 000 rep. I just can not play campaign because of that limited zoom scale...

  3. #3

    Default Re: Question: Modding campaign map camera zoom?

    Quote Originally Posted by sinople View Post
    Oh. If someone finds how to do that I will give him +10 000 rep. I just can not play campaign because of that limited zoom scale...
    I alredy changed that and playing around with camera tweaks, how far you would like to have the zoom?

  4. #4

    Default Re: Question: Modding campaign map camera zoom?

    Nice one. What did you need todo to increase the zoom? Would love to play around with the settings. Personally I'd like to go quite far out!

  5. #5
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: Question: Modding campaign map camera zoom?

    I need proof for that ^^

  6. #6

    Default Re: Question: Modding campaign map camera zoom?

    Im not sure how everything works, the max zoom i get looks like on the screen.

    Spoiler Alert, click show to read: 


    The information is stored in the savegames too but didnt managed to change it in my savegames.

    Spoiler Alert, click show to read: 


    So if you want to give it a try heres a small mod, but you need to start a new campaign.
    Attached Files Attached Files

  7. #7

    Default Re: Question: Modding campaign map camera zoom?

    Ahh that looks a lot better. Have some rep and thanks for the reply.

  8. #8

    Default Re: Question: Modding campaign map camera zoom?

    Thank you so much for this! By default it's so close you don't get any sense of scale to the world - your pictures look much better. Kinda gutted it won't work with existing games. Tempted to start an Iceni and come back to Rome if/when you or another intrepid tinkerer gets it working with save games. Not sure I can rep yet, but have some in spirit.

  9. #9
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: Question: Modding campaign map camera zoom?

    Wow, thank you. +rep !

  10. #10
    Inevitability won
    Patrician Citizen

    Join Date
    Mar 2010
    Posts
    9,594

    Default Re: Question: Modding campaign map camera zoom?

    This is controlled in the scripting.lua, as it always has been, if anyone is interested.

    local function OnNewCampaignStarted(context)
    new_game = true
    scripting.game_interface:set_zoom_limit(1.1, 0.8)
    scripting.game_interface:set_map_bounds(0, 700, 900, 0)
    end

    That line.

  11. #11

    Default Re: Question: Modding campaign map camera zoom?

    is there any way of changing the zoom in a saved game?

  12. #12

    Default Re: Question: Modding campaign map camera zoom?

    bump?

Posting Permissions

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