Jump to content

b152 bird nests & animal spawns


njugul

Recommended Posts

Hey, so b152 changed nests to have more feathers, which means I had to adjust my modlet.

 

Now after I saw the new loot.xml I wonder what this changes meant exactly and why it's now more "complicated".

 

 

Old:

<lootcontainer id="25" count="1,2" size="6,2" sound_open="UseActions/open_garbage" sound_close="UseActions/close_garbage" loot_quality_template="qualBaseTemplate">
<item name="foodEgg" prob="0.25"/>
<item name="resourceFeather" count="1,5" prob="0.75"/>
</lootcontainer>

 

Simple: - 1-5 feathers.

 

New:

<lootcontainer id="25" count="1" size="6,2" sound_open="UseActions/open_garbage" sound_close="UseActions/close_garbage" loot_quality_template="qualBaseTemplate">
<item group="groupBirdNestMain"/>
</lootcontainer>

<lootgroup name="groupBirdNest" count="1,2">
<item name="foodEgg" prob="0.25"/>
<item name="resourceFeather" count="1,5" prob="0.75"/>
</lootgroup>

<lootgroup name="groupBirdNestMain" count="all">
<item group="groupBirdNest"/>
<item name="resourceFeather" count="1"/>
</lootgroup>

 

So what exactly does this mean?

groupBirdNestMain always adds one feather and then groupBirdNest adds an additional 1-5 feathers (with 75% chance)?

What does "count="1,2"" mean in this case for groupBirdNest?

 

------------------------------------------------------------

 

Second part, since I asked some time ago about increasing animal spawns and the xml changed significantly from older versions (spawning.xml no longer has values for the spawners).

 

 

 

Where can I increase the spawn chance of animals now that spawning.xml no longer has the respawndelay in it for the animals?

Link to comment
Share on other sites

Idk, my friend decided to change the feather count and egg count for bird nest and now the server will not load. Just comed up with a bunch of errors for the loot file. Had to restore to an early save and lost a 1/2 day worth of game play on the server. So not sure what they did but until I see something here that confirms how to change it I told them to leave that crap alone lol.

Link to comment
Share on other sites

Idk, my friend decided to change the feather count and egg count for bird nest and now the server will not load. Just comed up with a bunch of errors for the loot file. Had to restore to an early save and lost a 1/2 day worth of game play on the server. So not sure what they did but until I see something here that confirms how to change it I told them to leave that crap alone lol.

 

Well I wrote what they did above.

 

Just change the loot.xml modlet to this:

 

<configs>
<set xpath="/lootcontainers/lootgroup[@name='groupBirdNest']/item[@name='resourceFeather']/@count">5,8</set>
</configs>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...