Here is my flashlight scoure
you need dbc 1.13 and WinRar
looks like that:
__________________________________________________________
Here is the final:
http://www.onlineartsgames.de/flashlight.rar
+++Important+++
download the collision dll here
http://www.onlineartsgames.de/DBCcollision.dll
__________________________________________________________
__________________________________________________________
And here is the scoure + media (dll inc.):
http://www.onlineartsgames.de/flashlightmedia.rar
Scoure
rem here is the trick
rem make a light
Set Spot Light 0,16,30
Color Light 0,rgb(255,255,255)
Point Light 0,0,0,0
rem make a secound light (useless)
Make Light 1
Set Point Light 1,10,10,-30
Color Light 1,rgb(5,5,5)
rem make a cone
Make Object cone 2000,1
Hide Object 2000
rem very dark
set ambient light 10
rem later in do loop
rem position the light at object position 2000
set light to object position 0,2000
set light to object orientation 0,2000
rem position object to the camera position xyz and set the object to the orientation of the cam
position object 2000, camera position x(), camera position y(), camera position z()-2
rotate object 2000, CAMERA ANGLE x(), CAMERA ANGLE Y(),0
Bugs:
(positive bug) : watch on the TFT monitor
Credits:
Collision by Kensupen and Lokidecat
Modified for DBC by Joe Cooning (nice work)
3d objects by me, Alex Schmidt
music by ???
flashlight scoure by me, Alex Schmidt
Special thanks to
TDK_man
[href]

[/href]