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 / [LOCKED] Static Line of sight DLL

Author
Message
Static line of sight
17
Years of Service
User Offline
Joined: 29th Apr 2007
Location:
Posted: 29th Apr 2007 22:55
Im German, so excuse me for my bad english

I have ploblem with the Dark Basic commmand "Static Line of sight".
The command only works with static objects
Could anywone write something like a DLL to load it in DB or how can i fix the problem other wax.
I want the command "Static Line of sight" to use with some more moving object

I´l be happy ich you can help me

Static Line of sight
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 30th Apr 2007 11:12
Sparky's collision DLL does that already.

You can find it in the "Program Announcements" board. (If you can't find the thread, look into the stickied thread for a list of useful TPC plugins.

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 30th Apr 2007 14:38
The thing is, static line of sight lets you specify a radius. It actually works by raycasting a series of intersections to determine if there is a line of sight within that radius. It's not a very good command. Using Sparky's raycasting instead would be faster, give you more control, and more predictable results.

@Static line of sight -
Why is your name "Static line of sight"? That name doesn't seem very useful. And, this board is not for requesting code and especially not for requesting DLLs. This thread will be locked shortly. I see you already posted this in the DBP board, you shouldn't spam the forum.


Come see the WIP!
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 2nd May 2007 03:55
Quote: "This thread will be locked shortly."


Agreed... clunk!

TDK_Man

Login to post a reply

Server time is: 2024-11-22 18:34:56
Your offset time is: 2024-11-22 18:34:56