Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.3.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-29-2014, 04:46 PM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 64,227
Missy Master is an unknown quantity at this point
Default Updated! Merged Breeding Mod for 1.3.4

NOTE: you must use parents that mesh exactly in size and shape for this to work!

What happens here is the inserted image url created in breeding supersedes the 'standard' of the adopt.

This Mod will allow you to take a custom image for the parents, mother and father, and then blend them when they breed to create a blended/merged offspring or offsprings.

You can get some really fantastic results if you manually insert the image for each parent in imageurl in owned_adoptables.



**Important!:

You will need three folders in the main directory you likely don't have:


images
backup_images
deco_images

All your pet images will need to be in /images.

Also, they must be exactly the same shape and size.

The background must be white. Very important.


Okay so you will want to add these four files, just upload them to overwrite what you have.

I strongly suggest you clear the image around the actual adopt, in case you want to add something later, or just to not have anything but the pet image be carried over and merged in the child image.



the code:


1. The breeding script goes in the /adminacp section.

2. The class_breeding script goes in classes.

3. The class_ownedadoptable goes as well in classes!

4. Breedingview goes in View


Thanks to HOF for this really wonderful Mod!! :) This was based off one of my own Mods but it wasn't working here at all, and HOF graciously altered it for us!


Mother



Father



Child

Attached Files
File Type: zip Merge Breeding Mod v1.3.4.zip (7.8 KB, 43 views)

Last edited by Missy Master; 07-22-2020 at 03:44 PM.
Reply With Quote
  #2  
Old 01-29-2014, 05:33 PM
squiggler's Avatar
squiggler squiggler is offline
Squiggling since 1995
 
Join Date: Jul 2013
Posts: 185
Gender: Unknown/Other
Credits: 9,781
squiggler is on a distinguished road
Default

Would you be willing to upload examples? I'm not sure I understand how this would work or how the result would look.
__________________
Avatar courtesy of Doll Divine.
Reply With Quote
  #3  
Old 01-31-2014, 10:32 AM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 64,227
Missy Master is an unknown quantity at this point
Default

I'll upload some later today, sure! :)

That will make it easy to see what this great script can do!
Reply With Quote
  #4  
Old 01-31-2014, 11:21 AM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 64,227
Missy Master is an unknown quantity at this point
Default

Examples added!

Remember the image has to be something that will mesh exactly with all others of that breed/species whatever --- identical, for the mesh to work.

Keep levels and all that in mind, for me, I'm only allowing breeding at 4th level.

Last edited by Missy Master; 01-31-2014 at 11:41 AM.
Reply With Quote
  #5  
Old 01-31-2014, 04:15 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,774
Kyttias is on a distinguished road
Default

Wow, this is pretty fascinating. Just how did you stumble upon this?

What exactly is it doing? Multiplying? Overlaying? Xor? I can't even tell. I'll take a look, because I'm super curious as to how this was achieved.

Any idea what would happen if the species were the same dimensions but one had a glow around it? Would the baby keep the glow, or would it cause a glitching mess? I assume it would keep the glow, but I'm not necessarily sure what color it would be in (and I suppose it doesn't particularly matter).

Does this work with transparent pngs and gifs?

How hard would it be to limit it to a specific species, especially if all your species come at a variety of dimensions? Or is that already a feature in this mod (or do we have to rely on our visitors not to merge strange things and create glitches)? (Breeding groups should help with this, right? Because I don't mind babies of species A or species B, which is what breeding groups are meant to do, but this will only work with things on the same species. I guess I'll just have to make a species that only breeds like this?)

(( unrelated: I rather like the breeding system on Flight Rising, where the babies end up being one of range of colors between the two parents. Colors are come in sections (primary, secondary and tertiary accents) and are likely stored on the server as separate pieces and then merged with php. And they also merge down textures as genetics. At FR, the color is obviously determined by a set array of variables, and isn't merged using... whatever you are? Yours is very creative, however! I wouldn't want to completely imitate FR, anyway. ))

Last edited by Kyttias; 01-31-2014 at 04:19 PM.
Reply With Quote
  #6  
Old 01-31-2014, 04:17 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 486,996
Hall of Famer is on a distinguished road
Default

These are interesting examples Anna, I am sure people will understand what this mod does better. I dunno about the color part though, is the new color produced by mixing pink and green? XD
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 02-01-2014, 04:49 PM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 64,227
Missy Master is an unknown quantity at this point
Default

@HOF:

Thanks! And yes that was a horrible choice of mine for merged colors ughhh!! hahah!


@ Kyttias

Glad you like it! :)

1. It's overlaying, as I understand the mechanics of it. I coded it from a base script for image merging I had commissioned. It's imagemerge basically.

2. If the same shape and size is kept, and one has a glow or something else, anything else really, on one parent, that should transfer over. You can mess with the opacity too, in class-breeding!

3. I can't say if it will work with transparent, I'd say just experiment, really. Whatever is on the image for the parents is directly melded and merged, so you want a clear background around each pet image if you DON'T want that to carry over.

4. For my own site, right now I have it limited to one level and one breed that's onsite, but it's a really good question about limiting it --- I wouldn't trust the members to not try to mix and match, and while the results might be amusing, that can get really -- a little too interesting lol.

I am thinking that the limiting will have to come from controlling who breeds with who and what--- always the like-species that will 'match'.
Reply With Quote
  #8  
Old 11-10-2014, 03:42 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 4,232
AndromedaKerova is on a distinguished road
Default

Sadly it seems the examples images no longer work. Could you possibly replace them with new ones?
__________________
Failing at being normal since 1990.
Reply With Quote
  #9  
Old 06-17-2020, 01:09 AM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia!
 
Join Date: May 2020
Location: Tennessee
Posts: 130
Gender: Female
Credits: 51,070
Micolai is on a distinguished road
Default

I'm getting this error. How can I fix it?

Warning: Missing argument 1 for Breeding::mergedBreed(), called in /home/wildhors/public_html/classes/class_breeding.php on line 52 and defined in /home/wildhors/public_html/classes/class_breeding.php on line 84

and my code in that area in that file is this:

private function mergedBreed($species){
if($this->female->getType() != $this->male->getType()) throw new BreedingException("class");
$name = "Child of {$this->female->getName()} & {$this->male->getName()}";
if(!$this->imageurl) $this->imageurl = $this->getImageurl($name);
$num = rand(1, $this->settings->number);
for($i = 0; $i < $num; $i++){
$this->offsprings->append(new Adoptable($this->female->getType()));
}
}
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
  #10  
Old 07-09-2020, 03:22 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 486,996
Hall of Famer is on a distinguished road
Default

Actually you can try PMing Missy Master herself, have you tried that?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Breeding Bug? Need help :) Missy Master Questions and Supports 7 08-14-2014 03:29 PM
Mys v1.3.3 Merged Image Breeding Mod for Mys 1.3.3 Missy Master Mys v1.3.x Mods 4 03-30-2013 12:39 PM
Random breeding outcome/ rare breeding SilverDragonTears Questions and Supports 0 03-25-2012 03:33 AM
breeding Ruffsta Feedback and Suggestions 3 06-06-2011 05:09 PM
Breeding Arianna Questions and Supports 27 10-30-2009 02:12 PM


All times are GMT -5. The time now is 02:53 AM.

Currently Active Users: 764 (0 members and 764 guests)
Threads: 4,081, Posts: 32,029, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636