Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c_scan with walls #133597
06/04/07 08:24
06/04/07 08:24
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
I have a suggestion...
Maybe change c_scan to not scans through walls all the time but only with some mode like ignore_blocks?

Because now is hard to make detection system with walls using cone...
trace is only line/box-line, trigger is full sphere... only scan using cones like "if I can see you" (it means f.e. 120 degrees horizontal and 50 vertical depends of my pan/tilt) but through the walls

what you think about it?

Last edited by tompo; 06/04/07 19:05.

Never say never.
Re: c_scan with walls [Re: tompo] #133598
06/05/07 10:57
06/05/07 10:57
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
well you can make your own function that first scans for entities and then does a trace, if they are both successful then it didnt go thru a wall.

Re: c_scan with walls [Re: lostclimate] #133599
06/05/07 14:54
06/05/07 14:54
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
I know that
but with simple mode "ignore_blocks" (or not) will be easer


Never say never.
Re: c_scan with walls [Re: tompo] #133600
06/07/07 18:29
06/07/07 18:29
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Happy Birthday Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
yeah, ofc there are 100 suggestions how to implement some special features, but i guess the most things just a few people need, so it don't make sense to add them...and if you are able to do it with a 3 lined function....do you really need it? Ö_ö

Re: c_scan with walls [Re: Scorpion] #133601
06/08/07 09:55
06/08/07 09:55
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
why not if every function have this mode (ignore_passable / walls) why c_scan hasn't?


Never say never.

Moderated by  aztec, Spirit 

Gamestudio download | 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