|
Author
|
Topic: LandingLights
|
Rendsburger Pilot
|
posted 04-05- 08:48 AM
The idea is following: adding a landing light with a small lightstream to the plane and an brighten area on the ground in front of the plane.I think obshadow can be used for this,but i havnīt tried this out. Now the problems: How to create a keycommand to turn the light on/off? My idea with Obshadow is following: a brighten transparent texture to simulate the enlightend area in front of the plane.The problem is not how to create the transparent texture,the problem is how to turn the shadow on or off.Rendsburger IP: Logged |
Raider Pilot
|
posted 04-05- 09:18 AM
Great idea Rendsburger, I answered in the general section, but here goes.Give the Light a dof that only has very small movement, the main thing is that you use oscBeginHidden, look at the landing gear dof for an example. give it a key command of 'cmdLandigLights in the keyboard and the following line cmdLandingLights = L When you press "L" the lights will appear, pressing it again they will go out. If you could send me an example of a plane with the Lights attached I could add the dof and key command for you. (Should be a lot easier than the paratrooper thing)  [This message has been edited by Raider (edited 04-05-2001).] IP: Logged |
Rendsburger Pilot
|
posted 04-05- 02:03 PM
Raider, i send a copy to you if i finished the lights.Rendsburger IP: Logged |
Rendsburger Pilot
|
posted 04-06- 06:21 PM
Hmmm, now iīm not happy with the landlightstuff.First, if whe use a keycommand only userplanes did land with lights,AI didnīt use this.If i add this to the gear,AI use it,but the light will also appear at daylight missions.the only idea i have is to make extra nightplanes.The standart plane for daymissions and a specialversion for nightmissions. Next, itīs not possible for me to add a transparent lighttexture to the plane,that works like a shadow on the ground.I have no idea how to add this to the plane.Rendsburger IP: Logged |
Raider Pilot
|
posted 04-06- 08:58 PM
Rendsburger, it was a very good idea, maybe the patch guys can take a look at this later. IP: Logged |
Nat JAG
|
posted 04-06- 09:32 PM
I know what you mean about casting a light shadow, this is the problem I hit when I first tried to make a searchlight, i had the idea of casting a light shadow from the light itself, that would obviously iluminate anything in it's path, but the proble is that shadows are hardcoded to only point directly downwards, you can affect where they are below the parent, but not the angle.This could be one for the patch team, to be able to define the direction of a shadow, this would give you proper lights for things like this and a fully working searchlight. IP: Logged |
Razer Pilot
|
posted 04-07- 02:00 AM
L is the command to tell the AI to attack. try shift L or alt L. IP: Logged |
Raider Pilot
|
posted 04-07- 11:07 AM
Thanks Razer, I have just started a database with all possible keys available, I am working on a program to simplify the key configuration, at least make it easier to see.I have created a new keyboard.inp by extracting just what is needed. I can load this into a simple program, modify it and write it back out with the updates. I will send it out for testing when it gets that far.
[This message has been edited by Raider (edited 04-07-2001).] IP: Logged |
li'l bastard Pilot
|
posted 04-11- 10:39 AM
what about using this as a searchlight for submarine hunters? The catalina had something like this if I'm not wrong...IP: Logged | |