AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Infected Populations Editor (1.4) [16-May-2024] (https://forums.alliedmods.net/showthread.php?t=344298)

Silvers 10-25-2023 01:26

[L4D2] Infected Populations Editor (1.4) [16-May-2024]
 
5 Attachment(s)
About:
  • Modify population.txt values by config instead of conflicting VPK files.
  • Allows multiple populations.txt files that can be modified for specific maps.
  • See the \addons\sourcemod\data\l4d_population_editor. cfg config to set map specific configs.
  • The \scripts\population_default.txt file is a modified version of the games default population.txt (fixing percentages not adding up to 100).
  • The \scripts\population2.txt file is an example config, listing all available common infected models.



Thanks:
  • kochiurun119 - For the request and help testing.
  • ForgeTest - Various coding help and testing.
  • Lux - Reviewing code and reporting issues.



Admin Commands: (requires "z" flag)
PHP Code:

sm_pop_reload   // Reloads the Infected Populations Editor data config 



Changes:
Code:

1.4 (16-May-2024)
    - Updated plugin and GameData to fix errors and Windows signature from the recent L4D2 game update. Thanks to "Sev" for reporting.

1.3 (05-Mar-2024)
    - Added support for Special Infected NavArea placements. Requested by "Sev".
    - Plugin now requires the "Left 4 DHooks" plugin.
    - GameData file has been updated.

1.2 (07-Nov-2023)
    - Added feature to load configs by base mode: "coop", "realism", "survival", "versus", "scavenge" or defaults to "file" within the data config.
    - Added "population3.txt" scripts config example to spawn all types of available infected.

1.1 (26-Oct-2023)
    - Ignores non-common infected spawn areas allowing Special Infected to spawn.

1.0 (25-Oct-2023)
    - Initial release.



Requirements:
  1. Left 4 DHooks Direct
  2. SourceMod 1.11 or newer
  3. -OR-
  4. Extension: DHooks (Experimental dynamic detour support) and compile plugin manually


Installation:
  1. Download the .zip and extract the files to their respective folders in your servers \left4dead2\ folder.

Iizuka07 10-25-2023 05:50

Re: [L4D2] Infected Populations Editor (1.0) [25-Oct-2023]
 
Damn, this is pretty nice :D

Mi.Cura 10-25-2023 12:24

Re: [L4D2] Infected Populations Editor (1.0) [25-Oct-2023]
 
I've been waiting for this for years. :)

Thanks Silvers :bacon!:

Silvers 10-26-2023 02:02

Re: [L4D2] Infected Populations Editor (1.1) [26-Oct-2023]
 
Code:

1.1 (26-Oct-2023)
    - Ignores non-common infected spawn areas allowing Special Infected to spawn.

Not sure this was required, but ignores these sections and lets the game handle it now.


This plugin could be modified to control the type of Uncommon Infected spawning. But I'm not sure how best to approach this. Maybe an entry for each type in the data config, controlling their chance to spawn. That way you could control map specific values. If anyone has any ideas please reply.

kochiurun119 10-27-2023 08:25

Re: [L4D2] Infected Populations Editor (1.1) [26-Oct-2023]
 
niceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Silvers 11-07-2023 10:24

Re: [L4D2] Infected Populations Editor (1.2) [26-Oct-2023]
 
Code:

1.2 (07-Nov-2023)
    - Added feature to load configs by base mode: "coop", "realism", "survival", "versus", "scavenge" or defaults to "file" within the data config.
    - Added "population3.txt" scripts config example to spawn all types of available infected.


bigquach 11-24-2023 08:06

Re: [L4D2] Infected Populations Editor (1.2) [26-Oct-2023]
 
Is this mod not working with Extended Common Infected mod from steam workshop ?

Silvers 11-24-2023 17:31

Re: [L4D2] Infected Populations Editor (1.2) [26-Oct-2023]
 
Quote:

Originally Posted by bigquach (Post 2813464)
Is this mod not working with Extended Common Infected mod from steam workshop ?

I think it does and it should, you would have to add in the custom model names. Post them here and I can add them to the config at some point with a link to the Extended Common Infected mod.

bigquach 11-25-2023 14:06

Re: [L4D2] Infected Populations Editor (1.2) [26-Oct-2023]
 
Quote:

Originally Posted by Silvers (Post 2813474)
I think it does and it should, you would have to add in the custom model names. Post them here and I can add them to the config at some point with a link to the Extended Common Infected mod.

This one here:
https://steamcommunity.com/sharedfil...?id=2291140471

Sev 02-10-2024 15:49

Re: [L4D2] Infected Populations Editor (1.2) [26-Oct-2023]
 
Any idea what im doing wrong here?

Trying to get the tank to spawn inside the church on Death Toll and he simply won't get chosen.

This is the value I have now and he still doesn't spawn.

// random zombie type spawned at the church after the mini-finale
church
{
hunter 0
smoker 0
boomer 0
tank 100
}

The values before I had...

// random zombie type spawned at the church after the mini-finale
church
{
hunter 10
smoker 5
boomer 10
tank 75
}

In either scenario, he simply doesn't get chosen in the church.


All times are GMT -4. The time now is 02:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.