• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

NEW ZOMBIE TEXTURES - Mumpfy

Hi All,

To any interested I have modified the entitygroups xml file to incorporate the different probabilities of certain spawns.

I attach a link to be able to see the modified file, if anyone wishes to use. Just replace the entity groups xml file with this one.

https://drive.google.com/drive/folders/1MuzKdA_1cgca2_R15Tvc2ufzoHalds1F?usp=sharing

(The new markup works by bucketing the probabilities into 5% groups, so while not exact, it's pretty close.

i.e. a radiated with a 67% probability becomes a 65% )

 
Hi All,

To any interested I have modified the entitygroups xml file to incorporate the different probabilities of certain spawns.

I attach a link to be able to see the modified file, if anyone wishes to use. Just replace the entity groups xml file with this one.

https://drive.google.com/drive/folders/1MuzKdA_1cgca2_R15Tvc2ufzoHalds1F?usp=sharing

(The new markup works by bucketing the probabilities into 5% groups, so while not exact, it's pretty close.

i.e. a radiated with a 67% probability becomes a 65% )
The only problem I can see is it adds a probability of 1  to zombies that don't have any probability. Which means you are always going to get the modded zeds and not vanilla zeds.

    <entitygroup name="wanderingHordeStageGS1"><entity name="zombieSkateboarder" /><entity name="zombieFemaleFat" />
      <entity name="zombieFatMamaHDV1" prob="1"><!--Element inserted by: "HD_MumpfySkins1"--></entity>
      <entity name="zombieFatMamaHDV2" prob="1"><!--Element inserted by: "HD_MumpfySkins1"--></entity>
      <entity name="zombieFatMamaHDV3" prob="1"><!--Element inserted by: "HD_MumpfySkins1"--></entity>
      <entity name="zombieFatMamaHDV4" prob="1"><!--Element inserted by: "HD_MumpfySkins1"--></entity>

 
The only problem I can see is it adds a probability of 1  to zombies that don't have any probability. Which means you are always going to get the modded zeds and not vanilla zeds.

    <entitygroup name="wanderingHordeStageGS1"><entity name="zombieSkateboarder" /><entity name="zombieFemaleFat" />
      <entity name="zombieFatMamaHDV1" prob="1"><!--Element inserted by: "HD_MumpfySkins1"--></entity>
      <entity name="zombieFatMamaHDV2" prob="1"><!--Element inserted by: "HD_MumpfySkins1"--></entity>
      <entity name="zombieFatMamaHDV3" prob="1"><!--Element inserted by: "HD_MumpfySkins1"--></entity>
      <entity name="zombieFatMamaHDV4" prob="1"><!--Element inserted by: "HD_MumpfySkins1"--></entity>
Hi Cammel,

About 50 hours into a world playing with this, you definitely see the vanilla as well.

My understanding was that no probability given was the same as prob=1

Do I have that wrong?

 
As far as I know no probability is a 50/50  chance whether it spawns or not.

 
Last edited by a moderator:
My understanding was no probability means probability = 1


Then what would be the purpose of having a probability = "1" setting? If  "0" is no chance and "1" is a 100% percent chance, that indicates that "1" is guaranteed to spawn.

So if you have 4 zeds listed and only one of them has the probability = "1" setting, which one will spawn if you only spawn one?

I am not saying you are wrong, just trying to understand how it works.

 
The spawn probability of a zombie in a group is based on the total probability of that group.  So if there is 10 zombies in the group, each with a probability of 1, then the total probability of the group is 10.  Any one zombie with a probability of 1 has a 10% (1/10 of the total) chance of spawning if one zombie should spawn.  

 
I'm pretty sure Xyth is correct. I do know that it's not a simple probability where 0=no chance and 1=certainty.

Take a look at the animal groups in entitygroups.xml. They all use "prob" values in the double digits - for example, the prob value for a rabbit in "WildGameForest" is 48. I don't think there's a "4800% chance" of spawning a rabbit.

 
thats cool. i just installed the game is good to know.

so there are new zombies and still checking which ones work with replace material and which ones need to be redone entirely.

will eventually release a new version. knowing that the old one still works idk yet what ill do.

feeling tempted to do a couple new skins for them all, but may get lazy and just do the new ones. who knows.

 
thats cool. i just installed the game is good to know.

so there are new zombies and still checking which ones work with replace material and which ones need to be redone entirely.

will eventually release a new version. knowing that the old one still works idk yet what ill do.

feeling tempted to do a couple new skins for them all, but may get lazy and just do the new ones. who knows.
Cool, you might want to wait for the stable release since the old version works out of the box. Who knows, maybe they'll change stuff.
One thing I noticed is that since there are 5 variations per ZM introduced, when playing with this you'll see the newer models a lot less often and Boe, Yo, big Mama and the others a lot more often. Maybe someone'll find that "immersion Shattering" but not me 😅

 
ok fair warning, rad versions will error. its a simple xml fix but until fixed those versions wont work.

 
Is the simple xlm fix for the A19 version something you can post here so we can update and use your mod in A20 while we are waiting for new version?

Or do you suggest disabling the radiated types for now?

 
The RAD version of each zed its calling a mesh on the xmls, Pimps changed that name/location whatever so each of those lines (just one line per zed really) needs to be modified on entity classes. Someone with a bit of xml skills can probably fix it in short time. if that happens please feel free to share the fix here.

Me? i hate xmls so i may look it up and fix it eventually but right now im focused on using the little free time i have till next year on checking and working on the new models.

I would say the easy way would be to comment my rad versions out for now until we got it sorted.

 
Last edited by a moderator:
Is the simple xlm fix for the A19 version something you can post here so we can update and use your mod in A20 while we are waiting for new version?

Or do you suggest disabling the radiated types for now?
If I'm not mistaken, taking a very superficial look I think that the change was that property 
ReplaceMaterial0 -> Mesh

So replacing those SHOULD fix it? maybe? who knows...

Edit: 

Nope, it wasn't that

 
Last edited by a moderator:
Mumphy:  I have updated the entitysclasses.xml with the changes you mentioned.

I have tested/verified I can now spawn all of the radiated zombies from your skins pack.

I am pretty new to using github so please let me know if this is not working. 

Thanks again Mumphy for all your hard work!

A20 radiated mesh fix.

 
Also, idk if this has already been pointed out but your Radiated zombies lack the annoying Radiated hp regen. Which is weird because I remember them having it on a19. 

Edit: I did a quick dirty fix you can put before the closing config tag on entityclasses.xml
 

<!-- Sugar's dirty fix for health and regen -->
<insertAfter xpath="/entity_classes
/entity_class[contains(@name, 'HDVRadiated')]
/property[@value='buffGuppyRadiationLeak']">
<effect_group name="RadRegen">
<passive_effect name="HealthMax" operation="perc_add" value="4"/>
<triggered_effect trigger="onOtherDamagedSelf" action="ModifyCVar" target="self" cvar="RadiatedRegenAmount" operation="set" value="4"/>
<triggered_effect trigger="onOtherDamagedSelf" action="AddBuff" target="self" buff="buffRadiatedRegen"/>
</effect_group>
</insertAfter>



Originally there was a 5 instead of a 4 but 1700 health felt a little bit too much 

 
Last edited by a moderator:
Back
Top