Raddik
Sep 23 2009, 09:38
Updated 09/24/09 - See changelog
Well folks, here it is...the first attempt at a Steam Catapult System for Arma 2. Below you'll find instructions on how to use the system, other info, and download links. Please let me know how it works out for you...best of luck.
Video | View in HD (http://www.youtube.com/watch?v=YTOvxnAqsC0)
<object width="853" height="505"><param name="movie" value="http://www.youtube.com/v/YTOvxnAqsC0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/YTOvxnAqsC0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="853" height="505"></embed></object>
Screenshot
http://www.raddik.com/storage/arma2/launch.png
Features:
For ease of use, this is simply a collection of scripts. I had originally been designing it as an addon, but I had a change of heart. This system is built entirely around a single 'invisible' helicopter pad. Once configured, the player gets into an aircraft, selects "Deck Launch", Throttles Up, and next thing they know they're racing down the deck at 160+ knots. There is a launch area safety in place to prevent any kind of telefragging or related issues on the deck. Also, players are unable to get out of their aircraft until the launch sequence is complete...this again keeps things from getting out of hand.
As of now, this is compatible with the F35B and A-10. I am working on a new method of locking down the aircraft before launch, but until it's sorted out these are the only aircraft that will work.
Please do not mirror this or use it in other addons without my permission.
Change Log:
1.01 (09/24/09)
- Changed stop code for aircraft per tom_48_97's input.
- Made countdown silent.
- Removed support for Su34. I decided it didn't make sense since there is no Russian platform of any kind of launch from.
- Included sample mission as a reference.
- Updated installation instructions for V1.01 changes.
1.0 (09/23/09) (Beta release)
- First public beta release
Credits:
Wiper - For help with the launch code...thanks a bunch.
tom_48_97 - For rewriting the stop code and other suggestions.
BI Forum Users - For answering a slew of questions.
Special Thanks:
Violently Happy - Testing
Turk182! - Testing
Lablood - Testing
RedAnthrax - Testing
Zac - Testing
Download Link:
Armaholic Mirror (http://www.armaholic.com/page.php?id=7545)
Instructions (Click Spoiler Button):
[LIST=1]
Download the zip file and extract its contents (a single folder called 'launch') into your mission folder
Copy the code below and paste it into your 'description.ext' file. It's for the steam launch sound file. If you already have a CfgSounds section, then simply add this entry.
class CfgSounds
{
sounds[] = {steam};
class steam
{
name = "steam";
sound[] = {"launch\steam.ogg", db+10, 1};
titles[] = {};
};
};
In the mission editor, place a single Invisible Helicopter Pad on the LHD deck or airfield you wish to use. Name it launchpos. If you are going to use an LHD, I would recommend placing your 'H' in one of the places indicated below:
http://www.raddik.com/storage/arma2/LHD_HPAD.PNG
If you are using an LHD or other raised platform, make sure to set the position of the 'H' using the setPosASL command. This ensures everything works up on the deck. The below code works well for the Utes LHD...change 15.5 to 17 if you are using a spawned LHD on Chernarus:
this setPosASL [getPosASL this select 0, getPosASL this select 1, 15.5];
Browse to and open launch\move.sqf. Change the '0' after setDir to the direction you want your aircraft to face in the launch zone. Use degrees assuming up is north.
Browse to and open launch\stop.sqf. Again, change the '0' after setDir (for both the A10 and F35B) to the direction you want your aircraft to face in the launch zone. Use degrees assuming up is north. This MUST match the previous step's direction.
Place the below code in the init of the aircraft you wish to enable the launch system for.
launch = [this] execVM "launch\system.sqf";
If you intend to have your aircraft respawn, I would recommend Tophe's Simple Vehicle Respawn Script (http://forums.bistudio.com/showthread.php?t=76445&highlight=tophe+simple+vehicle). If you use it, copy the below code and use it instead of the code in the previous step:
launch = [this] execVM "launch\system.sqf"; veh = [this, 2, 30, 50, false, false, "launch = [this] execVM ""launch\system.sqf"""] execVM "vehicle.sqf";
Test and enjoy!
NOTES:
If you intend to spawn your aircraft on the LHD deck make sure to use the setPos command to move them on top of the deck. Use the same code from step 4 above and paste it in your aircraft's init field, with the same variations for Utes/Spawned LHD's respectively.
Please let me know of any bugs you find and I will fix them as quickly as time allows.
Well folks, here it is...the first attempt at a Steam Catapult System for Arma 2. Below you'll find instructions on how to use the system, other info, and download links. Please let me know how it works out for you...best of luck.
Video | View in HD (http://www.youtube.com/watch?v=YTOvxnAqsC0)
<object width="853" height="505"><param name="movie" value="http://www.youtube.com/v/YTOvxnAqsC0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/YTOvxnAqsC0&hl=en&fs=1&color1=0x3a3a3a&color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="853" height="505"></embed></object>
Screenshot
http://www.raddik.com/storage/arma2/launch.png
Features:
For ease of use, this is simply a collection of scripts. I had originally been designing it as an addon, but I had a change of heart. This system is built entirely around a single 'invisible' helicopter pad. Once configured, the player gets into an aircraft, selects "Deck Launch", Throttles Up, and next thing they know they're racing down the deck at 160+ knots. There is a launch area safety in place to prevent any kind of telefragging or related issues on the deck. Also, players are unable to get out of their aircraft until the launch sequence is complete...this again keeps things from getting out of hand.
As of now, this is compatible with the F35B and A-10. I am working on a new method of locking down the aircraft before launch, but until it's sorted out these are the only aircraft that will work.
Please do not mirror this or use it in other addons without my permission.
Change Log:
1.01 (09/24/09)
- Changed stop code for aircraft per tom_48_97's input.
- Made countdown silent.
- Removed support for Su34. I decided it didn't make sense since there is no Russian platform of any kind of launch from.
- Included sample mission as a reference.
- Updated installation instructions for V1.01 changes.
1.0 (09/23/09) (Beta release)
- First public beta release
Credits:
Wiper - For help with the launch code...thanks a bunch.
tom_48_97 - For rewriting the stop code and other suggestions.
BI Forum Users - For answering a slew of questions.
Special Thanks:
Violently Happy - Testing
Turk182! - Testing
Lablood - Testing
RedAnthrax - Testing
Zac - Testing
Download Link:
Armaholic Mirror (http://www.armaholic.com/page.php?id=7545)
Instructions (Click Spoiler Button):
[LIST=1]
Download the zip file and extract its contents (a single folder called 'launch') into your mission folder
Copy the code below and paste it into your 'description.ext' file. It's for the steam launch sound file. If you already have a CfgSounds section, then simply add this entry.
class CfgSounds
{
sounds[] = {steam};
class steam
{
name = "steam";
sound[] = {"launch\steam.ogg", db+10, 1};
titles[] = {};
};
};
In the mission editor, place a single Invisible Helicopter Pad on the LHD deck or airfield you wish to use. Name it launchpos. If you are going to use an LHD, I would recommend placing your 'H' in one of the places indicated below:
http://www.raddik.com/storage/arma2/LHD_HPAD.PNG
If you are using an LHD or other raised platform, make sure to set the position of the 'H' using the setPosASL command. This ensures everything works up on the deck. The below code works well for the Utes LHD...change 15.5 to 17 if you are using a spawned LHD on Chernarus:
this setPosASL [getPosASL this select 0, getPosASL this select 1, 15.5];
Browse to and open launch\move.sqf. Change the '0' after setDir to the direction you want your aircraft to face in the launch zone. Use degrees assuming up is north.
Browse to and open launch\stop.sqf. Again, change the '0' after setDir (for both the A10 and F35B) to the direction you want your aircraft to face in the launch zone. Use degrees assuming up is north. This MUST match the previous step's direction.
Place the below code in the init of the aircraft you wish to enable the launch system for.
launch = [this] execVM "launch\system.sqf";
If you intend to have your aircraft respawn, I would recommend Tophe's Simple Vehicle Respawn Script (http://forums.bistudio.com/showthread.php?t=76445&highlight=tophe+simple+vehicle). If you use it, copy the below code and use it instead of the code in the previous step:
launch = [this] execVM "launch\system.sqf"; veh = [this, 2, 30, 50, false, false, "launch = [this] execVM ""launch\system.sqf"""] execVM "vehicle.sqf";
Test and enjoy!
NOTES:
If you intend to spawn your aircraft on the LHD deck make sure to use the setPos command to move them on top of the deck. Use the same code from step 4 above and paste it in your aircraft's init field, with the same variations for Utes/Spawned LHD's respectively.
Please let me know of any bugs you find and I will fix them as quickly as time allows.