by date
Vehicle mounting system progress (video)
Vehicle mounting system progress (video)
| Name: | Craig Fortune | ![]() |
|---|---|---|
| Date Posted: | Jun 25, 2007 | |
| Rating: | Not Rated | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Craig Fortune |
Blog post
I'm not normally one to post 2 .plans in quick succession, but as I have something to show I thought I might as well :) First off, a link to the video (excuse the bizarre art, its what I had to hand when I was scripting this up - it's hover tank utilising wheeled vehicle, its just that at the moment the wheels are visible):
www.youtube.com/watch?v=WsuCYEaeHmg&v
What you see in the video is several things:
1. Simply creating a vehicle on the fly
2. Walking up to it and pressing E (use) to bring up a little GUI.
3. Selecting to enter the vehicle as a driver (the D 'button')
4. Being mounted in the correct position with the correct keymap etc and a message being displayed saying what have entered the vehicle as a driver. (Displays a message like this for every seat you enter)
5. Dismounting and using the vehicle again and this time entering the vehicle as a gunner, in the gunner's seat and with the gunner's keymap.
6. Dismounting and using the vehicle again and this time entering the vehicle as a passenger, in the gunner's seat and with the passenger's keymap.
7. Dismounting and using the vehicle again and this time simply closing the GUI with the X button.
8. Using the vehicle one final time, this time walking away from the vehicle beyond the maximum mounting distance. A message pops up telling you that you are too far away and how far you are.
Things of note:
The GUI will correctly display which mount points are of what type: Driver, Gunner, Passenger etc. It will also display an X on any occupied seat and not let you select to mount the vehicle in that position. The GUI shown is just some simple placeholder art, its intention is to allow you to have an aerial image of the vehicle with the mount locations shown in their physical locations. This is fully supported, I just haven't bothered doing nice art to fully demonstrate that yet.
The GUI will only let you mount if you are within range (it checks your distance again when you select a position to enter in - so no opening the GUI and running far away and then mounting) It also times out after 10 seconds and disappears.
So What's Next?
Well primarily the next step is to hook up controllable weapons (turrets etc) to the vehicles that the gunners an take control of. This of course will mean creating some sort of tank style class that will support this (guess what? I already have this done :D just tied up inside the wheeled vehicle code) I'm also going to create a little object that will allow me to use a control panel to create the vehicles (and ultimately select which vehicles to make etc)
Obligations...
I couldn't really go another plan with no image, so for those too lazy to see the video, here is a screenshot:

Ok seriously go watch the video as this shot makes no sense :)
New Book
I got a new book in the post today, "Game Design, Theory and Practice." I haven't had a chance to read it yet but it looks like a nice little chunky book (650 pages) full of discussion with the industries big guns and plenty of differing topics. The reason I mention this is because of the big grin it put on my face when this was the first page I opened it to:

Probably cannot see that properly, so the text reads:
"You have ignited a nuclear war.
And no, there is no animated display of a mushroom cloud with parts of bodies flying through the air.
We do not reward failure.
OK"
How can this book not be excellent? :D
Bye for now!
craigfortune _at_ gmail.com
www.craigfortune.co.uk
www.youtube.com/watch?v=WsuCYEaeHmg&v
What you see in the video is several things:
1. Simply creating a vehicle on the fly
2. Walking up to it and pressing E (use) to bring up a little GUI.
3. Selecting to enter the vehicle as a driver (the D 'button')
4. Being mounted in the correct position with the correct keymap etc and a message being displayed saying what have entered the vehicle as a driver. (Displays a message like this for every seat you enter)
5. Dismounting and using the vehicle again and this time entering the vehicle as a gunner, in the gunner's seat and with the gunner's keymap.
6. Dismounting and using the vehicle again and this time entering the vehicle as a passenger, in the gunner's seat and with the passenger's keymap.
7. Dismounting and using the vehicle again and this time simply closing the GUI with the X button.
8. Using the vehicle one final time, this time walking away from the vehicle beyond the maximum mounting distance. A message pops up telling you that you are too far away and how far you are.
Things of note:
The GUI will correctly display which mount points are of what type: Driver, Gunner, Passenger etc. It will also display an X on any occupied seat and not let you select to mount the vehicle in that position. The GUI shown is just some simple placeholder art, its intention is to allow you to have an aerial image of the vehicle with the mount locations shown in their physical locations. This is fully supported, I just haven't bothered doing nice art to fully demonstrate that yet.
The GUI will only let you mount if you are within range (it checks your distance again when you select a position to enter in - so no opening the GUI and running far away and then mounting) It also times out after 10 seconds and disappears.
So What's Next?
Well primarily the next step is to hook up controllable weapons (turrets etc) to the vehicles that the gunners an take control of. This of course will mean creating some sort of tank style class that will support this (guess what? I already have this done :D just tied up inside the wheeled vehicle code) I'm also going to create a little object that will allow me to use a control panel to create the vehicles (and ultimately select which vehicles to make etc)
Obligations...
I couldn't really go another plan with no image, so for those too lazy to see the video, here is a screenshot:

Ok seriously go watch the video as this shot makes no sense :)
New Book
I got a new book in the post today, "Game Design, Theory and Practice." I haven't had a chance to read it yet but it looks like a nice little chunky book (650 pages) full of discussion with the industries big guns and plenty of differing topics. The reason I mention this is because of the big grin it put on my face when this was the first page I opened it to:

Probably cannot see that properly, so the text reads:
"You have ignited a nuclear war.
And no, there is no animated display of a mushroom cloud with parts of bodies flying through the air.
We do not reward failure.
OK"
How can this book not be excellent? :D
Bye for now!
craigfortune _at_ gmail.com
www.craigfortune.co.uk
Recent Blog Posts
| List: | 08/08/08 - iPhones and Productivity 07/22/08 - Building community in purely single player games 12/10/07 - Skinned Mesh XSI Exporting 06/25/07 - Vehicle mounting system progress (video) 06/23/07 - Graduation and Freelancing 03/02/07 - NeuralNet FSM mapping 02/26/07 - Neural Nets are learning! 02/19/07 - Backing-Up, Repositories, XSI and Neural Networks Progression |
|---|
Submit your own resources!| Tim Heldna (Jun 25, 2007 at 15:35 GMT) |
Can you change mount position without having to first dismount the vehicle and raise the GUI again? If not, you should probably hook it up. Seems a little too long winded to have to press a key, then interact with a GUI just to change seats.
When I'm playing an online fps game and have 32 people shooting at me I like being able to enter and exit a vehicle without the fuss of a GUI, one key press and you're done. I like the Battlefield system, press 'e' to mount/dismount, which automatically throws you in the driver's seat, and use the function keys to change position.
| Craig Fortune (Jun 25, 2007 at 15:53 GMT) |
The hotswapping once in a vehicle is nice and simple to do. I however dont like the "you must jump in top priority position etc" and then change seats, it annoys me somewhat. (Don't know why :D) Hence me making this GUI.
| Steve Flowers (Jun 25, 2007 at 17:51 GMT) |
Shift-e (or other arbitrary binding) = bring up the position select GUI.
e (or other arbitrary binding) = auto select by priority / selection order.
Is this going to be published as a resource? Looks like pretty cool stuff.
| Steve Flowers (Jun 25, 2007 at 17:52 GMT) |
| Craig Fortune (Jun 25, 2007 at 17:55 GMT) |
The shift/e or just pressing e idea is great! I'll implement that in a little bit. :D
edit: implemented it, but have it so shift-e makes you get in top priority seat. Prefer it that way, just a matter of personal taste.
Edited on Jun 25, 2007 18:33 GMT
| asmaloney (Andy) (Jun 25, 2007 at 18:13 GMT) |
Ah, good old Balance of Power. That was such a cool game.
| Craig Fortune (Jun 25, 2007 at 18:34 GMT) |
I didn't realise someone had entered it into GGE. The book contains an interview with Chris Crawford too (dev of the game)
| asmaloney (Andy) (Jun 25, 2007 at 20:32 GMT) |
Crawford's book The Art of Computer Game Design is available free online as well [here].
It's slightly dated, but there's a lot of interesting stuff in there.
| Ted Southard (Jun 26, 2007 at 00:51 GMT) |
| DodongoXP (Jun 26, 2007 at 22:03 GMT) |
cheers
| Craig Fortune (Jun 26, 2007 at 22:06 GMT) |
You must be a member and be logged in to either append comments or rate this resource.



Not Rated


