Home   Help Search Login Register  

Author Topic: description.ext resistance pistols  (Read 1954 times)

0 Members and 1 Guest are viewing this topic.

LimeCordial

  • Guest
description.ext resistance pistols
« 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'?  ???

Gameer_77

  • Guest
Re:description.ext resistance pistols
« Reply #1 on: 23 Aug 2002, 22:45:47 »
Code: [Select]
   class CZ75
   {
      count = 25;
   };
   class Glock
   {
      count = 25;
   };
   class Tokarev
   {
      count = 25;
   };
   class Beretta
   {
      count = 25;
   };
   
   class Skorpion
   {
      count = 25;
   };

And the ammo:

Code: [Select]
   class CZ75mag
   {
      count = 150;
   };
   class Glockmag
   {
      count = 150;
   };
   class Tokarevmag
   {
      count = 150;
   };
   class Berettamag
   {
      count = 150;
   };
   
   class Skorpionmag
   {
      count = 150;
   };
};

 :D Enjoy!

8) PEACE

LimeCordial

  • Guest
Re:description.ext resistance pistols
« Reply #2 on: 23 Aug 2002, 22:48:04 »
yeah thanks, but do those go under weapons and magazines or something else?

Gameer_77

  • Guest
Re:description.ext resistance pistols
« Reply #3 on: 23 Aug 2002, 23:02:52 »
Yeh, the weapons go under the usual "class Weapons" and ammo "class Magazines".

 8)PEACE

LimeCordial

  • Guest
Re:description.ext resistance pistols
« Reply #4 on: 23 Aug 2002, 23:59:17 »


[attachment deleted by admin]

Bremmer

  • Guest
Re:description.ext resistance pistols
« Reply #5 on: 24 Aug 2002, 00:33:09 »
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?

Gameer_77

  • Guest
Re:description.ext resistance pistols
« Reply #6 on: 24 Aug 2002, 12:03:50 »


[attachment deleted by admin]

Bremmer

  • Guest
Re:description.ext resistance pistols
« Reply #7 on: 27 Aug 2002, 19:26:07 »
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

 :)