Har fixat vindrutetorkaren. (felet vad det jag trodde. Hade glömt att exportera .evt fil. Filen säger till skripten att den måste stoppa animationen ;-) ).
Tack sparkfot!
edit: Har fixat vita dörrar på M delen. (the problem was related to a missing texture file. With the new exporter that i use on 3dsmax, one of the things that I have to do is to specify the type of materials that I use (before, TRS was "guessing" the type of material from what the wiki on trainzdev says). The new reflection effect is from one of those, however I had forgotten to add the actual reflective texture on the M unit, I had done it right on the AB part but forgot it on the M unit. Now, since it is required to force the material type, TS2009 could handle the missing texture and just not process the reflection (but processed the rest), however 2004/2006/tc couldnt deal with that and did their stuff. 2004, just removed the problematic material (wich included only the outside of the door, wich is why we could see only the door from the inside) and 2006/tc, instead of removing it, displayed it but without any textures (the white doors).
All that to say its fixed. ;-)
Now, the textureless exterior of the cab might be interresting. More on that later
edit2: Buggen med vita hytten är fixat. Min bild ändring program sparar .bmp filar på 32bits by default. 32bits med 2004/2006/TC fungerar inte..... (måste ha glömt att spara filen på 24 bits). Har sparat filen på 24bits nu och buggen är fixat.... TS2009 supports 32bits texture files, that explains why it worked in 2009 and not the others. Det var lätt.
Dörrar skripten nu.
edit3: har fixat buggen med dörrarna. Fixen är inte perfekt men det fungerar. I removed the restrictions on the buttons to open or close the doors in 2004 only. Those restrictions was to prevent the closing of the doors before they had opened or other things. So restrictions removed means that the doors can close even if the script thinks they are not fully opened (wich is what happens in 2004). Potential for screwing the synch of the doors is there, be careful, wait till the doors are fully opened before closing them again!!
When the animation of the doors execute, there is an event file linked to it that sends messages to the script at specific times during the animation. The problem is, in 2004, as soon as you start the animation, 2004 goes crazy and sends all the event messages in one shot (creating havok in the script as it thinks the doors opened, closed, are opening or are closing, all in less than a second, yippie...). So, since there is this free for all, i made it so that i ignore all the messages but made it so I could still make the animations work anyway. Now since I changed a little how the animations are working, it created problems. Removing the restriction on the buttons is a way to fix this somewhat. Not perfect tho but i think will be good enough and im strongly thinking about removing all the workarounds on the script to clean it up a little and call it a 2006 + only version.
Förlåt med englska, men det var en lång post och det är sent, sleepy.
Senast redigerad av SVoyager den 2009-05-28 klockan 07:30.
|