[Script] Spawning a Steerable Destroyer/Fregata/LHD

Posts 1–15 of 17 · Page 1 of 2
[Script] Spawning a Steerable Destroyer/Fregata/LHD
All credits go to Syruz
You need to use a bypass with this. Even with a bypass however, you can still get banned. Expect it.

Known problems:
  • Destroyer needs to be re-aligned
  • LHD Parts can spawn all over the place and need to be re-aligned


So these scripts will spawn the Destroyer, Fregata, LHD, or HeliBus depending on which you choose. Simply execute the Goat.sqf, then execute the desired vehicle.

The Helibus is a helicopter attached to a bus. This is great for transportation of a group of people. The bus cannot drive the helicopter, only the helicopter is in control.

 
Inside the Files

Goat.sqf:
Code:
'Goat' createunit [[(getpos player select 0), (getpos player select 1), 50], group player,'beeeh = this', 1.0, 'PRIVATE'];
HeliBus.sqf:
Code:
 beeeh addMPEventHandler ['mpkilled',
{
	vehicleToSpawn = 'UH1H_DZ';
	vehicleToSpawn2 = 'Ikarus';

    if (isServer) then
    {
        control = vehicleToSpawn createVehicle (position beeeh);
		dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,getPos beeeh nearestObject vehicleToSpawn];
		control2 = vehicleToSpawn2 createVehicle (position beeeh);
		dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,getPos beeeh nearestObject vehicleToSpawn2];

		_lolSpawn = _this select 0;
		_lolDir = getdir _lolSpawn;
		control2 attachto [control,[0.0,-0.0,-3.1]];

    };
}];

Destroyer.sqf:
Code:
beeeh addMPEventHandler ['mpkilled',
{
	vehicleToSpawn = 'Landrover_CZ_EP1';
    if (isServer) then
    {
        _Boat= vehicleToSpawn createVehicle (position beeeh);
        dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,getPos beeeh nearestObject vehicleToSpawn];
		_Dirback = 4;
		_LHDspawn = _this select 0;
		_LHDdir = ((getdir _LHDspawn)+_Dirback);
		_LHDspawnpoint = getpos _LHDspawn;
			_dummy = "Land_Destroyer" createvehicle _LHDspawnpoint;
			_dummy setdir _LHDdir;
			_dummy attachto [_Boat];
			_dummy setDir 180;
	
		player moveInDriver _Boat;
    };
}];
Fregata.sqf:
Code:
beeeh addMPEventHandler ['mpkilled',
{
	vehicleToSpawn = 'Landrover_CZ_EP1';
    if (isServer) then
    {
        _Boat= vehicleToSpawn createVehicle (position beeeh);
        dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,getPos beeeh nearestObject vehicleToSpawn];
		_Dirback = 180;
		_LHDspawn = _this select 0;
		_LHDdir = ((getdir _LHDspawn)+_Dirback);
		_LHDspawnpoint = getpos _LHDspawn;
		
		
			_dummy = "Land_Fregata" createvehicle _LHDspawnpoint;
			_dummy attachto [_Boat];
			_dummy setdir 180;
		player moveInDriver _Boat;
    };
}];
LHDG.sqf:
Code:
beeeh addMPEventHandler ['mpkilled',
{
    vehicleToSpawn = 'PBX';
    if (isServer) then
    {
        (spawner = vehicleToSpawn createVehicle (position beeeh))setVariable ['ObjectID', 521, true];
        dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,getPos beeeh nearestObject vehicleToSpawn];
		_LHDspawn = _this select 0;
		_LHDdir = getdir _LHDspawn;
		_LHDspawnpoint = getposasl _LHDspawn;
		deletevehicle _LHDspawn;
		_parts = 
		[
			"Land_LHD_house_1",
			"Land_LHD_house_2",
			"Land_LHD_elev_R",
			"Land_LHD_1",
			"Land_LHD_2",
			"Land_LHD_3",
			"Land_LHD_4",
			"Land_LHD_5",
			"Land_LHD_6"
		];
		{
			_dummy = _x createvehicle _LHDspawnpoint;
			_dummy setdir _LHDdir;
			_dummy setpos _LHDspawnpoint;
			_dummy attachto [spawner];
		}foreach _parts;
    };
}];


On line three you might notice:
Code:
vehicleToSpawn = 'XXXX';
Replace that with whatever vehicle name you want to use to drive the attached ships.
Vehicles_mpgh.net.rar2 KB · 147 downloads Scanning…
Uh do you know for sure that he made those scripts? I saw on the forum for my bypass that someone posted the same thing 3 weeks ago sand said it was theirs... He also said to keep it private...

Edit: Heli bus was not posted on the other forum.
Im a noobie can someone tell me how to execute something
Stuns First,check the forums, and there is a great thing called Google.
NO way bro really ?

Thanks Roman2!
sounds very simple and easy, thanks
rather than execute 2 scripts, couldnt u just put

Code:
'Goat' createunit [[(getpos player select 0), (getpos player select 1), 50], group player,'beeeh = this', 1.0, 'PRIVATE'];

beeeh addMPEventHandler ['mpkilled',
{
	vehicleToSpawn = 'UH1H_DZ';
	vehicleToSpawn2 = 'Ikarus';

    if (isServer) then
    {
        control = vehicleToSpawn createVehicle (position beeeh);
		dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,getPos beeeh nearestObject vehicleToSpawn];
		control2 = vehicleToSpawn2 createVehicle (position beeeh);
		dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,getPos beeeh nearestObject vehicleToSpawn2];

		_lolSpawn = _this select 0;
		_lolDir = getdir _lolSpawn;
		control2 attachto [control,[0.0,-0.0,-3.1]];

    };
}];
and save that as HeliBus.sqf?
Approved
Nicely done Beat me to it.
This is defenitely not Syruz script but meh. By the way guys do not spawn with a goat or u will just get kicked/banned instantly but can confirm all this work, i spawned them in cherno a couple of nights ago and a massive O as well.
Well i just had some asshat spawn all of these on top of me, makes NVGs redundant when all of it blows up.
Hey guys, yes they are my scripts, i released them yesterday on the other forums, i was actually just about to release them here, but looks like Funforums released my own scripts for me, anyways

Thanks for giving credit, and getting the scripts out to everyone.

Its funny i was actually a bit pissed off when i saw it, until i saw the "All credits go to Syruz"
Quote Originally Posted by Syruz View Post
Hey guys, yes they are my scripts, i released them yesterday on the other forums, i was actually just about to release them here, but looks like Funforums released my own scripts for me, anyways

Thanks for giving credit, and getting the scripts out to everyone.

Its funny i was actually a bit pissed off when i saw it, until i saw the "All credits go to Syruz"
Thanks for the scripts Syruz.

A couple of quick questions:

Is the LHD confirmed as working? I'm able to spawn the Destroyer and the Helibus but nothing happens when I attempt to spawn the LHD. The goat pops, but then nothing after I shoot it. (It's a Bliss hive server).

How do you get into the vehicles to steer them around? I tried landing on the destroyer and walking around but was clipping through the deck and not able to really get around much.

Thanks again!
Quote Originally Posted by Syruz View Post
Hey guys, yes they are my scripts, i released them yesterday on the other forums, i was actually just about to release them here, but looks like Funforums released my own scripts for me, anyways

Thanks for giving credit, and getting the scripts out to everyone.

Its funny i was actually a bit pissed off when i saw it, until i saw the "All credits go to Syruz"

I'd still be pissed off if I were you. ....Actually I am kinda pissed for you (if that makes sense). IMO, if Funforums5 took your scripts without even saying a word to you definitely confront him about that to make sure it doesn't happen again.

Anyways, thanks for the scripts. I have been looking for these and asking around for like at least 2 weeks.
Posts 1–15 of 17 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us