Assign "Player Classes"

Started by Shminecrafter on

Topic category: Help with MCreator software

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Assign "Player Classes"

So I am making a mod that involves a "Class" System, similar to D&D. The first time you enter a world, you choose your class, but only the first time you join the world. when selecting your class I want it to save I and don't know that either. I want this to be multiplayer compatible, where everyone can choose different classes. 

Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
me too i want to make a…
Sat, 03/06/2021 - 11:09

me too i want to make a class system like team fortress 2

i think it need gui for the buttons and they trigger procedure which load the saved things from the class inventory like weapons clothes etc

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not sure about this, but…
Sat, 03/06/2021 - 11:35

I'm not sure about this, but I think you can add an achievement to the player once he/she has chosen his/her class. So you can add a global procedure trigger "when a player join world" (or something like that) that show the GUI only if the player don't have the achievement unlocked, then you add it to him/her. You could save the chosen class in a NBT tag of the player.

PS: Sorry for my bad english, I am french

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wow, happy to see this…
Sat, 03/06/2021 - 11:42

Wow, happy to see this awesome post. I hope this thing helps any newbie with their awesome work. By the way thanks for sharing this awesome post.  We have busty  Jaipur Escorts natural with curves and bronzed skin. Just tell me what your fantasies and I promise to make them happen for you. Your imagination is the limit. Don't hesitate to write to me now.

 

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok thanks thats a good idea  
Wed, 03/10/2021 - 01:17

ok thanks thats a good idea

 

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's simple (I think Xd),…
Mon, 03/22/2021 - 16:43

It's simple (I think Xd), create a permanent player variable for each class and another when you enter the world for the first time, the one to enter the world must be false, if it is false, then the GUI to choose class opens, once a class was chosen, the variable is changed to true, and the GUI no longer appears, the other thing is that when pressing the class button the permanent variable of that class is activated, not being able to activate the rest
(player persistent is so that it is saved, works in multiplayer and that when you die it does not get lost)

I use google traductor :C

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Loll I needed this too   I…
Tue, 03/29/2022 - 01:37

Loll I needed this too

 

I'll post more if i need any more help tho!

This was a great help!