Assign "Player Classes"

Started by Shminecrafter on Thu, 02/18/2021 - 20:15

Topic category: Help with MCreator software

Last seen on 16:19, 9. Apr 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Assign "Player Classes"
Thu, 02/18/2021 - 20:15

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. 

Last seen on 11:53, 17. Mar 2021
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 11:16, 10. Apr 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 11:39, 6. Mar 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

 

Last seen on 16:19, 9. Apr 2021
Joined Jul 2020
Points:

User statistics:

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

ok thanks thats a good idea

 

Last seen on 16:27, 6. Apr 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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