WED questions: how to make a block semi transparent?

Posted By: jimbbq

WED questions: how to make a block semi transparent? - 02/09/09 09:18

Hi everyone,

Is it possible to create a semi transparent block in WED?

What about creating a semi transparent object in MED??


Cheers,
Jim
Posted By: Cowabanga

Re: WED questions: how to make a block semi transparent? - 02/09/09 10:08

Set the Translucent flag.
In MED you'll need to make a translucent skin or simply set the Translucent flag! wink
Posted By: jimbbq

Re: WED questions: how to make a block semi transparent? - 02/09/09 12:49

I am really just beginning to use it...how do you set the translucent flag in WED and MED?I haven't started scripting yet, is there anyway to do it without involving scripts? Thanks!!


Posted By: heinekenbottle

Re: WED questions: how to make a block semi transparent? - 02/09/09 14:58

Originally Posted By: jimbbq
I am really just beginning to use it...how do you set the translucent flag in WED and MED?I haven't started scripting yet, is there anyway to do it without involving scripts? Thanks!!



I don't think it is possible without scripting but it is a mere two lines of code:

set(my,TRANSLUCENT); //make it see-thru to some degree
my.alpha = 50; //give it some alpha value, 0 being invisible, 100 being opaque.

Just stick these two lines in the action which is attached to the entity.

Note that if you want to do this to a level block, you must make it a map entity first, before you can make it transparent.
Posted By: jimbbq

Re: WED questions: how to make a block semi transparent? - 02/09/09 15:11

thanks for your kind reply! so does that mean I also need to write some scripts in order to put MDL model into my level? I thought I could do simple stuff without writing any scriots! smile
Posted By: Max_Prower

Re: WED questions: how to make a block semi transparent? - 02/09/09 15:17

I THINK they mean that you need to make whatever you'd like to be translucent a map entity (if it isn't a model), and then make the script, and apply the script to the model/entity via the Behaviours tab.
© 2024 lite-C Forums