cod2compiletools_grid.zip

Badboy
Kann jemand die cod2compiletools_grid datei von OMWG (Klick Mich) nochmal hochladen weil auf dem link in gehts nicht mehr unglücklich wäre echt cool ^^
bangingbernie

Code einblendenCode angehängt. Klicke hier zum Ein-/Ausblenden

code:
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:
@ECHO OFF

set treepath=%~1
set makelog=%2
set cullxmodel=%3
set mapname=%4

IF EXIST "%treepath%main\maps\%mapname%.d3dbsp"  goto SP_Map
IF EXIST "%treepath%main\maps\mp\%mapname%.d3dbsp"    goto MP_Map

echo Map not available for making gridfile!
pause

goto END


:SP_Map
echo Gridfile for singleplayer map %mapname%

IF EXIST "%treepath%\map_source\%mapname%.grid"  copy "%treepath%\map_source\%mapname%.grid" "%treepath%main\maps\%mapname%.grid"

cd %treepath%

CoD2SP_s.exe +set developer 1 +set logfile 2 +set r_vc_makelog %makelog% +set r_vc_showlog 16 +set r_cullxmodel %cullxmodel% +set thereisacow 1337 +set com_introplayed 1 +devmap %mapname%

IF EXIST "%treepath%\map_source\%mapname%.grid"         attrib -r "%treepath%\map_source\%mapname%.grid"
IF EXIST "%treepath%main\maps\%mapname%.grid"  move /y "%treepath%main\maps\%mapname%.grid" "%treepath%\map_source\%mapname%.grid"

goto END


:MP_Map
echo Gridfile for multiplayer map %mapname%

IF EXIST "%treepath%\map_source\%mapname%.grid"  copy "%treepath%\map_source\%mapname%.grid" "%treepath%main\maps\mp\%mapname%.grid"

cd %treepath%

CoD2MP_s.exe +set developer 1 +set logfile 2 +set sv_pure 0 +set r_vc_makelog %makelog% +set r_vc_showlog 16 +set r_cullxmodel %cullxmodel% +set thereisacow 1337 +set com_introplayed 1 +devmap %mapname%

IF EXIST "%treepath%\map_source\%mapname%.grid"         attrib -r "%treepath%\map_source\%mapname%.grid"
IF EXIST "%treepath%main\maps\mp\%mapname%.grid"    move /y "%treepath%main\maps\mp\%mapname%.grid" "%treepath%\map_source\%mapname%.grid"

:END
cls

Badboy
hmm irgendwie will das nicht funktionieren, wenn ich auf Start grid klicke, startet die map bis zum loadscreen und denn kommt n error:

Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)

jemand ne idee warum der error kommt?
Verni@hter
Habs hier noch mal hochgeladen
Badboy
hab immernoch den selben error unglücklich

Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)

In der map sind keinerlei scripte
bangingbernie
Dann poste bitte mal, was in der Konsole steht (sieht dann z.B. so aus):

******* script runtime error *******
unknown item 'napalm_mp': (file 'maps/mp/gametypes/_hardpoints.gsc', line 11)
precacheItem( "napalm_mp" );
*
Error: called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 3509)
thread maps\mp\gametypes\_hardpoints::init();
*
Error: called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 15)
[[level.callbackStartGameType]]();
*
Error: started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)
CodeCallback_StartGameType()
OLD MAN WITH GUN
Dürfte wohl der alte Fehler sein.
Vergessen eine gsc-Datei für die Map zu erstellen.
Aufbau der Haupt GSC Datei
Badboy

Zitat:

Original von bangingbernie
Dann poste bitte mal, was in der Konsole steht (sieht dann z.B. so aus):

******* script runtime error *******
unknown item 'napalm_mp': (file 'maps/mp/gametypes/_hardpoints.gsc', line 11)
precacheItem( "napalm_mp" );
*
Error: called from:
(file 'maps/mp/gametypes/_globallogic.gsc', line 3509)
thread maps\mp\gametypes\_hardpoints::init();
*
Error: called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 15)
[[level.callbackStartGameType]]();
*
Error: started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)
CodeCallback_StartGameType()


Hatte ich schon o.Ô

Zitat:

Original von Badboy
Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)


mehr steht dort nicht ^^

Und ne gsc-datei für die map hab ich ebendfalls angelegt gehabt ^^

Code einblendenCode angehängt. Klicke hier zum Ein-/Ausblenden

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
main()
{
	maps\mp\_load::main();

	game["allies"] = "american";
	game["axis"] = "german";
	game["attackers"] = "allies";
	game["defenders"] = "axis";
	game["american_soldiertype"] = "normandy";
	game["german_soldiertype"] = "normandy";

	setcvar("r_glowbloomintensity0","1");
	setcvar("r_glowbloomintensity1","1");
	setcvar("r_glowskybleedintensity0",".25");
}



sonst noch ne Idee? ^^
OLD MAN WITH GUN
Irgendwelche mod iwd-Dateien im main Ordner?
Und die gsc-Datei ist wirklich eine .gsc und nicht zufällig eine .gsc.txt (mit nicht sichtbarem .txt, da die Endung als bekannt von Windows ausgeblendet wird) ?
Badboy

Zitat:

Und die gsc-Datei ist wirklich eine .gsc und nicht zufällig eine .gsc.txt (mit nicht sichtbarem .txt, da die Endung als bekannt von Windows ausgeblendet wird) ?

D: ich glaub das wirds sein, voll vergessen dass er die endungen ja wieder ausblendet, so kurz mal testen ... grosses Grinsen
Badboy
also jetzt läufts schonmal!

Nur bricht es immer ab wegen:

******* script runtime error *******
potential infinite loop in script: (file 'maps/mp/gametypes/_healthoverlay.gsc', line 91)
for (;Augenzwinkern
*
started from:
(file 'maps/mp/gametypes/_healthoverlay.gsc', line 93)
wait (0.05);
*
************************************

wie gesagt, ist ein komplett sauberes CoD, nur eben modtools sind drin