OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Plane on 11 Feb 2005, 09:12:21
-
I'm making a New stinger launcher but in game it shows
"No entry .modelspecial"
I think its config problem, so anyone knows plz help!
-
I've seen that my self ummm yes I think it wants weapons for the soldier
(i.e. that the weapons for the man aren't valid) still I'm not 100% on this one?
-
Here is my config file:
//Basic defining
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0
#define WeaponSlotPrimary 1
#define WeaponSlotSecondary 16
#define WeaponSlotItem 256
#define WeaponSlotBinocular 4096
#define WeaponHardMounted 65536
class CfgPatches
{
class FIM92B
{
units[] = {};
weapons[] = {FIM92Blauncher};
requiredVersion = 1.75;
};
};
class CfgModels
{
class Default{};
class Weapon: Default{};
class FIM92Blauncher: Weapon{};
};
class CfgAmmo
{
class Default{};
class AT3:Default{};
class CarlGustav:AT3{};
class AA:CarlGustav{};
class stinger:AA
{
hit=120;
indirectHit=45;
indirectHitRange=3;
minRange=50;
minRangeProbab=0.5;
midRange=1200;
midRangeProbab=0.95;
maxRange=2200;
maxRangeProbab=0.3;
airLock=1;
cost=20000;
manualControl=0;
maxControlRange=1000;
maxSpeed=350;
thrustTime=3.0;
maneuvrability=4.0;
};
};
class CfgWeapon
{
class Default{};
class LAWLauncher:Default{};
class CarlGustavLauncher:LAWLauncher{};
class AALauncher:CarlGustavLauncher{};
class FIM92Blauncher:AALauncher
{
model="\FIM92B\FIM92B_ready.p3d";
displayName="FIM-92";
displayNameMagazine="FIM-92";
shortNameMagazine="FIM-92";
//magazines[]= {"FIM92B"};
picture="\FIM92B\FIM92B.paa";
ammo=stinger;
};
};
Where is the problem? ???
-
is the model file path right?
-
Sorry guy, I made a stupid mistake:
CfgWeapons