Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Removing FOW  (Read 2041 times)

Ranakastrasz

  • Admiral
  • *****
  • Posts: 702
  • Prince Corwin of Amber
    • View Profile
Removing FOW
« on: June 18, 2014, 03:13:50 PM »

I am trying to figure out how to remove Fog of war.
I came up with a few ideas, but have no idea how to manage it.

There is a Mutable stat for Sight range.
There seems to be a reveal radius function.

However, the first requires me to figure out how to run a script every time a ship enters the battlefield.
The second requires it to be run when a battle starts, and I do not know what all the arguments do.

I would do this myself, but I cannot find any sufficiently similar examples for me to learn from, and the API source itself doesn't help in that respect.
Logged
I think is easy for Simba and Mufasa sing the Circle of Life when they're on the top of the food chain, I bet the zebras hate that song.

Cigarettes are a lot like hamsters. Perfectly harmless, until you put one in your mouth and light it on fire

ValkyriaL

  • Admiral
  • *****
  • Posts: 2145
  • The Guru of Capital Ships.
    • View Profile
Re: Removing FOW
« Reply #1 on: June 18, 2014, 03:21:01 PM »

Just turn it off in settings.json if FOW is that annoying.. ::)
Logged

Ranakastrasz

  • Admiral
  • *****
  • Posts: 702
  • Prince Corwin of Amber
    • View Profile
Re: Removing FOW
« Reply #2 on: June 18, 2014, 03:28:20 PM »

Well, that is so much easier.

Wish I had known about this before.

Thanks

Edit: Well, if it actually worked anyhow.
Will ask in proper forum for this however.
Edit2: Oh, another mod overwrote it. Should be fine.
« Last Edit: June 18, 2014, 03:38:00 PM by Ranakastrasz »
Logged
I think is easy for Simba and Mufasa sing the Circle of Life when they're on the top of the food chain, I bet the zebras hate that song.

Cigarettes are a lot like hamsters. Perfectly harmless, until you put one in your mouth and light it on fire