Lightning.j3md translucent

Hi, i want to make a model 50% transparent with a function. I thought I can do this by setting the Diffuse Color to a color with 50% transparency but then the material becomes instantly invisible.

Maybe I missed to see the right options or do I need to add my own alpha parameter to the material?

Important: I dont want to make the texture transparent