Custom NPCs - the secret behind the Scene command

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 71

  • @AnomalousNormie
    @AnomalousNormie 4 года назад +5

    Thank you SO MUCH for this. I couldn't figure this out on the dev site for the life of me.

  • @iIO_OIi
    @iIO_OIi 7 лет назад +9

    This was always a great mod, one of the best (don't get me wrong though, I would never play a pack with just cnpcs), but since the 1.7 version it has gotten so much better! I have a tip for you that I should mention to an (online) friend of mine, use Pillar alongside with Custom npcs, have structures that generate with cnpcs that is, Vaskii's Pillar is pretty easy to understand & is incredibly useful for structure generation & has the potential to allow people to make structure packs, also you should learn everything you can about vanilla customization, particularly loot tables, if you're already familiar with it all, there's no harm in reviewing :) anyways I sort of challenge you to have "locked" structures in the world, mostly made of indestructible blocks (preferably not tile entities) but with scripted doors, your choice how they open, but an idea is that you need to have a certain stance with a faction before being able to go in, and if you want, you can make a bunch of variations of these so that when you can access some you can't access others, because of the way Pillar(s ?) is set up, you should easily be able to make a mod pack that comes with pre made npcs in the world via structure gen, idk what the limitations are though, since I haven't yet tried this, I've just dabbled a bit with the two mods separately :3 there might also be some other utility mods out there that would compliment these nicely, also keep in mind commands... well I guess you do... anyways, things like tellraw in a book to summon fireballs, or having superior health from armor that doesn't normally increase health... actually I wonder, can you script the use of loot tables in Custom npcs?
    Anyways, mostly just wanted to see what wonders you can pull off with Customnpcs & Pillar together, oh yeah, Vazkii also made a mod called Vocation, not sure if that'll be useful to you, but it's quite cool, she's a great modder, Nopes too of course :p

    • @iIO_OIi
      @iIO_OIi 7 лет назад

      I am a fool! you do use tellraw & such! My uttermost sensiere apologies :)

    • @iIO_OIi
      @iIO_OIi 7 лет назад

      I shall take the non-reply as either absence, or thinking my idea is silly, either is fair enough, though on my own I'll probably test how well the pillars & cnpcs work together
      Now maybe I just overlooked a video you did, but is there a way to script cnpcs items? I wonder this because I had this idea/desire where once a key to a locked loot table chest gets used the key vanishes, but that's not how locked chests work in vanilla minecraft of course... If items can't be scripted that's fair enough since I don't think it would be _too_ hard to make a mod that adds an extra optimal tag one could put on any inventory to make any locked inventory consume its key upon key's use (& keep inventory unlocked thereafter), but I'll find out once I try :)
      While for you the uses would probably be different, the reason why I want this is so that I can have structures generating throughout any given world (preferably with some requirement for entering) with mini bosses that have a 100% to drop their key (which is probably in the off hand) and then I don't want that key to be reusable next time such a dungeon is encountered in the world since that would defeat the purpose of killing the mini boss. and yes I'm aware one could normally forge keys, but I can think of a few ways to make that harder, and _maybe_ even impossible :)

    • @iIO_OIi
      @iIO_OIi 7 лет назад

      Wait, ok, watched one of your other videos where I saw that there's a player event hook "openContainer", that might help greatly, though that still doesn't fix my problem since it needs to affect any & all worlds in a particular instance, I shall see if I can get such data to flow from one world to another, if I can't, then I might go back to my original idea.

  • @Guerrila_man
    @Guerrila_man 2 года назад +1

    BRO I DIDNT KNOW THAT YOU COULD DO STUFF LIKE THIS THANK YOU

  • @stormboy6677
    @stormboy6677 7 лет назад +4

    my npc doesn't walk after i do 2 move to ~-10 ~ ~10

  • @bert7100
    @bert7100 5 лет назад +6

    How to hide the caption - "Starts scene scene1" on the chat?

    • @Wanou067
      @Wanou067 4 года назад +2

      Only you can see this message, but if you want to disable it type /gamerule sendCommandFeedback false | This will disable command feedback of many others commands too

  • @Saphels
    @Saphels 21 день назад

    Is there a list of commands for scenes in CNPC 1.16.5? Some don't work like move tp, maybe there are new ones added. Can't find any docs on the matter whatsoever.

    • @Daot
      @Daot  21 день назад

      @@Saphels haven't used it lately,here is all I can find
      docs.google.com/document/u/0/d/1WImTCFgdIrvOZ6r-5_NetE95WOl6z8PPRe61WdxsZ_s/mobilebasic

  • @CrazyDaveTacos
    @CrazyDaveTacos 2 года назад +1

    5:13 I can use this for my Custom (___) Npc to Doggy. Thanks!

  • @tskretkowicz
    @tskretkowicz 4 года назад +2

    How do you make npcs interact with other mods like sit in a chair

    • @Daot
      @Daot  4 года назад

      You can position them at the chairs position and give them the sit animation.

  • @littledoubleg8054
    @littledoubleg8054 Год назад

    I'm on the 1.16.5 version and the rotate command does not work. the attack doesnt, and @p does not work. please help

  • @durrium
    @durrium 4 года назад

    Can you guys help me how to move a npc with the commands? The ones in the video are not rly explained and are not working.

  • @sauronikov9254
    @sauronikov9254 6 лет назад

    I wanna know if there's a way to make NPCS not look around. i just want them to stand in one spot. and look the same direction

    • @Daot
      @Daot  6 лет назад

      In the display tab just set living animation to no and in ai tab go to movement and - rotation change to body -- direction

    • @sauronikov9254
      @sauronikov9254 6 лет назад

      thanks! this is gonna help alot for my roleplay series I plan on making when my world\city is done

  • @bert7100
    @bert7100 5 лет назад +1

    Hi! How can I delete the text that appears in the chat when I start the scene?

    • @Daot
      @Daot  5 лет назад

      not sure...

    • @bert7100
      @bert7100 5 лет назад

      @@Daot oh, okay

    • @zetrical6264
      @zetrical6264 5 лет назад

      i think its /gamerule docommandblockoutput false

    • @bert7100
      @bert7100 5 лет назад

      @@zetrical6264 nope

  • @khaosrix6405
    @khaosrix6405 6 лет назад

    Is there a way for them to put things in chests?

  • @MrCellus27
    @MrCellus27 7 лет назад

    I need my npc to go to the coordinates after two events , but what should i write here?
    function interact(event) {
    event.npc.executeCommand('/time set day');
    event.npc.say("hello sir")
    ??
    }

    • @Daot
      @Daot  7 лет назад +1

      event.npc.navigateTo(x,y,z,speed);
      x y z - numbers
      speed - between 1 and 2 normal
      also turn off stop on interaction in AI and return to home NO

    • @MrCellus27
      @MrCellus27 7 лет назад

      Yes! It works! Thank you!

  • @the_otherworldly
    @the_otherworldly 3 года назад +1

    Help the scene won’t start

    • @Daot
      @Daot  3 года назад

      You have to reset them after running

  • @VRSAN_
    @VRSAN_ 5 лет назад

    My Npc Doesn't Say "11 say Hey how are you?"
    Can you Help me :/

  • @malikplayz4425
    @malikplayz4425 7 лет назад

    Can you tell them to eat with this?

  • @dantes1268
    @dantes1268 7 лет назад

    Hi, Daot! Could you explain how to designate the player in the script, that is, for example, that the NPC followed the player. What you need to enter a parenthesis here event.npc.setFollowing(?)? Thanks in advance.

    • @Daot
      @Daot  7 лет назад

      event.npc.role.setFollowing(event.player);

    • @dantes1268
      @dantes1268 7 лет назад

      Thank you!

    • @dantes1268
      @dantes1268 7 лет назад

      Don't work. Write: script errored..
      Script:
      function interact(event) {
      event.npc.role.setFollowing(event.player);
      }

    • @Daot
      @Daot  7 лет назад

      OK - the problem is probably that you need to set the npc to follower first (and also set to infinite days)

  • @iamwolfee7298
    @iamwolfee7298 7 лет назад

    is there a possible way to make them hit the air? Is there also a way to make the head look down?

    • @Daot
      @Daot  7 лет назад

      Off the top of my head, I would say you would have to have some invisible NPC for it to hit - and the scenes commands can't make the head move but with scripting and the puppet commands you can.

    • @khaosrix6405
      @khaosrix6405 4 года назад

      @@Daot hey I was just wondering what do you mean by puppet commands

    • @Daot
      @Daot  4 года назад

      @@khaosrix6405 In 1.10 there is a Puppet job you can access from the Advanced tab - lets you pose the NPC. There are also things you can do with scripting which was expanded in 1.12

  • @the_force9736
    @the_force9736 5 лет назад

    how do you stop the attacking line my npc keeps on fighting

    • @Daot
      @Daot  5 лет назад

      even when you change the faction back to friendly?

    • @the_force9736
      @the_force9736 5 лет назад

      @@Daot in my case case they continue fighting

  • @HoneyBee-il6df
    @HoneyBee-il6df 4 года назад

    Daot how do npcs hit eachother or like kill

    • @lucas23453
      @lucas23453 22 дня назад

      I am necromancing hard here, but inside the NPC, you go to Factions, and toggle "Attack hostile factions" by default the friendly faction attacks the hostile faction.
      As for doing this through a scene, one NPC would change their faction to hostile, while the other would remain friendly, and both would have "attack hostile factions" toggled to be active. One will then try to kill the other.

  • @pivotstick935
    @pivotstick935 7 лет назад

    Hey man I love your vid ! But I have a problem, I'm in 1.12.2 and commands block can't use the "noppes scene" command. It says that the command block isn't allowed to use that command, any idea ?

    • @Daot
      @Daot  7 лет назад +1

      Try going to the config file for cnpc in the config folder and change this to true
      NpcUseOpCommands=true

    • @pivotstick935
      @pivotstick935 7 лет назад

      Yeah I had the same Idea but nothing worked

    • @pivotstick935
      @pivotstick935 7 лет назад +1

      I tried to use the execute command in a command block but still not working, the execute command only works when an npc in a scene use it, and with quests

    • @bert7100
      @bert7100 5 лет назад

      @@pivotstick935 help! I have the same problem. Did you handle him?

  • @tskretkowicz
    @tskretkowicz 4 года назад

    how do i stop a scene plss help me with it

  • @macyablon2429
    @macyablon2429 Год назад

    Great Video ! Wish To see more!

  • @danielfranciscoarias2341
    @danielfranciscoarias2341 6 лет назад

    PLEASE HELP! can somebody tell me all actions/commands we could use? i know some like move/say/attack/faction but i would like to know all that kind of action they can do in scene. Thank you for all nice video

    • @Daot
      @Daot  6 лет назад

      these are all the commands I know about that are listed in the description under 'Noppes scene commands instructions ' - you can ask Noppes on discord if you thinkthere are more.

    • @danielfranciscoarias2341
      @danielfranciscoarias2341 6 лет назад

      oh thank you very much. I thought they had more I hope i can make a map with this. Thank you for your videos

  • @LescartoonsdeTIM
    @LescartoonsdeTIM 4 года назад

    there is more command ???

    • @Daot
      @Daot  4 года назад

      In the description there is a link to all the commands

    • @LescartoonsdeTIM
      @LescartoonsdeTIM 4 года назад

      @@Daot I know I want say there not more options ?
      Like Health or something

    • @Daot
      @Daot  4 года назад

      @@LescartoonsdeTIM this is just scenes, not scripting

    • @LescartoonsdeTIM
      @LescartoonsdeTIM 4 года назад

      @@Daot I know But There are not other options ???????

  • @tskretkowicz
    @tskretkowicz 4 года назад

    I need help

  • @Cry0fwar
    @Cry0fwar 6 лет назад +1

    Ugh screw all the versions of minecraft past 1.7.10. 1.8 killed all the best mods. And it killed custom npcs. Cant even use this feature in 1.7.10

  • @DHDN999
    @DHDN999 7 лет назад

    Hi, Daot I'm impressed about your Scripting knowledge in CustomNPCs. I waste a lot of time to find correct channel with scripting content, but I still has problem with scripted doors. I try to make MMORPG Adventure map but I still want to get something like yours creaction. Can you make a video about Scripted doors How to make like that: before Quest 1 Doors 1 locked after quest 1 doors open and maybe yours ideas i will be thankful.

    • @Daot
      @Daot  7 лет назад

      Well there are many ways you could do this - even with iron doors and setting a redstone torch on quest complete -- but I'll show some scripted door examples too.

    • @Daot
      @Daot  7 лет назад

      Check out my new door video

    • @DHDN999
      @DHDN999 7 лет назад

      thanks

  • @tiktok73818
    @tiktok73818 2 года назад

    Чочо стоп чооооо эт как