Jump to content
mlburgoon

[MODLET] Baby Animals

Recommended Posts

Posted (edited)

I like variety, so I created this modlet (with help from the community, thanks everyone). It adds "baby" animals to the game.

 

Inspired from Khelldon's Baby Bear mod.

 

Basically, every animal in the game has a "baby" version (no chickens and no rabbits because they would be SO small). They are smaller, so harder to see and can hide under larger animals easier (wolfpacks can be interesting). They do less damage and drop less on harvest (pretty sure this is working correctly now).

 

It adds some variety and fun to the game. Let me know if there are any issues anyone sees.

 

Thoughts, issues, and criticism welcome. This is my first Modlet!

 

Server side friendly so you can just drop it in and surprise your friends!

 

Version 1.2 is for Alpha 18.

Version 1.3 is for Alpha 19.

 

Version 1.0

- Initial Release

 

Version 1.1 - March 24, 2020

- Naming standards incorporated for uniqueness and less chance of interference with other mods

- Fixed Baby Bears instant death when spawned

 

Version 1.2 - April 23, 2020

- More specific characteristics for each animal including ranges, buffs, entity damage, block damage.

 

Version 1.3 - August 29, 2020

- Updated for Alpha 19!

- Added Baby Zombie Vultures.

- Added Radiated Baby Zombie Vultures.

 

 

 

IceBurg_Baby_Animals_1_2.zip IceBurg_Baby_Animals_1_3.zip

Edited by mlburgoon (see edit history)
  • Like 2

Share this post


Link to post
Share on other sites

Thanks to whoever added this mod to the 7daystodiemods.com site. I was just logging in to submit it there for approval. Thanks so much. and including a picture was nice. Saved me some time so i can keep working on my next mod. I have another idea I think would be neat.

 

Share this post


Link to post
Share on other sites

I'm going to load this and try it out. I glanced at the XML and saw "baby snake" and I can't resist ;)

 

Since you're requesting "Thoughts, issues, and criticism" and plan on making more modlets, I see 1 possible thing you may want to do for future modlets. Please excuse the length of this post, I'm a bit wordy as I'm trying to be as clear as possible :)

 

Summary: You might want to choose a unique prefix string to add to all of the new items/entities/blocks/etc you create in any new modlets. You don't have to do it, and its likely no big deal if you don't, but it might save you from having your modlet clash with other modlets (and you cannot control what others name inside their modlets).

 

Modders: If I'm wrong about this or this is "out of date info" please correct me! I'm still fairly new to modding this game myself.

 

Detailed rationale:

Somewhere on the forums ( I couldn't find it, sorry. Maybe someone can! ) there is a post that talks about how to make a modlet, and some recommendations on "standards" people should use. The things in this post are not set in stone, just recommendations, and I don't follow all of it myself :).

 

The main thing I see to watch out for is this scenario: Imagine someone loads your modlet, then they load 1,000 other modlets from other people. It's possible that someone else may have named something (an item, an entity, or an entire modlet) the *exact same* thing that you named your item, entity, etc. When this happens, there is a conflict and *I think *the item/entity/etc that is loaded first is the one that loads and the second item/entity/etc one will not load. As an example: Say someone else had an "animalBabyDeer" entity_class in their modlet

 

To avoid this scenario, you would have to make your items/entities/etc "unique" from everyone else's. The easiest way to do that is to add a "prefix" string to the name of all your items/entities/etc that no one else would likely use. I believe the "standards" post said to make this "prefix string" the name of your modlet, or a shortened version of it.

 

So, using your modlet "IceBurg - Baby Animals" (as written in the ModInfo.xml, not the name of the zip file), you have a lot of options you *could* choose. For example, you could choose a "prefix" string of:

"IceBurg - Baby Animals" or

"IceBurg_Baby_Animals" or

"IIBGBabyAnimls" or

"2398y0e9fhgwep9uh034gt9" <- I advise against this, but you could if you really wanted to!

 

These strings are pretty long (and have spaces, dashes, etc) , and I see you've chosen a "XML tag" in you rmodlet of "<BabyAnimals>", so maybe: "IceBurg_BabyAnimals" is the "suggested" standard prefix to use. Its still prety long, and I have several "long named" modlets, so I went against the grain and chose how Khelldon did it, which is choosing the prefix to be my user name which would be "doughphunghus"..... ewwww I'm not using that ....I found that too long for my personal liking, so I finally settled on "doughs" as my prefix string. Its *probably* good enough, but someone else *could* also choose it as it's not super unique to me. It works for me for now

 

This means most of (I hope) my items/entities/etc that I create start with "doughs". Some examples:

<item name="doughsResourceSteelPipeBombParts"> ...

<item name="doughsThrownAmmoPipeBombSteel"> ...

<entity_class name="doughsAnimalRabbbitOfCaerbannog" ....

 

Another note: I believe if you change the names of your existing items/blocks/entities/etc it can possibly break (or cause issues) in peoples games who have your old modlet loaded, then upgrade to the new one (with changed names). I think it's more of an issue with blocks and items (someone may have had your old item in their backpack...and if the name changes it will disappear from the backpack I think as it no longer exists under the old name), and stuff like entities will just be cleaned up without too much issues (not too sure of this). The point I'm trying to make is: It is likely good practice that once you choose a name of an item/block/entity/etc in your modlets, try to keep that name "forever". If you have to change them after people have downloaded your modlet(s), make a note people can see the old modlet is not compatible with the new one. I'm sure there's a better recommendation on what to do I'm just at a loss of whats the "recommended way to handle renaming of things"

Share this post


Link to post
Share on other sites

WOW!!! Thanks for all those tips. I can see the point to each one. I am making changes to my modlet now and will release a new version. Naming standards will be in place for anything I create going forward and will be "more unique".

 

I am going with as a standard and example: animalIceBurgBabyDeer, animalIceBurgBabyMountainLion, etc.

 

I would like to keep the first "word" of the name of the object the same as the default for the game. That i think will help me keep things straight in my mind. But adding my gamer name to the name of that object right after that, then the name of the new object after that.

 

Do you see any issues doing it that way? I think it covers all the bases you talk about, and keeps me thinking straight on things.

 

Thanks again for the great feedback. it is truly appreciated.

 

I know this modlet is kind of silly, but it is fun seeing different sized animals. And animal packs are more interesting as well. Baby Zombie Dogs crack me up.

Share this post


Link to post
Share on other sites
Posted (edited)
Do you see any issues doing it that way?

Nope :), it should be unique enough as far as I can see

 

I know this modlet is kind of silly,

The more the merrier! I have an unreleased/unfinished "drugs mod" where the whole point of it was "if you're searching peoples houses, you're gonna find their drugs... and do you really want to take some unknown drugs in the zombie apocalypse?" I made a lot of the drug effects random, so sometimes you got a buff (like run faster) sometime you died (or almost died if you could heal yourself). There's a "fall down" effect and I'd have it make you randomly pass out and lay there after taking the "unknown" drugs. (like in 10 minutes, real time, passes before the fall down effects kick in) It was fun because you forgot you took something, you're fighting a zombie hoard... and then you fall down to take a nap for a little while. I might finish it and put it out there when a19 comes out, but it's really a mess right now.

 

I also put out a "mail" mod where you find all sorts of stuff in people mailboxes. It's literally mostly for fun as most items are useless. I modded the pistol to shoot BB's (it takes like 40 hits to kill a z) , and you can find and play Soduku puzzles as well if you're feeling lucky

 

Also: I found that "naming standards for modlets" forum post. It's for A17, but it still applies: https://forums.7daystodie.com/forum/...ntions-for-a17

Edited by doughphunghus
nasty typos (see edit history)

Share this post


Link to post
Share on other sites

FYI: When I manually spawn the baby bear (in a18.3 b4), it immediately dies. I looked at the XML and I have no idea why. All the rest of the baby animals spawned in, lived, and came after me.

Share this post


Link to post
Share on other sites

NEW VERSION!!!

Changes made are noted in first post.

 

Bug fix to stop Baby Bears instant death on spawn.

Be Aware of possible directory name change with new naming standards i am using for ALL of my mods now. ( so far only 1, but more planned)

Share this post


Link to post
Share on other sites

VERSION 1.2 out now!

 

Another Update to a new version again.

 

Adds in the special abilities to to baby animals as their parents have. Plus it fixes a few things for them, like their range, and damage to entities and blocks.

 

Share this post


Link to post
Share on other sites
On 3/4/2020 at 6:10 AM, mlburgoon said:

I like variety, so I created this modlet (with help from the community, thanks everyone). It adds "baby" animals to the game.

 

Inspired from Khelldon's Baby Bear mod.

 

Basically, every animal in the game has a "baby" version (except vultures because they just SUCK, chickens and rabbits because they would be SO small). They are smaller, so harder to see and can hide under larger animals easier (wolfpacks can be interesting). They do less damage and drop less on harvest (pretty sure this is working correctly now).

 

It adds some variety and fun to the game. Let me know if there are any issues anyone sees.

 

Thoughts, issues, and criticism welcome. This is my first Modlet!

 

Server side friendly so you can just drop it in and surprise your friends!

 

Version 1.0

- Initial Release

 

Version 1.1 - March 24, 2020

- Naming standards incorporated for uniqueness and less chance of interference with other mods

- Fixed Baby Bears instant death when spawned

 

Version 1.2 - April 23, 2020

- More specific characteristics for each animal including ranges, buffs, entity damage, block damage.

 

 

IceBurg_Baby_Animals.zip 3.96 kB · 9 downloads

OH go on make baby vultures lol. Dont be so nice to those that use your mod haha lol...

Great work btw

Share this post


Link to post
Share on other sites

I know that this mod has some issues with A19.  I want to wait a little for stable, but if it takes much longer, I will update to work with A19.  

On 7/12/2020 at 6:54 PM, kokuojeiku said:

awesome work, a19 version by chance?

Not yet.  there are some issues with it that I know of.  waiting for a more stable A19.  If it takes much longer, I will update it and do any rework needed.

 

Share this post


Link to post
Share on other sites

Alpha 19 Version is out.  First post updated with 2 versions now.  1 for alpha 18 (1.2) and 1 for alpha 19 (1.3).

 

Thanks all, and let me know if you find any issues.

 

There is a lot more I could do with this like adding the "enemy" animals in to the game stages like they are for the "adult" counterparts, but that is a VERY time intensive task.  I will do it eventually, though.

 

Share this post


Link to post
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...