Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 11/7/17 10:05

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Adding lights to custom levels

Hi,

As anybody been able to add lights to custom levels?

I would like to add lighting like these (original game):
Oni%202017-07-11%2016-16-13-54.png
Oni%202017-07-11%2016-16-55-19.png
Oni%202017-07-11%2016-16-37-40.png

to my custom level. I'm using sketchup.

I've installed this sketchup plugin:
https://www.twilightrender.com/index.ph … s-twilight

But I couldn't get it to work.

Last edited by s10k (11/7/17 10:32)

Offline

#2 11/7/17 10:23

Iritscen
Moderator
From: NC, USA
Registered: 22/10/07

Re: Adding lights to custom levels

Are you talking about adding lights like the ones in your screenshot, or adding lighting to a level?  Because the two have nothing to do with each other.  The lights are just 3D models with lens flare sprites attached, and the "lighting" is pre-baked vertex shading.


byproducts are fine, but where's the beef?

Offline

#3 11/7/17 10:29

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Re: Adding lights to custom levels

Its lights like in the screenshots. I'm sorry but I'm a completely newbie with this stuff.

Last edited by s10k (11/7/17 10:30)

Offline

#4 11/7/17 14:46

paradox-01
Member
From: Germany
Registered: 14/1/07

Re: Adding lights to custom levels

Theoretically you could create OFGA files and use them with the Furniture.xml
Advantage: no need to set particle locations.
Disadvantage: nailing down the OFGA location isn't very comfortable.

Or you use the particle collection.
Disadvantage: Every time you move the light emitting objects, you also need to re-adjust the particle locations.
Advantage: the 3d objects can be easily moved in sketchup and the rotation of the lensflare doesn't matter as their orientation is always towards your screen.

If you can't find the original particles you want in the particle collection file, check also the ENVP section in the ONLV file.

Last edited by paradox-01 (11/7/17 15:03)

Offline

#5 11/7/17 15:17

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Re: Adding lights to custom levels

Thanks paradox! This is exactly what I was looking for. I'm going to investigate more.

Offline

Board footer

Powered by FluxBB