Hello,
I'm animating a door and I need to adjust the speed and the acceleration in the constfile. The door takes aproximately 3 seconds to open at the maximum pressure, and the acceleration is quite fast. It's pneumatic.
But I have some problems to specify the right speed, because it seems that whatever I put in fdoor_maxspeed, it changes nothing. I can only change the speed by changing the acceleration, but it's not what I want, because I want an high acceleration with a little speed.
Here is a part of my constfile (I work on the front door) :
Code
- Front/Back Door Acceleration (100%/s²)
- [const]
- fdoor_acc
- 1.5
- [const]
- bdoor_acc
- 1.5
- Door Acceleration Variation (100%/s²)
- [const]
- door_acc_var
- 0.05
- Front/Back Door Max Speed (100%/s)
- [const]
- fdoor_maxspeed
- 1
- [const]
- bdoor_maxspeed
- 2.5
- [const]
- door_maxspeed_var
- 0.02
- Door Stop Reflexion Coefficient
- [const]
- door_refl
- 0.3
- Automatic Back Door Time
- [const]
- doorAftOpenTime
- 3
- Busstop Brake will only be activated below MaxKMH:
- [const]
- Door_Bremse_Halte_MaxKMH
- 2
- [const]
- door_druckluft
- 1
- [const]
- electric_doors
- 0
After each change I respawn my vehicle because I know that theses constants are in the init of the door script.
Greetings,
Flo