Home   Help Search Login Register  

Author Topic: 3D landing light  (Read 1232 times)

0 Members and 1 Guest are viewing this topic.

BBE_GRUNT

  • Guest
3D landing light
« on: 07 Jun 2003, 15:20:25 »
Hey guys,

I ran into a little problem while creating some 3D landing and taxiway marker lights today. I set the texture to shine and all, but I can't seem to find out how to make it work like a real light with flare and all. please help me out.

BBE_GRUNT

  • Guest
Re:3D landing light
« Reply #1 on: 07 Jun 2003, 22:11:57 »
ok, I added a "light" memory point inside the lamp, my config file looks like this

Code: [Select]
class CfgPatches
{
   class BBEM_taxilight
   {
      units[] = {BBEM_taxilight};
      weapons[] = {};
      requiredVersion = 1.0;
   };
};
class CfgVehicles
{
   class All {};
   class Static: All {};
   class Building: Static {};
   class NonStrategic: Building {};
   class TargetTraining: NonStrategic {};
   class TargetGrenade: TargetTraining {};
   
   class BBEM_taxilight: TargetGrenade
   {
      model="\BBEM_taxilight\BBEM_taxi";
      armor=20000;
      scope=2;
      displayName="BBE_taxilight";
   }
}

can anyone tell me what to add to get a blue light effect (with corona/flare)?



Thank you in advance..
« Last Edit: 07 Jun 2003, 22:48:07 by BBE_GRUNT »

Skaircro

  • Guest
Re:3D landing light
« Reply #2 on: 08 Jun 2003, 16:35:14 »
Check out the coloured lights addon, if you havent seen it before.
http://ofp.gamezone.cz/unofaddons/ColoredLights.zip

Experiment by adjusting the colour, size and brightness.

It simulates lights using the fire method, as a result your lights will 'flicker'.
Gives it that heat wave haze look at a distance.
Use "this inflame true" in the init.

If you adjust the coloured lights cpp so the model it uses is your runway light model, the light effect should come from your light model.
I tested this with the headlight model from gunslingers editor addon a while ago.

I like your light model, hope you get it working.   :)

BBE_GRUNT

  • Guest
Re:3D landing light
« Reply #3 on: 08 Jun 2003, 17:23:54 »
hey thanks for the reply m8, but I got it to work this morning with some help from Colonel Klink and a lot of trial and error. ;)

swift88

  • Guest
Re:3D landing light
« Reply #4 on: 08 Jun 2003, 21:40:16 »
looking good! :o are you building a whole airfield or just adding eye candy?

BBE_GRUNT

  • Guest
Re:3D landing light
« Reply #5 on: 08 Jun 2003, 22:25:10 »
we're building a whole new island or actually, I only make the custom buildings and objects and Xero is creating the island itself.
I'll feature a very detailed airbase when it's done ;)

Skaircro

  • Guest
Re:3D landing light
« Reply #6 on: 09 Jun 2003, 14:51:32 »
What was the solution in the end?
I'm curious now.  ;D  Is there a better way to do it?