[L4D2] Interactive Survivor Groups
Adminek AMXX.PL
19.10.2023
<div>This is a SourceMod Plugin that enables the voice lines and adds respective server-side names for L4D2 characters on maps with the original L4D1 survivors, e.g. No Mercy, Dead Air, etc. (custom campaigns included; nothing is hardcoded).<br /><br /><b>IMPORTANT</b>: The way this plugin works is that it "splits" both groups of survivors under the hood if it's a campaign that has the original L4D1 survivors.<br /><br />Let's take a look at this enum for further elaboration:<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">enum SurvivorCharacterType<br />{<br /> SurvivorCharacter_Gambler = 0, // Nick<br /> SurvivorCharacter_Producer, // Rochelle<br /> SurvivorCharacter_Coach, // Coach<br /> SurvivorCharacter_Mechanic, // Ellis<br /><br /> SurvivorCharacter_NamVet, // Bill<br /> SurvivorCharacter_TeenGirl, // Zoey<br /> SurvivorCharacter_Biker, // Francis<br /> SurvivorCharacter_Manager, // Louis<br /> <br /> SurvivorCharacter_Unknown<br />};</code><hr />
</div>Basically, the plugin will see the first four survivors in the enum as the L4D1 survivors (default by the game) and the last four as the L4D2 survivors. Most plugins that allow players to change characters aren't using the last four numbers so <b>a custom version of a character selection plugin will be required</b>.<br /><br /><b>Installation</b><ul><li>Install <a href="https://github.com/n...SourceScramble"target="_blank" rel="nofollow noopener">SourceScramble</a> and add these key/value pairs inside the "Patches" section to your <b>sourcescrambler_manager.cfg</b> file:<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">"interactive_survivor_groups" "Bill survivor character"<br />"interactive_survivor_groups" "Zoey survivor character"<br />"interactive_survivor_groups" "Francis survivor character"<br />"interactive_survivor_groups" "Louis survivor character"<br />"interactive_survivor_groups" "Nick survivor character"<br />"interactive_survivor_groups" "Rochelle survivor character"<br />"interactive_survivor_groups" "Coach survivor character"<br />"interactive_survivor_groups" "Ellis survivor character"</code><hr />
</div></li>
</ul><br /><b>Known Issues</b><ul><li>Survivor viewmodel arms, images, and names are displayed incorrectly on the client side which can't be fixed from the server</li>
</ul><br /><b>Requirements</b><ul><li><a href="https://www.sourcemo...?branch=stable"target="_blank" rel="nofollow noopener">SourceMod 1.11+</a></li>
<li><a href="https://github.com/shqke/imatchext"target="_blank" rel="nofollow noopener">Matchmaking Extension Interface</a></li>
<li><a href="https://github.com/n...SourceScramble"target="_blank" rel="nofollow noopener">SourceScramble</a></li>
</ul><br /><b>Supported Platforms</b><ul><li>Windows</li>
<li>Linux</li>
</ul><br /><b>Supported Games</b><ul><li>Left 4 Dead 2</li>
</ul><br /><font size="+1"><a href="https://github.com/j...urvivor-groups"target="_blank" rel="nofollow noopener">GitHub Repo</a></font></div>
Wyświetl pełny artykuł
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">enum SurvivorCharacterType<br />{<br /> SurvivorCharacter_Gambler = 0, // Nick<br /> SurvivorCharacter_Producer, // Rochelle<br /> SurvivorCharacter_Coach, // Coach<br /> SurvivorCharacter_Mechanic, // Ellis<br /><br /> SurvivorCharacter_NamVet, // Bill<br /> SurvivorCharacter_TeenGirl, // Zoey<br /> SurvivorCharacter_Biker, // Francis<br /> SurvivorCharacter_Manager, // Louis<br /> <br /> SurvivorCharacter_Unknown<br />};</code><hr />
</div>Basically, the plugin will see the first four survivors in the enum as the L4D1 survivors (default by the game) and the last four as the L4D2 survivors. Most plugins that allow players to change characters aren't using the last four numbers so <b>a custom version of a character selection plugin will be required</b>.<br /><br /><b>Installation</b><ul><li>Install <a href="https://github.com/n...SourceScramble"target="_blank" rel="nofollow noopener">SourceScramble</a> and add these key/value pairs inside the "Patches" section to your <b>sourcescrambler_manager.cfg</b> file:<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">"interactive_survivor_groups" "Bill survivor character"<br />"interactive_survivor_groups" "Zoey survivor character"<br />"interactive_survivor_groups" "Francis survivor character"<br />"interactive_survivor_groups" "Louis survivor character"<br />"interactive_survivor_groups" "Nick survivor character"<br />"interactive_survivor_groups" "Rochelle survivor character"<br />"interactive_survivor_groups" "Coach survivor character"<br />"interactive_survivor_groups" "Ellis survivor character"</code><hr />
</div></li>
</ul><br /><b>Known Issues</b><ul><li>Survivor viewmodel arms, images, and names are displayed incorrectly on the client side which can't be fixed from the server</li>
</ul><br /><b>Requirements</b><ul><li><a href="https://www.sourcemo...?branch=stable"target="_blank" rel="nofollow noopener">SourceMod 1.11+</a></li>
<li><a href="https://github.com/shqke/imatchext"target="_blank" rel="nofollow noopener">Matchmaking Extension Interface</a></li>
<li><a href="https://github.com/n...SourceScramble"target="_blank" rel="nofollow noopener">SourceScramble</a></li>
</ul><br /><b>Supported Platforms</b><ul><li>Windows</li>
<li>Linux</li>
</ul><br /><b>Supported Games</b><ul><li>Left 4 Dead 2</li>
</ul><br /><font size="+1"><a href="https://github.com/j...urvivor-groups"target="_blank" rel="nofollow noopener">GitHub Repo</a></font></div>
Wyświetl pełny artykuł