Winsyrstrife Posted July 21, 2020 Share Posted July 21, 2020 Does the invisibleAnimal property work with the other values within a group? Meaning, is InvisibleAnimal part of a value that should add up to 100 within an entitygroup? Or does it work independently? Based on the code below: Spawn wildgame > whatever wildgame spawns has a 50% chance to spawn invisible. Is that an accurate analysis? Also, I notice that wolves are included in the WildGameForest group and EnemyAnimalsForest group. Does this mean they should spawn docile during the day? <entitygroup name="WildGameForest"> <entity name="invisibleAnimal" prob="50"/> <entity name="animalRabbit" prob="48"/> <entity name="animalChicken" prob="48"/> <entity name="animalBoar" prob="1"/> <entity name="animalStag" prob="1"/> <entity name="animalDoe" prob="1"/> <entity name="animalWolf" prob="1"/> </entitygroup> Link to comment Share on other sites More sharing options...
n2n1 Posted July 21, 2020 Share Posted July 21, 2020 Think of "invisibleAnimals" simply as ordinary entities (which are not spawned) - they are created only as a dummy to dilute the spawn. I don't know how it works in general - the random is now completely ruined. Percent probability refers to an individual. That is, theoretically, you can get exactly the same results by changing all the values in the group to an equal number at the same time. Link to comment Share on other sites More sharing options...
xyth Posted July 21, 2020 Share Posted July 21, 2020 If it still works as before, in the above example, the total chance of a spawn is 150. So the chance of a wolf spawning just based on this one group is 1 in 150 Link to comment Share on other sites More sharing options...
Winsyrstrife Posted July 21, 2020 Author Share Posted July 21, 2020 Understood, that certainly clarifies a few things. Thanks everyone, for the information! Anyone have an opinion on the wolf in WildGame group? I thought there were supposed to be no aggressive animals during the day. Link to comment Share on other sites More sharing options...
Gouki Posted July 21, 2020 Share Posted July 21, 2020 19 minutes ago, Winsyrstrife said: Understood, that certainly clarifies a few things. Thanks everyone, for the information! Anyone have an opinion on the wolf in WildGame group? I thought there were supposed to be no aggressive animals during the day. Hi Winsyrstrife There's a chance the wolves will come out in the day now (the direwolfs I guess not), I guess Stallionsden added them for a little more challenge. Link to comment Share on other sites More sharing options...
Winsyrstrife Posted July 21, 2020 Author Share Posted July 21, 2020 Cool. Just wanted to confirm. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.