array/duplicate object command
3 posters
Page 1 of 1
array/duplicate object command
hello
when working on an object sometime we want to duplicate it to certain axis in certain lenght.
as far as i know how to duplicate an object(b3d or csv) is to duplicate the code and add translate command, that works but some time make harder to edit and increase the file size. because of that i want to propose a new command to make duplicating an object easier.
Array/Duplicate
write that command more like the rotate or translate command.
an example like this in b3d or csv:
its means duplicate that object 15 times on positive X axis every 7 meter.
when working on an object sometime we want to duplicate it to certain axis in certain lenght.
as far as i know how to duplicate an object(b3d or csv) is to duplicate the code and add translate command, that works but some time make harder to edit and increase the file size. because of that i want to propose a new command to make duplicating an object easier.
Array/Duplicate
write that command more like the rotate or translate command.
- Code:
Array (how much object is duplicated in X axis), (how much object is duplicated in Y axis), (how much object is duplicated in Z axis), (how much Length until its duplicated)
an example like this in b3d or csv:
- Code:
Array 15, 0, 0, 7
its means duplicate that object 15 times on positive X axis every 7 meter.
ADbve- Posts : 72
Join date : 2020-05-14
Re: array/duplicate object command
Use an animated file for this
That'll also have the advantage that it's supported in all versions.
I don't really see an advantage to adding this sort of functionality ot the B3D / CSV files.
Include command *maybe*, but animated files are an already supported thing which does this.
That'll also have the advantage that it's supported in all versions.
I don't really see an advantage to adding this sort of functionality ot the B3D / CSV files.
Include command *maybe*, but animated files are an already supported thing which does this.
Re: array/duplicate object command
How? Can you give an example ? Im not good writing command in animated file
ADbve- Posts : 72
Join date : 2020-05-14
Re: array/duplicate object command
https://openbve-project.net/documentation_hugo/en/objects/native/animated.html
But generally, you only need something like this:
But generally, you only need something like this:
- Code:
[include]
object.b3d
Position = 0,0,0.69
[include]
object.b3d
Position = 0,0,1.69
[include]
object.b3d
Position = 0,0,2.69
Delsin- Posts : 313
Join date : 2016-08-20
leezer3 likes this post
Similar topics
» rotating an object via a key command
» Special command to animating object
» should default option for object optimization mode in object viewer is low or high instead none ?
» Unable to load wavefront object in Object Viewer
» Massive *.csv object vs. composite *.animated object
» Special command to animating object
» should default option for object optimization mode in object viewer is low or high instead none ?
» Unable to load wavefront object in Object Viewer
» Massive *.csv object vs. composite *.animated object
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|