Jump to content

hi! I have a very important question for those who have a phobia of snakes..


harleyGR

Recommended Posts

In all seriousness, it should not be all that difficult to locate them in the entity spawner and simply remove all references to snake.

 

Not being a modder I assume someone will correct me here but I think all you need to do is go into the entity spawner list: 

\common\7 Days To Die\Data\Config\entitygroups.xml

 

And remove references to AnimalSnake from it.  You may need to do this in the entityclasses.xml as well also located in the same folder.  Once all those references are removed no snakes should spawn. 

Link to comment
Share on other sites

My recommendation (to address POIs and outside spawns) is to change the entity that calls for the snake.  If you were to remove the existing snake entity in entityclasses and replace it with a copy of say Coyote but with the name animalSnake, any time a POI or spawn requests the snake entity, you would instead get a coyote.

 

So do something like this:

<remove xpath="/entity_classes/entity_class[@name='animalSnake']"/>



<insertAfter xpath="/entity_classes/entity_class[@name='animalZombieDog']">

<entity_class name="animalSnake" extends="animalWolf">
    <property name="Tags" value="entity,animal,hostile,coyote,perkAT02,perkAT03"/>
    <property name="MapIcon" value="ui_game_symbol_tracking_wolf"/>
    <property name="TrackerIcon" value="ui_game_symbol_tracking_wolf"/>
    <property name="PhysicsBody" value="wolf"/>
    <property name="Mass" value="50"/>
    <property name="Prefab" value="/Entities/Animals/Wolf/animalStandardCoyoteRagdoll"/>

    <property name="AITask-1" value="BreakBlock"/>
    <property name="AITask-2" value="Territorial"/>
    <property name="AITask-3" value="RunawayWhenHurt" data="runChance=.9;healthPer=.6;healthPerMax=0.75"/>
    <property name="AITask-4" value="ApproachAndAttackTarget" data="class=EntityAnimalRabbit,8,EntityPlayer,10"/>
    <property name="AITask-5" value="ApproachSpot"/>
    <property name="AITask-6" value="Look"/>
    <property name="AITask-7" value="Wander"/>
    <property name="AITask-8" value=""/>
    <property name="AITarget-1" value="SetAsTargetIfHurt"/>
    <property name="AITarget-2" value="BlockingTargetTask"/>
    <property name="AITarget-3" value="SetNearestEntityAsTarget" data="class=EntityPlayer,15,10,EntityAnimalRabbit,0,18"/>
    <property name="AITarget-4" value=""/>

    <property name="SoundRandom" value="coyoteroam"/>
    <property name="SoundAlert" value="wolfalert"/>
    <property name="SoundHurt" value="wolfpain"/>
    <property name="SoundDeath" value="wolfdeath"/>
    <property name="SoundAttack" value="wolfattack"/>
    <property name="SoundSense" value="wolfsense"/>
    <property name="SoundGiveUp" value="wolfgiveup"/>

    <property name="HandItem" value="meleeHandAnimalCoyote"/>
    <property name="ExperienceGain" value="206"/>
    <property name="DeadBodyHitPoints" value="200"/>

    <effect_group name="Base Effects">
        <passive_effect name="HealthMax" operation="base_set" value="100"/>
    </effect_group>

    <drop event="Harvest" name="foodRawMeat" count="0" tool_category="Butcher"/>
    <drop event="Harvest" name="foodRawMeat" tag="butcherHarvest" count="12"/>
    <drop event="Harvest" name="resourceLeather" tag="butcherHarvest" count="5"/>
    <drop event="Harvest" name="resourceAnimalFat" tag="butcherHarvest" count="2"/>
    <drop event="Harvest" name="resourceBone" tag="butcherHarvest" count="8"/>
    <drop event="Harvest" name="resourceBone" tag="allToolsHarvest" count="3"/>
    <drop event="Harvest" name="foodRawMeat" count="1" tag="WasteTreasuresCompleteHarvest"/>
    <drop event="Harvest" name="resourceLeather" count="1" tag="WasteTreasuresCompleteHarvest"/>
    <drop event="Harvest" name="resourceBone" count="1" tag="WasteTreasuresCompleteHarvest"/>

    <property name="NavObject" value="twitch_spawn,twitch_spawn_other,animaltracking_coyote,clear_sleeper" />
</entity_class>

</insertAfter>

 

Link to comment
Share on other sites

Give me a day and I will see if I can write up and test a modlet tonight to replace snakes with the coyote.  I thought I did it before, but didn't see a modlet at my site so everything might have been simply posting in the forums to date.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...