Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, dr_panther, 1 invisible), 1,043 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
WED questions: how to make a block semi transparent? #250668
02/09/09 09:18
02/09/09 09:18
Joined: Feb 2009
Posts: 9
J
jimbbq Offline OP
Newbie
jimbbq  Offline OP
Newbie
J

Joined: Feb 2009
Posts: 9
Hi everyone,

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

What about creating a semi transparent object in MED??


Cheers,
Jim

Last edited by jimbbq; 02/09/09 09:18.
Re: WED questions: how to make a block semi transparent? [Re: jimbbq] #250683
02/09/09 10:08
02/09/09 10:08
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Set the Translucent flag.
In MED you'll need to make a translucent skin or simply set the Translucent flag! wink

Re: WED questions: how to make a block semi transparent? [Re: Cowabanga] #250710
02/09/09 12:49
02/09/09 12:49
Joined: Feb 2009
Posts: 9
J
jimbbq Offline OP
Newbie
jimbbq  Offline OP
Newbie
J

Joined: Feb 2009
Posts: 9
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!!



Last edited by jimbbq; 02/09/09 12:51.
Re: WED questions: how to make a block semi transparent? [Re: jimbbq] #250735
02/09/09 14:58
02/09/09 14:58
Joined: Oct 2008
Posts: 218
Nashua NH
heinekenbottle Offline
Member
heinekenbottle  Offline
Member

Joined: Oct 2008
Posts: 218
Nashua NH
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.


I was once Anonymous_Alcoholic.

Code Breakpoint;
Re: WED questions: how to make a block semi transparent? [Re: heinekenbottle] #250741
02/09/09 15:11
02/09/09 15:11
Joined: Feb 2009
Posts: 9
J
jimbbq Offline OP
Newbie
jimbbq  Offline OP
Newbie
J

Joined: Feb 2009
Posts: 9
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

Re: WED questions: how to make a block semi transparent? [Re: jimbbq] #250743
02/09/09 15:17
02/09/09 15:17
Joined: Sep 2008
Posts: 76
Max_Prower Offline
Junior Member
Max_Prower  Offline
Junior Member

Joined: Sep 2008
Posts: 76
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.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1