Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, 7th_zorro, dr_panther), 1,297 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
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,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
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 | chip programmers | 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