CH!LL3R

[Release] TNT - Terrible Nuke Territory

53 posts in this topic

Advertisement

@NFGCaboose-1 I just had a look at the script again.
The stuff that may spawn with the bomber is deleted by the script:

clearWeaponCargoGlobal _bomber;
clearMagazineCargoGlobal _bomber;

Maybe the flare launcher has to be added itself as well.
Try to add these lines:

	_bomber addMagazineCargoGlobal "60Rnd_CMFlareMagazine";
	_bomber WeaponCargoGlobal "CMFlareLauncher";

right after:

	//	Create jet + pilot	///////////////////////////////////////////////////////
	_aigroup2 = createGroup civilian;
	_aigroup2 setVariable ["DMS_AllowFreezing",false];
	_bomber = createVehicle [_jetModel,_jetStart, [], 100, "FLY"];
	_jetPilot = _aigroup2 createUnit ["B_T_Pilot_F",getPos _bomber, [], 100, "FORM"];
	_jetPilot assignAsDriver _bomber;
	_jetPilot moveInDriver _bomber;
	_bomber setFuel 1;
	_jetPilot setSkill 1;
	[_jetPilot] joinSilent _aigroup2;
	clearBackpackCargoGlobal _bomber;
	clearWeaponCargoGlobal _bomber;
	clearMagazineCargoGlobal _bomber;
	clearItemCargoGlobal _bomber;

Than add this line at the start/end bombing section of the script and test it again.

_bomber fire "CMFlareLauncher";

Share this post


Link to post
Share on other sites
On 16.2.2018 at 6:41 AM, NFGCaboose-1 said:

@Stoll it didn't work...I am at a loss..

Well, it should be called this way btw and not what I posted above:

_bomber addMagazineCargoGlobal ["60Rnd_CMFlareMagazine",1];
_bomber addWeaponCargoGlobal ["CMFlareLauncher",1];

But I played around with that a bit and didn't get it working either.  -_-

Edited by Stoll

Share this post


Link to post
Share on other sites

Hey CH!LL3RNice script you made I like it a lot

So i just installed it and everything works fine except for the aircraft finding the waypoint destination. When the plane spawns in.. it flies to the center of the map and just loiters around that area for a while sometimes upwards of 40 minutes before it actually bombs the designated town sometimes it wont bomb at all. The notification pops up saying airradi info plane "____" has started to bomb down the city of "_____" mean while the plane is flying circles in the direct middle of the map. Any ideas for why this might be happening? 

  • Like 1

Share this post


Link to post
Share on other sites

Hi all, script work, but sometimes I see errors in RPT
 

 8:07:08 "| ACME TNT | I_Plane_Fighter_03_CAS_F with Bo_GBU12_LGB selected. Starting at [0,0,300]"
 8:07:08 "| ACME TNT | RANDOM WORLDSPACE: Athira | [13993,18709.4,75]"
 8:07:08 a3\air_f_gamma\plane_fighter_03\gun_holder_f.p3d: No geometry and no visual shape
 8:07:09 Error in expression < [], 100, "FLY"];
_jetPilot = _aigroup2 createUnit ["B_T_Pilot_F",getPos _bomber>
 8:07:09   Error position: <createUnit ["B_T_Pilot_F",getPos _bomber>
 8:07:09   Error Foreign error: Unknown enum value: "PRIVATE"
 8:07:09 File x\addons\acme_tnt\server\acme_tnt.sqf, line 166
 8:07:12 Error: Object(8 : 33) not found

My line 166
 

	_jetPilot = _aigroup2 createUnit ["B_T_Pilot_F",getPos _bomber, [], 100, "PRIVATE"];

I have all from author git, dont change. Map Altis.

Share this post


Link to post
Share on other sites

I dont know why but siren sounds dont work. Only "drop" sound work. What iam done wrong.

Spoiler

class CfgSounds
{
    sounds[] = {drop,siren1,siren2,siren3};
        class drop
        {
            name="drop";
            sound[]={"@a3\data_f_curator\sound\cfgsounds\incoming2.wss",db+10,1};
            titles[] = {};
        };
        class siren1
        {
            name="siren1";
            sound[]={"Sounds\siren1.ogg",db+10,1};
            titles[] = {};
        };
        class siren2
        {
            name="siren2";
            sound[]={"Sounds\siren2.ogg",db+6,1};
            titles[] = {};
        };
            class siren3
        {
            name="siren3";
            sound[]={"Sounds\siren3.ogg",db+6,1};
            titles[] = {};
        };
};

 

Edited by Mr.Raven

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.