User blog:Systempaw72/JSON editing - Part 1: Simple Level

Today I want to tell you about JSON file editing. I hope it will be the first tutorial on this wiki. So, let's begin.

Things you need
Download ES Explorer from Play Market. Then find the level folder.

Level Folder
Level Folder is located in sdcard/Android/data/com.ea.game.pvz2_row(na)/files/No_Backup/CDN.(version).(version)/levels

Editing
Go to Tutorials Folder and find tutorial1.json. Open it and follow the next steps.

Basics of PvZ file editing
Everything in a file has objclass and objdata. Objclass is the thing it will do, objdata is how will it do.

Modules
Open modules in your file. They may look like that:

"Modules": [

"RTID(StandardIntro@LevelModules)",

"RTID(DefaultSunDropper@LevelModules)",

"RTID(ZombiesDeadWinCon@LevelModules)",

"RTID(TutorialPeashooterDeath@LevelModules)",

"RTID(EgyptMowers@LevelModules)",

"RTID(SeedBank@CurrentLevel)",

"RTID(DefaultZombieWinCondition@LevelModules)",

"RTID(NewWaves@CurrentLevel)"

],

@LevelModules means you can't do anything in it.

@CurrentLevel means that you need to setup it by yourself.

Waves
Search for waves in your file. They will look like this:

"Waves": [

[

"RTID(Wave1@CurrentLevel)"

], ...

]

As you can see i have just connected the first wave.

Let's look at Wave1.

{

"aliases": ["Wave1"],

"objclass": "SpawnZombiesJitteredWaveActionProps",

"objdata": {

"Zombies": [

{

"Type": "RTID(mummy@ZombieTypes)"

}

]

}

},

This wave connects using aliases and summons 1 mummy, looking inside @ZombieTypes.

Let's change "mummy" to "eighties". You will get Neon Mixtape Tour Basic Zombie instead of a mummy.

More information in later tutorials, have fun!

How to add levels to a game
Import this file in a levels folder and rename it to "modern1".

Play the first Modern Day level.

Good luck!