Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 18/11/17 14:30

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

Creating glass objects in game

Can anyone tell me how do we create glass objects in custom levels? I've tried search in the wiki but I didn't found the procedure.

Offline

#2 18/11/17 14:50

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

Re: Creating glass objects in game

I can't recall at the moment if any new levels have even had glass in them, but it seems possible.  See http://wiki.oni2.net/OBD:BINA/TMBD, and also follow the link through to OBD:Mtrl.


byproducts are fine, but where's the beef?

Offline

#3 18/11/17 15:49

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

Re: Creating glass objects in game

Thanks a lot! That worked!

I've just used the texture 'AIR_GLASS_01BREAK' from Oni* on the texture that I wanted as glass on sketchup. After the import it is breakable.

*This textures appears as <Material Name="Clear_Glass"> in BINADBMTTextureMaterials.

Offline

#4 18/11/17 16:04

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/07
Website

Re: Creating glass objects in game

@s10k I'm glad you found the answer.  I believe you can also add the name of a new material to BINADBMTTextureMaterials under the characteristics you want applied to the material.

Offline

#5 18/11/17 16:20

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

Re: Creating glass objects in game

EdT wrote:

I believe you can also add the name of a new material to BINADBMTTextureMaterials under the characteristics you want applied to the material.

Yes that's true. I am not sure if I will use new textures or the ones that already come with the game.

Probably even if I use new textures, if I give them a name of a original glass texture it will become breakable too, without needing to edit BINADBMTTextureMaterials, though I didn't tested this.

Offline

Board footer

Powered by FluxBB