Is this sad? - FMVperformance.com : The site for all your Ford Mazda and Volvo needs
Reply
 
LinkBack Thread Tools
post #1 of 18 (permalink) Old 07-19-2007, 03:24 PM Thread Starter
Senior Member
 
Join Date: Aug 2005
Location: Ellicott City, MD
Posts: 9,451
Is this sad?

Since I am kind of bored at work I have decided to sit down and make a computer program. I am using java to create an applet to simulate space battles.

I am going to try to work it that I am starting out very simplistically and then working my way up in terms of complexity.

Since tuesday I have created a basic UI so that you can create a squadron of up to 8 ships for yourself and 8 for the enemy (pre-assigned stats, at the moment). Then you can calculate a randomly generated starting position for the enemy squadron. Then you can manuever your squadron (only in the x/y plane at the moment, I am planning on adding 3 dimensions of movement later).

The manuevering is based on your fleets acceleration and the time 'interval' you select from drop down menus and it does mimic inertia (IE if you stop acclerating you will keep moving the same direction you had been going). The UI will show you the distance to the enemy squadron and its bearing along with your velocity and heading (and of course the drop downs for your acceleration and time interval).

Currently it is 'turn based', IE you have to hit a button to advance through the 'time interval' you selected. Later I plan on making it real time instead of round based (or multiples of real time so you can speed things up or slow them down).

Anyway, the manuevering works really well and with some careful work I can advance from a LONG way away over a couple of hundred turns to within a very short distance of the enemy squadron.



My next tasks in my project are (in order) (listed from my java file so I don't forget what I need to do next in case I take a sabatical from my programming for awhile because I get busy at my job)...

//Need to create battle system
//Need to create ship systems (IE what can be damaged and what effect that has)
//Need to create damage system
//Need to create enemy battle AI
//Need to create enemy movement and movement AI
//Need to create withdraw to hyperspace
//Need to create more realistic ships
//Need to add improve UI
//Need to add crude graphics
//Need to improve graphics
//Need to expand number of ships, ship types, add energy weapons
//Need to smarten AIs
//Need to add 3rd movement dimension

So far the program is about 650 lines long and getting longer quickly. I suspect tomorrow I will have a very crude battle system worked out and the starting of the 'ship system', maybe even a crude damage system. Next week I am hoping to flesh those three out and also add a crude enemy battle AI. I think I am going to spend a long time working on the enemy movement AI and battle AI to get anything beyond the crude stage (IE when to retreat, how to retreat, what to target, what weapons to use, etc, etc, etc).

I am hoping to get to the stage of a pretty advanced applet. Not really planning any kind of 'super advanced' thing like the next WoW game or anything like that. My goals are


1) realistic ship and battle simulation (based on the Sci-fi universe I am basing this on)
2) realistic ship movement (again based onf the sci-fi universe I am basing this on)
3) highly intelligent AI
4) scenario creation
5) maybe a running campaign setup
6) at least basic graphics for your and your enemy's ship status and also your fleet in relation to the enemy's fleet and both of your locations within the star system you are fighting in (something beyond the X and A moving on a screen with a little * as a star in the middle, maybe some basic 2D sprites).

Those are the goals I am shooting for. Something to keep me entertained for a while (I would guess at least a couple of months) when I am bored and maybe something kind of fun to play and tweak.
-Matt
azazel1024 is offline  
Sponsored Links
Advertisement
 
post #2 of 18 (permalink) Old 07-19-2007, 03:27 PM
Senior Member
 
Join Date: Dec 2004
Location: Cary, NC
Posts: 5,875
Send a message via AIM to rubyred3
Re: Is this sad?

yes

2004 Velocity Red Mica Mazda3 S
H-Stock 3
Leather, Sport package, Xenons, Nav., Speedline grille,Koni Yellows, and 17x7 Bronze Racing Sparco NT-R's (15.3 lbs) wrapped in 225/45-17 Dunlop Direzza Z1*/Mazda Millenia 16x6.5's wrapped in 225/50-16 Hankook Z214 C71's
rubyred3 is offline  
post #3 of 18 (permalink) Old 07-19-2007, 03:27 PM
F1 Driver
 
Join Date: Apr 2004
Location: New Haven, Connecticut
Posts: 8,677
Send a message via AIM to Hexedit Send a message via MSN to Hexedit
Re: Is this sad?

ironically, when I'm bored at work I take a break from java programming instead of programming different things.

Titanium Grey HB 5 spd, ABS, Moonroof, Leather seats, Exel RS-GT 17x7.0 Hyperblack 225/45/17 Azenis RT-615, Racing Beat Front/Rear Sway + Endlinks, Mazdaspeed MSP3 Coilovers, 88 AWR Mount, Apexcone 6000k HID, I deturboed my car and removed my built engine. I'm now stock powertrain + an Injen.
Hexedit is offline  
post #4 of 18 (permalink) Old 07-19-2007, 03:29 PM
F1 Driver
 
Join Date: Dec 2004
Location: PA, USA
Posts: 5,896
Re: Is this sad?

That sounds like something I would be doing if I had free time Good luck and send me a copy of this.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
3AndMe is offline  
post #5 of 18 (permalink) Old 07-19-2007, 03:34 PM Thread Starter
Senior Member
 
Join Date: Aug 2005
Location: Ellicott City, MD
Posts: 9,451
Re: Is this sad?

Well I happen to be a system analyst. I don't really program in my job (other some HTML stuff, and that isn't really programming).

The funny thing is that I LOVE to program if it is for my own pleasure. I HATE programming when I am putting together code for someone else. I guess if I worked for the right place like a gaming company or something I might get interested enough in what I was working on to actually enjoy programming, otherwise it is simply an enjoyable passtime.

I'll certainly send anyone who wants it a copy of it once I am at least a bit further along.
-Matt
azazel1024 is offline  
post #6 of 18 (permalink) Old 07-19-2007, 06:13 PM
Le Mans: Prototype Class
 
Join Date: Jul 2005
Location: St. Louis, MO
Posts: 1,732
Send a message via AIM to ViperKillerWannabe
Re: Is this sad?

Sounds really cool. Keep us updated.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

2005 Sunlight Silver Metallic 3s
ViperKillerWannabe is offline  
post #7 of 18 (permalink) Old 07-19-2007, 11:23 PM
F1 Driver
 
Join Date: Apr 2004
Location: Calvert County, MD/ Hampton Roads, VA
Posts: 3,049
Re: Is this sad?

I want one when your done.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Motorolabizz is offline  
post #8 of 18 (permalink) Old 07-20-2007, 04:50 AM
Short Track Racer
 
Join Date: Jul 2006
Location: Honolulu, Hawaii
Posts: 154
Re: Is this sad?

I've been working as a System Specialist for about 8 years now without my degree. (various companies)
I've started back in college (taking cores now) but I'm on the fence about something...
A Computer Science degree will involve learning Java, etc.
You mentioned that you hardly use it which is what I've heard before.
Why should I spend 4 years going for Comp. Science when I can go to a technical school and be done in less than 2?
I've also considered switching to Electrical Engineering because I like networking a lot more...
your thoughts...
bustrhimn is offline  
post #9 of 18 (permalink) Old 07-20-2007, 05:12 AM
F1 Driver
 
Join Date: May 2004
Location: Seattle
Posts: 9,483
Re: Is this sad?

interesting what people do at work...
someone should start "what do you do when your bored at work" thread...



<--- you dont even want to know

2000 Toyota Tacoma
2007 MS3 SOLD 07/11/08 for $19,000
mattleegee is offline  
post #10 of 18 (permalink) Old 07-20-2007, 08:54 AM
F1 Driver
 
Join Date: Jun 2005
Posts: 23,017
Re: Is this sad?

lol i post here when bored at work!

**not on this forum and not unless its in a for sale thread.
stephanie is offline  
Sponsored Links
Advertisement
 
Reply

  FMVperformance.com : The site for all your Ford Mazda and Volvo needs > Misc > Lounge

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the FMVperformance.com : The site for all your Ford Mazda and Volvo needs forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome