Author Topic: Mixed nebula and space missions: can it be done?  (Read 1602 times)

0 Members and 1 Guest are viewing this topic.

Offline CommanderDJ

  • Software engineer
  • 210
Mixed nebula and space missions: can it be done?
The title basically says it all, but just to reiterate: I'm asking whether it's possible that something is added to make parts of levels nebulae, and other parts empty space. Imagine the possibilities: Shivan strike groups hiding in nebulae, waiting to ambush unsuspecting Terrans, other such things... (I know I only listed one possibility there. :D)
I don't know how difficult what I'm asking is, but if someone experienced could comment, that would be awesome.

CommanderDJ
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: Mixed nebula and space missions: can it be done?
It's been asked for many times over the years.  Now, combining some complicating scripting and perhaps some distance check sexps within FRED, it at least might be possible, but not easy to do or really practical.  Any practical method would certainly require some new features from the FSO team, and I don't believe that this is a priority for them for now.
The Trivial Psychic Strikes Again!

 

Offline CommanderDJ

  • Software engineer
  • 210
Re: Mixed nebula and space missions: can it be done?
I suspected as much. Perhaps some time in the future when people are less busy...
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Mixed nebula and space missions: can it be done?
Problem is that we coders are always busy working on something.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Thaeris

  • Can take his lumps
  • 211
  • Away in Limbo
Re: Mixed nebula and space missions: can it be done?
Yes, this would be really useful, especially for atmospheric missions where you have a cloud layer and then open sky. Wings, FreeSpace Atmospheric, and our mod, Stellar Assault, would have need for this.
"trolls are clearly social rejects and therefore should be isolated from society, or perhaps impaled."

-Nuke



"Look on the bright side, how many release dates have been given for Doomsday, and it still isn't out yet.

It's the Duke Nukem Forever of prophecies..."


"Jesus saves.

Everyone else takes normal damage.
"

-Flipside

"pirating software is a lesser evil than stealing but its still evil. but since i pride myself for being evil, almost anything is fair game."


"i never understood why women get the creeps so ****ing easily. i mean most serial killers act perfectly normal, until they kill you."


-Nuke

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Mixed nebula and space missions: can it be done?
FreeSpaceLancer. :D

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Mixed nebula and space missions: can it be done?
You can sort of fake it using set-mission-nebula or whatever it's called.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Mixed nebula and space missions: can it be done?
I don't know of any way to make "exterior" of a cloud, I tried to do it with glowpoints, but it looked ugly.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Mixed nebula and space missions: can it be done?
FreeSpaceLancer. :D

ive already managed a combined mouse and gun control system years ago with scripting. but now were talking about some serious beef that is needed in the game's rendering engine.

from a graphics standpoint, how hard would it be to change background settings on the fly? surely nebulas require different initializations from your usual mission. youd need to seriously upgrade the mission format too, to have multiple environments. probibly would lay out nebulas with something like the asteroid system, then theres the matter of rendering the nebula from the outside. freelancer apperared to use a large bitmap for the long distance effect, closing in brings out poofs and debris sprites, closing in further increases the poofs and replaces the debris sprites with models, and then once the boundry is crossed, the full on effect. you also need to render the inside looking out case as well, though thats just a matter of droping the poof alpha and fog. so is it possible, yea sure. is it a monumental undertaking, damn skippy! does the scp have the time or the manpower to implement it, probibly not. would be seriously awesome though, a serious step to modernizing the engine.
« Last Edit: August 19, 2010, 10:07:15 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: Mixed nebula and space missions: can it be done?
There is a potential for creating a somewhat simple feature to enable an awkward method of simulating variable density nebulae.  It comes from two fields which are currently part of objecttypes.tbl which relate to FOG.  The two fields control how far away from the camera that ships will begin to be obscured by fog, and the second controls at what distance they will completely disappear behind it.  Using these fields, you can presently make nebulae thinner, but it will affect ALL nebulae for any modified ship classes.  It is not inconceivable, that a talented coder  ;7 could create sexps to modify these parameters in mission.  Simpler for the user would be a global modifier, which multiplies these figures for all ships within a mission.  Using a figure greater than one would make the nebula thinner, while using one between one and zero (decimal, obviously) would make it thicker.  Then using waypoints as markers, one could combine every-time events, with the fog thickness multiplier sexp and variables, to create a nebula which gets thinner as you approach a waypoint.
The Trivial Psychic Strikes Again!