Jump to content
Sign in to follow this  
snakeyez503

Artillery support stops working with other scrips loaded.

Recommended Posts

After messing around fro a few days i cant get this sorted out.

Im trying to build a practice "playground" airbase with Stock NATO equipment Mixed with some empty op4 vehicles. As a template for future bases and missions on Stratis.

=BTC= Logistics to practice moving UGVs into place and other uses. Nifty script it is.

Because the ammotrucks are not functioning im using the x_reload.sqf by xeno

(cant figure out how to get Simple Vehicle Service Scripts to work with BTC Logistics, UI conflict.)

Im using the helipad lights Script with the time setting triggers from the demo.

Now that i have the functions working ive encountered a problem.

When i go to call the artillery the menu is extremely slow in responding. I may get one battery to fire once(sometimes) but afterword im unable to get to the menu where one selects what artillery type id like to use sometimes past that (but rarely). Sometimes i can get to number of rounds but nothing happens after.

Some units have

this addEventHandler ["Fired",{[_this select 0,getNumber (configFile/"CfgAmmo"/(_this select 4)/"explosive")] spawn {if (_this select 1==1) then {sleep 28.00};_this select 0 setVehicleAmmo 1}}]

to keep some from running out of ammo this was mainly for artilary but also for some aircraft.

Description.ext

respawn = "BASE";

respawndelay = "3";

class RscPicture

{

type = CT_STATIC;

idc = -1;

style = 48;

colorBackground[] = {0, 0, 0, 0};

colorText[] = {1, 1, 1, 1};

font = "PuristaMedium"; //Typeface

sizeEx = 0;

};

class RscTitles

{

#include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"

};

Init.sqf

enableSaving [false, false];

null = [5, "scripts"] execVM "scripts\helipad_lights\helipad_light_auto.sqf";

_logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";

I have verry little experience with working with scripts and im not sure where the conflict is. Ive read through each scripts forums several times but im still at a loss. Any help would be greatly appreciated.:confused:

Share this post


Link to post
Share on other sites

So i started a new one, i noticed that =BTC= only loads when player is set to to be a helo pilot. Also artillery works for the helo pilot but not for any other units linked to the requester. Even if there is separate artillery and requester(s) for each unit.

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  

×