Results 1 to 3 of 3

Thread: Remove FOW to test CAI

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Remove FOW to test CAI

    Guys, do you have any suggestions for removing the fog of war to see how the campaign AI works with tweaked settings?

    I tried increase some of the unit LOS traits to very high values but they didn't work.

  2. #2

    Default Re: Remove FOW to test CAI

    Code:
    local function OnFactionTurnStart(context)
    	if conditions.FactionIsLocal(context) then
    		scripting.game_interface:show_shroud(false)
    	end
    end
    Add that to scripting.lua for whatever campaign you're playing

  3. #3

    Default Re: Remove FOW to test CAI

    thanks

Posting Permissions

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