Author Topic: "Fog Near"/"Fog Far Multiplier", how does it work?  (Read 2031 times)

0 Members and 1 Guest are viewing this topic.

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
"Fog Near"/"Fog Far Multiplier", how does it work?
So, for The Lost Generation - Jarin I want to stage it all with a slighly more unsettling ambiance, dipped just a tiny bit in the surreal - You are supposed to call it to question if the events are "just another day fighting Shivans".

For that purpose, I am going back to tried and true of horror story cheap tricks and clichés. It is supposed to be a bunch of readily avalible indicators about what is really going on without ever expressily saying "that is going on" - you know, I am trying to really go out on showing instead of telling.

Part of that is using the "Nebula beyond Gamma Draconis" as primary location and mess with very much known envoirment in mission, e.g. switching storm patterns (AFAIK I can't modify "For Near" and "Fog Far Multiplier" per event (yet), but that's what feature requests are for).

One of the elements that is missing right now is, that I don't understand yet how the mechanics behind the "Fog Near" and "Fog Far Multiplier" fields work. I hardly have the time to just run a bunch of tests and go by observation; esspecially because some missions require different set ups (examples in the spoiler text below).

So what do these fields exactly do?
How do they interact with storm pattern?

Spoiler:
Example A:
During one mission you are extracting a GTVA science team from crashed ships. As part of the set-up I want you to be able to see the derelicts and surrounding debris field at certain radius - the dig site is about 2k in diameter, so I was thinking about a visual range just beyond that. (I will deal with the problem that the Scar Asteroid poses some unique challanges as a piece of terrain later)

Example B:
In another mission, you are the extraction team for a stealth fighter flying into a secured space - hiding nearby and waiting for things to go south. Here I want the visual range to allow you to see the enough some roughly-cruiser sized objects in the distance of about 12k, so you can follow the going-ons a bit, while a Ravana and Comm-Node at about twice the distance remain hidden. (the huge distances are deliberate give just enough time for events to unfold)

Each time of course I wish to avoid the it looking too much like open space too.
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: "Fog Near"/"Fog Far Multiplier", how does it work?
Don't take this as certain, but I think that the near multiplier dictates at what distance a ship will appear to be completely unobstructed by nebular fog, and the far multiplier being at what distance it won't be visible at all.  For example, if you set the near distance at 2, and assuming default is 1, then at twice the default distance, the ship in question will be completely visible... at least that's my take on it.  I seem to recall these being introduced when I was doing some FREDding for TBP many years ago and wanted Hyperspace to be less obscuring... though I never got around to testing it.  Of course, nebular fog has nothing to do with the poofs and the sheets are rendered as well.
The Trivial Psychic Strikes Again!

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: "Fog Near"/"Fog Far Multiplier", how does it work?
Okay so this thread made me curious and I tested stuff.

Range: Seems to be just purely the range at which you can target things (hostiles that is, I think friendlies can be targeted at any range)

Fog Near: I have absolutely no idea what this does at this point. I set this to all kinds of numbers but could not see any noticable difference.

For Far Multiplier: The default view range seems to be a range of 1000. Fog Far Multiplier is well, as the name states; a multiplier for that view range. So if you want to see ships clearly at a range of 3000, then set this multiplier to any number above 3. Why this couldn't just be called "View range" and be set in just actual distance, I have no idea. This just seems pointless vague ¯\_(ツ)_/¯
Depending on the size of the ship, there seems to be a few hundred meters of partially obscuration.


This was with a setting of 1, as you can see, at a distance of 1069, only the bits closer to the player are visible.


And with 1.1 the ship becomes slightly more visible, as more of it falls inside the 1100 view range.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline PIe

  • 28
  • GTVA POLICE
    • freespace3.com
Re: "Fog Near"/"Fog Far Multiplier", how does it work?
It looks like the default for Fog Near is 10 and it is a multiplier as well.
[6:23 PM] PIe: why do I have the feeling that I shouldn't be able to give orders to 22nd armored hq
[6:24 PM] Axem: 22nd armored hq, i order you to get me a cup of coffee
[6:24 PM] PIe: and donuts
[6:24 PM] PIe: BECAUSE THIS IS THE GTVA POLICE
[6:25 PM] Axem: :O
[6:25 PM] Axem: am i under arrest
[6:26 PM] [`_`]/: no, just please step out of the myrmidon
[6:26 PM] [`_`]/: you have so much to fred for

[9:50 PM] Sottises: wait did you do vassago's verge?
[9:50 PM] Sottises: .. dirge?
[9:50 PM] Axem: yes
[9:50 PM] Sottises: ohh
[9:50 PM] Sottises: well I have that and JAD too
[9:50 PM] Axem: :)
[9:50 PM] Sottises: what a contrast of themes lmao
[9:50 PM] Axem: isnt it
[9:51 PM] Axem: super grimdark thriller about unknowable alien intelligence and over the top colorful action about friendship
[9:51 PM] PIe: jad is grimdark???
[9:51 PM] Axem: :skull:

  

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: "Fog Near"/"Fog Far Multiplier", how does it work?
@Spoon:
Thanks for the help. In no means diminished by what comes next.



So, I was vaguely aware that I was missing something while trying to wrap my head around this. That something -unsuprisingly- was a data-field in Objecttypes.tbl (aka "the .tbl where I find every prop effect I vaguely remember existing"): $Fog:

While that solves another set of issues, it by no means solve the initial problem I see before (yet, probably)

ps. the objecttypes.tbl-section might actually solve the issue of not being able to control the fog-effect directly via SEXP, as I can just work around it with situational copies of relevant ship.tbl entries.
« Last Edit: October 22, 2018, 12:53:05 pm by 0rph3u5 »
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."