Tuesday, September 18, 2012

A little progress and a new picture!

At the end of my last entry I listed a few goals for things to implement in time for this entry:

Next Round:
  • Get projectiles to impact and damage ships
  • Implement Hull, Armor, and Shielding systems
  • Implement Targeting and Following of the Target
  • Figure out how to use Blender to make a Beacon, which will be used when I make my demo video next week.
What I have gotten done:
  • Projectiles impact and damage ships (Currently only works with Missile projectiles)
  • Hull, Armor, and Shielding stats have been implemented, but no way to manipulate outside of the editor currently.
  • Ships will target other ships but will not follow their target currently.
  • Instead of making a Beacon in Blender I made a really horrid looking missile boat. Too embarrassed to  show a picture of it.

Now to show you a picture!
(Missile Ships killing each other: click for larger image)
It doesn't really look all that good but I wanted to put up a picture for this post and that is what I had available. The explosions need a lot of work but they are flashy and highly visible right now and that's the entirety of my graphical needs at the moment. The ships are slightly modified versions of the heavy fighters shown in the picture in the last post which fire missiles from a launcher in salvos of three. The missiles track to their given target and will follow it until either they run out of "fuel" and become inert or they impact with something and explode.

I don't really have anything else to add for this post so I guess I should put up a new goal list:

 Next Round: 
  • Get ships to follow their target around until destroyed.
  • Multiple possible targets based on number of weapon hardpoints available.
  • Get the ships to stop trying to kill absolutely everything and work as teams
  • Form fleets and broadcast targets throughout fleet for precision strikes
  • Have ships follow waypoints to go from one location to another.
I think that should last me until Thursday. I will hopefully have a Trade Ship by then and can get a demo video out!

Saturday, September 15, 2012

A little bit of progress!!!

Okay so made a little progress these past few days on the in-system portion of the space game. I now have 1 ship and 1 station! Here they are:

(space station with 2 heavy fighter manually docked, 1 heavy fighter in front of the station)

As you can see the station isn't textured all that well but I don't have the assets available to put proper textures on, or do a proper UV map for it. It is just so I have something to test with once I get my next ship, a Trade Ship.

A little information about the Heavy Fighter I currently have:
  • It has 4 forward mounted stationary guns. These will likely just stay minigun-esque until I get more weapon types in the game.
  • It has 4 thrusters so that it can still move at a respectable pace with all of the shielding and weaponry it will be carrying on board.
  • The crew compliment for this ship is 4; pilot, two gunners, and a defensive analyst.
The station is supposed to be a little larger so that it will be able to be docked with by the Trade Ship, but I just wanted to get a picture out so much I forgot temporarily. Eventually I will get around to getting the UVs redone (by my awesome friend Nirur T) and possibly get new textures as well as the Trade Ship (from my IRC colleague that goes by effinAwesome) soon.

What I have been working on while they have been making eyecandy for me I have been working on the Guts of some Ship AI. I currently have my ship flying around without looking like it is having a seizure (a plus as of this morning) and it can now fire its miniguns whenever it is looking almost directly at an enemy and it is within range. I do not yet have it attempting to lock on and follow said enemy though, that will be in the next round of programming.

Next Round:
  • Get projectiles to impact and damage ships
  • Implement Hull, Armor, and Shielding systems
  • Implement Targeting and Following of the Target
  • Figure out how to use Blender to make a Beacon, which will be used when I make my demo video next week.
Hopefully I'll be able to get through all of that by Monday afternoon! I'd really like to have something new to show here by then :D

Thanks for reading, and please throw some comments up if you have any questions.

Updated the picture and flavor text with a slightly better texture and two extra heavy fighters also using a new texture.

Sunday, September 9, 2012

Now with Internet!!! (sorta)

Okay, I am now back after a 2.5week stint without the internet. I managed to do a little work on the Terrain Generator but not much at all, and none that warrants a picture being put up. I have instead spent the majority of my time away from the internet working on another project which I hope will get me a paying gig!

My current project is mostly something to show the prospective employer in lieu of having a workable portfolio up and viewable. The task was/is to produce a usable map of a Universe made up of Sectors and connections between the two. This Universe is to be scalable between 1,000 sectors and 50,000 sectors.

I have been able to get the scaling up to approximately 40,000 visible sectors, but at that point it requires nearly the full 4GB of RAM that I am allowing allocated to the program. The program is capable of generating far greater than 50,000 sectors, and so the bottleneck is in processing into renderable surfaces.

Here are some pictures of pieces of progress:




(fig1. 1,000 sectors with approximately 1700 connections between them)

In Figure 1, the red colored nodes are Sectors with centers at the shown location. Instead of using Sphere meshes, which has about 560 vertices, I am using a much smaller Isosphere mesh which has 101 vertices. The use of Isosphere meshes instead of normal Sphere meshes is a new development and should allow the display of a full 50,000 sectors without reaching the memory limit. The Sectors in the above picture are randomly placed. In the release version the sectors are placed using a Simplex Noise function and will lead to a slight clumping of Sectors which will lead to the illusion of an actual Universe model.


(fig2. Composite Image of several Screenshots)
 
In Figure 2,  parts of the composite image are labeled in red. A and B are the same image. A has all points shown as wireframe meshes, and B has the same points shown as textured and colored meshes. The pictures marked (1) in red are the wireframe and colored versions of one Bubble Group. The wireframe version is easier to distinguish the highlighted Sectors that make up the Bubble Group. The pictures marked (2) in red are effectively the same as pictures (1) but the Bubble Group selected is in another portion of the universe. The final picture, in the upper right corner of the image, is of the rendered scene composed of a portion of the Sectors in the Universe.

These two pictures are the majority of the actual showable work that I have gotten done in these last two weeks. A longer more comprehensive discussion of what makes up the images above, and new ones that I will be making in the next few days, will come next time.

Hope you enjoyed the read as much as I enjoyed writing this one!