Can I use a 3D FPS game engine to render and control virtual scenes in real-time?
January 16, 2006 9:30 AM
Subscribe
Can I use a 3D FPS game engine (i.e. Half-Life 2 or the like) to render and control virtual scenes in real-time? Game modders, is what I want to do possible?
I'll preface this question by saying that I'm not a gamer and have little experience with FPS (first person shooter) games, let alone modding them. There seems to be a large community of people who do this, and quite a few tools, both official and third-party, that let you modify things like game appearance, character behavior, in-game physics, etc. I'm also somewhat familiar with machinima and have seen a few videos produced using game engines (Red vs. Blue, WOW videos, etc.) I have a project that overlaps with this somewhat but I don't know if what I want to do is possible.
First, I'd like to create a custom map, very simple, with known geometry. This seems doable from what I've read. Then, I'd like to control what computer-controlled characters are in the scene, and how and when they move. This also seems doable.
I'd like to be able to set up a camera at some known point with some known orientation, and just watch the scene and the characters as they move (I don't care about actually "playing" the game). I'd like to be able to control the camera in some manner I want (for example, panning or zooming) and capture the video that this camera would see. I assume that this all is doable, judging from machinima videos I've seen.
The big question I have is - can I do this LIVE? Is it possible to programatically interact with the "game" as all of this is going on? In other words, could I have the game running, and in real-time control the camera position and orientation, as if I were directing? Could I do this programatically, either through some hooks in the developer SDK or by writing custom code? And finally, could I also get access to the final video output in real-time as well? Think of what I want to do as a virtual camera, where controlling it in real-time would produce real-time changes in the output video.
posted by chos to computers & internet (8 comments total)
1 user marked this as a favorite
The ability to "camera" in a multiplayer, FPS game is actually done right now in certain leagues for games like Battlefield 2 - the application I'm referencing is for sportscasting. Two "commentators" will be in the game, moving about, observing the teams playing in a virtual-camera-God-mode. Up until recently, this was audio-only, but lately they have been able to stream out the video in realtime, so that you could see what they saw just by logging onto the feed.
Drop a line on Shanzy at EGLN and see if he can direct you to the software package they use for this. It might work. Depending on your specific needs, you might not have to create anything that isn't "off the shelf."
posted by TeamBilly at 9:43 AM on January 16, 2006