Armed-Assault.de Twitter
Antwort
 
Themen-Optionen Ansicht
Alt 23.05.2011, 13:18   #1 (permalink)
50 Beiträge
 
Registriert seit: 17.09.2008
Ort: Heinsberg
Alter: 37
Beiträge: 79
Standard Replacment Config fehlerhaft - bitte um Hilfe

Hallo!

Ich hatte mir vorgenommen, eine bereits vorhandene Replacement Config ein wenig zu erweitern. So sieht sie jetzt aus :


Zitat:

class CfgPatches
{
class Mao_Rangers_Rep
{
units[] = { };
weapons[] = { };
requiredVersion = 1.010000;
requiredAddons[] = {
"Rangers", "CACharacters_E"
};
version = "5-21-2011";
author[] = {
"Lao Fei Mao"
};
fileName = "Mao_Rangers_Rep";
};
};
class CfgAddons
{
class PreloadAddons
{
class Mao_Rangers_Rep
{
list[] = {
"Mao_Rangers_Rep"
};
};
};
};
class CfgVehicles
{
class US_Soldier_Base_EP1 ;
class US_Delta_Force_EP1 : US_Soldier_Base_EP1
{
displayName = "Ranger (AT)";
model = "\Rangers\sfc_arthur.p3d";
backpack = "rb_backpack_5";
weapons[] = {
"ACE_M4A1_Eotech", "MAAWS", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "MAAWS_HEAT", "MAAWS_HEDP", "IR_Strobe_Marker", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"ACE_M4A1_Eotech", "MAAWS", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
respawnMagazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "MAAWS_HEAT", "MAAWS_HEDP", "IR_Strobe_Marker", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};

class US_Delta_Force_TL_EP1 : US_Soldier_Base_EP1
{
displayName = "Team Leader";
model = "\Rangers\cpt_knight.p3d";
backpack = "rb_backpack_1";
weapons[] = {
"ACE_M4A1_RCO2_GL_UP", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "Handgrenade_West", "Handgrenade_West", "Handgrenade_West", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"ACE_M4A1_RCO2_GL_UP", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
respawnMagazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "Handgrenade_West", "Handgrenade_West", "Handgrenade_West", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
class US_Delta_Force_Medic_EP1 : US_Delta_Force_EP1
{
displayName = "Medic";
model = "\Rangers\sfc_d_gary.p3d";
backpack = "rb_backpack_2";
canCarryBackPack = 1;
weapons[] = {
"ACE_M4A1_Eotech", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"ACE_M4A1_Eotech", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
respawnMagazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};

class US_Delta_Force_Assault_EP1 : US_Delta_Force_EP1
{
displayName = "Ranger Assault";
model = "\Rangers\sgt_bilko.p3d";
weapons[] = {
"ACE_SOC_M4A1_RCO_GL_UP", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "Handgrenade_West", "Handgrenade_West", "Handgrenade_West", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"ACE_SOC_M4A1_RCO_GL_UP", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
respawnMagazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "Handgrenade_West", "Handgrenade_West", "Handgrenade_West", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "ACE_1Rnd_HE_M203", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};

class US_Delta_Force_SD_EP1 : US_Delta_Force_EP1
{
displayName = "Ranger (SD)";
model = "\Rangers\sgt_bilko.p3d";
backpack = "US_Patrol_Pack_Specops_EP1";
weapons[] = {
"ACE_M4A1_ACOG_SD", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "ACE_GlassesBalaklava", "M9SD"
};
magazines[] = {
"30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD"
};
respawnWeapons[] = {
"ACE_M4A1_ACOG_SD", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "ACE_GlassesBalaklava", "M9SD"
};
respawnMagazines[] = {
"30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD"
};

class US_Delta_Force_MG_EP1 : US_Delta_Force_EP1
{
displayName = "MK48 Gunner";
model = "\Rangers\spc_wasdie.p3d";
weapons[] = {
"Mk_48_DES_EP1", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"Mk_48_DES_EP1", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
respawnMagazines[] = {
"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
class US_Delta_Force_AR_EP1 : US_Delta_Force_EP1
{
displayName = "M249 Gunner";
model = "\Rangers\spc_wasdie.p3d";
weapons[] = {
"ACE_M249_PIP_ACOG", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"200rnd_556x45_M249", "200rnd_556x45_M249", "200rnd_556x45_M249", "200rnd_556x45_M249", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"ACE_M249_PIP_ACOG", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
respawnMagazines[] = {
"200rnd_556x45_M249", "200rnd_556x45_M249", "200rnd_556x45_M249", "200rnd_556x45_M249", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};

class US_Delta_Force_Night_EP1 : US_Delta_Force_EP1
{
displayName = "Ranger Night";
model = "\Rangers\pvt_pyle.p3d";
weapons[] = {
"ACE_SOC_M4A1_AIM_SD", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9SD"
};
magazines[] = {
"30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD"
};
respawnWeapons[] = {
"ACE_SOC_M4A1_AIM_SD", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9SD"
};
respawnMagazines[] = {
"30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "30rnd_556x45_StanagSD", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD"
};

class US_Delta_Force_Marksman_EP1 : US_Delta_Force_EP1
{
displayName = "Designated Marksman";
model = "\Rangers\spc_brainbug.p3d";
backpack = "rb_backpack_1";
weapons[] = {
"ACE_MK12mod1", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"ACE_MK12mod1", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9
};
respawnMagazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};

class US_Delta_Force_M14_EP1 : US_Delta_Force_EP1
{
displayName = "Ranger M14";
model = "\Rangers\sgt_bilko.p3d";
weapons[] = {
"ACE_M14_ACOG", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"ACE_M14_ACOG", "NVGoggles", "Binocular_Vector", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
respawnMagazines[] = {
"20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "20Rnd_762x51_DMR", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};

class US_Delta_Force_Air_Controller_EP1 : US_Delta_Force_EP1
{
displayName = "Ranger Air Controller";
model = "\Rangers\sgt_bilko.p3d";
backpack = "US_Patrol_Pack_Specops_EP1";
weapons[] = {
"M4A1_Aim", "NVGoggles", "Laserdesignator", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
magazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
respawnWeapons[] = {
"M4A1_Aim", "NVGoggles", "Laserdesignator", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "itemGPS", "M9"
};
respawnMagazines[] = {
"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "IR_Strobe_Marker", "SmokeShell", "SmokeShell", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"
};
};

Wenn ich mit Eliteness prüfe, kommt die Meldung:

"Line 193 Missmatched Quotes"

Heisst das, das ich ab Class Cfg Patches 193 Zeilen runterzählen müsste, um die falschen Klammern zu finden?

Könnte mir vielleicht jemand bei der Fehlersuche helfen,bitte?

Danke im vorraus.
Humvee28 ist offline   Mit Zitat antworten
Alt 23.05.2011, 13:28   #2 (permalink)
Imperator fori nocturni - This sucks more than anything that has ever sucked before 10 Jahre hx3
20.000 Beiträge
 
Benutzerbild von burns
 
Registriert seit: 13.04.2003
Ort: Monerica
Alter: 35
Beiträge: 32.185
Standard

In Zeile 184 hast du am Ende bei respawnWeapons vergessen der M9 nen schliessendes Anführungszeichen zu verpassen, dadurch zerhaut es dir die folgende Klasse in 191.


Besorg dir Notepad++, bearbeite deine .cpp´s darin, und stell oben im Reiter Sprachen C++ ein, dann wird der Fehler meist durch farbliche Ungleichheit hervorgehoben


PS: Bei Replacements eigentlich niemals Waffen ändern, die werden alle von der gegeben Basisklasse geerbt. Du definierst also entweder etwas was schon da ist (was Mumpitz wäre), oder baust etwas um was dann ggf. Kompatibilität mit MP oder Missionen zerhaut (was mit Vorsicht zu geniessen ist).
__________________

burns ist offline   Mit Zitat antworten
Alt 23.05.2011, 15:34   #3 (permalink)
50 Beiträge
 
Registriert seit: 17.09.2008
Ort: Heinsberg
Alter: 37
Beiträge: 79
Standard

Danke Burns!

Hab mich jetzt zum ersten Mal an sowas gewagt, und zum Schluss vor lauter Geschripsel den Wald vor lauter Bäumen nicht mehr gesehen.

Das mit dem Notepad++ wusste ich auch noch nicht. Werde ich mir direkt mal besorgen.

P.S : Die Config habe ich nur für mich selber editiert, für ein paar SP Missis. Sollte also eigentlich keine Probleme bereiten. Für alles andere muss ich noch viel lernen und üben.

TANTE EDIT : Required Addons fehlte mir auch noch für die ACE Kniften..

Geändert von Humvee28 (23.05.2011 um 18:28 Uhr).
Humvee28 ist offline   Mit Zitat antworten
Alt 23.05.2011, 21:04   #4 (permalink)
50 Beiträge
 
Registriert seit: 17.09.2008
Ort: Heinsberg
Alter: 37
Beiträge: 79
Standard

Nun funktionierts. Ich hatte die einzelnen Klassen nicht richtig ausgeklammert und die required Addons fehlten noch. Absoluter Kindergeburtstag, ich weiss. Aber das erste Mal, das ich was für Arma gemoddet habe.
Humvee28 ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
J.S.R.S - Jarhead's Sounds-Redeployment Systems Termi Mods & Addons 508 08.01.2013 14:19
Hilfe bei config Motor Sound stiefel1976 Editing & Scripting 4 30.01.2011 18:16
Brauche Hilfe bei meiner Cornershot Don Schächter Mods & Addons 21 02.10.2010 14:57
Brauche Hilfe mit meinem ersten Addon Don Schächter Mods & Addons 11 08.07.2010 21:17
brauche hilfe bei meiner ersten Config GER_CJ-187 Mods & Addons 21 01.07.2010 11:42


Kontakt - HX3.de - Archiv - Nach oben

Angetrieben durch vBulletin, Entwicklung von Philipp Dörner & Tobias



SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116