Mapbase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(The "Availability" section contains several invalid links and is unnecessary due to Category:Mapbase Mods.)
(Rewrote feature list)
Line 9: Line 9:


==Features==
==Features==
* 80+ new entities (mostly logic-related), including new filters and ports/replications from newer engines
* 80+ new entities (mostly logic-related), including new filters and entities ported or replicated from newer engine branches.
* Hundreds of new Inputs/Outputs/KeyValues added to existing entities
* Hundreds of new inputs, outputs, and keyvalues added to existing entities.
* Custom implementation of [[VScript]] as of v4.0
* Custom implementation of [[VScript]].
* Heavily revised and reworked [[FGD]]s
* Heavily revised and reworked [[FGD]]s.
{{note|Entities have been renamed in the [[FGD]]s {{clarify}}}}
* Custom [[shader]]s which focus on fixes and "objective" improvements.
* Custom [[shader]]s meant to stick to objective improvements  
**[[$treeSway|Swaying trees]]
**[[$treeSway|Swaying trees]]
**[[Parallax obb|Parallax cubemaps]]
**[[Parallax obb|Parallax corrected cubemaps]]
*[[env_projectedtexture|Projected texture]] fixes  
**Radial fog
*[[env_fog_controller|Radial fog]] originating from the {{astools|4.1|nt=1}}
*[[env_projectedtexture|Projected texture]] fixes
*[[Dynamic RTT shadow angles in Source 2007|Render-to-texture]] shadows.
*[[Dynamic RTT shadow angles in Source 2007|Optional dynamic RTT shadow angles]], enabled through {{ent|shadow_control}}.
** Enabled in {{ent|shadow_control}}.
* More map-specific file capabilities ([[Actbusy|actbusy files]], [[Response System|talker files]], etc.)
* More all-around [[entity]] flexibility
* Countless miscellaneous fixes and improvements.
* Countless miscellaneous fixes and improvements


It also has a few new features mostly specific to {{hl2|4.1}} mapping:
=== Half-Life 2 ===
* New (optional) gameplay features
 
**More NPCs are capable of using func_tank
Mapbase also has a few new features mostly specific to {{hl2|4.1}} mapping:
**NPCs have more animations for different weapons
 
**NPCs have animations for opening doors (Disabled by default)
* Player-usable {{ent|weapon_stunstick}} and {{ent|weapon_slam}} ported from Half-Life 2: Deathmatch.
**NPCs now support readiness animations
** {{ent|weapon_stunstick}} can only be picked up as weapon if "Stunstick Pickup Behavior" is set in {{ent|hl2_gamerules}}.
*The Stunstick and Slam from {{hl2dm|4.1}} are in Mapbase.
* NPC animation fixes and expansions, allowing any humanoid NPC to use effectively any weapon
**"Stunstick Pickup Behavior" has to be set to "Allow pickup, but never apply energy" in {{ent|hl2_gamerules}} for the Stunstick to work.
*  
* More map-specific file capabilities ([[Actbusy|actbusy files]], [[Response System|talker files]], etc.)
* Other optional gameplay features (e.g. more NPCs capable of using {{ent|func_tank}}, throwing grenades, etc.)
* New {{ent|hl2_gamerules}} entity capable of modifying game behavior in various ways
 
* New {{ent|vgui_text_display}} an entity that is somewhat similar to {{ent|point_worldtext}}.
=== Source Code ===
* Added {{ent|vgui_movie_display}} support from {{astools|4.1|nt=1}}.
Ability to be compiled with modern versions of {{vscode|4.1}}.
{{note|This can be changed in {{path|\vpc_scripts\newer_vs_toolsets|vpc}}}}
*Visual Studio 2013 support
*Visual Studio 2015 support
*Visual Studio 2017 support
*Visual Studio 2019 support
*Visual Studio 2022 support


===Community Made Features===
Mapbase's source code is capable of being compiled with modern versions of Visual Studio (from VS 2015 up to VS 2022), toggled through {{path|\vpc_scripts\newer_vs_toolsets|vpc}}. It also supports modern versions of GCC on Linux.
[[env_cascade_light|Cascaded Shadow Mapping]] for {{mapbase|3.1}} adds realistic looking Shadows at a cost for performance by [https://github.com/celisej567 celisej567],[https://github.com/celisej567/Fake-CSM-Source-2013 Source Code],[https://www.youtube.com/watch?v=2MMe8O77Z8c YouTube Video] and [https://github.com/celisej567/Fake-CSM-Source-2013/wiki Install Tutorial]


==History==
==History==

Revision as of 18:57, 21 June 2024

English (en)Русский (ru)中文 (zh)Translate (Translate)

Mapbase Mapbase is a base mod for Source 2013 Source 2013 which expands and improves the toolset available to modders, augmenting other maps and mods for development purposes. It's designed to be used as a platform for mappers to build their maps on and for larger mods to draw code from. Mapbase is generally used as a large package of utility features and general-purpose fixes.

Mapbase is NOT an improved version of Hammer Hammer or an improved version of the engine itself. It is a fork of Source 2013 Source 2013 which acts as a regular sourcemod. Maps using it must be played in Mapbase or a mod running its code in order to function correctly. Mappers would create their maps based on this mod and larger mods with their own unique changes would draw from Mapbase's code and assets. Mapbase does not use any content that originates from leaked or unauthorized sources.

Mapbase is currently only built around Half-Life 2 Half-Life 2 and Half-Life 2: Episode Two Half-Life 2: Episode Two via Source 2013 Singleplayer Source 2013 Singleplayer. Other games are not yet supported, although a Source 2013 Multiplayer Source 2013 Multiplayer version of Mapbase is currently in development, which will extend Mapbase to sourcemods of Half-Life 2: Deathmatch Half-Life 2: Deathmatch.

Most of Mapbase's changes are quality-of-life improvements that could largely only be noticed in the editor. The original goal of this project is to improve the mapping experience without changing too much of the game itself.

Features

Half-Life 2

Mapbase also has a few new features mostly specific to Half-Life 2 Half-Life 2 mapping:

  • Player-usable weapon_stunstick and weapon_slam ported from Half-Life 2: Deathmatch.
  • NPC animation fixes and expansions, allowing any humanoid NPC to use effectively any weapon
  • Other optional gameplay features (e.g. more NPCs capable of using func_tank, throwing grenades, etc.)

Source Code

Mapbase's source code is capable of being compiled with modern versions of Visual Studio (from VS 2015 up to VS 2022), toggled through 🖿\vpc_scripts\newer_vs_toolsets.vpc. It also supports modern versions of GCC on Linux.

History

Mapbase technically started in February 2018 as a prototype, but the project as it exists now began in August-September 2018.

Mapbase was created by Blixibon from a set of FGD improvements and various code changes previously brought from project to project. Mapbase's original goal was to use Source 2013 Source 2013 code modifications to allow mappers to do more things with their maps. The February 2018 prototype mostly contained a few basic code changes and an early version of the map-specific file system.

The project was revisited several months later at the end of 2018. At this point, Mapbase started to gain traction, forming a wider scope as well as its own following. Mapbase started to become a heavily augmented (yet relatively vanilla-looking) version of Source 2013 as a whole, introducing custom shaders, additional NPC animations, and more.

Mapbase was released at the end of September 2019. Mapbase has continued to receive large periodic updates with new features since its release.

In May 2020, a custom implementation of VScript running in Source 2013 was created as a contribution, being introduced in the v4.0 update.

The last update 7.2 Mapbase focuses on VScript and bug fixes the update came out on February 25, 2024.

Mapbase is still being maintained as of February 2024. A port to Source 2013 Multiplayer Source 2013 Multiplayer is currently in development.

Release Information

Mapbase's release build and source code were first released on September 30th 2019. Other kinds of files can be found here.

Documentation

Mapbase uses its own wiki to hold most of its information and documentation, although some changes may be put on the VDC for reference purposes. For example, Mapbase documents some of its entities on the VDC and may be mentioned in other articles.

Relevant fixes and features originally created for Mapbase have occasionally been added to the VDC for general-purpose use as well.

Credits

Mapbase was started and mainly created by Blixibon, but it couldn't have been done without contributors, community repositories, and the VDC itself. The full credits page can be found here.

See also

External links