Is it possible to add objects to a track?
2 posters
Page 1 of 1
Is it possible to add objects to a track?
Hello,
I was wondering if it would be possible to add an object (Debris, a rock, a tree?) on the track, so that should a train collide with the object, a derailment would occur?
Even better if anyone is aware of any routes that already has objects on the track? Just so I have something to play around with.
Appreciate any help,
-Josh
I was wondering if it would be possible to add an object (Debris, a rock, a tree?) on the track, so that should a train collide with the object, a derailment would occur?
Even better if anyone is aware of any routes that already has objects on the track? Just so I have something to play around with.
Appreciate any help,
-Josh
RailPGR- Posts : 1
Join date : 2024-10-08
Re: Is it possible to add objects to a track?
Sure.
You either want:
Or:
You'll need to place a visual representation separately if you want one.
You either want:
- Code:
.Buffer
Places a buffer on Rail 0.
Or:
- Code:
.RailBuffer railIndex;affectsAI
Places a buffer on the rail specified by railIndex.
affectsAI should be set to 1 if AI trains can collide with this buffer.
You'll need to place a visual representation separately if you want one.
Similar topics
» Animated Objects: Following The Track- Now with SOUND!
» Track position (Track namespace)
» Track.Height can't set $Sub() ?
» Track Generator
» Two Switch objects
» Track position (Track namespace)
» Track.Height can't set $Sub() ?
» Track Generator
» Two Switch objects
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum