Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
Alternate Images for Genders
Instead of the alternates being set by a random factor, being set by the gender of the pet.
I'm new so please don't kick me for something that already exists. |
#2
|
||||
|
||||
I am sorry that I havent gotten back to you regarding your request yet. And yes, this is definitely doable. You will need to manually edit the line that generates alternative forms of adoptables. I can show you an example of how to do that later if I have time.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
That would be awesome thanks :)
|
#4
|
||||
|
||||
Here is a possible way to have alternates set by gender:
Find these lines in doadopt.php: PHP Code:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
|||
|
|||
Quote:
i am sorry for the BUMP, but is there a way to accomplish this in MAS 1.3.0? -thanks EDIT: i fixed it. i didn't have one of the } towards the end. -thanks Last edited by superdude44; 05-01-2012 at 08:39 PM. |
#6
|
||||
|
||||
mmmhh... I've tried this for 1.3.1 but I've got a error-message
PHP Code:
PHP Code:
|
#7
|
||||
|
||||
So if it's male it will show the male image and female vice versa?
|
#8
|
||||
|
||||
Yes, it should. It will generate a pet gender first and then decide which image to use based on whether its male or female. In my script above the female image is primary, while male image is alternate.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#9
|
||||
|
||||
ooo very nice! I'm going to try this out today!
|
#10
|
||||
|
||||
do i delete
Code:
$alts = getaltstatus($id, 0, 0); Last edited by SilverDragonTears; 08-24-2011 at 02:52 PM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Genders/More Alternate Images | Clessidra | Suggestions and Feature Requests | 3 | 02-27-2014 10:42 AM |
Multi Alternate Images | Taintedkitten | Questions and Supports | 3 | 01-10-2013 07:44 PM |
Adoptable genders | Silvercivet | Questions and Supports | 2 | 02-12-2012 10:35 AM |
How do I completely disable/delete Breeding and genders? | D.A.T.A. | Questions and Supports | 5 | 08-29-2011 01:34 AM |
Alternate images, how do they work? | Shikari | Questions and Supports | 4 | 08-06-2011 08:17 PM |
What's New? |
What's Hot? |
What's Popular? |