Bagfran
23rd Apr 2011, 01:04 PM
I am trying to create a multi-state object, specifically a traffic light.
As a base for the object, I have actually cloned an existing traffic light that does pretty much what I want - i.e., cycles through a set sequence of the different coloured lights being illuminated.
I've replaced the mesh and textures with my own, and everything seems to work in-game - sort-of.
My object seems to still use the texture mapping for the lights (the multi-state subset) of the original object, even though I have definitely mapped my replacement correctly, and I'm afraid I don't know how to change this. Can anyone advise me, please?
EDIT: solved - I had mapped my lights to the texture containing all four states, when I should have just used a texture containing only one of the states.
As a base for the object, I have actually cloned an existing traffic light that does pretty much what I want - i.e., cycles through a set sequence of the different coloured lights being illuminated.
I've replaced the mesh and textures with my own, and everything seems to work in-game - sort-of.
My object seems to still use the texture mapping for the lights (the multi-state subset) of the original object, even though I have definitely mapped my replacement correctly, and I'm afraid I don't know how to change this. Can anyone advise me, please?
EDIT: solved - I had mapped my lights to the texture containing all four states, when I should have just used a texture containing only one of the states.