I’ve been thinking for a while about open sourcing my new pet scripts, however have been discouraged from doing so, both by others and by myself.
I thought a better way of sharing and helping others to create a breedable might be to teach how to make one themselves. I’ve had a couple of people show interest in such an idea, and am now in the thought process of how to do it.
I’m thinking having a series on this blog might be a good start, but I’d like to do something inworld too.
Anyway, my thoughts on doing this will be something simple - a colour based breedable that does not require an external server (texture based traits are not much harder, but at the very least require a database to serve texture uuids from).
Note, I make no commitment to finishing this, it will depend on interest, both others inworld and my own. The lessons will be published here and available for free and I have a classroom (well a sky platform) where I can answer questions and you can show me your work. I have seats for 5 people, though less is fine. There will be no voice, so it is accessible to everyone (who can read / type English I suppose).
So, how to start..
An Overview Draft
1. Communication and encryption.
This will be about pets talking to each other. Using XTEA to encrypt chat strings, using llParseString2List to create lists from strings etc. Things to think about to make it more difficult to break your pet.
2. Aging & Eating
Aging is simply a timer event that increases an age variable. Eating another timer event that triggers an attempt to eat or increases a hunger variable.
3. Growth & Movement
Growth will be acting on the age variable to increase the pet’s size. Movement will be simple wandering, talk about triggering animations.
4. Breeding
Communications between male and female pets to pass traits between each other, handshaking to ensure only one set of male and female participate.
5. Rezzing an Egg
Rezzing the egg and passing the egg’s traits from the mother. Talk about slam bits to ensure no-copy copyable eggs. Rezzing the child from the egg.
6. Interaction
Menu systems for fiddling with options.
7. Starter items
Modifying an egg to make it a starter egg.
8. Update Systems
Discuss updating pets. Update cube system.
Copyright
It is important to notice the copyright of the information included in these posts, the scripts are not public domain (with the exception of the XTEA encryption method) and should be treated in the same way as you treat full perm items, that is, you may use them in your own creations, but you must not sell the scripts as a breedable creation script set. Attribution is not necessary, but it would be nice to see what you made with them, I’m always keen to receive a free starter kit ☺
Also, these posts are not public domain, you may NOT copy them for your own website.
Errata
Should there be any errors in these posts, I plan to update them when I finish. I’m writing the scripts and posts as I go along, so there is bound to be some errors to fix. If you spot one, please let me know!