How To Script AI In Halo Infinite (BEGINNER HALO INFINITE AI TUTORIAL!)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024
  • This video is not for advanced scripting at all.
    This is bare minimum scripting for the following points.
    -Triggering AI spawners in different ways.
    -Covering the difference between AI spawners.
    -Making Ai follow you or pathing.
    -Giving AI bosses HP Bars.
    -Triggering random spawners out of lists of spawners.
    Lastly, Making Ai target objects.
    Timestamps
    Different types of spawners -- 0:33
    Phantom spawner tips --5:45
    Respawning AI from spawner -- 2:13
    Trigger AI spawn via player entering area -- 2:47
    Trigger AI spawn via console interact -- 4:36
    Trigger AI spawn via on zone carputer -- 5:10
    Trigger ai spawn via marking/ pinging -- 9:48
    AI visible health bars -- 6:34
    AI target object -- 8:13
    AI patrol -- 11:13
    AI follow player -- 12:40
    I hope this helps and if you'd like more content please comment what else you'd like me to cover!

ความคิดเห็น • 29

  • @thelettergreen
    @thelettergreen 10 หลายเดือนก่อน +8

    Timestamps
    Different types of spawners -- 0:33
    Phantom spawner tips --5:45

    Respawning AI from spawner -- 2:13
    Trigger AI spawn via player entering area -- 2:47
    Trigger AI spawn via console interact -- 4:36
    Trigger AI spawn via on zone carputer -- 5:10
    Trigger ai spawn via marking/ pinging -- 9:48
    AI visible health bars -- 6:34
    AI target object -- 8:13
    AI patrol -- 11:13
    AI follow player -- 12:40

    • @suddendejavu
      @suddendejavu  10 หลายเดือนก่อน

      Imma apply this to my video today!
      Thank you so much for making this for me! I greatly appreciate it!

    • @thelettergreen
      @thelettergreen 10 หลายเดือนก่อน

      @@suddendejavu No worries my dude!

  • @hosav
    @hosav 10 หลายเดือนก่อน +4

    The normal AI spawner (not drop pod or phantom) can also spawn certain enemies that are not available to spawn through the other spawners. Like Brute Chieftain with Turret for example, Skimmers, Marines, etc...
    Hoping they change that in the future. Also that they add Pelican spawner for both vehicles and marines.
    Edit : Also, great video. I am sure many people will appreciate this. :D

  • @jamestippett3065
    @jamestippett3065 10 หลายเดือนก่อน +2

    By far this is the easiest guide I've found to follow for this. Make more of these. And if possible, add timestamps for easy searching.

    • @suddendejavu
      @suddendejavu  10 หลายเดือนก่อน +1

      Thanks, will do!

  • @entomologistmaximus5097
    @entomologistmaximus5097 10 หลายเดือนก่อน +1

    Dud ive been trying to figure out how to make ai follow the player for days, thank you sooooo much

    • @suddendejavu
      @suddendejavu  10 หลายเดือนก่อน +1

      You can make them follow a ton of things! But glad I can help! Please lmk if you have any deep questions! I’ll be making a video for newbies soon and then a more advanced one after :)

    • @entomologistmaximus5097
      @entomologistmaximus5097 10 หลายเดือนก่อน +1

      @@suddendejavu so I'm trying to make a campaign series and what I'm struggling with rn is, making certain ai units set to Valhalla but not others, and I want to make custom equipment, one idea was to activate the equipment and a brute zerkers drop pod drops either where the player is looking or around the player, and the other was taking the sensor and make it shoot a skewer round instead of the little detection device, a wrist mounted skewer pretty much

    • @suddendejavu
      @suddendejavu  10 หลายเดือนก่อน +1

      I can make a video about custom equipment too that’s not a bad idea because it can be confusing

    • @entomologistmaximus5097
      @entomologistmaximus5097 10 หลายเดือนก่อน +1

      @@suddendejavu if you can that would be awesome, thanks man, this scripting stuff is super confusing for me, simple but confusing

  • @onecoldnightorsomething
    @onecoldnightorsomething 3 หลายเดือนก่อน

    god tier tutorial, thanks man!

  • @TheRageEnterprise
    @TheRageEnterprise 10 หลายเดือนก่อน +1

    8:43 thank you so much!
    Any idea how to make only a certain squad shoot the item?

    • @suddendejavu
      @suddendejavu  10 หลายเดือนก่อน

      I’ll look into it!

  • @sandygutier271
    @sandygutier271 10 หลายเดือนก่อน

    Thank you so much this helps a lot you deserve more likes
    and subscribers
    4:37

  • @acrustykrab
    @acrustykrab 10 หลายเดือนก่อน +2

    But where is area scripts? Like idk where to find stuff once I select add node

  • @LegendShadowsZz
    @LegendShadowsZz 7 หลายเดือนก่อน

    Trying to make a Firefight map. Have enemy spawns set in the tree lines away from the spawns of players. Nav mesh is fine and built well, just can’t seem to figure out how to get the AI to go for the players, and I don’t want to use a script that makes the enemies follow a single player as a means.

  • @InheritorIX
    @InheritorIX 7 หลายเดือนก่อน

    Any idea on how to have some kind of timer on the button? That way I or somebody else isn’t spawning phantoms? It’d be nice for the button not to work until the squad is dead

  • @halomania
    @halomania 10 หลายเดือนก่อน +1

    How does priority work on the targetable node? What do the numbers 0-1 affect?

    • @suddendejavu
      @suddendejavu  10 หลายเดือนก่อน +1

      So the priority!
      Good question.
      Not 100% sure.
      But from what I’ve messed with I would say if you make an object targetable they will fire at it regardless. If it’s -50 they will either shoot you or the target.
      Anything above from 0-1 they will most likely target only the object.
      Especially if it’s like 0.80 they will only target the object.
      I think the scale is mainly for multiple targets. So you can make them target a list…
      Say if I have 4objects.
      1 set -90
      2 set -50
      3set 0.10
      4 set 1.00
      They will targeted 4, 3, 2, 1 in order lol I don’t think it’s really meant for anything else but how much you want them to target it over other objects

  • @TheRageEnterprise
    @TheRageEnterprise 10 หลายเดือนก่อน +1

    2:17 any idea how to make this brain only apply to a specific spawner or squad? So far this applies to all squads

    • @suddendejavu
      @suddendejavu  10 หลายเดือนก่อน

      I’ll look into this too I’ll be posting another video soon

  • @thelettergreen
    @thelettergreen 10 หลายเดือนก่อน +1

    hey there brother. with ai targeting objects, do you know how to have the object have like a "healh bar" kinda deal? like when the AI shoot it enough it will be a game over for players?

    • @suddendejavu
      @suddendejavu  10 หลายเดือนก่อน +1

      I do! I’ll be going over this again soon!

  • @acrustykrab
    @acrustykrab 10 หลายเดือนก่อน +1

    And how you edit object reference?

  • @Detoxization
    @Detoxization 10 หลายเดือนก่อน

    Is there a way to make 3 different squads spawn at once by entering an area using a list script? I don’t want to have to keep repeating the long list just to have all 3 squads spawn off the one pointer. Would really appreciate the help!

  • @rond.3292
    @rond.3292 7 หลายเดือนก่อน

    Hope you can help me bud :) ok I want the AI phantom spawner to to spawn every 300 seconds ( that's 5 Mins.) In the object browser/Spawn logic: I have it to reference script selected. Delay set to zero. The max delay is 100 seconds in that section. So I am trying to have the phantom to respawn every 5 mins. It can't get it to work. here is what I set up in the node graph:
    1. On game start
    2. wait for 10 seconds ( for testing only )
    3. Trigger IA Spawner
    4: Phantom is my Object Spawner. connected to AI Trigger spawner node ) ( yes I have a script brain next to Phantom in map )
    Still can't get the AI Phantom to spawn at all. Can you help? Thanks :(

  • @Xbox3851_
    @Xbox3851_ 8 หลายเดือนก่อน

    Can you have them follow you after arrival on a move point?

  • @celestinebanick437
    @celestinebanick437 10 หลายเดือนก่อน

    *promosm* 👊