- Joined
- Jun 1, 2008
- Messages
- 360
Hi there.
I converted this .mdl to .mdx with Magos Model Editor and used it in my map alot for street laterns.
Then I created another doodad, giving it the exact same model as above but with Intensity 100 and AmbIntensity 200. (It also has the same settings in the object editor)
Problem: As soon as some specific street laterns get into the camera view the light from the second doodad disappears (for ever!).
(Renaming the Light to "Omni02" in the .mdl file didn't help)
Now if I use a new model with the same intensity the light will never disappear and work just like it should, even if i change for example the Attenuation.
So the lights with the higher intensity shut out the 'smaller' lights for ever.
Even using dummy units and recreating them every 0.05sec won't work.
How can I fix this?
Or is there another way to make the light smaller without modifying the intensity?
I put this line in the Map Init trigger:
All street latern lights work properly.
Thanks
kl
//E: Btw, this also happens in the world editor, and standard light models such as the torch disappear also.
//E2: Sorry for using a prefix, I didn't see the blinking announcement
I converted this .mdl to .mdx with Magos Model Editor and used it in my map alot for street laterns.
Code:
Version {
FormatVersion 800,
}
Model "" {
NumLights 1,
BlendTime 150,
}
Sequences 1 {
Anim "Stand" {
Interval { 0, 3333 },
}
}
Light "Omni01" {
Omnidirectional,
static AttenuationStart 1,
static AttenuationEnd 2,
static Intensity 500,
static Color { 0.1, 0.1, 0.1 },
static AmbIntensity 1100,
static AmbColor { 0.1, 0.1, 0.1 },
}
PivotPoints 1 {
{ -2.59302, 0.194191, 17.3677 },
}
Then I created another doodad, giving it the exact same model as above but with Intensity 100 and AmbIntensity 200. (It also has the same settings in the object editor)
Problem: As soon as some specific street laterns get into the camera view the light from the second doodad disappears (for ever!).
(Renaming the Light to "Omni02" in the .mdl file didn't help)
Now if I use a new model with the same intensity the light will never disappear and work just like it should, even if i change for example the Attenuation.
So the lights with the higher intensity shut out the 'smaller' lights for ever.
Even using dummy units and recreating them every 0.05sec won't work.
How can I fix this?
Or is there another way to make the light smaller without modifying the intensity?
I put this line in the Map Init trigger:
Code:
call SetDayNightModels("","")
Thanks
kl
//E: Btw, this also happens in the world editor, and standard light models such as the torch disappear also.
//E2: Sorry for using a prefix, I didn't see the blinking announcement
Last edited: