Jump to content
Sign in to follow this  
bluesilence

Starting in a M1A2 WITHOUT loader

Recommended Posts

Before anything else, I've already searched, advanced searched and googled for this information, but I haven't found anything useful so far.

I want to start a mission in a M1A2 with the loader position empty.

The easy solution is having an empty tank and the crew outside, and ordering them to board the tank.

But that's really cheap, and if I have other tanks under my command, I want them to have their loader positions empty as well.

The only solution I can think so far is having the crews outside their tanks and moving them in instantly when the mission stars, without them having to walk.

Share this post


Link to post
Share on other sites

Simplest way I know of doing it (and I like simple):

So, you're going to add four units, 1 empty M1A2, 3 Crewmen (I take it you know how to do this).

Name the tank something - below the name is "t1":

In the init line of the first crew, "this moveincommander t1;" (without quotes)

Second crew "this moveingunner t1;"

Third, "this moveindriver t1;"

So, what you've done is created an empty tank (no crew in it), put down three crew members. You've placed those crew members in their positions. Since you didn't place a loader, there won't be one. The crew will start IN the tank IN those positions when you load this mission.

This is covered on page 108 of "Armed Assault Editing Guide" by Mr Murray. If you like fiddling with missions, that's a GREAT primer on most of the basic commands you'll need.

D/L the guide here: http://www.armaholic.com/page.php?id=4847

Edited by Onchas

Share this post


Link to post
Share on other sites

About the "this moveincommander t1"... well, that's pretty much the same as ordering the crew to bard the tanks, but it's done automatically.

The ArmA Editing Guide looks very good... too bad most of the examples are in SQS format :(

Share this post


Link to post
Share on other sites
The ArmA Editing Guide looks very good... too bad most of the examples are in SQS format :(

even if they are in sqs they are VERY relevant to a beginner using sqf as well, as the commands used is the same.

That guide is the best way to get started with scripting in arma2 to this date, hands down.

Highly recomended.

Share this post


Link to post
Share on other sites

Got it. It's quite simple and can be put on the init of every tank, so there's no need to mess around with sqf files. The only problem is that it can leave a number gap on the team members.

tankCrew = crew this; crewLoader = (tankCrew select 3); moveOut crewLoader; deleteVehicle crewLoader;

I'm going to keep reading the editing guide anyway.

Edited by BlueSilence

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×