Help for a climbing mob + invulnerable part of the body

Started by Evoluxman on Sun, 11/04/2018 - 18:50

Topic category: Help with MCreator software

Last seen on 22:34, 6. Nov 2018
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help for a climbing mob + invulnerable part of the body
Sun, 11/04/2018 - 18:50

Hello,

I'd like to create a mod which adds elements of the game Rain World (if you havent play it i recommand it btw), such as the lizards, which are crocodile-like creatures, and some variations of them can climb on poles and walls. I manage to create the model of it, the texture, and just made a basic AI, but that's it, I don't have any idea how i could make it climb walls. Could anyone explain me how to do it? I've tried to create a procedure, but first, there aren't any events in the event page like "when is blocked by a wall", and second, i haven't find any way to do it with the procedure.

Also, part 2, i'd like to make their head invulnerable, just like in the original game, which means one of their body part wouldn't take damage, anyone has an idea how to do it? Because there i really don't have any idea but coding it...

Thank you!

Last seen on 14:44, 21. Oct 2020
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Maybe take a look into the…
Sun, 11/04/2018 - 20:09

Maybe take a look into the Spider's code.

Last seen on 22:34, 6. Nov 2018
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks, but where am i…
Sun, 11/04/2018 - 21:38

Thanks, but where am i supposed to find it? I cant access the MC code :/

Last seen on 14:44, 21. Oct 2020
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can see the MC Code in…
Sun, 11/04/2018 - 22:11

You can see the MC Code in the Code Tab. You can only view the source code in Mcreator 1.8.0 or higher as far as I know. 

Last seen on 15:08, 20. Oct 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
@Evoluxman Making their head…
Mon, 11/05/2018 - 00:30

@Evoluxman

Making their head invulnerable is very hard, you need to know how to use the IMultiPart or DragonPart function when you code it and then to give them some sort of function that makes it invulnerable... So trying immediately to make it invunerable is definitely trying to go oer your head... But it would maybe be possible to make it so that it's impossible to touch the head by using : this.setSize ([width]F, [height]F);

Example : this.setSize (1.5F, 1.8F);