Thirded. I was going to do this, but I first want to know how to get dfferent breeds,not just with pets, but the other animals too. I wonder if you can get two horses?
Oh, someone actually want to know how to do that?) Just a little thing I made in storm while I was testing different stuff. Here is a code in case somebody want to make an actual mod in storm. Code: int CatNum = 1, DogNum = 1; for (int i = 0; i < curloc.Characters.Count; i++) { string s; if (curloc.Characters[i].Name=="Cattos") { s = "Cat_" + CatNum+".png"; CatNum++; if (CatNum > 16) CatNum = 1; } else { s = "Dog_" + DogNum + ".png"; DogNum++; if (DogNum > 14) DogNum = 1; } var path = Path.Combine(PathOnDisk, s); @event.ReturnValue = @event.Root.LoadResource(path); Console.WriteLine(@event.ReturnValue); OpenTexture = @event.Root.LoadResource(path); var CustomAnSprite = @event.Proxy<AnimatedSpriteAccessor, AnimatedSprite>(new CustomAnSprite()); curloc.Characters[i].Sprite = CustomAnSprite; curloc.Characters[i].Breather = false; }
There is one, you can read it in the menu. But I don't see why we need more names If you are not going to tie special sprites to names as I did in the code posted above.
do i need to have storm or the save editor to install this?? i'd love to have a dog too as well as my toothless cat! ;;
I gave my cat and dog separate names, what it does is it occasionally switches the name of your pet, in the menu it will always show the first pet you picked but sometimes it will switch between the name of pet 1 and the name of pet 2, also your spouse when filling up their water bowl will say the name that is displayed on the menu. That's about it though, I just like to pretend that it's talking about the cat and not the dog when it switches (I picked dog as my starter).
this works great, thank you for sharing! however, I have one question: the little code earlier for getting different but multiple pets, would that have to be a separate mod (such as a SMAPI mod for different animals) or would I be able to do that on my own through the save file. just wondering, I'm not very good with coding (like at all). thanks!
I'm guessing the "Spawning Position" outside has something to do with the <Position><X>3392</X><Y>512</Y></Position> part