Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   IT / Communications (http://www.chiefdelphi.com/forums/forumdisplay.php?f=85)
-   -   FIRST FRC Game Simulator for the HL2 Engine (http://www.chiefdelphi.com/forums/showthread.php?t=65695)

cbale2000 10-03-2008 22:22

FIRST FRC Game Simulator for the HL2 Engine
 
Introducing...



Background
A while back I saw a need for something that would allow drivers to practice without having a robot to drive, and for teams to test out and train new drivers without risking damage to robots they do have. So as my Senior Project for my school, decided to create a game simulation that utilizes the HalfLife 2 Game engine to make a 3D recreation of a FIRST Robotics match at a regional event.

With the assistance of a partner to help me with the coding aspect of the project, I have begun work on this project, which should be done late this spring.


The Project

The simulation itself will be based off of the 2006 Aim High game (it was one of the more simple games to recreate and due to limited time constraints I just picked that) though the code structure will be expandable to allow for the inclusion of other FIRST games as well. The software it will run on (for the time being) is "Garry's Mod", which is a sandbox mod for HL2, this allowed for easier coding in the limited time alloted for Senior Project (my future plans are to expand the software to be it's own HL2 mod). Using the HL2 Havok physics engine, we plan on creating a close to realistic representation of the 2006 game, complete with a to-scale map and robots based off of real ones!

The map is being build using the blueprints from the 2006 game field and is 100% accurate to the dimensions of its real life counterpart.
The robots use 3D models of actual robots from the event, as well as functional characteristics and stats from each, which will correspond to their performance on the simulated playing field.
The Software will also be expandable to allow for the additions of other robots and maps.

All scoring will be done according to the 2006 rules, and there will be simulated positions for each team. If you choose to be the robot driver, than you can opt to use a viewpoint from the driver station. Alternatively, you can be a copilot, or just someone watching in the stands.

The game will have multiplayer support so that you can play with other drivers either on a LAN, or hundreds of miles away.


The FIRST Community

This brings me to the reason I'm posting here. Though we have the mapping, coding, and other aspects of the software under control, we could still use some help with models. I have a 3D model of our teams 2006 robot, but that only gives us one. Not knowing much about any other teams robots gives me limited details to work with for including other robots into the game (which, truly is essential for an accurate simulation.


YOU can Help!

So I ask you, the FIRST community, does anyone have 3D models of their 2006 Aim High robots? If you do I would greatly appreciate it if you wouldn't mind sharing it with me, along with some of the stats from your robot that year so I can include it into the game. I'm not looking for super detailed (though I would certainly take any if you have them), just something that I can use to represent other robots that played in the 2006 game. Robots will be used with their corresponding team name and numbers and all credit will go to their creators.


Any help is greatly appreciated!




Release information

The program is still in an early BETA stage, but I am planning on bringing a working version of it with me to the Championship Event so you can all see it (probably in the Team 703 pit area, but possibly elsewhere depending on space restrictions). After that the final version will be released early June.


Thats all, please feel free to post any thoughts, feedback, ect. about the project, I'm always open to suggestions. Also, here's some images of some of the work we've done so far (though these ones are a bit out of date, expect newer ones soon).

http://img395.imageshack.us/img395/2...gfield2hq5.jpg
http://img359.imageshack.us/img359/7...gfield3yv4.jpg
http://img395.imageshack.us/img395/2...gfield1ks3.jpg


Thanks!

Chris Bale
Team 703

EHaskins 10-03-2008 22:52

Re: FIRST FRC Game Simulator for the HL2 Engine
 
Sounds like a very intersting project, and I hope you finish it. It would be a fantastic tool for teams.

Unfortunatly, I don't have any models of 2006 robots.

Cleinhun 10-03-2008 22:59

Re: FIRST FRC Game Simulator for the HL2 Engine
 
You, sir, just broke the awesome gauge. Our Aim High robot was pretty bad, but I'll see if we can get a model to you anyway.

commodoredl 10-03-2008 23:06

Re: FIRST FRC Game Simulator for the HL2 Engine
 
I think 174 (The Arctic Warriors) did something like this with Overdrive. I was able to download a map for this year's arena from their site. They had some code available if anyone wanted to see it, so if you can find them you might want to check it out.

Looks very cool otherwise, now I wish we used Inventor for our robot designs.

danshaffer 10-03-2008 23:13

Re: FIRST FRC Game Simulator for the HL2 Engine
 
This sounds AWESOME!
I have to check our servers and talk to our 06 captains, but I think we could go for this!

Leav 11-03-2008 02:45

Re: FIRST FRC Game Simulator for the HL2 Engine
 
sounds like a great project! Let us know when your'e done!

just a side note: from what I remember making CS maps with hammer: the Hollow tool sucks.
Look at that spiral it created for you on the first pic.

From what I remember the better technique is to section of the square into trapazoids, with the sloped side towards the inside of the whole.

it will perform better and take up less polygons....

Great work so far! I know how hard it is to model something according to real measurements! (I tried and failed to model my school for a DE_ map :P )

Good luck!

-Leav

Popper99 11-03-2008 18:28

Re: FIRST FRC Game Simulator for the HL2 Engine
 
Quote:

Originally Posted by Leav (Post 716195)

just a side note: from what I remember making CS maps with hammer: the Hollow tool sucks.
Look at that spiral it created for you on the first pic.

From what I remember the better technique is to section of the square into trapazoids, with the sloped side towards the inside of the whole.

it will perform better and take up less polygons....

-Leav


Yes, definitely! Use something like the cut tool (Whatever it's called, second from the bottom) and manipulate the vertexes. Don't carve unless it's something simple like blocks.



But it looks like it will be really fun to play! The best part is that we can build our own bots right in Garry's Mod, too :D

SpaceOsc 11-03-2008 19:49

Re: FIRST FRC Game Simulator for the HL2 Engine
 
i have a model of our 2006 robot, i dont know anything about moding in source.. but what format do you need or want the model in? its currently inventor but very large.

gblake 11-03-2008 22:36

Re: FIRST FRC Game Simulator for the HL2 Engine
 
Folks,

See the picture here to learn a little about an up and running 6-player simulation (not perfect by any means, but usable and fun) of this year's Overdrive game.
http://www.chiefdelphi.com/media/photos/30906

It was written using C# and calls to XNA graphics libraries that are also usable in XBox360 consoles.

Aside from the differences in the graphics engines, etc. it sounds like there are some opportunities for collaboration afoot.

Blake

redtide 12-03-2008 11:07

Re: FIRST FRC Game Simulator for the HL2 Engine
 
this looks so coo, Im upset I never saw at VCU. dang that would have been cool to play. dang dang dang oh and dang

cbale2000 12-03-2008 18:20

Re: FIRST FRC Game Simulator for the HL2 Engine
 
Quote:

Originally Posted by SpaceOsc (Post 716673)
i have a model of our 2006 robot, i dont know anything about moding in source.. but what format do you need or want the model in? its currently inventor but very large.

Ideally some form of 3Ds Max format would work best (Only software I have heard of that can export models to HL2 games), however I believe I can use Inverter format as well (I have been told there is a way to convert from Inventor formates into 3Ds formats), the only issue will be the slight inconvenience of converting the formats.


Quote:

Originally Posted by 1885.Blake (Post 716814)
Folks,

See the picture here to learn a little about an up and running 6-player simulation (not perfect by any means, but usable and fun) of this year's Overdrive game.
http://www.chiefdelphi.com/media/photos/30906

It was written using C# and calls to XNA graphics libraries that are also usable in XBox360 consoles.

Aside from the differences in the graphics engines, etc. it sounds like there are some opportunities for collaboration afoot.

Blake

Yes, I had seen that posted a while back. When I first saw it I was like, darn it, they got to Chief Delphi before me, I knew I should have posted this last week. :yikes:

I would agree with you on the collaboration part though. I decided to use the HL2 engine because it was what I had readily available to me for the primary purpose of using it for my Senior Project, but with some discussion, we could combine our efforts and find a platform that works for the most people (or even make similar software for multiple platforms). I think there is a lot of potential with the concept. Collaboration for the win! :)

gblake 12-03-2008 20:41

Re: FIRST FRC Game Simulator for the HL2 Engine
 
Quote:

Originally Posted by cbale2000 (Post 717318)
Yes, I had seen that posted a while back. When I first saw it I was like, darn it, they got to Chief Delphi before me, I knew I should have posted this last week. :yikes:

Score 1 for the old guys. ;) :D

Quote:

Originally Posted by cbale2000 (Post 717318)
I think there is a lot of potential with the concept. Collaboration for the win! :)

Good - Dave and I will stay in touch. I'll probably stay out of the "engine" topic except to say that the XBox360 possiblities offered by XNA are pretty seductive....

gblake 12-03-2008 20:48

Re: FIRST FRC Game Simulator for the HL2 Engine
 
Quote:

Originally Posted by redtide (Post 717090)
this looks so coo, Im upset I never saw at VCU. dang that would have been cool to play. dang dang dang oh and dang

I think that this is the best compliment we received yet!

Caio 12-03-2008 21:08

Re: FIRST FRC Game Simulator for the HL2 Engine
 
If you can explain how to convert an inventor file to the file type you need, I can see if I can make a model of our '06 robot and convert it for you....

and the same would go for other teams. I'm sure a lot have them in inventor, and they'd probably be happy to convert it for you.

lachoneus8 13-03-2008 06:45

Re: FIRST FRC Game Simulator for the HL2 Engine
 
XNA has the benefit of being free for everyone to develop for, and is based off of C#, which is relatively easy to learn. Halflife 2 of course benefits from one of the most advanced graphics and physics engines in the 3d market.

I think both FIRST simulation engines can have their place. There are many ways that these applications can be used, and each can focus in a different direction. These simulations could be used for spreading FIRST to larger markets through an online game, helping teams plan their strategies early in the build season, teambuilding excercises, etc etc.

What model formats does the Halflife engine support? If people produce their robots in a common format both engines could use, that would help both simultaneously. XNA reads in only Autodesk FBX and DirectX .x formats, but with Blender (3d modelling software) I can import from 3DS, OBJ, and a bunch of other formats. 3DS might be the best format all around seeing how common it is.

I could see about exporting our 3 models into 3ds if you would like, cbale.

Dave


All times are GMT -5. The time now is 10:46.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi