Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Pages: 1 2 [3] 4 5 ... 7

Author Topic: [Released] F-117A Nighthawk  (Read 93259 times)

Levi

  • Hero Member
  • *****
  • Posts: 585
    • Outerra Mods Site!
Re: [WIP] F-117A Nighthawk
« Reply #30 on: February 12, 2015, 01:52:42 am »

Not turning off.... what am I doing wrong.. ?
Code: [Select]
function update_frame(dt){
  this.light(arc1, variable0 == true);
//this.light([lightName], [Expression]);
}
You declare a variable, then the light will turn On and Off based on that variable.


Or you could directly turn it On/Off replacing the expression by true/false or 0/1 like so:
Code: [Select]
function update_frame(dt){
  this.light(arc1, false);
}
Of course, this should be better used with a conditional statement like an if for example.
Logged

bomber

  • Hero Member
  • *****
  • Posts: 523
  • newbie
Re: [WIP] F-117A Nighthawk
« Reply #31 on: February 12, 2015, 01:54:22 pm »

But the bus turns the lights on and off using the keyboard 'L'.... that's what I want.

how do I do that ?
Logged
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

Levi

  • Hero Member
  • *****
  • Posts: 585
    • Outerra Mods Site!
Re: [WIP] F-117A Nighthawk
« Reply #32 on: February 12, 2015, 04:01:38 pm »

But the bus turns the lights on and off using the keyboard 'L'.... that's what I want.

how do I do that ?
If you want to use the "L" key to toggle the lights on aircraft, then that's not possible without the upcoming keyboard extension. What you can do right now, is to toggle the lights based on a JSBSim property, such as the 'gear/gear-pos-norm' for example.
Logged

bomber

  • Hero Member
  • *****
  • Posts: 523
  • newbie
Re: [WIP] F-117A Nighthawk
« Reply #33 on: February 12, 2015, 04:11:49 pm »

Thanks levi, I just thought the L key was applicable to any vehicle type... my mistake.
Logged
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

KW71

  • Outerra Developer
  • Hero Member
  • *****
  • Posts: 762
  • Love OT!
Re: [WIP] F-117A Nighthawk
« Reply #34 on: February 12, 2015, 09:58:43 pm »




Can't wait anymore!!! I want it now!!!  ;)

Logged
"A man who is contented with what he has done, will never become famous for what he will do".

aWac9

  • Hero Member
  • *****
  • Posts: 2601
  • newbie
Re: [WIP] F-117A Nighthawk
« Reply #35 on: February 14, 2015, 05:45:50 am »

ocean floor, lights and tides

"Sea levels alternate between falling and rising. We've come to know such motions, and we call them tides. They all relate to the gravitational energy of the moon and sun.

Tides don't just work alone by themselves. There is a correlation between the way the earth moves, along with the way the moon and sun respond. As planet Earth spins on an axis, the ocean water will remain equal. This is because the Earth's gravity is tugging towards the center so the centrifugal force pushes more to the outside.

When the moon comes in with its powerful force, it can accelerate ocean water towards it. That's when you see high or low tides. This video is amazing in showing the ocean's gravitational force."


Logged

MacLeHunter

  • Newbie
  • Posts: 2
  • 23rd Naval Air Squadron
Re: [WIP] F-117A Nighthawk
« Reply #36 on: February 14, 2015, 11:17:03 am »

Can't wait to fly it :DD
Logged

Fighter117

  • Jr. Member
  • *
  • Posts: 42
  • newbie
Re: [WIP] F-117A Nighthawk
« Reply #37 on: February 14, 2015, 02:06:32 pm »

One of my preferate planes who decided of the end of my pseudo ! I must have it ! :D
Logged

Levi

  • Hero Member
  • *****
  • Posts: 585
    • Outerra Mods Site!
Re: [WIP] F-117A Nighthawk
« Reply #38 on: February 19, 2015, 10:26:32 am »

Some screenshots showing the cockpit with lights:




As you can see, I've managed to have the cockpit fully illuminated without casting any light on the terrain nor on the external model. It just works perfectly nice. :)
« Last Edit: February 19, 2015, 10:51:11 am by Levi »
Logged

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
Re: [WIP] F-117A Nighthawk
« Reply #39 on: February 19, 2015, 10:30:06 am »

Stupendo!!!! Bravissimo :)
Logged

Acetone

  • Hero Member
  • *****
  • Posts: 963
    • Youtube channel
Re: [WIP] F-117A Nighthawk
« Reply #40 on: February 19, 2015, 11:22:11 am »

Wow!  :D
New HDR seems to give cool results with lights!
Logged

bomber

  • Hero Member
  • *****
  • Posts: 523
  • newbie
Re: [WIP] F-117A Nighthawk
« Reply #41 on: February 19, 2015, 11:45:46 am »

What's the frame rate hit with lights on as opposed to not having lights.
Logged
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

aWac9

  • Hero Member
  • *****
  • Posts: 2601
  • newbie
Re: [WIP] F-117A Nighthawk
« Reply #42 on: February 19, 2015, 11:57:22 am »

levi big ... fantastic
I want one .. that of yaaaa !!  ::)
 ^-^
Logged

Fighter117

  • Jr. Member
  • *
  • Posts: 42
  • newbie
Re: [WIP] F-117A Nighthawk
« Reply #43 on: February 19, 2015, 12:51:43 pm »

So hurried ! :D  :D
Logged

PytonPago

  • Hero Member
  • *****
  • Posts: 2284
  • It´s way too complex, dont let me try to explain !
Re: [WIP] F-117A Nighthawk
« Reply #44 on: February 19, 2015, 01:28:42 pm »

Oh god ...   " heart-attack " ... " adrenaline shot " ... another look at his thing ... " heart-attack " ...
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

Pages: 1 2 [3] 4 5 ... 7