Oni Central Forum

A forum for the Oni community

You are not logged in.

#26 01/12/11 20:01

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

Re: Creating new level

Hi Upal, sorry, I tried to test your level on my Mac but it crashed.  Not sure if it had to do with the fact that I had to convert the files to our .sep format, or what.  I'd like to know if it crashes for any Windows users.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#27 01/12/11 21:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Creating new level

Nope big_smile


Oni IRC | Kumite! Kumite! Kumite!

Offline

#28 01/12/11 21:01

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

Re: Creating new level

It loads for you, oxe?


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#29 01/12/11 21:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Creating new level

yeah, i'm uploading a video so you can see it, not much to look at
Ok Video's Up!
http://www.youtube.com/watch?v=Dg-7VmiWMpQ

Last edited by Lithium (01/12/11 21:01)


Oni IRC | Kumite! Kumite! Kumite!

Offline

#30 01/12/11 21:01

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Creating new level

That reminds me a whole lot of Mirror's Edge.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#31 01/12/11 21:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Creating new level

Same here
I might be uploading people's creations from now on


Oni IRC | Kumite! Kumite! Kumite!

Offline

#32 01/12/11 23:01

Leus
Member
From: Boone, NC
Registered: 05/28/09
Website

Re: Creating new level

Oni combat + Mirror's Edge movement = best game ever.

That's all I got lol.  But awesome to see new levels becoming more and more tangible.


If we don't change the direction we're going, we'll likely end up where we're headed.

Offline

#33 01/12/11 23:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Creating new level

Speaking of levels, what would you guys make as a level? I would add a BGI level
off topic: what command do i use to get ai to ignore me or something like that i wanna make a video smile


Oni IRC | Kumite! Kumite! Kumite!

Offline

#34 01/13/11 01:01

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

Re: Creating new level

Enter ai2_ignore_player=1 either in the console or BSL.

Offline

#35 01/18/11 17:01

UpalStanka
Member
Registered: 01/04/11

Re: Creating new level

Hello again. Please tell me how enable alpha for texture in game, i wanna make invisible barriers for stairs? I try options  -format:bgr32 and -format:dxt1 but alpha dont work

alphaw.th.jpg

And next question, how set draw distance on map?

Offline

#36 01/18/11 17:01

Lithium
Member
From: Colorado
Registered: 10/17/08

Re: Creating new level

Hey srry for not being able to answer
this but...
man that looks great! big_smile i love the statues there, great progress big_smile


Oni IRC | Kumite! Kumite! Kumite!

Offline

#37 01/18/11 17:01

UpalStanka
Member
Registered: 01/04/11

Re: Creating new level

oxe161 wrote:

Hey srry for not being able to answer
this but...
man that looks great! big_smile i love the statues there, great progress big_smile

my poor knowledge of English can not evaluate your joke, srry sad

Offline

#38 01/18/11 18:01

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

Re: Creating new level

There is already an invisible texture TXMPINVIS that you can use.

For your info there are 3 formats that have an alpha channel, this allows for transparency or reflectivity.
bgra32 (16,777,216 colors, alpha channel 256 levels of gray), bgra5551 (32,768 colors, alpha channel 2 levels black or white) or bgra4444 (4,096 colors, alpha channel 16 levels of gray).

Not sure what you mean by set draw distance on map?

Edit:
Having fun I see: http://img138.imageshack.us/i/image6t.jpg/

Last edited by EdT (01/18/11 18:01)

Offline

#39 01/18/11 18:01

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

Re: Creating new level

I could be wrong (Edit: I was wrong), but I don't think Oni has a finite draw distance.  All visible objects are always drawn.  However, you can add fog to obscure distant objects.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#40 01/18/11 18:01

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

Re: Creating new level

Oh, so that's what you mean actually there is a BSL command called gs_farclipplane_set.  If you set it at a high number everything will be visible, a low number and only a few things in front of you will be visible.

This page is informative: http://wiki.oni2.net/Gs_farclipplane_set#Frustum

Edit:
One thing you might want to try is adding object from Oni to your level.
Like this: junkyard.jpg

You will need to extract the M3GM of an object along with its texture then import that into your 3D program.

Last edited by EdT (01/18/11 23:01)

Offline

#41 01/19/11 11:01

UpalStanka
Member
Registered: 01/04/11

Re: Creating new level

EdT, thank you very much, the argument bgra5551 works perfectly, i would like to add a few trees.

EdT wrote:

I use your arena script

Iritscen, yes you heard me correctly, this is exactly what I needed, thanks for the clarification.

EdT wrote:

One thing you might want to try is adding object from Oni to your level.
Like this: junkyard.jpg

You will need to extract the M3GM of an object along with its texture then import that into your 3D program.

I plan to add some original objects from Oni after the completion of the main walls (buildings).

Thanks for great help.

Offline

#42 01/19/11 11:01

UpalStanka
Member
Registered: 01/04/11

Re: Creating new level

Sorry, and one more question, can i make the "water", polygon with a texture can see but he has no collision?

Offline

#43 01/19/11 13:01

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

Re: Creating new level

Regarding the "water" polygon, I don't know the answer, but you might want to look at the lab level and the acid pool.

When I have some time, I'll try to look into that too.

Why don't you start a thread about your new level and post work in progress screen shots of it.  And when you have more questions we can discuss it there.

Offline

#44 01/19/11 14:01

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Creating new level

I'm not sure if flagging polygons works yet.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#45 01/19/11 14:01

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

Re: Creating new level

I asked Neo, and there's no way to trigger that no-collision flag right now (aside from hex editing, I guess...).  He sounded interesting in making it possible in the future, though.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#46 01/19/11 15:01

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Creating new level

Hmmm swimming would be cool. Underwater fighting anyone?


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#47 01/19/11 17:01

UpalStanka
Member
Registered: 01/04/11

Re: Creating new level

Just polygons with animated texture, maybe attach this texture to anyone polygon and watch result, i try it tomorrow.

I'm still collecting information and trying making something usable.

Offline

#48 01/19/11 18:01

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Creating new level

Like Iritscen said above, you currently can't do that.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#49 01/19/11 22:01

Dirk Gently
Member
From: Boston, MA
Registered: 06/12/09
Website

Re: Creating new level

why cannot we import an empty collision model?

Offline

#50 01/20/11 08:01

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

Re: Creating new level

There's no means for indicating in your 3D model that a certain poly should have no collision in a way that OniSplit will understand when converting the DAE.  But again, I think it would be possible by hex-editing AGQGs.  It probably wouldn't be too hard because you'd only have to change a few polys.  Of course I say that as someone who never does any hex-editing.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

Board footer

Powered by FluxBB