View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-15-2022 , 01:40   Re: [L4D & L4D2] Mission and Weapons - Info Editor (1.18) [15-Dec-2022]
Reply With Quote #231

Does the map section overwrite the gamemode section, or the other way around? I think it's better to load a different config such as "l4d_info_editor_weapons.versus.cfg" to prevent any conflicts like that. I guess it would be easier to have everything in 1 config and the gamemode override the main section. I could make both methods work, from it's own config and it's own section.

Edit: Feature added for version 1.19.
  • The plugin will attempt to load "l4d_info_editor_weapons.versus.cfg" or other game mode named config. If that file does not exist it will load the default "l4d_info_editor_weapons.cfg" data config file.
  • When loading the default "l4d_info_editor_weapons.cfg" file, if it contains it's own "versus" or other game mode sections they will overwrite any duplicate data already read from the "all" or map specific sections.
  • This also applies to the "l4d_info_editor_mission.cfg" data config.
__________________

Last edited by Silvers; 12-15-2022 at 06:44.
Silvers is offline