I have constructed a decal in 3DC and then exported into game - E&G Class 37 in this instance:
Don't let the 43211 put you off btw, I deliberately faulted the texture naming to check the decal was looking in the right place for the textures (which it seems to be doing so).
So going on advice from Matt and the excellent postings in this thread, I set about amending the script for the Class 37 to include the decal. I have chosen to add the following into the function update (time) section of the script:
- Code: Select all
-- number scripting
rv_number = Call("GetRVNumber")
Call("number1:SetText", rv_number, 0)
Call("number2:SetText", rv_number, 0)
end
The child objects are named 'number1' and 'number2', and I have entered 'rv_number' into the Call instruction as in this instance the number range in the sim is the full loco number (no headcode, decal option etc).
But the desired number has still to appear on the decal on the loco in game ?.
Any advice and/or pointers would be most appreciated