Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Double-Texturing under DBv1 ( need DarkMatter )

Author
Message
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 6th Jan 2003 00:04
Yes.
If you own DBv1 with DarkMatter patch , you can use memblock to make Double-Texturing.

Simply using 1 function called :
Function FLX_Double_Texturing(_object,_texture1,_texture2,_alpha)
_object = number of the object to double-texture
_texture1 = number of the image for the 1st texture
_texture2 = number of the image for the 2nd texture
_alpha = percentage for texture transition ( from 0% up to 100% )
( _alpha=0 will only display texture 1 and _alpha=100 only texture 2 )

Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 6th Jan 2003 01:18
arg ! there is a small error
replace line with :
if _alpha(0-1)
by this one :
if _alpha<101 and _alpha>(0-1)
SonicBoom
21
Years of Service
User Offline
Joined: 26th Nov 2002
Location:
Posted: 6th Jan 2003 03:41
Synrax Error: Nesting Error line 96




pls repost
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 6th Jan 2003 12:31
try this

Login to post a reply

Server time is: 2024-04-24 04:07:38
Your offset time is: 2024-04-24 04:07:38