User:SirYodaJedi/YBSP: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Features: spawnflags for prop_static (this was supposed to be a thing in vanilla, but the code for it is commented out))
Line 12: Line 12:
* Rename {{ent|info_null}} entities to {{code|_null}}, preventing vanilla game code from treating them as [[edict]]s for the first [[tick]].
* Rename {{ent|info_null}} entities to {{code|_null}}, preventing vanilla game code from treating them as [[edict]]s for the first [[tick]].
* Replicate {{cmd|%CompileTeam}} from {{l4ds}}, for mods that wish to use those flags for their own purposes.
* Replicate {{cmd|%CompileTeam}} from {{l4ds}}, for mods that wish to use those flags for their own purposes.
* Write {{code|spawnflags}} from {{ent|prop_static}}/{{ent|propper_model}} directly to the static prop lump entry. This allows YBSP to be used with custom VRAD forks that add additional static prop flags.


=== From Mapbase ===
=== From Mapbase ===
Line 21: Line 22:
* Parallax corrected cubemap support (from the [[Parallax_Corrected_Cubemaps|VDC article]])
* Parallax corrected cubemap support (from the [[Parallax_Corrected_Cubemaps|VDC article]])
* -leaktest enabled by default and replaced with a -noleaktest command (replicated from Slammin' Source)
* -leaktest enabled by default and replaced with a -noleaktest command (replicated from Slammin' Source)
:{{note|YBSP re-adds {{code|-leaktest}} as an inert parameter, to prevent it from stopping compiling.}}
:{{note|YBSP re-adds {{code|-leaktest}} as an inert parameter, to prevent it from stopping compilation.}}
* {{cmd|%CompileNoShadows}} command (replicated from Slammin' Source)
* {{cmd|%CompileNoShadows}} command (replicated from Slammin' Source)
* [[Areaportal]] leaks terminate VBSP, just like regular leak testing (disabled when -noleaktest is used)
* [[Areaportal]] leaks terminate VBSP, just like regular leak testing (disabled when -noleaktest is used)

Revision as of 13:50, 14 September 2024

Icon-under construction-blue.png
This is a draft user page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.

YBSP ("Yui's BSP") is an upcoming fork of VBSP for Source 2013 Multiplayer, with almost all of Mapbase VBSP's features, plus additional features.

Features

New features

Note.pngNote:Several contents flags will require being used alongside %Contents_Empty to have the desired effect.
  • %CompileDebris, which (should) block bullets and VPhysics, but allow QPhysics to pass through. Useful for stairs.
  • Add func_group. This currently acts the same as grouping world brushes with Ctrl+G, but additional functionality is planned.
Icon-Important.pngImportant:Hammer++ Hammer++'s lighting preview will inaccurately show the brushes as not casting shadows unless the vrad_brush_cast_shadows KV is set to 1. To work around this issue, the FGD that will ship with YBSP will have 1 set as the default value.
  • Rename info_null entities to _null, preventing vanilla game code from treating them as edicts for the first tick.
  • Replicate %CompileTeam from Left 4 Dead seriesLeft 4 Dead series, for mods that wish to use those flags for their own purposes.
  • Write spawnflags from prop_static/propper_model directly to the static prop lump entry. This allows YBSP to be used with custom VRAD forks that add additional static prop flags.

From Mapbase

  • Thread limit increased to 32
  • Removed warnings for occluders straddling multiple brushes, as this is believed to have only been a problem in 2004-2006 versions of Source
  • Fixed func_detail smoothing groups (from ValveSoftware/source-sdk-2013 #391)
  • Applied various manifest fixes (from DeathByNukes/source-sdk-2013)
  • Allowed all models with $staticprop to be used as prop_static (replicated from Slammin' Source)
  • Parallax corrected cubemap support (from the VDC article)
  • -leaktest enabled by default and replaced with a -noleaktest command (replicated from Slammin' Source)
Note.pngNote:YBSP re-adds -leaktest as an inert parameter, to prevent it from stopping compilation.
  • %CompileNoShadows command (replicated from Slammin' Source)
  • Areaportal leaks terminate VBSP, just like regular leak testing (disabled when -noleaktest is used)
  • Default cubemaps not generated by default due to an in-shader alternative used by Mapbase; new -defaultcubemap command to reinstate behavior (was previously just -nodefaultcubemap, which was replicated from Slammin' Source)
  • Raised limits based on research from ficool2:
  • Raised maximum VBSP entities from 8192 to 65536 (Not in-game entities! This is for static props and other internal entities)
  • Raised maximum VBSP overlays from 512 to 8192
Note.pngNote:Maximum VRAD worldlights is also raised to 65536, but this project does not touch VRAD itself, and as such will not include a custom VRAD build.

External links