![sourcemod l4d2 sourcemod l4d2](https://i.redd.it/gdpmgkb09fd61.png)
Added cvar "l4d2_fireworks_chase" - which controls how long zombies are attracted to firework explosions. Changed cvar default for "l4d2_fireworks_allow_gas" from 1 to 0. Changed cvar default for "l4d2_fireworks_chase" from 10 to 15. Changed cvar defaults for "l4d2_fireworks_convert_propane", "l4d2_fireworks_convert_oxygen", "l4d2_fireworks_convert_gas" to "50".
![sourcemod l4d2 sourcemod l4d2](https://i.ytimg.com/vi/dOXM6ChN8Q0/maxresdefault.jpg)
Added 6 second delay after the first player spawns or round_start to convert items to firework crates. Added check to not spawn fireworks when GetEntit圜ount reaches MAX_ENTITIES. Added check for scavenge items to disable converting of gascans. Removed max entity check and related error logging. Fixed a bug which could cause a server to lock up. Optimized the plugin by hooking cvar changes. Added cvar "l4d2_fireworks_modes_tog" same as above. Added cvar "l4d2_fireworks_modes_off" same as above. Added cvar "l4d2_fireworks_modes" to control which game modes the plugin works in. Fixed "l4d2_fireworks_modes_tog" was never activated. Converted plugin source to the latest syntax utilizing methodmaps. Changed PrecacheParticle function method. *ĝescrp :Ědds fireworks to the firework crate explosions. If you would like to share your own revisions of this plugin, please rename the files so that there is no confusion for users./*= Unload Jump System by typing sm plugins unload l4d_late_model_precacher in the server console.Move l4d_late_model_precacher.smx to the plugins/disabled folder.Delete l4d_late_model_precacher.txt from the addons/sourcemod/gamedata folder.Delete l4d_late_model_precacher.smx from the addons/sourcemod/plugins folder.Delete l4d_late_model_precacher.sp from the addons/sourcemod/scripting folder.
![sourcemod l4d2 sourcemod l4d2](https://i.ytimg.com/vi/DAxvXOL4h9g/maxresdefault.jpg)
Place l4d_late_model_precacher.sp in the addons/sourcemod/scripting folder.Place l4d_late_model_precacher.smx in the addons/sourcemod/plugins folder.Place l4d_late_model_precacher.txt in the addons/sourcemod/gamedata folder.Delete files from old versions of the plugin.Blocks the game from setting an entity's model if the model failed to be precached.Precaches any model that is not precached prior to being used.MAKE SURE YOU MEET ALL THE REQUIREMENTS AND FOLLOW THE INSTALLATION GUIDE PROPERLY.If you get errors from SourceMod itself, that is your problem, not mine.I will not help you with installing or troubleshooting problems on your part.
![sourcemod l4d2 sourcemod l4d2](https://www.fnxgaming.com/manager/images/kb/97_tutorial1.png)
I do not provide support for listen/local servers but the plugin should still work properly on them.Knowledge of installing SourceMod plugins.SourceMod Team - For continually updating/improving SourceMod. Precaching late.Įpz/epzminion - For the idea and solution. L - 13:15:48: UTIL_SetModel: Model models/props_unique/spawn_apartment/coffeeammo.mdl is not precached. L - 13:15:48: SourceMod error session started When a model is late-precached, players will experience a stutter (more obvious on low-end computers), so it's best to make sure that plugins utilizing models properly precache them inside OnMapStart(). If this plugin is detecting a lot of unprecached models on your server on a regular basis, there may be severe underlying issues with your server that need to be addressed.ĭo not use this plugin as a "global precacher" for models. If a model cannot be precached, this plugin will block UTIL_SetModel and the entity will (probably) just be invisible or be a giant ERROR sign.ĭisclaimer: This plugin only helps prevent crashes related to unprecached models ( UTIL_SetModel crashes). The crash can occur even on completely vanilla servers, but can occur more frequently on modded servers that run plugins utilizing models. This plugin addresses the rare occurrence of a well-known UTIL_SetModel crash that has existed for as long as both L4D games have been around. AboutĬatches unprecached models and tries to precache them to prevent crashes.
#Sourcemod l4d2 license
You should have received a copy of the GNU General Public License along with this program. See the GNU General Public License for more details. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#Sourcemod l4d2 software
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Late Model Precacher: a L4D/L4D2 SourceMod PluginĬopyright (C) 2022 Alfred "Psyk0tik" Llagas
#Sourcemod l4d2 code
The following license is placed inside the source code of the plugin.