View Single Post
  #1  
Old 03-27-2013, 08:35 PM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,049
Missy Master is an unknown quantity at this point
Default Merged Image Breeding Mod for Mys 1.3.3

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, right now you will need to manually insert the image for each parent in imageurl in owned_adoptables.

For those of you familiar with phpMyAdmin you will be able to do this easily.

We'll be working on a Mod to do this, as well, I am thinking.

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


EDIT: had to add a third file for this Mod, don't miss it! :)



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!




Again, you must manually insert an image url IN imageurl for the mother and for the father, in the imageurl field in the owned_adoptables table, for this to work. Then go into the ACP and choose Merged Breeding :)

Important: This will NOT work on two different types of Pet! They must have exactly the same outline and shape and size due to the mechanics of the coding. The colors of the mother and father, and the markings, can and really need to be different, to give you a good result, which will show at I believe Level 3 ( adult ). Well for my site, 3 is Adult.


Thanks to Hall of Famer for ALL the help and support and hard work, you helped make this possible and you are a treasure!! :)

AND



Will give you THIS:


Attached Files
File Type: php class_breeding.php (6.4 KB, 18 views)
File Type: php breeding (admin acp ).php (10.7 KB, 14 views)
File Type: php class_ownedadoptable.php (6.6 KB, 10 views)

Last edited by Missy Master; 03-29-2013 at 07:26 PM.
Reply With Quote