What happened to OC? - CLOSED Carnage?!
Sign in to follow this  
Followers 0
Conscars

phantom_tool - tool.exe mod which prevents phantom BSP

Tiddy-bits:

The core issue sounds like it was possibly an optimization gone wrong?

I wonder if it would be feasible to create another tool that edits the BSP to simplify the collision but in a safer way.

Share this post


Link to post
Share on other sites

Yea, I *think* the core issue is that ray collision tests against planes with a -1 back index (outside the map) make some assumptions about convex spaces which don't always hold under tool's normal structure compilation. This may have been done to reduce tag size, or to make projectile collision tests cheaper. You can have an "exposed" dividing plane with -1 back index that extends into the playable space depending on how the space got cut up. This exposed exterior plane is what phantom BSP is. The alternate code in tool seems to duplicate surfaces a bit more across sibling leaves, but I still don't fully understand how it chooses to do this. With more research, a community tool could probably do the same for BSP tags.

Edited by Conscars
Vaporeon and Kavawuvi like this

Share this post


Link to post
Share on other sites

Oh my goodness, this is really nice!

 

Personally, I don't really think it'd be a big deal to use it on everything unless it screws up something else. Maybe space might be a concern, but I don't think runtime cost will be that much different, if at all.

Share this post


Link to post
Share on other sites
On 3/9/2021 at 6:52 AM, Kavawuvi said:

Oh my goodness, this is really nice!

 

Personally, I don't really think it'd be a big deal to use it on everything unless it screws up something else. Maybe space might be a concern, but I don't think runtime cost will be that much different, if at all.

 

Apparently it failed to build a leaf map when compiling a TSC:E BSP, so we suspect it's limited to smaller BSPs.

Kavawuvi likes this

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.