HX3 Foren  

  HX3 Foren > Games > Operation Flashpoint > Editing

Editing The world is a Script - write it!

Antwort
 
Themen-Optionen Ansicht
Alt 08.10.2004, 12:03   #1 (permalink)
50 Beiträge100 Beiträge
 
Registriert seit: 23.11.2003
Ort: Hamburg
Beiträge: 214
Standard Meine Inesl-Config funst nicht, kann a mal jemand einen Blick drauf werfen?

Ich hab in meine Insel Config jezt Namen eingefügt, aber scheinbar irgendein Fehler gemacht. Immer wenn ich ofp starten will kommt die Fehlermeldung: newland\config.cpp/CfgWorlds/NewLand/Names/:'('encountered instead of '{'

Und so sieht meine config aus:
Code:
class CfgPatches
{
	class NewLand
	{
		units[]   = {};
		weapons[] = {};
		worlds[]  = {NewLand};
		requiredVersion = 1.75;
	};
};

class CfgWorldList
{
	class NewLand {};
};

class CfgWorlds
{
	class DefaultWorld {};
	class Intro : DefaultWorld {};
	class NewLand : Intro
	{
		access           = 3;
		description      = "NewLand";
		icon             = "\NewLand\NewLand.paa";
		worldName        = "\NewLand\NewLand.wrp";
		cutscenes[]      = {"..\addons\NewLand\intro"};
		plateFormat      = "ER$ ## - ##";
		plateLetters     = "ABCDEFHIKLMOPRSTVXYZ";
		seagullPos[]     = {6450,6782};
		ilsPosition[]    = {4100,2550};
		ilsDirection[]   = {0,0.08,1};
		ilsTaxiIn[]      = {4350,2100, 4323,2225, 4236,2225, 4225,2235, 4225,2245, 4225,2506, 4223,2519, 4205,2525, 4141,2525, 4107,2520, 4100,2506, 4100,2384};
		ilsTaxiOff[]     = {4100,2550, 4100,1202, 4107,1181, 4139,1175, 4203,1175, 4222,1179, 4226,1193, 4225,2123};
		centerPosition[] = {6450,6782};
			
		class Names {

                class Port_AGSmith
		{
			name="Port AGSmith";
			position[]={12344.1240, 7582.6260, 0};
		};
		class Brownsville
		{
			name="Brownsville";
			position[]={11319.6035, 7529.7310, 0};
		};
		class Eastcoast_Houses
		{
			name="Eastcoast Houses";
			position[]={11520.8848, 5006.5264, 0};
		};
		class The_MPIs_Multiplayer_Islands
		{
			name="The MPIs (Multiplayer Islands)";
			position[]={8540.5195, 488.1307, 0};
		};
		class Lost_Heaven
		{
			name="Lost Heaven";
			position[]={6238.9824, 1873.8068, 0};
		};
		class v10
		{
			name="v.1.0";
			position[]={11786.2803, 77.9951, 0};
		};
		class Airport
		{
			name="Airport";
			position[]={4520.3809, 2138.2744, 0};
		};
		class (null)
		{
			name="(null)";
			position[]={4638.0542, 1641.9114, 0};
		};
		class Military_Objekt
		{
			name="Military Objekt";
			position[]={4475.3740, 1619.9116, 0};
		};
		class Little_Berlin
		{
			name="Little Berlin";
			position[]={3212.0898, 1697.3533, 0};
		};
		class Don_Alfons_Guido_Luigi_Mingottis_Villa
		{
			name="Don Alfons Guido Luigi Mingotti's Villa";
			position[]={1537.4154, 1675.8192, 0};
		};
		class Military_Objekt
		{
			name="Military Objekt";
			position[]={1904.3481, 4369.4888, 0};
		};
		class Sulzano
		{
			name="Sulzano";
			position[]={1882.8695, 4925.3286, 0};
		};
		class Luca
		{
			name="Luca";
			position[]={1830.5454, 5977.6860, 0};
		};
		class NewLand_City
		{
			name="NewLand City";
			position[]={1813.6941, 6784.2915, 0};
		};
		class Sunset_Village
		{
			name="Sunset Village";
			position[]={2718.1643, 9057.7393, 0};
		};
		class Downhill
		{
			name="Downhill";
			position[]={6945.2642, 9732.6357, 0};
		};
		class Little_Northend
		{
			name="Little Northend";
			position[]={8527.1719, 11090.5771, 0};
		};
		class Misquito_Village
		{
			name="Misquito Village";
			position[]={6066.2085, 8660.1748, 0};
		};
		class St_Gnocci_University
		{
			name="St. Gnocci University";
			position[]={8840.6025, 8375.1602, 0};
		};
		class Militaryobjekt
		{
			name="Militaryobjekt";
			position[]={9913.5391, 8022.3882, 0};
		};
		class Skagen
		{
			name="Skagen";
			position[]={10684.3232, 8238.6455, 0};
		};
		class Chayennope
		{
			name="Chayennope";
			position[]={8081.4385, 7486.4697, 0};
		};
		class New_Petrovice
		{
			name="New Petrovice";
			position[]={5613.0820, 7047.9766, 0};
		};
		class Woodsville
		{
			name="Woodsville";
			position[]={5647.6597, 7588.9751, 0};
		};
		class Riva
		{
			name="Riva";
			position[]={7454.3647, 5738.8223, 0};
		};
		class Iseo
		{
			name="Iseo";
			position[]={7117.3965, 6042.8345, 0};
		};
		class Torbole
		{
			name="Torbole";
			position[]={5366.6885, 4202.5820, 0};
		};
		class Northwest_Equeralise
		{
			name="Northwest Equeralise";
			position[]={10400.9180, 9499.3750, 0};
		};
		class Isle_Of_Waves
		{
			name="Isle Of Waves";
			position[]={12083.8115, 11791.5586, 0};
		};
		class Military_Objekt
		{
			name="Military Objekt";
			position[]={6907.6650, 4305.7261, 0};
		};
		class Passo_del_Bernina
		{
			name="Passo del Bernina";
			position[]={10027.5391, 2946.9780, 0};
		};
	};
			

	};
};
Kann mir da Jemand Helfen?

PS: kann man hier im forum irgendwie scripts richtig darstellen?
__________________
www.ofp-newland.de.vu
Download: ftp://www.gamezone.cz/ofpd/islands2/newlandbeta3.zip
Jannes M-Sp ist offline   Mit Zitat antworten
Alt 08.10.2004, 13:26   #2 (permalink)
5000 Beiträge
 
Registriert seit: 25.10.2003
Beiträge: 8.502
Standard AW: Meine Inesl-Config funst nicht, kann a mal jemand einen Blick drauf werfen?

Benutz bitte nächstes mal den [code] Tag damit alles was übersichtlicher ist -> Ich habs mal geändert. Leider kann ich dir bei deinem Problem nicht helfen ._.
__________________
Kompost ist offline   Mit Zitat antworten
Alt 08.10.2004, 13:52   #3 (permalink)
50 Beiträge100 Beiträge
 
Registriert seit: 23.11.2003
Ort: Hamburg
Beiträge: 214
Standard AW: Meine Inesl-Config funst nicht, kann a mal jemand einen Blick drauf werfen?

Das meinte ich mit meinem PS. Danke mir war der Befehl nich eingafallen. Aber hier muss es doch Leute geben die da den Fehler sehen? Hilfe!
__________________
www.ofp-newland.de.vu
Download: ftp://www.gamezone.cz/ofpd/islands2/newlandbeta3.zip
Jannes M-Sp ist offline   Mit Zitat antworten
Alt 08.10.2004, 14:15   #4 (permalink)
50 Beiträge100 Beiträge
 
Registriert seit: 23.11.2003
Ort: Hamburg
Beiträge: 214
Standard AW: Meine Inesl-Config funst nicht, kann a mal jemand einen Blick drauf werfen?

so, den einen fehler behoben, aber da scheint noch mehr falsch zu sein:
newland\config.cpp/CfgWorlds/NewLand/Names/:'O'encountered instead of '{'

Code:
class CfgPatches
{
	class NewLand
	{
		units[]   = {};
		weapons[] = {};
		worlds[]  = {NewLand};
		requiredVersion = 1.75;
	};
};

class CfgWorldList
{
	class NewLand {};
};

class CfgWorlds {
	class DefaultWorld {};
	class Intro : DefaultWorld {};
	class NewLand : Intro
	{
		access           = 3;
		description      = "NewLand";
		icon             = "\NewLand\NewLand.paa";
		worldName        = "\NewLand\NewLand.wrp";
		cutscenes[]      = {"..\addons\NewLand\intro"};
		plateFormat      = "ER$ ## - ##";
		plateLetters     = "ABCDEFHIKLMOPRSTVXYZ";
		seagullPos[]     = {6450,6782};
		ilsPosition[]    = {4100,2550};
		ilsDirection[]   = {0,0.08,1};
		ilsTaxiIn[]      = {4350,2100, 4323,2225, 4236,2225, 4225,2235, 4225,2245, 

4225,2506, 4223,2519, 4205,2525, 4141,2525, 4107,2520, 4100,2506, 4100,2384};
		ilsTaxiOff[]     = {4100,2550, 4100,1202, 4107,1181, 4139,1175, 4203,1175, 

4222,1179, 4226,1193, 4225,2123};
		centerPosition[] = {6450,6782};
			
		class Names {

                class Port_AGSmith
		{
			name="Port AGSmith";
			position[]={12344.1240, 7582.6260, 0};
		};
		class Brownsville
		{
			name="Brownsville";
			position[]={11319.6035, 7529.7310, 0};
		};
		class Eastcoast_Houses
		{
			name="Eastcoast Houses";
			position[]={11520.8848, 5006.5264, 0};
		};
		class The_MPIs_Multiplayer_Islands
		{
			name="The MPIs (Multiplayer Islands)";
			position[]={8540.5195, 488.1307, 0};
		};
		class Lost_Heaven
		{
			name="Lost Heaven";
			position[]={6238.9824, 1873.8068, 0};
		};
		class v10
		{
			name="v.1.0";
			position[]={11786.2803, 77.9951, 0};
		};
		class Airport
		{
			name="Airport";
			position[]={4520.3809, 2138.2744, 0};
		};
		class Military_Objekt1
		{
			name="Military Objekt";
			position[]={4475.3740, 1619.9116, 0};
		};
		class Little_Berlin
		{
			name="Little Berlin";
			position[]={3212.0898, 1697.3533, 0};
		};
		class Don_Alfons_Guido_Luigi_Mingottis_Villa
		{
			name="Don Alfons Guido Luigi Mingotti's Villa";
			position[]={1537.4154, 1675.8192, 0};
		};
		class Military_Objekt2
		{
			name="Military Objekt";
			position[]={1904.3481, 4369.4888, 0};
		};
		class Sulzano
		{
			name="Sulzano";
			position[]={1882.8695, 4925.3286, 0};
		};
		class Luca
		{
			name="Luca";
			position[]={1830.5454, 5977.6860, 0};
		};
		class NewLand_City
		{
			name="NewLand City";
			position[]={1813.6941, 6784.2915, 0};
		};
		class Sunset_Village
		{
			name="Sunset Village";
			position[]={2718.1643, 9057.7393, 0};
		};
		class Downhill
		{
			name="Downhill";
			position[]={6945.2642, 9732.6357, 0};
		};
		class Little_Northend
		{
			name="Little Northend";
			position[]={8527.1719, 11090.5771, 0};
		};
		class Mosquito_Village
		{
			name="Mosquito Village";
			position[]={6066.2085, 8660.1748, 0};
		};
		class St_Gnocci_University
		{
			name="St. Gnocci University";
			position[]={8840.6025, 8375.1602, 0};
		};
		class Military Objekt3
		{
			name="Military Objekt";
			position[]={9913.5391, 8022.3882, 0};
		};
		class Skagen
		{
			name="Skagen";
			position[]={10684.3232, 8238.6455, 0};
		};
		class Chayennope
		{
			name="Chayennope";
			position[]={8081.4385, 7486.4697, 0};
		};
		class New_Petrovice
		{
			name="New Petrovice";
			position[]={5613.0820, 7047.9766, 0};
		};
		class Woodsville
		{
			name="Woodsville";
			position[]={5647.6597, 7588.9751, 0};
		};
		class Riva
		{
			name="Riva";
			position[]={7454.3647, 5738.8223, 0};
		};
		class Iseo
		{
			name="Iseo";
			position[]={7117.3965, 6042.8345, 0};
		};
		class Torbole
		{
			name="Torbole";
			position[]={5366.6885, 4202.5820, 0};
		};
		class Northwest_Equeralise
		{
			name="Northwest Equeralise";
			position[]={10400.9180, 9499.3750, 0};
		};
		class Isle_Of_Waves
		{
			name="Isle Of Waves";
			position[]={12083.8115, 11791.5586, 0};
		};
		class Military_Objekt4
		{
			name="Military Objekt";
			position[]={6907.6650, 4305.7261, 0};
		};
		class Passo_del_Bernina
		{
			name="Passo del Bernina (251 meters)";
			position[]={10027.5391, 2946.9780, 0};
		};
	};
};
__________________
www.ofp-newland.de.vu
Download: ftp://www.gamezone.cz/ofpd/islands2/newlandbeta3.zip
Jannes M-Sp ist offline   Mit Zitat antworten
Alt 09.10.2004, 13:03   #5 (permalink)
50 Beiträge100 Beiträge
 
Benutzerbild von [B.B.S.] T_D
 
Registriert seit: 22.02.2004
Ort: Schönebeck
Beiträge: 152
Standard AW: Meine Inesl-Config funst nicht, kann a mal jemand einen Blick drauf werfen?

class Military Objekt3

Da haste das _ vergessen. Leerzeichen mag OFp ja nich.
__________________
[B.B.S.] T_D ist offline   Mit Zitat antworten
Alt 10.10.2004, 16:50   #6 (permalink)
50 Beiträge100 Beiträge
 
Registriert seit: 23.11.2003
Ort: Hamburg
Beiträge: 214
Standard AW: Meine Inesl-Config funst nicht, kann a mal jemand einen Blick drauf werfen?

THX!!!
daran hats gelegen, so ein dummer Fehler hält ein drei tage lang auf
__________________
www.ofp-newland.de.vu
Download: ftp://www.gamezone.cz/ofpd/islands2/newlandbeta3.zip
Jannes M-Sp 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


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 117 118 119