Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 08/21/11 18:08

Lukas Kreator
Member
Registered: 05/07/10

Oni LevelTools

As Samer asked, I'll post my progress here.

Oni LevelTools is the temporary/permanent name of a program I'm making wich will automate the process of level modding. You supply it some files and, whenever you have to test new changes, just press the update button. For now, it will just do the basic stuff, but I may implement more advanced things in the future. I've been testing it in the Mibbit chat with other people, but they are gone from the chat :\, so I'll just leave the download link here for whoever wants to test it. Once I'm finished with it, dirk will compile a Mac version for me (thanks, dirk).

[Screenshots]

Simple:
LevelToolsSimple.jpg
Advanced:
LevelTools_Debug.jpg

[Download]

Windows
Please, tell me if this works.

Last edited by Lukas Kreator (08/22/11 10:08)

Offline

#2 08/21/11 19:08

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

Re: Oni LevelTools

Looks interesting so far!  Looking forward to testing it when I have something to test in it.


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

Offline

#3 08/21/11 20:08

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

Re: Oni LevelTools

Not going to lie, your UX is not half bad.

Offline

#4 08/22/11 11:08

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

Oh, thanks. I've been working on this for some time, I hope it is usefull.

Offline

#5 08/22/11 12:08

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

Re: Oni LevelTools

If you are interested, i could give you some pointers on cleaning up that UI later today.

Offline

#6 08/22/11 12:08

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

Re: Oni LevelTools

Looking good!  I like being able to see the messages within the program.

Offline

#7 08/22/11 14:08

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

Hmm, sure, dirk.

And thanks EdT.

Offline

#8 08/23/11 00:08

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

Re: Oni LevelTools

A couple of suggestions, you could offer support for the OniSplit command -room:extract  This command will remove all the vertical polygons in a level so you have the basis for the bnv model.  The command format is -room:extract environment.dae -out:rooms.dae Now the rooms.dae will be the bnv model for the pathfinding grids.

The second is to extract the AKEV from an existing level.  I know this can be done in OniSplit GUI, but your program is called LevelTools. smile 
The command is -extract:dae AKEV.oni

Offline

#9 08/23/11 10:08

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

Good suggestions. That will remove the need of all that Pathfinding stuff, one checkbox will now be sufficient.

Have you already tried editing Daes from original levels? I didn't know that was possible...

Offline

#10 08/23/11 10:08

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

Re: Oni LevelTools

No, you will still need to keep all the pathfinding stuff, the command -room, will only make a bnv dae, you still have to make the pathfinding grids.  In the Lair tutorial, I'll explain the pathfinding process.

When you extract the AKEV, you get the environment, bnv and objects from the level. I have not tried editing the original levels, but I have used the objects from the levels for the Junkyard and Lair levels.  Sketchup can open most of the level dae files, though, some levels crash Sketchup.

Offline

#11 08/23/11 10:08

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

You don't get it. I will make so that the Pathfinding Grids checkbox enables the generation of the 'pathfinding dae' and then creation of the actual grids, all in one. wink

Last edited by Lukas Kreator (08/23/11 10:08)

Offline

#12 08/24/11 11:08

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

Can someone please try this out? I must know if it works... hmm

I know that few people are making levels at the moment, but I must know if this even starts up on other computers.

Last edited by Lukas Kreator (08/24/11 11:08)

Offline

#13 08/24/11 14:08

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

Re: Oni LevelTools

Once you compile a Mac version, you'll get lots of comments from me smile

Offline

#14 08/24/11 21:08

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

Re: Oni LevelTools

Once I get the code we can start work.

Offline

#15 08/24/11 21:08

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

I just wanted to know what DLLs I'd have to deploy for Windows users. I also didn't want to compile for Mac before I went out of Beta, because changes will be made all the time and a lot of compilations will have to be done... But I think I can make a Mac Beta too, I'll send it to you, dirk, in a few days, I guess.

Offline

#16 08/25/11 12:08

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

Re: Oni LevelTools

I will not be using QT, so i will need your code sans the dlls for QT, and i will port it over to interface with native controls. Depending on when i get it i should have it done by next friday at the latest.

Offline

#17 09/08/11 14:09

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

Re: Oni LevelTools

Lukas: I hope you can update your level tools for the new method of importing level files.

If it can do the following, that will great

1) Extract AKEV from existing levels. -extract:dae output sourcefile -search ../GameDataFolder/level0_Final
2) Import level files: -create:level output source.xml
3) Rebuild/compile the level
4) Extract .oni files as .xml files
5) Convert .obj files to M3GM
6) Convert xml files to .oni files

Thanks

Last edited by EdT (09/08/11 14:09)

Offline

#18 09/08/11 15:09

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

Wow, I couldn't even finish the first version yet... I guess I'm too slow smile
I'll try to dedicate this weekend or the next week to finishing it, adding those features.

Offline

#19 09/09/11 11:09

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

Now it is getting quite similar to OniSplit GUI, because I had to add tabs hmm

Offline

#20 09/09/11 11:09

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

Re: Oni LevelTools

Well, at least your tool is actively being developed smile


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

Offline

#21 09/16/11 10:09

Lukas Kreator
Member
Registered: 05/07/10

Re: Oni LevelTools

Well, maybe "actively being developed" is not the best expression in this case.

Argh, I'm sorry, I won't be able to finish this until I get my inspiration back. I'm having a quite big inspiration crysis and I've not programmed anything for quite a long time. I'll most likely get my inspiration back and finish this in one night, as usual, but I don't know if that will happen soon. It can happen today, next week or next month. I just can't give release dates anymore. There is also the fact that I have to get inspiration for a long period, as I'll have to do all that testing process wich is kinda difficult with Oni.

I said I'd work on it this week but I didn't. I'm sorry. I WILL finish this one day, but I'm just writing this because I don't want to frustrate you anymore, if I'm doing that.
I will not make this without inspiration because I'd rather not do anything than do shitty work.
I'll keep trying to help people in the forums and discuss ideas, however.

Maybe this is not a big surprise, but I'm writing this because Samer asked us to keep people updated. Just don't count on this for now. Again, I'm very sorry.

Last edited by Lukas Kreator (09/16/11 10:09)

Offline

#22 09/17/11 10:09

demos_kratos
Member
From: Russia, Volzhskiy
Registered: 08/13/08

Re: Oni LevelTools

Ohh. I see what you did here... *pokerface*
I don't have a PC around and I'm such a lazy-ass to use bootcamp or get the notebook from the Den of the Forgotten. Hence the ultimate lack of activity on OSGUI. I was going to rewrite it in some decent language but again I'm such a lazy-ass.


Jente, du er deilig, du er lekker, ihvertfall nå når jeg drikker.
Baby, du har det som trengs, hva er sannsynligheten for at vi to hopper til sengs?
Kan du si meg det? Jeg er ikke så stø i sannsynlighetsregning.

Offline

Board footer

Powered by FluxBB