Visa ett inlägg
Gammal 2014-10-27, 17:05   #9
korvtiger
Medlem
 
Reg.datum: Jan 2008
Ort: Uppland, Sverige
Inlägg: 2 728
Standard

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 inherits from MotorVehicle (isclass MotorVehicle), change to MsMotorVehicle instead.
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-
korvtiger besöker inte forumet just nu   Svara med citat