Need help with a Pokemon system

Started by Atten007 on

Topic category: Help with modding (Java Edition)

Last seen on 05:54, 25. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with a Pokemon system

Hello,

I have my own Pokemon mod here and I want, that the player can catch Pokemon. Unfortunately, I don't know how to do this, so I wanted to ask for help here. If someone can help me, it may be very nice!

Atten007

Last seen on 09:49, 22. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So i would suggest you make…
Fri, 03/24/2023 - 21:53

So i would suggest you make it an action combat pokemon mod where you morph the player into the pokemon. I'll give you a rough guideline for this if you are interested:

  • First create 6 string variables with the Name "Pokemon x" with x being replaced with numbers between 1-6. Make it permanent for the player.
     
  • Next make an HP ATK DEF SP. ATK SP DEF and SPEED lifetime number variable.

     

  • The next step is to make the HP_X ATK_X DEF_X etc etc permanent variables for each pokemon in your inventory.
     

     

Okay now we are done with the variables for the combat and the current players team. Next Step is to make the moves vfx and in game effects and tables for pokemon stats and scaling. I suggest you give each pokemon a kit of 4-6 moves and different roles (striker, wall, special wall, sweeper etc) and design based on this. Evolutions should work with items or by making another nbt variable for each pokemon called friendship and make them evolve after feeding them and reaching a specific point of happines. Moves should scale with Player's Trainer Level btw. This section and modeling is most of the work. If you make the models and textures and i like them i will help you out with the coding. 

Okay lets make the pokeballs now:

Each pokeball should have an item nbt (string is easier to use) saving the pokemon spicies and stats to it as well as each time it spawns your pokemon it should give it a id like "Sylveon_A023" so it can only apply to that pokemon. I would strongly suggest you make the trainer take control over the pokemon completly. 
 


How would morphing work?
 

  • You can add a requirement for the morph mod.
     
  • If a pokeball is rightclick use a procedure checking for the pokemon's species inside the item nbt string, then using the create text block you create the command /morph "Pokemon's Species from the variable" 

     

  • You also must copy all variables saved within it.