Speed limit signs with .animated file
Page 1 of 1
Speed limit signs with .animated file
Hi,
I am completely new to openBVE but already love it. I have been tinkering with writing my own routes for a bit now and it is such a joy and simple enough to get something going.
I thought I’d be smart by creating an .animated file:
Which I can then load as a FreeObj:
And use on the line:
Unfortunately either routeLimit cannot be used in that context, or I am doing something wrong. Any ideas?
I have managed the same with signals (using the section variable) from what I can tell, but either the routeLimit is only available in trains, or something it not quite right with how I thought it would work.
Cheers,
Dustin
I am completely new to openBVE but already love it. I have been tinkering with writing my own routes for a bit now and it is such a joy and simple enough to get something going.
I thought I’d be smart by creating an .animated file:
- Code:
[Include]
speed_bg.b3d
Position = 0, 0, -0.01
[Object]
States = speed_00.b3d, speed_05.b3d, speed_10.b3d, speed_15.b3d, speed_20.b3d, speed_25.b3d, speed_30.b3d, speed_35.b3d, speed_40.b3d, speed_45.b3d, speed_50.b3d, speed_55.b3d, speed_60.b3d, speed_65.b3d, speed_70.b3d, speed_75.b3d, speed_80.b3d, speed_85.b3d, speed_90.b3d, speed_95.b3d, speed_100.b3d, speed_110.b3d, speed_120.b3d
StateFunction = routeLimit / 5
Position = 0, 0, 0
Which I can then load as a FreeObj:
- Code:
Structure.FreeObj(100) (speed.animated)
And use on the line:
- Code:
With Track
2849, .Limit (80; ; )
.FreeObj (0; 100; 3; 3)
Unfortunately either routeLimit cannot be used in that context, or I am doing something wrong. Any ideas?
I have managed the same with signals (using the section variable) from what I can tell, but either the routeLimit is only available in trains, or something it not quite right with how I thought it would work.
Cheers,
Dustin
dst- Posts : 5
Join date : 2024-07-02
Similar topics
» Objects in an animated container disappear in Routeviewer and OpenBVE after the insertion point of the .animated file
» Speed Limit notifications wouldn't appear on Arcade Driving Mode
» .blend to X file
» How to get minute 10 digit and 1 digit from time variable at the .animated file
» Help with BVE file format
» Speed Limit notifications wouldn't appear on Arcade Driving Mode
» .blend to X file
» How to get minute 10 digit and 1 digit from time variable at the .animated file
» Help with BVE file format
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum