Automatic Numbers?

Hi Gerrit

Many thanks, we are just sending the tutorial to RSDL to make sure they are happy with what we have said. Hopefully we will be able to release it soon.

Richard

Been of for some time but now going to try again.
Anyone got the numbering system of KRS working?
That is for speed signs, mileposts, wagons and engines using a named texture set and textured quads in your model.

/Anders

[BLOCKQUOTE class=’ip-ubbcode-quote’][div class=’ip-ubbcode-quote-title’]quote:[/div][div class=’ip-ubbcode-quote-content’]Originally posted by KMW:
Been of for some time but now going to try again.
Anyone got the numbering system of KRS working?
That is for speed signs, mileposts, wagons and engines using a named texture set and textured quads in your model.

/Anders [/div][/BLOCKQUOTE]

Anders,
I too have been hoping that someone would come up with the answer. I have several projects stalled as I can’t work out how to deal with getting texture sets onto my models. Own texture sets onto KRS models – no problem, but getting any texture sets onto one of my models not a hope!
I suspect that there is some ‘magic’ secondary texture or similar which we need to apply to get it to work. This also seems to affect clour light signals with node switching to display the signal aspects.

Regards
Mark Brinton

I’ll make it number three looking for the answers to this one… I will gladly share anything I find

Sly

As far as I can see, it is not possible to create the necessary object in 3DC to do auto numbering. I’ve tried many times and failed. Having said that there is a way of doing auto loco numbering by cheating a little. This method is for freeware use only.

You need to create 5 small textures, 64×64 will be ok, and they can be a plain colour.

These need to be called :- primarynumber_1 to primarynumber_5 and are placed in your loco texture folder. these need to be converted to .ace files. You will also need a set of numbers from 0-9 called number_0.ace to number_9.ace . Details on these are in the loco creation docs.

Then you have to import the example steam engine.igs file from the developer folderaddon folder. This model contains a part called :-

1_128_primarydigits_5.

Copy this to your object library. Then load up your model and drag the primarydigit part from the library into your scene. Position and resize the object as necessary and rename the folder of the part to either 1_128_primarydigit_5, or just primarydigit_5 if you are letting 3DC make the LOD automatically.

Export the model and providing you have set the blueprints up correctly for numbering, you should then have auto numbering working. The first loco you place in the scene will have a grey texture instead of numbers. As soon as you run the scenario the numbers will appear.

I’ve checked with RSDL and they are happy for us to use this method (I would say freeware only, though).

I’ve already informed Richard about the cheat and he said he would look into it.

Not sure if this method would work for speed limits etc.

Cheers,
Kevin

Kev

Thanks a lot for that… just what I needed to know

Many Thanks

Sly

Good thinking Kevin, gives us something to look at for the solution.
Thanks!

/Anders

Thanks a lot, Kevin.

lg cri

Kev

Once youve imported the primarydigit_5 into your model and resized it… Do you have to remap anything or just leave it?

Sly

No, just leave it as it is, it should work ok.

Kevin

Thanks mate.. great help again

Sly

<!– s:( –><img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad" /><!– s:( –> does not work for me.
I get a warning about a part being untextured and then in the asset editor it will not build because it can’t find the ‘textures.ace’ <!– s:? –><img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused" /><!– s:? –>
I’m pretty sure the problem is with my import of the igs-file into 3DC. I deselt the replace textures with defaults option thinking it should retain the texture names in the igs-file but it looks like it just removes the texture names instead?

/Anders

What .ace files are missing?
As long as you don’t alter the properties of the primary digits object and use it as it is, it should work. I’ve used it a few locos and wagons, myself.

Cheers,
Kevin

Well, that is the problem. The name of the texture is ‘textures.ace’, that is it has no name!
Fits with 3DC warning that object is untextured.
Have not altered any property of the primary digits object.
I strongly suspect the import is wrong.
Can you describe step by step how you made the import and turned the primary digits object into a library object?

On the import of igs-file I deselct all options but ‘Center’, the models shows as completely white even the primarydigits object even though I have both primarynumber_0.ace to primarynumber_5.ace and primarynumber_0.png to primarynumber_5.png in the textures folder and the png-files also in the same folder as the igs-file.

I notice that you state primarynumber_1 to primarynumber_5 is needed.
This is different from the documentation of mileposts that state the first quad should be textured with primarynumber_0. Wonder if this could be the problem of the milepost, documentation error?

/Anders

Not sure what to say, really, as I can only state the method I used to get it working.

To import the part, I just selected the import .igs option in the trainworks menu. When the import option screen appears I just pressed ok, I didn’t alter any of the default options. Then right clicked on the 1_0256_primarydigits_5 and used the add to object library option.
Then reloaded my own loco, dragged the part from the library into my scene, positioned it on the loco, renamed it from group to primarydigits_5 and added it to the heirarchy.

I said that I had primarynumbers 1 to 5 as that is what the docs say. Try having a primarynumber_0 texture as well, as the exporter will only export the textures you need.

I have no idea if this would be any use for mileposts. I think they may be done in a different way.

Cheers,
Kevin

You must be logged in to reply in this thread.

32 posts