- Messages
- 108
- Country

Hello, I'm trying myself to make a PCL system based on single MDLs gathering all runway lights in one object, texture based.
My problem is that a single object is not visually convenient at all distances: small lamp halos are perfect when viewed from the aircraft sitting on the runway, but flicker and disappear as soon as the aircraft is at some distance. And large textures are perfect when viewed from far away but become ridiculously large when back on the ground.
So my idea was to nest conditions: a first one triggering the object display (Push to talk Radio or keyboard entry) and secondly a series of condition based on proximity: close=small halos, near=larger halos, distant=even larger halos, far away=very large halos.
But I'm confused in the syntax for properly nesting/cascading these conditions.
Is it even possible? And if yes (which I hope) what would a correct code be?
Thanks for SODE, it's an invaluable addition to scenery realism!
My problem is that a single object is not visually convenient at all distances: small lamp halos are perfect when viewed from the aircraft sitting on the runway, but flicker and disappear as soon as the aircraft is at some distance. And large textures are perfect when viewed from far away but become ridiculously large when back on the ground.
So my idea was to nest conditions: a first one triggering the object display (Push to talk Radio or keyboard entry) and secondly a series of condition based on proximity: close=small halos, near=larger halos, distant=even larger halos, far away=very large halos.
But I'm confused in the syntax for properly nesting/cascading these conditions.
Is it even possible? And if yes (which I hope) what would a correct code be?
Thanks for SODE, it's an invaluable addition to scenery realism!
