Jump to content
Sign in to follow this  
forzajuve

briefing weapons issue

Recommended Posts

I'm having a problem with selecting weapons at briefing. this is an example of a selection I use.

class Weapons
{
 class M4A1_AIM_SD_CAMO      {count = 5;};
 class M4A1_AIM_CAMO         {count = 5;};
 class M4A1_HWS_GL_SD_CAMO   {count = 5;};
 class G36_C_SD_Eotech       {count = 5;};
 class M4A1_HWS_GL_CAMO      {count = 5;};
 class MK_48                 {count = 1;};
 class m16a4                 {count = 5;};
 class m8_CarbineGL          {count = 5;};
 class G36A                  {count = 5;};
 class G36K                  {count = 5;};
 class G36C                  {count = 5;};
 class m8_Carbine            {count = 5;};
 class m8_Sharpshooter       {count = 1;};
 class M4SPR                 {count = 1;};
 class MG36                  {count = 1;};

};
class Magazines
{
 class 30Rnd_556x45_StanagSD  {count = 60;};
 class 30Rnd_556x45_G36SD     {count = 60;};
 class 20Rnd_556x45_Stanag    {count = 20;};
 class 30Rnd_556x45_Stanag    {count = 60;};
 class 30Rnd_556x45_G36       {count = 60;};
 class 100Rnd_556x45_BetaCMag {count = 30;};
 class 100Rnd_762x51_M240     {count = 10;}; 
 class 15Rnd_9x19_M9          {count = 40;};
 class 1Rnd_HE_M203           {count = 40;};
 class pipebomb               {count = 2;};   
 class HandGrenade_West       {count = 10;};
 class smokeshell             {count = 5;};

};

this works fine when the player is squad leader, but it doesn't work when the player is not squad leader. how can I fix this?

thanks

Edited by ForzaJuve

Share this post


Link to post
Share on other sites

I think you can't fix this. If you are teamleader you can change squadmates weapons if not you can't.

You can do 1 thing you put first player alone in mission and after mission start you add him to squad (join command). In this case you can change weapons for players unit before mission (but not for the rest of squad).

Share this post


Link to post
Share on other sites

After a little while I actually thought of that and tried it, but I couldn't get the player to join ai squad

player joinsilent [unit3_3];

Share this post


Link to post
Share on other sites

Should be:

[player] jointsilent unit3_3

if this don't work with player you will have to add players unit name in editor lets say: pl1 and then write:

[pl1] joinsilent unit3_3

Share this post


Link to post
Share on other sites

that worked but the player joined as '1'. don't know why the squad leader wouldn't be 1...

Share this post


Link to post
Share on other sites

Probably squad leader is private and players unit is corporal, sergeant or something higher.

Share this post


Link to post
Share on other sites

You are right, player is always 1 even if he is not squad leader. Maybe its hardcoded in game. I checked join/joinsilent and waypoint join and lead but nothing fix that.

Share this post


Link to post
Share on other sites

that's just a pain. I tried adding some AI first as well but player is still #1

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  

×