
Und auch am Spiel hab ich außer den scripts dieses Tutorials nichts mehr verändert. Kann es an denen liegen?
Moderators: Scripting / Modding Moderators, Moderatoren für Deutsches X-Forum
Code: Select all
START [THIS]->call script 'plugin.skylla.xml' :
return null
Code: Select all
$ship = create ship: type={Argonen Skylla} owner={Neutrale} addto={Unbekannter Sektor 1179655} x=0 y=0 z=0
$race = $ship->get maker race
$ware = $ship->get ware type code of object
$ship->destruct: show no explosion=[TRUE]
$station.arry = get station array: of race $race class/type={Schiffswerft}
$station.size = size of array $station.arry
while$station.size
dec $station.size =
$station = $station.arry[$station.size]
skip if $station->uses ware $ware as product
$station->add product to factory or dock: $ware
end
return null
Code: Select all
MAXscript handler exeption:format float wanted 1, got 2
Code: Select all
VER: 6;
//Body
//Cockpits
//Weapons
//Thrusters
//Lights
Code: Select all
P 0; B ships\Caldari\c_merlin_M3; C 1; N Bships\Caldari\c_merlin_M3_1b; b
{ 0x2002; 0; 0; 0; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
Code: Select all
//Body
P 0; B ships\Caldari\c_merlin_M3; C 1; N Bships\Caldari\c_merlin_M3_1b; b
{ 0x2002; 0; 0; 0; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
//Cockpits
Code: Select all
P 1; B ships\props\cameradummy; C 1; N Bships\props\cameradummy_1a; b
{ 0x2002; 0; 0; 0; 0.000000; 0.000000; 0.000000; 0.000000; -1; 1; } // 1
Code: Select all
P 3; B ships\props\weapondummy; C 1; N Bships\props\weapondummyd_1; b
{ 0x2002; 0; 0; 0; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
Code: Select all
P 23; B effects\engines\fx_engine_emitter; C 1; N Beffects\engines\fx_engine_emitter_1; b
{ 0x2002; 0; 0; 0; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
Code: Select all
2.1 Drehungen
Einfache (Objekt auf der Z-Achse rotiert)
0.000000; 0.000000; 0.000000; 0.000000; Vorne (oben)
0.250000; 0.000000; 1.000000; 0.000000; Recht (oben)
0.250000; 0.000000; -1.000000; 0.000000; Links (oben)
0.500000; 0.000000; 1.000000; 0.000000; Hinten (oben)
0.250000; 1.000000; 0.000000; 0.000000; Unten (oben)
0.250000; -1.000000; 0.000000; 0.000000; Oben (oben)
Besondere
0.250000; 0.000000; 0.000000; -1.000000; Nach Vorne Rechts
0.250000; 0.000000; 0.000000; 1.000000; Nach Vorne Links
0.500000; 0.000000; 0.000000; 1.000000; Nach Vorne Unten
0.500000; 0.500000; 0.500000; 0.000000; Nach Hinten Rechts
0.500000; 0.500000; -0.500000; 0.000000; Nach Hinten Links
0.5000000; 1.000000; 0.000000; 0.000000; Nach Hinten Unten
Nach Rechts vorne
Nach Links Vorne
Nach Rechts Hinten
Nach Links Hinten
0.500000; 0.707107; 0.000000; 0.707107; Nach Rechts Unten
0.500000; 0.707107; 0.000000; -0.707107; Nach Links Unten
P 1; B ships\animprops\m7radarspike1; N Bships\animprops\m7radarspike1; b // idx 1 v--Speedvorgabe für die nächste Rotationszeile, je größer, desto langsamer
{ 0xa002; 0; 58587; 253948; 0.000000; 0.000000; 0.000000; 0.000000; 0.0;0.0;0.0;0.0;0.0; 3331; 1; } // 0
{ 0x8012; 0.498596; 0.000000; 1.000000; 0.000000; 0.0;0.0;0.0;0.0;0.0; 3332; 2; } // 1
{ 0x8012; 0.498596; 0.000000; 1.000000; 0.000000; 0.0;0.0;0.0;0.0;0.0; -1; -1; } // 2
Winkel in Dezimal; Faktor X; Faktor Y; Faktor Z; (Faktor 1 = 1x Winkelwert, Faktor 0,5 = 1/2 Winkelwert)
0.500000; (-)1.000000; 0.000000; 0.000000; X-Achse neigen (+ = nach unten, - = nach oben )
0.500000; 0.000000; (-)1.000000; 0.000000; Y-Achse drehen (+ = UZS, - = GUZS)
0.500000; 0.000000; 0.000000; (-)1.000000; Z-Achse kippen (+ = nach rechts, - = nach links)
Winkelwerte:
0.500000 = 180°
0.250000 = 90°
0.125000 = 45°
0.062500 = 22.5°
0.031250 = 11.25°
Code: Select all
Weapons
P 1; B ships\props\invisible_weapon; C 1; N Bships\props\invisible_weapon; b
{ 0x2002; 0; 14500; 100000; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
ships\props\weapondummy
ships\props\weapondummy2
ships\props\weapondummy3
ships\props\weapondummy4
ships\props\weapondummy5
ships\props\weapondummy6
ships\props\weapondummy7d
ships\props\weapondummy8d
ships\props\weapondummy9d
ships\props\turretdummy
ships\props\turretdummy2
ships\props\turretdummy3
objects\ships\props\m6maingun_static
Small Turrets
M3
P 1; B ships\props\m3turret1d_dummy; C 1; N Bships\props\m3turret1d_dummy; b
{ 0x2002; 0; 14500; 100000; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
M6
P 1; B ships\props\m6turret4_dummy; C 1; N Bships\props\m6turret4_dummy; b
{ 0x2002; 0; 14500; 100000; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
Bigturrets
Normal bigturret
P 1; B ships\props\bigturret_dummy; C 1; N Bships\props\bigturret_dummy; b
{ 0x2002; 0; 14500; 100000; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
bigturret top
P 1; B ships\props\bigturret2_dummy; C 1; N Bships\props\bigturret2_dummy; b
{ 0x2002; 0; 14500; 100000; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
Pirate Bigturret
P 1; B ships\props\bigturret4_dummy; C 1; N Bships\props\bigturret4_dummy; b
{ 0x2002; 0; 14500; 100000; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
Pirate bigturret top
P 1; B ships\props\bigturret5_dummy; C 1; N Bships\props\bigturret5_dummy; b
{ 0x2002; 0; 14500; 100000; 0.000000; 0.000000; 0.000000; 0.000000; -1; -1; } // -1
Radar
P 4; B ships\animprops\m6mainradar1; N Bships\animprops\m6mainradar1; b // idx 10
{ 0xa002; -5; -6469; -20489; 0.500000; 1.000000; -0.000000; 0.000000; 0.0;0.0;0.0;0.0;0.0; 3331; 1; } // 0
{ 0x8012; 0.498596; 0.000093; 1.000000; 0.000018; 0.0;0.0;0.0;0.0;0.0; 3332; 2; } // 1
{ 0x8012; 0.498596; 0.000093; 1.000000; 0.000018; 0.0;0.0;0.0;0.0;0.0; -1; -1; } // 2
Lights
P 28; B 10322; N 10322_7redposlight05;
P 28; B 10323; N 10323_7blueposlight05;
P 29; B 10324; N 10324_9greenposlight01;
Na ja, ich mag mit meinen gerademal 15 Jahren noch recht jung sein, bin in meiner Familie aber der fitteste am PC(was in diesem Fall nicht so toll ist...). In meinem Bekanntenkreis siehts von den "Könnern" her auch recht duster aus...Thron wrote: So das waren jetzt die Grundlagen für funktionierende Scenes.
Ich weiss, dass das für einen "Anfänger" brutal viel Stoff ist und ich vielleicht nicht unbedingt gerade "einfach" schreibe, aber frage deine Eltern oder Bekannte, wenn etwas vom Verständnis her nicht unbedingt klar ist, die können das meistens besser für dich übersetzen, so dass du es inhaltlich besser verstehst (dadu noch recht jung bist und somit vermutlich noch nicht alles auf Anhieb Inhaltlich verstehst).
Code: Select all
call script: 'plugin.add.ship.to.shipyard'