OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: LimeCordial on 23 Aug 2002, 22:21:51
-
do the pistols for the description.ext file require a new class? or do they just go under 'weapons' and 'magazines'? ???
-
class CZ75
{
count = 25;
};
class Glock
{
count = 25;
};
class Tokarev
{
count = 25;
};
class Beretta
{
count = 25;
};
class Skorpion
{
count = 25;
};
And the ammo:
class CZ75mag
{
count = 150;
};
class Glockmag
{
count = 150;
};
class Tokarevmag
{
count = 150;
};
class Berettamag
{
count = 150;
};
class Skorpionmag
{
count = 150;
};
};
:D Enjoy!
8) PEACE
-
yeah thanks, but do those go under weapons and magazines or something else?
-
Yeh, the weapons go under the usual "class Weapons" and ammo "class Magazines".
8)PEACE
-
[attachment deleted by admin]
-
I get a strange problem when I try to include res-pistols in my loadouts -
The equipment appears in the briefing OK, you can select it as normal, but when the mission starts I get an error saying Cannot load mission, missing addons : bis_resistance.
Despite this the mission starts OK, complete with selected pistols :-\
Is it just me or has anyone else had this problem?
-
[attachment deleted by admin]
-
Quick update on this :-
I figured out why I was getting that error message, and I'm surprised that no-one else has come across it.
The new addon system implemented in resistance actively removes any addons not found in the mission or scripts at each save. Unfortunately this script search does not include the description file. So any addon weapons that you have specified to be available in the briefing loadout selection, but are not specified in the actual mission or any of the sqs scripts will not be registered as an addon, and will generate the missing addon message.
As all resistance addons are included in one pbo my problem was simply solved by sticking a single resistance unit on the map. This problem is definately something to look out for if you intend to include user made addon weaponry as an optional loadout.
Cheers
:)