FSIC Messageboard
  Tech Talk
  LandingLights

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   LandingLights
Rendsburger
Pilot
posted 04-05- 08:48 AM     Click Here to See the Profile for Rendsburger   Click Here to Email Rendsburger     Edit/Delete Message   Reply w/Quote
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     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
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     Click Here to See the Profile for Rendsburger   Click Here to Email Rendsburger     Edit/Delete Message   Reply w/Quote
Raider,
i send a copy to you if i finished the lights.

Rendsburger

IP: Logged

Rendsburger
Pilot
posted 04-06- 06:21 PM     Click Here to See the Profile for Rendsburger   Click Here to Email Rendsburger     Edit/Delete Message   Reply w/Quote
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     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
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     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
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     Click Here to See the Profile for Razer   Click Here to Email Razer     Edit/Delete Message   Reply w/Quote
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     Click Here to See the Profile for Raider   Click Here to Email Raider     Edit/Delete Message   Reply w/Quote
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     Click Here to See the Profile for li'l bastard   Click Here to Email li'l bastard     Edit/Delete Message   Reply w/Quote
what about using this as a searchlight for submarine hunters? The catalina had something like this if I'm not wrong...

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c