Fern Posted 5 hours ago Posted 5 hours ago From Jay: Since Jm_OstrichDimorph_Hack.ztd has f.pal and y.pal, most likely ZT Studio was used. It is also possible to use a hex/binary editor, which is how it was done before ZT Studio existed, but it is a lot of work. It involves renaming the new f pal file to have the same number of letters as ZT's pal file, copying the m animations to a f folder, changing all ani files in the f folder to use f instead of m, using a hex/binary editor to change all animations in the f folder to use the new pal file, and having the uca file use "f = animals/.../f" instead of "f = animals/.../m". As for having a volcano use ZT's animations but with different characteristics, using a new internal name isn't much more than a hack. That would be renaming volcano.ai to volcavnd.ucb, changing "idle = idle" to "idle = objects/volcano/idle/idle.ani", changing "used = used" to "used = objects/volcano/used/used.ani", and changing the cPurchaseCost setting to make it obvious which is which in the purchase menu. From me: I can do all the underwater stuff easily without making it a hack same as I did all the foliage so it is not dead on land. I have been thinking of recolouring some of the vents anyway. 1
VND Posted 4 hours ago Author Posted 4 hours ago Ah it makes sense if a dedicated program is used. I do have ZT Studio, but aside from recoloring I have no idea how to perform other (potential) functions of the program. I tried replacing the paths in the animation files manually using a hex editor. However, the challenge with doing it manually is that bisons don't have sexual dimorphism. So the palette path is "animals/bison/bison.pal". At first, I replaced it with "animals/bison/f/f.pal" but the difference in the number of characters resulted in a crash. ZT Studio also could not open the file after the path change. Notice how "\" is flipped to "/" after going through the hex editor. I then switched to renaming the palette files while keeping the same parent folder structure (and character number), so the female uses "bison/fison.pal" while the young uses "bison/yison.pal". This method worked for the young sprites, but the female continues to use the same colour as the male. I am attaching the bison file here for debugging if you or Jay are interested. femalebison - debug.ztd
Fern Posted 1 hour ago Posted 1 hour ago From Jay: In that ztd, all of the ".ani" files should be changed to use "dir2=f" instead of "dir2 = m". That will have ZT show different graphics for the female adults compared to the male adults. To have this be a new animal instead of a hack, bison.ai can be renamed to bisonvnd.uca and cPurchaseCost can be changed to make it obvious which is which in the purchase menu. Being that it still uses cNameID as ZT's bison, it would still become available at the same time as ZT's bison, which is the 6th game month. But the Developer Menu could be used to make it available immediately for testing. To make it available at the start of the zoo, the preferred way would be to have cNameID set to 19000, to have [defaultLCID] and [1033] sections, and to have a 1033.txt file.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now