Gonzo blogging from the Annie Leibovitz of the software development world.

Month: December 2001 (Page 3 of 8)

Hey guys. It’s update day today. I’ve uploaded the new ObjectEditor program for you to use. It’s a stand-alone version of the ObjectEditor that will come with blueprint 2 (and basically the same as the one from blueprint 1). This gives you a preview of the object while you’re editing it and lets you edit most properties of an object. Remember the object must be a writable IFF file on your hard drive. It cannot edit files that are embedded in Far files. Use Far Edit to extract them first. The program will support loading and saving Hot Date objects but does not edit the categories or downtown flags. I’m still testing that part (and there are other programs out there to do that). I’ll be updating some other programs today if I get a chance to be HD compatible, like the cloner and viewer.



Please note that when you install this program it defaults to a new directory (not the blueprint one). These programs need to be installed to a separate directory as they’re all using various versions of the same DLL files. Welcome to DLL hell. At some point they’ll all be the same version and there won’t be any issues, but for now just install them to their own directories. Thanks.

Enjoy!

Just a quick note. I found out the full source code to Quake II has been released (John Carmack, whom I have almost as much respect for as Will Wright, released the Quake I source last year). Not that this is Sim news, but another great commercial game is out there under the GPL. Just wish they’d release at least the original Sim City or some Sim games under the GPL. Now THAT would be cool. You can find the Quake II source on most game file servers (File Planet, etc.) just good luck in finding a mirror that has a copy you can grab without waiting until New Years for it to download. Hmm.. time for SimQuake?

Hope you’re having a good Christmas. The malls are nuts out there so if you need to shop, don’t. Congrats to Blaine who yesterday correctly identified the quote from my news post as being from “Army of Darkness” (or Evil Dead 3 if that’s your thing). Blaine receives a complimentary visit to this website and all the wonderous advantages that go along with it.

I’m not quite sure if I’m going to have things ready for Christmas at this point. I don’t have an issue with working the next couple of days but my names not Scrooge so my testers are bathing in the luxury they call family life (I traded my family in for a DVD burner a few years ago). So there won’t be a lot of time for testing and there are still a few things to work out. Well, we’ll see how it goes. If not Christmas then New Years for sure because that’s a whole ‘nuther week. In any case, you’ll be scratching your head saying “What the hells a vertex??” soon enough.

If you want to take a sneak peek, the blueprint page here shows off the new version with your friend (and mine) the crappy deck chair that has been floundering on the internet (and in blueprint) for ages. Lighting isn’t the best in the screenshot, but in blueprint you have complete control over where the lights are (and what colour they are too) so you can play with it. Seeya!

Thought I would regale you with what’s up with blueprint, how all the tools fit together and the process for creating objects with the new version.

First off, version 2.0 will *not* support multi-tiles. I know, groan, moan and all that. I’m sure you’re about to compose that lovely hate mail and say “What’s the point of the program if it can’t do that!”. Unfortunately, it’s just not in the cards right now. The engine is *almost* there to allow for this type of thing. To create multi-tile objects, the 3D image has to be sliced up in 3D world space. For Maxis, this is currently done with a 3DS plugin and the 3D Studio API is much more full featured than my own (obviously), so they have cool things like 3D bitmaps with depth values and such and fully integrates to their ray casting engine when it does rendering. blueprint just does simple rendering for now (but belive me, it looks nice 🙂 but in the near future the ray casting engine will be beefed up a bit and you’ll be able to do multi-tile objects. When? I don’t know exactly but it’ll come. The sprite editor also gets way more complicated to handle this too.

Okay, so what will this version do and how does it do it? Basicallly the sequence is: Create (3D), Clone, Assign (Sprites), Edit, Export.

So first you have to create some 3D content (import, build, whatever). At some point (before any other object functions take place) you have to pick the base object for your creation and clone it. This is done through the ObjectCloner program (via a menu in blueprint). blueprint passes it the name of the current document (so you have to save something first, even if it’s a blank document) and the object is cloned into the blueprint directory with this name. You can go back and change the base object at any time (however you’ll loose any changes you’ve made in the Object Editor).

The object editor lets you change the text and property values of the object (name, price, description, etc.). Just like the current one in blueprint and accessed through the object menu.

The sprite editor is for assigning sprites to blueprint images. Before it’s run, blueprint exports all the sprites for the current scene. Each mesh generates a separate sprite for each rotation/zoom so it’s grouped by meshes right now . So if you have say a table with metal legs and a wood top, you’ll be exporting two sprites for the table (with 12 images each made up of 4 rotations and 3 zooms). In the sprite editor, you have a list of the sprites to replace in the object file, a sprite preview, a list of meshes to select and a blueprint preview. You pick a sprite to replace, select “Replace this sprite” and then pick the mesh(es) to replace the sprite with. For the table example, you’ll have to select both the table mesh and legs. The bitmap is assembled on the fly and you

can combine whatever meshes you want to create the final sprite image. When this is done for each sprite you want to replace (you don’t have to replace them all if you don’t want to) then you click OK and a sprite control file is created describing what meshes replace what sprites is created.

Once youre done then you choose export and the sprite control file is read, the blueprint mesh bitmaps are regenerated (you might have changed the mesh since the assignment), the zbuffers and alpha channels are created and it’s all imported into the sprite. Then once that’s done, a preview of the assembled object is generated from the IFF file and then the catalog and speech icons are created from these and inserted into the IFF file. At this point, you’re all ready to go into The Sims and check it out.

That’s about it. Figured I’d give you some idea about how all this stuff works. If you have any specific questions let me know.

BTW, yesterdays somewhat obscure post was a reference from a movie. Obviously the majority of the you didn’t get it. 10 points to the first one that guesses it. Leave a comment and post your answer. I’ll tell you what it is tommorow.

« Older posts Newer posts »