Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 21/8/11 18:57

Lukas Kreator
Member
Registered: 7/5/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 (22/8/11 10:58)

Offline

#2 21/8/11 19:41

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

Re: Oni LevelTools

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


byproducts are fine, but where's the beef?

Offline

#3 21/8/11 20:52

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

Re: Oni LevelTools

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

Offline

#4 22/8/11 11:02

Lukas Kreator
Member
Registered: 7/5/10

Re: Oni LevelTools

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

Offline

#5 22/8/11 12:12

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

Re: Oni LevelTools

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

Offline

#6 22/8/11 12:52

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

Re: Oni LevelTools

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

Offline

#7 22/8/11 14:35

Lukas Kreator
Member
Registered: 7/5/10

Re: Oni LevelTools

Hmm, sure, dirk.

And thanks EdT.

Offline

#8 23/8/11 0:00

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/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 23/8/11 10:16

Lukas Kreator
Member
Registered: 7/5/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 23/8/11 10:30

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/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 23/8/11 10:33

Lukas Kreator
Member
Registered: 7/5/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 (23/8/11 10:34)

Offline

#12 24/8/11 11:17

Lukas Kreator
Member
Registered: 7/5/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 (24/8/11 11:19)

Offline

#13 24/8/11 14:58

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

Re: Oni LevelTools

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

Offline

#14 24/8/11 21:01

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

Re: Oni LevelTools

Once I get the code we can start work.

Offline

#15 24/8/11 21:19

Lukas Kreator
Member
Registered: 7/5/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 25/8/11 12:16

Dirk Gently
Member
From: Boston, MA
Registered: 12/6/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 8/9/11 14:36

EdT
Moderator
From: Los Angeles, CA
Registered: 13/1/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 (8/9/11 14:50)

Offline

#18 8/9/11 15:03

Lukas Kreator
Member
Registered: 7/5/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 9/9/11 11:00

Lukas Kreator
Member
Registered: 7/5/10

Re: Oni LevelTools

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

Offline

#20 9/9/11 11:59

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

Re: Oni LevelTools

Well, at least your tool is actively being developed smile


byproducts are fine, but where's the beef?

Offline

#21 16/9/11 10:49

Lukas Kreator
Member
Registered: 7/5/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 (16/9/11 10:51)

Offline

#22 17/9/11 10:33

demos_kratos
Member
From: Russia, Volzhskiy
Registered: 13/8/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