人类黎明吧 关注:3,270贴子:19,611
  • 2回复贴,共1

有大佬帮忙看看,杀死动物掉落的修改,我这样修改对不对呢。。。

只看楼主收藏回复

有大佬帮忙看看,杀死动物掉落的修改,我这样修改对不对呢。。。
有大佬帮忙看看,杀死动物掉落的修改,我这样修改对不对呢。。。
有大佬帮忙看看,杀死动物掉落的修改,我这样修改对不对呢。。。
加入了石器时代和金属时代掉落装备,数量,掉落机率。。
代码在2楼


IP属地:浙江1楼2025-03-06 13:33回复
    <?xml version="1.0" encoding="utf-8"?>
    <animal_type>
    <flags value="LargeParticles,Retaliates"/>
    <max_health value="900"/>
    <move_speed value="1.5"/>
    <sprint_speed value="6.5"/>
    <diet_type value="Herbivore"/>
    <knowledge value="2"/>
    <byproducts values="raw_meat:14 raw_skin:10 bone:4"/>
    <!-- Attack parameters -->
    <attack_damage value="50"/>
    <attack_period value="2.5"/>
    <attack_hit_time value="1.5"/>
    <knock_back_chance value="0.4"/>
    <stone_age>
    <random_byproducts>
    <item>
    <name>flint_spear</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    <item>
    <name>flint_axe</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    <item>
    <name>flint_pick</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    <item>
    <name>flint_knife</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    <item>
    <name>flint_sickle</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    </random_byproducts>
    </stone_age>
    <metal_age>
    <random_byproducts>
    <item>
    <name>copper_spear</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    <item>
    <name>copper_knife</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    <item>
    <name>copper_axe</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    <item>
    <name>copper_pick</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    <item>
    <name>copper_sickle</name>
    <min_amount>0</min_amount>
    <max_amount>2</max_amount>
    <drop_chance>0.6</drop_chance>
    </item>
    </random_byproducts>
    </metal_age>
    <!-- Alpha female, with some other females, and some young -->
    <groups>
    <animal_definition age="Old" gender="Female" amount="1"/>
    <animal_definition age="Adult" gender="Female" min="1" max="2"/>
    <animal_definition age="Young" min="2" max="3"/>
    </groups>
    <!-- Spawn some adult and old males -->
    <loners>
    <animal_definition age="Adult" gender="Male" amount="2"/>
    <animal_definition age="Old" gender="Male" amount="1"/>
    </loners>
    <help_id value="large_herbivore"/>
    </animal_type>


    IP属地:浙江2楼2025-03-06 13:34
    回复
      2025-08-21 00:36:35
      广告
      不感兴趣
      开通SVIP免广告


      IP属地:浙江3楼2025-03-06 13:35
      回复