Velvet Thunder

How To Spawn a Helicopter on Startup?

7 posts in this topic

Hey guys,

Only just recently rented a server and everything is going smooth, just wanted to know how can I spawn a functional chopper at a military complex on the map (Esseker) whenever the server starts up? I've tried using the M3Editor but that just seems to spawn glitched choppers that don't start engine, don't let you get out and just all round break you.

Cheers.

Share this post


Link to post
Share on other sites

yep, you can add it to your mission file. No need for m3editor or anything of that sort, just need to depbo, go into the mission file in arma editor, add the chopper and then repbo. Mind you this will cause that chopper to always spawn there on server restarts. (which is what you want I think :P )

Share this post


Link to post
Share on other sites
Advertisement
39 minutes ago, wasti said:

yep, you can add it to your mission file. No need for m3editor or anything of that sort, just need to depbo, go into the mission file in arma editor, add the chopper and then repbo. Mind you this will cause that chopper to always spawn there on server restarts. (which is what you want I think :P )

It is indeed, I want people to sort of fight for it. Be a nice PVP area :)

Share this post


Link to post
Share on other sites

A different approach if you already know exactly where to put the heli (which I think you do) is to manually add it to the mission.sqf file in the mission.pbo folder.

Look for this:

 

    class Groups

	    {

	        items = 1;

	        class Item0

	        {

	            side = "GUER";

	            class Vehicles

	            {

	                items=100;

 

Add 1 to the items=1 in the groups class. Then add this block (obviously change the position and vehicle if u don't want the unarmed m900

    class Vehicles
    {
        items=1;
        class Item0
        {
            position[]={4626.8203,15.140226,10731.906};
            id=1;
            side="EMPTY";
            vehicle="C_Heli_Light_01_civil_F";
            leader=1;
            skill=0.60000002;
        };
    };

 

 

Really though I think doing this in the arma editor would be easier for you.

Edited by wasti
misspelling

Share this post


Link to post
Share on other sites

I'm playing atm but I'll give that a shot when I get the chance. BTW is mission.pbo the one in MPMissions? So MPMissions > Addons > Exile.Esseker.pbo (that's the one with mission.sqf/initServer.sqf etc. I also don't understand the terms repbo and depbo haha. Before renting a server I've never used the ARMA editor so I've not much idea on how it works.

Share this post


Link to post
Share on other sites
2 hours ago, wasti said:

A different approach if you already know exactly where to put the heli (which I think you do) is to manually add it to the mission.sqf file in the mission.pbo folder.

Look for this:

 


    class Groups

	    {

	        items = 1;

	        class Item0

	        {

	            side = "GUER";

	            class Vehicles

	            {

	                items=100;


 

Add 1 to the items=1 in the groups class. Then add this block (obviously change the position and vehicle if u don't want the unarmed m900

    class Vehicles
    {
        items=1;
        class Item0
        {
            position[]={4626.8203,15.140226,10731.906};
            id=1;
            side="EMPTY";
            vehicle="C_Heli_Light_01_civil_F";
            leader=1;
            skill=0.60000002;
        };
    };

 

 

Really though I think doing this in the arma editor would be easier for you.

I tried this and it didn't work. It's a non-exile chopper, but I've added it to the whitelist and taken it off the blacklist in the infistar config. I changed the item to Class Item 100 and put it at the end of all the vehicles, also added 1 to items so it should count it. I changed the coords to one i spawned with M3Editor, but no luck.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.