flip889
local ror driver
flares are usually seen on vehicles, but they could also be on map objects like those on the community map
those flares are added in the .odef file & it's been a feature for a while, but there have been no docs for them so far
here's what the syntax looks like:
pointlight x, y, z, dirx, diry, dirz, r, g, b, range
the first 3 values are axis offsets from the origin, in meters (blender's units)
first spawn a plane & merge the plane at the center
then extrude that vertex along the z axis (E + Z)
do it again for whatever axis you wanna offset on
in ogre/RoR, from the front perspective, x & y are like on a 2d graph & z is back & forth
with that in mind, now enter your offset values (the first 3)
x in this case is -2.75, Y is 8.778, and z is 0 since it's unused
i haven't cracked the rest of the syntax yet but if i were to guess,
the dir (axis) numbers are rotations on the axis', the rgb ones are red, green & blue decimal percentages (i.e red being 1.0 would be 100% red)
& range is the size
our NeoQ lamppost is white, so r, g, & b would all be 1.0
if you do it right, your final odef flare would look like this
pointlight -2.75, 8.775, 0.0, 0, 0, 0, 1.0, 1.0, 1.0, 50
the size (range) of this one is 50
note to devs: feel free to correct me on the syntax
those flares are added in the .odef file & it's been a feature for a while, but there have been no docs for them so far
here's what the syntax looks like:
pointlight x, y, z, dirx, diry, dirz, r, g, b, range
the first 3 values are axis offsets from the origin, in meters (blender's units)
first spawn a plane & merge the plane at the center
then extrude that vertex along the z axis (E + Z)
do it again for whatever axis you wanna offset on
in ogre/RoR, from the front perspective, x & y are like on a 2d graph & z is back & forth
with that in mind, now enter your offset values (the first 3)
x in this case is -2.75, Y is 8.778, and z is 0 since it's unused
i haven't cracked the rest of the syntax yet but if i were to guess,
the dir (axis) numbers are rotations on the axis', the rgb ones are red, green & blue decimal percentages (i.e red being 1.0 would be 100% red)
& range is the size
our NeoQ lamppost is white, so r, g, & b would all be 1.0
if you do it right, your final odef flare would look like this
pointlight -2.75, 8.775, 0.0, 0, 0, 0, 1.0, 1.0, 1.0, 50
the size (range) of this one is 50
note to devs: feel free to correct me on the syntax
Last edited: