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.

Newcomers DBPro Corner / Please help me with DBC lighting and others

Author
Message
HWT
19
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 3rd Apr 2005 23:05
I need to know how to create a decent flashlight in DBC (I know, I would have gotten DBP, but I foolishly spent my money on DBC first...)

Any help in this regard is highly appreciated

HelloWorld Tommorrow
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 4th Apr 2005 00:15
Here's a tutorial I made on creating a flashlight.

http://www.curvedbasic.com/Forum2/viewtopic.php?t=29

It's for DBP, but it should work exactly the same with DBC.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
HWT
19
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 4th Apr 2005 03:34
I'm sorry but - could you be kind enough to convert it to DBC script (I'm pathetic at it! ).

HelloWorld Tommorrow
BearCDPOLD
20
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 4th Apr 2005 19:02
Just remove this linke;

set object smoothing 2,100

And it will work perfect.

Crazy Donut Productions
Current Project: A Redneck game
HWT
19
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 4th Apr 2005 22:22
Thanks - I'll try it out now

HelloWorld Tommorrow
HWT
19
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 6th Apr 2005 06:55
The DBC's Make Light command is defined as:

Quote: " This command will create a new light in the scene. You can create upto 7 new lights, numbered 1 to 7. Light zero is the default light and is always present. The light number must be specified using an integer value. "


But, when I create 10 or 100 lights using the following script I don't get any error or anything:
for i = 1 to 100
make light i
next i


I'm just curious as to what's really happening here - any explanations?

HelloWorld Tommorrow

Login to post a reply

Server time is: 2024-09-23 17:27:46
Your offset time is: 2024-09-23 17:27:46