Furball Home

FURBALL : ARTICLES

 

Java Guncam for WarbirdsIII

-furball 12-06-01 * Updated 12-10-01* Updated 12-31-01

 

A Player creates a Gun Camera add-on for WBIII

The orginal GunCam by "rehn" gave hours of joy to history buffs and graphics hogs of all sorts within the Warbirds community for years. With it's rough gif captures and animated sequencing, even some DoA addicts have adapted it to their own grainy guncam dreams. Now with the advent of Warbirds III a new program that worked with the constraints of the "next generation" game was needed. Enter Troy "phenix" Errthum and his Java Guncam for WarbirdsIII. Player development of tools outside of the operating environment of the game itself is nothing new. But the quality of the images available to a history buff trying to recapture a moment through virtual means, is.

Target took a few moments of Troy's time to ask about his new add-on.

Target: Just so people have an idea of where this program is coming from, when did you get involved in Warbirds? What's your background in the game?

Phenix: I have been playing Warbirds online since September of 1997 just previous to the release of 2.0. I had been 'practicing' offline in 1.11 for about 2 months prior to that after seeing an add in an internet magazine. I joined the 'Haze', after a chance meeting with -btjo- soon after going online and have been with them ever since. You may know -btjo- as his latest ID, vert++. :) I am currently the leader of our Buff Wing, mainly due to my navigational skills. I have become quite good at lining buffs up on a target.

Target: Where did you get your programming skills?

Phenix: I have been literally programming since 5th grade (remember BASIC on the old Apples?). I graduated with a degree in Math and Physics and took a job in programming. In my current position, I have coded in about a dozen different languages in the past year. Because of this I can't say I am an expert in any of these languages, but as most programmers know, they all work the same, just different looking code. I still code as a hobby and learned most of my Java at home.

Target: How long have you been working on Warbirds stuff with those skills?

Phenix: I have been making aids for Warbirds for a long time from detailed maps to gunsites. As a matter of fact I think I may be spending more time lately in extracurricular Warbirds activities than actually playing online. :)

As I have stated, I create things like Java Guncam and because I wanted it to use. But, it is very rewarding to me if others can utilize what I create. I guess that keeps me working on things. Plus, if I ever make it to a con, someone might buy me a shot. :) Did I mention Java Guncam is beerware? :D

Target: Hehe, glug glug! Where'd you get the idea for the Java Guncam?

Phenix: I was greatly inspired by Rehn's Guncam and used it in pre-WB3. From that program I learned what settings should be considered when creating guncam (trailing frames, etc.). Rehn was able to actually generate animated gifs, which for now I have no intention of doing. There is plenty of software out there that can do it.

Target: I've tried it out now and I find it a pretty amazing tool. Are you done with it, or are there improvements coming?

Phenix: I guess I don't find the guncam that awesome... yet. Wait till I get it to works for Mac. I know Java pretty well, but the program is a mixed bowl of things I have found on the internet. The joystick connection is none of my stuff, but a freely distributed package. The blurring and grayscaling of the image is also pretty basic Java code. The aging portion of the film and the timestamp idea was something I came up with on my own. In the past when I had used Rehn's Guncam, I had to convert all the images one by one to get the effect I needed. So when writing Java Guncam, I put the option
to do all the processing for me upfront. Afterall, I made this primarily for myself. :)

I just wished it worked while it was in full screen, although some are reporting that it captures every frame with highend cards. In the future, iEN will have the option to record your flight and then play it back in a viewer. It is my hope they don't force the viewer in a full screen mode. Then one could use Java Guncam to create the needed frames for a movie offline and while not playing.

For the immediate future, I plan on finding away to make it Mac compatible even if it is through the keyboard only, and also add the ability to purge and write out the images in memory without exiting the game. Right now if you would play it for hours without stopping to develop your film, you
would eventually start seeing a slow down on your system. :)

Download Java Guncam

Installation is complicated for this program so it's suggested that you read the Java Guncam page before you try and install it yourself.

jguncam.zip

46 KB

To use this guncam, you will need to have Sun's JRE 1.3 installed on your PC. You can get it by downloading and installing the file located here. It's about a 5 meg download.

Installing Java Guncam
Download and unzip the file, jguncam.zip, somewhere on your hard drive (example: C:\guncam\). Next create a shortcut (preferably on your desktop) with the following info:

Target: "C:\Program Files\JavaSoft\JRE\1.3.1\bin\javaw.exe" GunCam
Start In: C:\guncam

The above settings will vary depending on where you install Java (look for javaw.exe) and unzip your file.

Update - Following items added: .ini file to save settings between sessions, clipboard commands, new saving nomenclature with safety net to keep files from being over written, and developing of successful captures in the event of a program failure. Mac version released as beta. (See the Java Guncam website for more info on the Mac beta.)

Update - 12-31-01 Added keyboard control, added brighten image option, redid GUI appearance, created jar file to make setup and running easier.

Animating your Guncam images

There are lots of gif animators and AVI creators out there, but for a quick 30 day trial version that won't cost anything in the short run, try out Animagic.


Contact Furball | Furball is owned by Matt 'Target' Davis | Furball © 2000, 2001, 2002 Furball Home