Posts Tagged ‘PAKEd’

PAKEd, MDLEd, LevelEd, Argh!

Monday, January 19th, 2009

Man, writing this editing suite stuff isn’t easy is it? Who knew?

Everything is moving along and I spent the weekend learning a great deal about MDL files and specifically what in the hell a ‘frame group’ was. With that knowledge, I’m now successfully reading all parts of MDL files into proper data structures.

However, that code is currently living inside of the PAKReader class which is wrong. I need to extract it out to an MDLReader class (with an accompanying MDLWriter class). To get those working and debugged it would make sense to get the MDLEd application at least somewhat started for easy testing. To test that application, I will need raw MDL files which means I should add an ‘Export’ function to PAKEd first. Eek!

It’s all doable but it takes time. Gonna put my head down and grind on this stuff for a bit. It’ll be good in the end, I promise!

Slowly Creeping Along

Thursday, January 8th, 2009

So PAKEd is moving along but it’s not doing anything visually interesting yet. I’ve been breaking down stuff like the global class I have into application specific sub classes so that, for example, WADEd doesn’t have to parse all the PAK files in your Quake directory when it starts up (it won’t ever need that information so why eat the extra start up time?). I think the next step is going to be to get PAKEd to simply write out the PAK file that it currently has loaded. Once that works, I’ll add file importing/deleting and then it should be basically functional. Then the real fun begins! Previews of models, levels, and other great stuff. It’s like dessert once you’ve eaten your coding vegetables.

Stipple Slip

Tuesday, December 16th, 2008

I read a tutorial the other day on OpenGL and it mentioned line stippling. I didn’t know OpenGL could do that but apparently it can! I’ve since added it to a few places in LevelEd and I love how it looks! Here’s a pic of a selected trigger that uses stippled lines to indicate which entities it is targeted at:

picture-1

Speaking of LevelEd, I think the fallout from the recent code re-factoring has finally started to subside. The editor broke in many and varied ways that I didn’t notice until I actually tried to build something in it. Yargh!

I’m just about ready to get going, in earnest, on PAKEd. I want to get the table of contents displaying in an NSOutlineView over the next few days. Wish me luck!

Code Complete

Thursday, December 11th, 2008

Well, obviously NOT, but we’re getting there. The code base is about as generalized as I can make it right now. There are a few other things that I can, and will, break out over time but enough has been done now that I can continue on with the rest of the ToeTag editing suite.

Next up: PAKEd. This will be an easy to use PAK editor with full drag’n'drop functionality and file previews. Should be fun to work on!

I can’t go too quickly though. WADEd still has a bunch of features that need implementing and there is always more to do with LevelEd. I think the realistic truth is that this suite will never be fully finished. Ever. But as long as it always evolves in a positive direction it should be fun to work on and use.