Author: rip31st
Author Website:

Requirements: 31st Normandy Mod

Version: 0.99a
Signed:

Short description:

Date: 2010-03-06 18:14


Comments: (0)
Rating:



 

4-ss1a.jpg 4-ss3.jpg 4-ss4.jpg 4-ss5.jpg

31st Normandy Mod patch 1
by
Rip31st



Description:
Patch 1 for the 31st Normandy mod for ArmA2.

Notes: Fixed players respawning in single player missions with modern weapons, added US 60mm mortar classes to each parent class of US infantry. Code provided in this readme addresses multiplayer issue of spawning/respawning without weapons.

Added:
respawnWeapons[] =
respawnMagazines[] =
To all infantry classes so infantry should retain their weapons upon respawn instead of having modern weapons.

Added US 60mm mortar to each parent set of US infantry.

*more updates to come

For multiplayer weapons spawning issues use this code in your init.sqf inside your mission folder. It will resolve that issue:
//Multiplayer weapons spawning fix
private ["_weapons","_magazines"];
if (local player) THEN
{
sleep 2;

//restore default loadout of chosen class - for unknown reasons, this fixes the grenade bug
removeallweapons player;
removeallItems player;
_weapons = getArray (configFile >> "CfgVehicles" >> format ["%1",typeOf player] >> "weapons");
_magazines = getArray (configFile >> "CfgVehicles" >> format ["%1",typeOf player] >> "magazines");
{player addmagazine _x;} foreach _magazines;
{player addweapon _x;} foreach _weapons;
//this makes sure that even the 31stN units have the essentials

IF !(player hasWeapon "ItemCompass") THEN {player addWeapon "ItemCompass"};
IF !(player hasWeapon "ItemMap") THEN {player addWeapon "ItemMap"};
//IF !(player hasWeapon "ItemRadio") THEN {player addWeapon "ItemRadio"};
IF !(player hasWeapon "ItemWatch") THEN {player addWeapon "ItemWatch"};

//select weapon so respawned units may shoot at once
if (count weapons player > 0) then
{
player selectWeapon (_weapons select 0);
};
};


Installation:
We always recomment to use modfolders.
Check our FAQ for how to do it.


Included files:
vilww2.pbo
us_2nd.pbo
ss.pbo
82n_air.pbo
2nd_rangers.pbo
29_inf.pbo
1st_inf.pbo
101_air.pbo


Credits & Thanks:
Thanks for Dimitri_Harkov for posting that fix in the forums.


Forums Topic:
- Armaholic forums
- BI forums



- 31st Normandy Mod




Enable javascript to be able to download from Armaholic please!



Tags: No tags