Jump to content
Sign in to follow this  
Evilmaker

Need help with my config file!

Recommended Posts

Hi there!

So I have some questions for you.

1. Well, my Ammo Picture (ammo.pac) dont work (if you press M and look into your gear) ... it always uses the picture of the Panzerschreck (panzerschreck.pac)...

Heres my config:

// some basic defines

#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

// type scope

#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 Panzerschreck

{

units[] = {};

weapons[] = {Panzerschreck};

requiredVersion = 1.01;

};

};

class CfgAmmo

{

class Default {};

class AT3: Default {};

class Panzerschreck : AT3

{

maxSpeed=105; kph max...

thrustTime=2.500000;

thrust=350;        

maneuvrability=0.000000;

minRange=50;

minRangeProbab=0.500000;

midRange=100;

midRangeProbab=0.950000;

maxRange=200;

maxRangeProbab=0.100000;

manualControl=1;

maxControlRange=0;

irLock=0;

hit=4500;

indirectHit=4000;

indirectHitRange=2.500000;

                         picture="ammo.pac";

};

};

class CfgWeapons

{

class Default {};

class LAWLauncher: Default {};

class CarlGustavLauncher: LAWLauncher {};

class AT4Launcher: CarlGustavLauncher {};

class Panzerschreck : AT4Launcher

{

model="\schreck\Panzerschreck";

magazineType="2 *          256";

ammo = "Panzerschreck";

displayName=$STR_DN_PANZERSCHRECK;

displayNameMagazine="$STR_MN_PANZERSCHRECK_MAG";

shortNameMagazine="$STR_SN_PANZERSCHRECK_MAG";

initSpeed=115;

                         picture="\schreck\panzerschreck.pac";

};

};

class CfgVehicles

{

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class Man: Land {};

class Soldier: Man{};

class SoldierEB: Soldier {};

class SoldierEPJ: SoldierEB

{

vehicleClass="Men";

scope=2;

displayName="$STR_DN_PANZERJAEGER";

cost=60000;

side=TEast;

accuracy=1.500000;

nameSound="missileSoldier";

weapons[]={"Panzerschreck","AK47"};

magazines[]={"AK47","AK47","Panzerschreck","Panzerschreck"};

threat[]={1,0.100000,0.800000};

};

}

class CfgNonAIVehicles

{

class ProxyWeapon {};

class ProxyPanzerschreck: ProxyWeapon {};

};

Ok...

2. I want to make a picture which is shown in the squad bar (ingame) ... I tried it but the size was totally wrong sad.gif. Which size I have to use?

3. How to maketransparent textures for the mission editor icon and the suqad bar?

Thanx!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×