Jump to content
Sign in to follow this  
d3nn16

MP Briefing

Recommended Posts

Hi,

Is it possible to have different weapons and magazines to choose for each side in briefing ammo pool ? If yes how to do that ?

Thanks for any suggestions.

Share this post


Link to post
Share on other sites

You have to include in description.ext similar to this:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">////*********************MissionWeapons******************

class weapons

{

class SJB_TOS_M4 {count = 4;};

class SJB_TOS_M4_AIMPOINT {count = 4;};

class SJB_TOS_M4_Reflex {count = 4;};

class SJB_TOS_M4_Cobra {count = 4;};

class SJB_TOS_M4_CQB {count = 4;};

class SJB_TOS_M4_SD {count = 4;};

class SJB_TOS_M249 {count = 1;};

class SJB_TOS_Colt1911 {count = 4;};

class SJB_TOS_Colt1911_SD {count = 1;};

class SJB_TOS_CAR15_SD {count = 1;};

class binocular {count = 1;};

};

class Magazines

{

class SJB_TOS_M4_SD_mag {count = 150;};

class SJB_TOS_Colt1911_SD_Mag {count = 150;};

class SJB_TOS_Colt1911_Mag {count = 150;};

class SJB_TOS_M249_mag {count = 100;};

class SJB_TOS_M4_mag {count = 100;};

class pipebomb {count = 15;};

class handgrenade {count = 55;};

class SmokeShell {count = 55;};

};

Share this post


Link to post
Share on other sites

What does indicate that the weapon or magazine is available for east or for west ?

Share this post


Link to post
Share on other sites

Example from CTF Hexenkessel:

description.ext code snipet

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">titleParam2 = "Weapons:";

valuesParam2[] = {0,1,2,3};

defValueParam2 = 0;

textsParam2[] = {" M16/AK74"," XMS/Steyr"," G36/G36"," Bizon/Bizon"};

activated by [] exec "Waffe.sqs" command in init.sqs

Waffe.sqs

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

#Neu

@ Alive Player

RemoveAllWeapons Player

? SpielerSeite == EAST : goto "OstWaffe"

;WEST

_waffe = "M16"

_magaz = "M16"

? Param2 == 1 : _waffe = "XMS";      _magaz = "M4"

? Param2 == 2 : _waffe = "G36a";     _magaz = "G36aMag"

? Param2 == 3 : _waffe = "Bizon";    _magaz = "BizonMag"

goto "Bewaffnen"

#OstWaffe

;EAST

_waffe = "AK74"

_magaz = "AK74"

? Param2 == 1 : _waffe = "Steyr";    _magaz = "SteyrMag"

? Param2 == 2 : _waffe = "G36a";     _magaz = "G36aMag"

? Param2 == 3 : _waffe = "Bizon";    _magaz = "BizonMag"

#Bewaffnen

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddMagazine  _magaz

Player AddWeapon    _waffe

Player SelectWeapon _waffe

? ! isNull _PlayerAlt : deleteVehicle _PlayerAlt

@ ! Alive Player

_PlayerAlt = Player

goto "Neu"

Share this post


Link to post
Share on other sites

This is a mission editing question. Moving to ME&S.

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  

×