*******************************Mossberg M590 Shotgun by LSC***********************************
Original model and texture by Raven Soft (Soldier of Fortune 2)
Compiled, LODs, config, pictures by LSC

- Install : place the "lsc_m590.pbo" to your addons or res/addons folder. You can find the shotgun soldiers under west>man>Soldier (M590 Shell) or Soldier (M590 ball). If you want test the gun, place the "m590 test.intro" folder to your users\yourname\missions folder and load in the editor.

- Informations
This gun uses two types of ammo.

1. Shotgun ball (green) : Shot one big massive iron bullet wich almost always kill the enemy when hit him. Effective for middle range (500 meter)

2. Shotgun Shell : Shot many (40) small lead bullets wich are weak but many. Effective for close range (150-200 meter)

- IMPORTANT NOTES!
This gun not used the burst multiplier for the many lead bullet, this is using script for that. The default shotgun soldiers execute the script automatically (included in thier config) but if you want to use the shotgun with another units (like original soldiers), you must place a trigger to the map unless the shotgun shell will not work. So place the trigger to the map and set up to:
---------------------
axis a : 20000
axis b : 20000

Activation : anybody > Once

Condition : True

On activation : AllSoldier = [];{AllSoldier = AllSoldier + crew _x} foreach ThisList;{_x addeventhandler [{fired},{(Nearestobject [_this select 0,_this select 4]) exec {\lsc_m590\shotgun.sqs}}]} foreach AllSoldier;
----------------------

- For editors
If you make a new soldier classes and you want include the shotgun "compatibility" type in your soldier config :

class EventHandlers
		{
		fired="(Nearestobject [_this select 0,_this select 4]) exec ""\lsc_m590\shotgun.sqs""";
		};

If your all soldiers have this lines in thier config you dont need the trigger.

- Class names :
- Shotgun             > sof2_m590
- Shotgun ammo (BALL) > lsc_ShotgunBall
- Shotgun ammo (Shell)> lsc_ShotgunShell
Units
- Unit with balls     > Soldierm590ball
- Unit with shells    > Soldierm590shell


This is a unofficial addon use at your own risk. Dont bother BIS or CM with your problems with this:)

Have fun.
**********************************************************************************************

Homepage : http://ofphu.servegame.com
Any comments or suggestions to : lsc@freemail.hu
Thanks for help to: Icebird
		    V_G
   	            Pedro870

And BIS too for making this great game.

Comment: this gun part of my incoming campaign wich will use many new weapons, units, anims and special effects. I hope im not forget something. Sorry for my english.

2004.01.24

LSC.