![]() |
Om det här är ditt första besök, se till att gå till vår FAQ (finns även länk till FAQ i navigeringsmenyn ovan). Du kan behöva att registrera dig innan du kan posta (finns även en länk till registrering i navigeringsmenyn ovan). För att titta på inlägg, välj det forum som du vill besöka från de som är listade nedan. |
|
![]() |
|
Ämnesverktyg | Visningsalternativ |
|
![]() |
#1 |
Medlem
Reg.datum: Jun 2010
Ort: germany
Inlägg: 30
|
![]()
Wenn ich die verwendete Datei "e1c.gs" in "thisVehicle.gs" umbenenne, kommt die Fehlermeldung
Fehler: Unable to link compiled script class. |
![]() |
![]() |
![]() |
#2 |
Medlem
Reg.datum: Jan 2008
Ort: Uppland, Sverige
Inlägg: 2 728
|
![]()
Ahh, Lan hat die Classname umbennent, Öffne die Script-Datei und ändere der Name des Class von "E1c", bis "ThisVehicle". Etwas wie dieses:
Kod:
include "msVehicle.gs" class ThisVehicle isclass MsVehicle { };
__________________
-k- |
![]() |
![]() |
![]() |
#3 |
Medlem
Reg.datum: Jun 2010
Ort: germany
Inlägg: 30
|
![]()
Auch das funktioniert nicht - es kommt die gleiche Fehlermeldung...
Aber inzwischen funktioniert die Kupplung mit einem SAM-Wagen, PascalW hat für mich die scripte zusammengeführt, siehe Link oben. Senast redigerad av dampfloker den 2014-10-27 klockan 12:53. |
![]() |
![]() |
![]() |
#4 |
Medlem
Reg.datum: Jan 2008
Ort: Uppland, Sverige
Inlägg: 2 728
|
![]()
Ich werde diese Antwort in English schreiben, aber du kannst auf Deutsch beantworten. Ich verstehe Deutsch viel besser als Ich schreibe.
1) If you have a wagon without a script that you want to add STL-Koppel functionallity to, use the ThisVehicle-script I have posted above. 2) If you have a wagon that already have scripted functionallity, but no other animated coupling functionallity, just open the .gs-script file and change the isclass reference from Vehicle to MsVehicle, like this: Kod:
class SomeClassName isclass Vehicle Change to: class SomeClassName isclass MsVehicle If the script doesn't inherit from neither of Vehicle or MotorVehicle but some other script, you have to find that script and change where it inherits Vehicle or MotorVehicle to make it work. But this is seldom possible, as those scripts often are written by someone else, and you can't just change their scripts because it may break functionallity in other wagons where the script is used. 3) If you have a wagon that already uses some other animated coupling system, you have to choose between that system or STL-koppel, you can't have both at the same time.
__________________
-k- |
![]() |
![]() |