Problem z configem.

Dodatki i modyfikacje Armed Assault - te bardziej, jak i te mniej oficjalne

Moderator: Inkwizytor

ODPOWIEDZ
eagle
Posty: 138
Rejestracja: 13 grudnia 2006, 12:41
ID Steam:
Numer GG: 7031645
ID gracza: 2105860
Lokalizacja: Zambrów
Kontakt:

Problem z configem.

Post autor: eagle »

Witam.
Mam problem prawdopodobnie z konfigiem. Stworzyłem model broni i dałem konfig ale nie widzi wcale obiektu w edytorze. Konfiguracje broni brałem od vilasa. Konfig wygląda tak i nie wiem gdzie może być błąd:



#define private 0
#define protected 1
#define public 2

#define true 1
#define false 0

#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7


class CfgPatches {
class AW50A_Soldier {
units[] = {"AW50A_BASIC"};
requiredVersion = 1.0;
};
};
class CfgVehicleClasses
{
class AW50a_baza
{
displayName = "(AW50A)";
};
};
class CfgModels
{
class Default{};
class AW50A_Weapon
{
sectionsInherit="";
sections[]={zasleh};
selectionFireAnim = "zasleh";
};
class AW50A : AW50A_Weapon{};
};

class CfgAmmo {
class Default; // External class reference
class TimeBombCore; // External class reference
class MineCore; // External class reference
class BulletCore; // External class reference
class BulletBase : BulletCore { };

class 762x51_AW50A : BulletBase {
hit = 8;
indirectHit = 0;
indirectHitRange = 0;
visibleFire = 0.15; // how much is visible when this weapon is fired
audibleFire = 0.15;
visibleFireTime = 2; // how long is it visible
cost = 2;
};

};

class CfgMagazines {
class Default; // External class reference
class CA_Magazine : Default {};
class VehicleMagazine : CA_Magazine {};
class CA_LauncherMagazine : CA_Magazine {};

class 762x51_AW50A : CA_Magazine {
scope = public;
displayName = AW50A bullets;
picture = "\Ca\weapons\Data\Equip\m_M24_CA.paa";
count = 10;
ammo = "B_762x51_Ball";
initSpeed = 900;
sound[] = {"\ca\Weapons\Data\Sound\M21_single_shot_v3", db20, 1};
reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\M21_reload_v4", 0.01, 1};
};
};

class Mode_SemiAuto {};

class Mode_Burst : Mode_SemiAuto {};

class Mode_FullAuto : Mode_SemiAuto {};

class cfgWeapons {
class Default; // External class reference
class PistolCore; // External class reference
class RifleCore; // External class reference
class MGunCore; // External class reference
class LauncherCore; // External class reference
class GrenadeCore; // External class reference
class CannonCore; // External class reference
class GrenadeLauncher : Default {};
class RocketPods : LauncherCore {};
class MissileLauncher : LauncherCore {};
class MGun : MGunCore { };
class Rifle : RifleCore {};
class Launcher : LauncherCore { };

class M24 : Rifle {};

class aw50a : m24 {
scope = 2;
opticsZoomMin = 0.025;
opticsZoomMax = 0.05;
model = "\AW50a\aw50a";
displayName = AW50A;
sound[] = {"\ca\Weapons\Data\Sound\M24_single_shot_v1_A", db20, 1.1};
recoil = "assaultRifleBase";
recoilProne = "assaultRifleBase";
dispersion = 0.0001;
minRange = 2;
minRangeProbab = 0.1;
midRange = 400;
midRangeProbab = 0.75;
maxRange = 800;
maxRangeProbab = 0.05;
magazines[] = {"762x51_AW50A"};
class Library {
libTextDesc = AW50A sniper rifle;
};

};
};
Obrazek
eagle
Posty: 138
Rejestracja: 13 grudnia 2006, 12:41
ID Steam:
Numer GG: 7031645
ID gracza: 2105860
Lokalizacja: Zambrów
Kontakt:

Re: Problem z configem.

Post autor: eagle »

Temat do zamknięcia.
Obrazek
ODPOWIEDZ

Wróć do „Addony - tworzenie oraz modyfikacja gry”