Home   Help Search Login Register  

Author Topic: Hunting Rifle + description.ext  (Read 605 times)

0 Members and 1 Guest are viewing this topic.

gadolinite

  • Guest
Hunting Rifle + description.ext
« on: 08 May 2004, 19:32:05 »
      :hmm:How come I get the error message (see the jaypeg file for it's screenshot) when I add the hunting rifle to the gear pool with description.ext.  How can I fix this problem?


Thanks

gadolinite

  • Guest
Re:Hunting Rifle + description.ext
« Reply #1 on: 09 May 2004, 16:29:48 »
Is this a bug in the game or do I have to download the thing the error message refers to?  

PsyWarrior

  • Guest
Re:Hunting Rifle + description.ext
« Reply #2 on: 09 May 2004, 16:45:19 »
Greets,

What version of OFP are you using? Do you have Red Hammer or Resistance?

-Supr. Cmdr. PsyWarrior
-Psychic Productions

gadolinite

  • Guest
Re:Hunting Rifle + description.ext
« Reply #3 on: 10 May 2004, 01:50:16 »
 ;) I have both Red Hammer and Resistance installed with the 1.96 patch installed.

PsyWarrior

  • Guest
Re:Hunting Rifle + description.ext
« Reply #4 on: 10 May 2004, 12:25:45 »
Aaagg...

Yes, that would have been too easy... ::)

I really don't know where to go from here, other than to say 'Patch it up to the latest version' (if you haven't already).

All OFPEC Denziens: Could this be related to the "Missing addons: BIS_Resistance" error?

-PsyWarrior
-PSYPROD

DBR_ONIX

  • Guest
Re:Hunting Rifle + description.ext
« Reply #5 on: 10 May 2004, 17:24:26 »
Um.....
I think it's something to do with O.pbo....
You haven't used cutpbo on it or anything...?

I'd suggest a reinstall (Intsall to a differnt dir, and copy your addons/user/missions/mpmission dir over)
Or just uninstinall, and reinstall to the same dir (The installer won't remove any new files you added)

I had the same error when my comp went screwy, and wouldn't load big pbos (Like O.pbo etc)

Not sure, a reinstall will help seriously
- Ben

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Hunting Rifle + description.ext
« Reply #6 on: 11 May 2004, 00:43:09 »
nah, a reinstall don't help.  I get the same error when trying to use the hunting rifle.  I am patched up to 1.96.

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:Hunting Rifle + description.ext
« Reply #7 on: 11 May 2004, 02:37:26 »
Ah...that oldie. Nope, its not a bug (well, ok...) but perhaps one of the many irritating "features" of how OFP loads missions and addons. No need to suffer through reinstalls. Help is near ;D

You get that error because the hunting rifle is defined in the Res\O_WP.pbo addon under the BIS_WeaponPack class and your mission isn't using anything from that addon while your description.ext lists it as a selectable weapon.

The solution is to open the mission.sqm and add "BIS_WeaponPack" to either (or both, can't remember atm) the addons[] and addonsAuto[] parts. An example of how the top of a mission.sqm could look:
Code: [Select]
version=11;
class Mission
{
   addOns[]=
   {
      "bis_resistance",
      "BIS_WeaponPack",
      "ah64"
   };
   addOnsAuto[]=
   {
      "bis_resistance",
   };
...
...
...rest of the mission sqm follows here
As you can see, the addons[] part has "BIS_WeaponPack" listed. That will sort out the error message.

To have that done automatically, place a Hunter in the mission somewhere and preview it in SP editor mode (i.e not MP) and save it.

In short: the error comes from the mission lacking the "BIS_WeaponPack" entry in the mission.sqm and sometimes one has to add that manually. Open the mission.sqm with notepad and add it.

And yes, in a way, its related to the error "cannot load mission, missing addon BIS_Resistance" that pops up sometimes. Do a search in here or in the official forums for "addon dependencies" and/or "requiredAddons" to (perhaps) learn more about the problems.

Good luck!
 
« Last Edit: 11 May 2004, 02:43:10 by Killswitch »

PsyWarrior

  • Guest
Re:Hunting Rifle + description.ext
« Reply #8 on: 11 May 2004, 23:28:26 »
Oh, of course... I'm an idiot! ::)

An alternative solution (without editing the SQM) would be simply to place a unit with a hunting rifle somewhere on the map and place "deleteVehicle this" in his init field. That should add BIS_Weaponpack to your sqm automatically.

Shoulda got this one :P *shoots self*

-Psy|W