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, AndrewAMD), 14,749 guests, and 7 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
Tracing through certain blocks #369038
04/30/11 21:27
04/30/11 21:27
Joined: Feb 2011
Posts: 135
Myrkling Offline OP
Member
Myrkling  Offline OP
Member

Joined: Feb 2011
Posts: 135
Does somebody know if it's still possible to make a c_trace go through certain blocks?

This was possible in the past by using passable blocks and setting the IGNORE_PASSABLE flag for c_trace.
However, according to the manual the passable flag for blocks is an "Obsolete flag, for non-mesh levels only".
In fact, passable blocks are not ignored by c_trace anymore, even if IGNORE_PASSABLE is set.

I also tried detail blocks, because these are supposed to be "ignored by the collision detection", but no luck. They aren't ignored by c_trace.

Any other ideas (apart from using entities)?

Re: Tracing through certain blocks [Re: Myrkling] #369046
04/30/11 22:33
04/30/11 22:33
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
I think flag2 does that.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: Tracing through certain blocks [Re: FoxHound] #369047
04/30/11 22:47
04/30/11 22:47
Joined: Feb 2011
Posts: 135
Myrkling Offline OP
Member
Myrkling  Offline OP
Member

Joined: Feb 2011
Posts: 135
Thanks, but IGNORE_FLAG2 only works for entities (tested).

Re: Tracing through certain blocks [Re: Myrkling] #369048
04/30/11 22:54
04/30/11 22:54
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
Ah. It's not hard to make blocks in med. And I say this as a programmer.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: Tracing through certain blocks [Re: FoxHound] #369061
05/01/11 07:25
05/01/11 07:25
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Check block's flag, and if it's flag for example equals to 5, then traces ignores it.
BTW notice that you need to use SCAN_TEXTURE in trace, to detect block's flag.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Tracing through certain blocks [Re: 3run] #369157
05/02/11 09:13
05/02/11 09:13
Joined: Feb 2011
Posts: 135
Myrkling Offline OP
Member
Myrkling  Offline OP
Member

Joined: Feb 2011
Posts: 135
Thank you both for your ideas.

As all blocks but the floor in my level need to be ignored by c_trace, I'll export/import the floor as mdl entity. Then I can just use IGNORE_WORLD and trace for the floor entity.

Re: Tracing through certain blocks [Re: Myrkling] #369161
05/02/11 10:15
05/02/11 10:15
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Yeah, there are many workarounds for this situation, all up to you.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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