[Klonan] [1.1] Support orientated lights on Projectile prototypes

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Muppet9010
Filter Inserter
Filter Inserter
Posts: 278
Joined: Sat Dec 09, 2017 6:01 pm
Contact:

[Klonan] [1.1] Support orientated lights on Projectile prototypes

Post by Muppet9010 »

At present an orientated light doesn't align to a projectiles orientation, it stays facing north.

Code: Select all

data.raw["projectile"]["rocket"].light = {
    type = "oriented",
    picture = {
        filename = "__core__/graphics/light-cone.png",
        priority = "extra-high",
        flags = { "light" },
        scale = 2,
        width = 200,
        height = 200
    },
    intensity = 0.6,
    size = 1,
    minimum_darkness = 0.3,
}

The same light will align correctly to a projectile however for a rendered light using "rendering.draw_light()".

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Klonan] [1.1] Support orientated lights on Projectile prototypes

Post by Klonan »

Thanks for the report,

It is fixed for the next release

Post Reply

Return to “Resolved Problems and Bugs”