User blog:Coollittlepeashooter/TCLP's Level Making Tutorial - Simply Byte Adding

From Plants vs. Zombies Wiki
Jump to navigation Jump to search

Hello! Welcome to my..um tutorial? LETS GET STARTED





Bytes before a codename

Take "Citron" for example, it has 6 letters, "6" is "06" in hex. The bytes before "Citron" are "06 06" see where I'm going?

If you want to add bytes to replace it with a bigger plant, you may also want to change the bytes to the appropriate value.

Example: If you change "Citron" to "Electricblueberry" you will have the change the bytes before "Electricblueberry" to 11 11 (11 in 17 in hex), for a complete plant list and bytes value see my amigo Poggy, in his list.

Same thing for shortening a codename (SCREW YOU NULLIFYING, NOBODY CARES ABOUT YOU NOW NYAHAHAH). 

Citron = 06 06

xshot = 05 05 

Just delete the excess byte.

If you want to convert decimal to hex or vice versa, visit these links:

http://www.binaryhexconverter.com/decimal-to-hex-converter

http://www.binaryhexconverter.com/hex-to-decimal-converter

RTONs

Of course, you cannot just add or remove bytes from the OBB that easily, it will crash.

See my other good amigo, Spud, in his tutorial for importing and exporting RTON files.



Notes

  • The byte adding to codenames is for every single codename in the OBB (MusicType, mummy_armor1, LevelJam, NotificationEvents...)
  • Sometimes, there is only one byte before the codename, that byte is preceded by a "90" (I'll get into 90s and 91s in my other tutorials), this happens mostly in places like preset, blacklist etc.


Level making tutorials
Tutorials Extras