Board Thread:Plants vs. Zombies 2: It's About Time/@comment-25005818-20141106133333/@comment-24190447-20141109203417
Jump to navigation
Jump to search
Buzzy Buzz wrote:
Ganrash wrote:
How could I help you?
I've tried editing sun costs, but I can't figure out how to do it with plants which have 2 bytes.
How could I help you?
For example, More than 255 sun plants, Banana Launcher etc.
I figured it out:
Hex | Sun cost |
80 00 | 0 |
99 00 | 25 |
B2 00 | 50 |
CB 00 | 75 |
E4 00 | 100 |
FD 00 | 125 |
96 01 | 150 |
AF 01 | 175 |
C8 01 | 200 |
E1 01 | 225 |
FA 01 | 250 |
93 02 | 275 |
AC 02 | 300 |
C5 02 | 325 |
DE 02 | 350 |
F7 02 | 375 |
90 03 | 400 |
A9 03 | 425 |
C2 03 | 450 |
DB 03 | 475 |
F4 03 | 500 |
8D 04 | 525 |
A6 04 | 550 |
BF 04 | 575 |
D8 04 | 600 |
Search for {PlantName}Default
Make sur there isn't POPANIM_PLANT_{PLANTNAME} right after it. If there is, press F3/next.
Find there nearest $ sign after {PlantName}Default.
Change the next two bytes to the hex values above.
For example, to make banana launcher cost 150 sun, change "24 F4 03" to " 24 96 01" (in hex) after BananaDefault.