Previous Blog Next Blog
Prev/Next Blog
by date

Plan for Derk Adams

Plan for Derk Adams
Name:Derk Adams 
Date Posted:Apr 12, 2005
Rating:3.0 out of 5
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Derk Adams

Blog post


Greetings,

Demo 5 is available at BattleTech Simulator

The biggest addition is randomly generated terrain. By figuring out the terrain code, I have a script that can generate terrain based on input parameters. This gives the possibility for 10^19 (or 1 with 20 zeros after it) different terrains per type and there are currently 12 types. The biggest challenge was to figure out how to flatten certain parts so that buildings etc. could be easily placed. Well, flattening hte terrain wasn't difficult, it was figuring out how to do it so that the commands could be repeated by the client to match it with the server's terrain.

After making the terrain, I quickly realized that the AI, which expected flat terrain, were seriously lost. So I added a simple pathfinding program that identifies the mountain blocking the AI and then sweeping around a 360 degree arc to find the edge of the mountatin so it can go around. Currently it goes in a preset direction, but future plans will allow the AI to figure out the shorter direction to turn or to be able to cut off the player based on their movement.

The game is targeted to BattleTech fans and as such has complicated controls, you are forewarned. Have fun.

Thanks.

P.S. I have teamed with the Inner Sphere: 3028 group and we are colaborating to accelerate both projects.

P.P.S. Please no posts about Intelectual Property issues, they are being handled by IS:3028.

Recent Blog Posts
List:06/30/05 - Plan for Derk Adams
05/16/05 - Plan for Derk Adams
04/12/05 - Plan for Derk Adams
06/07/04 - Plan for Derk Adams

Submit ResourceSubmit your own resources!

Chris Labombard   (Apr 12, 2005 at 18:26 GMT)
Great work with the terrain generation. I love your sim. Is it still a non profit project?

Benjamin Bradley   (Apr 12, 2005 at 18:32 GMT)   Resource Rating: 3
You got a broken link
Edited on Apr 12, 2005 18:52 GMT

Sean H.   (Apr 12, 2005 at 19:08 GMT)
nice hud!

Jay Barnson   (Apr 12, 2005 at 19:15 GMT)
Argh! I want to go home so I can try this out. I *LOVE* the old Mechwarrior games (the original Activision / Dynamix version, as well as MW2 and even MW3). I also loved the old BattleTech centers - whenever I could go (though I actually liked the Martian race games more than BattleTech).

Randomly generated terrain could make things very interesting. VERY interesting. Cool stuff, Derk!

Jesse (Midhir) Liles   (Apr 12, 2005 at 21:32 GMT)
I think the link he meant was virtualcommander.com,
his URL got deformed.
Edited on Apr 12, 2005 21:32 GMT

Derk Adams   (Apr 13, 2005 at 00:10 GMT)
Chris,

Thanks, yes it is still non-profit.

Others,

The link is working for me http://www.virtualcommander.com/

Thanks

Just an update. The larger Mechs have exposed a movement problem that has been fixed. To use the large mechs, set the terrain to hills not mountains or flat for a real easy walk. Otherwise, use the Locust for running around the mountain terrain.
Edited on Apr 13, 2005 01:50 GMT

You must be a member and be logged in to either append comments or rate this resource.