-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No obvious way to create a disconnected linedef inside a sector #48
Comments
Hi, it's cool to see someone using WadC! Yes, I'm not sure how best to address this. When I've had a need to do something similar, I've created a tiny triangular inner sector with the connecting lines doing nothing useful but closing the inner sector. Is that not an option for your project? I'd love to see your project, if/when you are ready to share it with people! |
Hi. As I was experimenting with it, I thought that single disconnected lines had significantly lower performance overhead for the engine. Although since then I've learned how to use P.S. Best! |
This looks very cool. Working entirely from memory, each I look forward to checking out your sidedef packing! |
Your proposal sounds cool to me. |
Hm. It's not that simple. What I was remembering was the approach I used in Liquorice, a Haskell re-implementation of WadC. I need to think more about how to handle this :) |
Hi,
I wanted to create a linedef inside a sector with its both side referencing the enclosing sector (to have a disconnected teleporter inside a sector).
I can create a two-sided line:
linetype(type,tag) step(0,len) step(0,sub(0,len))
But when I compile the project it will assign sector #0 as the neighbouring sector to the linedef.
If I try to assign a sector to such line:
forcesector(get("sector")) linetype(type,tag) step(0,len) linetype(0,0) step(0,sub(0,len)) rightsector(0,0,0)
, I gen an error: "both sides assigned to the same sector".To compile my project I've created a hacked version just disabling the error: pwiecz@8868a26
I can see a few ways it can be handled:
Best,
Piotr
The text was updated successfully, but these errors were encountered: