OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kuro on 29 Jan 2003, 05:45:43

Title: CoC Mines in Briefing Gear Screen
Post by: Kuro on 29 Jan 2003, 05:45:43
Hallo,

i have the following problem:

I want to use the Placeable Claymore from the CoC Mines (included in SEB Nam Pack 2).
The player should decide in the Briefing Gear Screen how many Claymores he want take to the mission.

Therefore i added in the description.ext:
class COCM18A1 {count = 10;};

it looks well (you can select/deselect them, the icon is there etc.) but when i want to place them in the mission (the menu item is there) the player kneels, but noting happen. I thought it has something to do with the COCMinesPut:

So i added in the init sys:
[] exec "\CoC_Mines\scripts\InitMines.sqs"   
player addWeapon "COCMinesPut";

But it does not help ! Do you have any ideas ?

With best Regards
Kuro
Title: Re:CoC Mines in Briefing Gear Screen
Post by: Ace on 31 Jan 2003, 18:58:00
did you add the ammo?
If so I can't imagine what else you are doing wrong