So, I'm currently working on a vintage tram from Budapest, Hungary, called the 1000, or V type (they were numbered from 1000 to 1079 at the transport company BKV).
I'm making some progress, I could write my very own and very basic script, but I have some problems with it.
The problem is, that I cannot add variables to the animation of models. I have my own variables listed in the 'Test Script' window after importing (or reimporting) the script. If I simulate triggers in the 'Test Script' window with the buttons, the variable changes as well. But if I select an animation (with selected meshes as well), I cannot chose any public variables but a few generic ones.
Here, I have my my main script file (pas), the public var section:
The same but with smaller fonts so you can see the order of the variables (I selected the one I'm showing an example with, A_CP_iranyvalto, well let's say it's the reverser of the cockpit A):
I have the variables listed in the test script window:
But in the animation window, I cannot choose anything but a few generic variables, like inv_radius, panto_pos and so on:
I've selected the mesh for the animation, I have the variable in the test script list, but it doesn't show up in the list in animations, and I can't figure it out why.
I could even stick a sound to it, but I cannot animate anything.
Edit: Here's a little video how it looks like now: