Jump to content
Sign in to follow this  
nickk13579

Artillery editing question.

Recommended Posts

I have heard that artillery shells from the standard M119 and D-30 are only aloud to be airborne ingame for 20 seconds before automatically "disapearing". How do i get into my config files to change this? can someone please give me a step by step instruction?

Ive read that a good one way to do it is to edit the config and make it into an addon, but i will need some assistance. huh.gif

Share this post


Link to post
Share on other sites

You can change the projectiles' timeToLive value.

Search the BI wikipedia for community tools, you will need a pbo tool and a de-binarize tool. Kegetys' tools can do that.

Basic steps:

extract and de-binarize weapons.pbo's config.bin

edit it with any text editor

create a new pbo containing only your edited config

start ArmA using your new pbo addon in a modfolder.

Share this post


Link to post
Share on other sites

thanks for the fast response. smile_o.gif i will test this out tomorrow and get back on the forums and tell you if i did it correctly or not. thanks for the help.

Share this post


Link to post
Share on other sites

The artillery shells only have a TTL of 20secs? That sucks! This means that BIS put in these artillery pieces only as direct fire weapons. mad_o.gif So one cant use the artillery for long range beyond LOS bombardment then.

Share this post


Link to post
Share on other sites

yeah its really unfortunate, considering that you cant fire any farther than about 4000 meters without your round disapearing sad_o.gif... kinda sucks.

Share this post


Link to post
Share on other sites

well i did what you said, but i couldnt even get the cpbo.exe working... Do i have to do something special with that? All i did was unzip the file and then double click cpbo.exe, a black screen came up and then i get something that pops up saying:

No Parameters

Do you wish to associate cpbo with PBO files and directories (explorer right click menu)? yes or no.

i clicked yes.

then on the black screen it says :

Default PBO icon already exists, not overwritten

Done.

and thats it....

Edit: I got it unpbo'ed, and accessed the config file, but cannot find TimeToLive for artillery, or i just dont know what it is listed as. There are other objects with TimeToLive in the weapons config, but none i can identify as artillery.

Share this post


Link to post
Share on other sites

I used this config to alter the time to live for the M119. If it's any help:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches

      {

      class MYM119 {

              units[] = {"MYM119"};

              weapons[] = {"MYM119"};

              requiredVersion = 0.1;

              requiredAddons[] = {};

              };

      };

class CfgAmmo

      {

      class Sh_105_HE;

      class MySh_105_HE : Sh_105_HE

              {

              timeToLive = 120;

              //timeToLive = 20;

              };

      };

class CfgMagazines

      {

      class 30Rnd_105mmHE_M119;

      class My30Rnd_105mmHE_M119 : 30Rnd_105mmHE_M119

              {

              displayName = "MySh_105_HE";

              initSpeed = 1100;

              ammo = "MySh_105_HE";

              };

      };

class cfgWeapons

      {

      class M119;        

      class MYM119 : M119

              {

              displayName = "MYM119";

              magazines[] = {"My30Rnd_105mmHE_M119"};

              };

      };

class cfgVehicles

      {

     class StaticWeapon;

     class M119 : StaticWeapon  

          {

          class Turrets

                {

                class MainTurret;

                };

          };

      class MYM119 : M119

              {

              displayName = "My M119";

              class Turrets : Turrets

                      {

                      class MainTurret : MainTurret

                              {

                              weapons[] = {MYM119};

                              magazines[] = {"My30Rnd_105mmHE_M119"};

                              };

                      };

              };

      };

Share this post


Link to post
Share on other sites

probably the ArmA ingame M119 Light Howitzer derived from the extraordinary British L118 Light Gun also used extensively in Australia.

Share this post


Link to post
Share on other sites

I 'think' the addon forum is a better fit.

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  

×