View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Uber Modder Uber ModderMember since: 11.08.2004, 12:38Posts: 1808 Likes: 3
 

 Post Topic: Flyable aircraft
PostPosted 24.04.2008, 11:59 
CURRENT STATUS
April 6th, 2013

Currently developing a basic autogen system. This allows the placement of very large number of objects on the surface while keeping high frame rates. The objects are dynamically moved, hidden etc as you fly along or look around. My long-term aim is to develop an autogen system roughly equivalent to the autogen used by Microsoft FSX.

The latest youtube demo:


******************** DOWNLOADS ********************
You can download the latest versions as follows:
The full release, dated December 2011 (CE2/Crysis 1 only):
https://dl.dropbox.com/u/4380128/Aircraft2011.zip

The update, dated December 2012 (CE2 and CE3/free SDK):
https://dl.dropbox.com/u/4380128/AircraftUpdate2012.zip

This includes the latest code versions and adds the CL-215 water bomber and a dynamic fire system. The original release was for CE2/Crysis only, but the new code included in the update is compatible with the CE3 free SDK. Check the readme for free SDK installation instructions.

Importanty note: although the update provides CE3 compatability there are a number of CE3 issues that aren't fully resolved. CE2 provides a much more stable and predictable environment for entities that use complex and large Lua codes. If you experience difficulties when using the updated system in CE3 please let me know and I'll try to fix the problem.

I would suggest that you download, install and test the main release first, if you have the original Crysis installed. If it's working correctly you should then install the update.

These releases include flyable and drivable aircraft, ships, submarines and trains. The aircraft: Spitfire, B-25, MiG-19, F-4 Phantom, Super Constellation, F-86 and CL-215 water bomber. A new update, probably in a few months, will add a unique spaceflight system together with a selection of spacecraft and space stations.

When installing, please refer to the readme files. Note that the Aircraft2011 release must be unzipped into the main Cry Engine directory. Do NOT unzip into the Game folder! Please refer to the manuals, which contain essential information on installing and flying the aircraft. The manuals are located in the Vehicles2011 mod directory: Mods\Vehicles2011\Manuals

Please post comments, suggestions and problems on this thread. I will always try to fix any problems that you may experience.

And, now, back to the original thread from April, 2008....

****************************************************************************





Last year I developed a LUA script for flyable aircraft in Far Cry. I've now produced a Crysis version and it's working pretty well. I've made a Spitfire model in XSI Mod Tool and used it as the test bed. I've attached some shots of the Spitfire in action and you can see a 4 minute youtube video here:


The script includes a real flight model that calculates the aerodynamic forces generated by the wings. It also calculates the forces generated by the undercarriage so you can taxi the aircraft realistically before taking off.

There are many key commands, for example to select different view modes, to control the undercarriage and to fly the aircraft (the four arrow keys).) The script also includes a joystick interface.

There are several view modes (selected by the space bar): cockpit, spot, flypast, tower and lock). You can see some of the view modes in the video. In spot view you can adjust the view distance and angle.

Other features include turbulence (adjustable when in flight) and a basic auto pilot.

You can have several aircraft in operation simultaneously. Each aircraft has a different key command to enter it. You could enter one, start the engine, take off and leave it circling under auto pilot. Then hit a key and you're in another aircraft. Take off, search for the first aircraft and meet up with it.

The script has a number of effects including engine startup smoke and bullet tracer when you fire the guns. The aircraft also kicks up dust (or spray over water) when you fly close to the ground. Currently the effects are not brilliant (strangely I found it easier to get good effects in Far Cry). But I hope to improve the effects before any release.

There are a number of animations: rotating wheels, moving undercarriage, ailerons, propellers and elevators. And the pilot turns his head to look at you in spot mode!

I recently added a VTOL flight model. You can see the Harrier making a vertical takeoff at the end of the video.

The biggest problem is sound. Because Crytek still haven't released any LUA documentation (as far as I know) I still don't know how to control sound with LUA code. If anyone knows how to do this, please let me know! I've produced some basic sounds via flowgraph but it's very limited.

I want to develop this system both for civil and military aircraft. I've started to look at adding real weapons (guns, bombs, missiles) but again the lack of LUA info is a problem.

I plan to release the Spitfire in a few weeks. It will also include instructions on how to adapt the script to your own aircraft models. AS it would require detailed adjustments to properly place animated parts and the undercarriage elements I am thinking of writing a Visual Basic program to automate this process.

I hope people find this interesting. I welcome any discussion and positive criticism.

Best regards,
Chris
Attachments:




Last edited by cwright on 06.04.2013, 12:11, edited 9 times in total.

User avatar   Beginner BeginnerMember since: 26.11.2007, 16:09Posts: 10Location: Bavaria, Munich Likes: 0
 

 Post Topic: RE: Flyable aircraft
PostPosted 24.04.2008, 12:15 
Sounds great, you´ve done a great Job! :))
Looking forward to test your Spitfire.


User avatar   Skilled Modder Skilled ModderMember since: 21.01.2008, 10:17Posts: 651Location: Belgium Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 12:20 
this is just too awesome ! great job!


User avatar   24/7 Modder 24/7 ModderMember since: 22.11.2007, 17:08Posts: 4907Location: Switzerland Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 17:17 
amazing :D
I really admire your work ;)

as you already stated in your post, the only thing that I can see to improve are the particles... but it's wip, so good work, and tell me if you need help on anything that's not lua/xml scripting :)


-> SQUAD COMMANDER - a complete squad at your commands - go wherever you want / do whatever you want
----------
-> MAXIMUM CHALLENGE - a complete SP modification - the real hard campaign / more enemies / more action
----------
-> TANA's: Tactical Alien Nanosuit Attachments - Alien nanosuit attachments to expand and increase your abilities
----------
-> AGILITY FLOWGRAPH - Do amazing wall runs and jumps, grab edges and climb and jump everywhere. Have fun!


Last edited by Dark shadow on 24.04.2008, 17:18, edited 2 times in total.
User avatar   Trained Modder Trained ModderMember since: 29.10.2007, 18:48Posts: 307Location: UK Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 17:18 
Looking great. ;)


Core 2 Duo E4300 1.80GHz @ 3.04Ghz
4GB Corsair DDR2 XMS2 (667mhz @ 8XXMhz)
Nvidia 8800 GTS 640MB
Gigabyte 965P DS3 (Rev 3.3)
  24/7 Modder 24/7 ModderMember since: 24.11.2007, 13:51Posts: 4872Location: Belgium Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 17:32 
Your name isn't really Chris Wright is it?
Would be funny lol
User avatar   Hardcore Modder Hardcore ModderMember since: 14.12.2007, 07:41Posts: 813Location: Stuarts point Australia Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 17:36 
WOW ................. Verry cool ......WOW :))
  Trainee TraineeMember since: 05.12.2007, 01:16Posts: 128 Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 18:17 
Hi Chris:

I'm glad to see that you posted this. You have done an amazing job and I will be following this thread closely as I am sure you would have guessed.

Keep up the great work and I hope you get the documentation that you need.

Regards

Tim
  Uber Modder Uber ModderMember since: 22.02.2008, 20:01Posts: 1407 Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 18:36 
Way too cool :D
  Trainee TraineeMember since: 05.02.2008, 01:20Posts: 128Location: Las Vegas Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 18:55 
This is awesome 8o


Image
User avatar   Has no life Has no lifeMember since: 21.01.2008, 11:28Posts: 6198Location: 52°21'25.06"N 4°56'48.42"E Likes: 0
 

 Post Topic: RE: Flyable aircraft
PostPosted 24.04.2008, 19:01 
Top notch! Really amazing stuff!
User avatar   Trained Modder Trained ModderMember since: 22.11.2007, 20:00Posts: 285 Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 19:59 
This is great!
Maybe you can implement a basic trackIR code so I can look around freely in the cockpit view.
User avatar   Hardcore Modder Hardcore ModderMember since: 27.10.2007, 12:36Posts: 813Location: Sweden Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 20:09 
That's just so cool :D


Image
User avatar   Hardcore Modder Hardcore ModderMember since: 28.01.2008, 22:37Posts: 829Location: ATLANTA Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 20:12 
ive been waiting for someone to do this! awsome work man, i can not wait to fly it!


Image
User avatar   24/7 Modder 24/7 ModderMember since: 12.04.2007, 16:51Posts: 3267 Likes: 0
 

 Post Topic:
PostPosted 24.04.2008, 20:20 
cool.. that would look great in my Pyramid map