CV2 room AI enemies

I understand that in a standard room, the spawner gadget can be used; however, this does not appear to be the case for CV2 rooms. I am seeking advice or insights on how to replicate the functionality of the spawner gadget in my dynasty-themed game, Battle of the Astralis Pasture.

I’ve turned to the forums for assistance due to the scarcity of updated tutorials, as the game is frequently updated. Any guidance would be greatly appreciated!

Im using AI for this so don’t hate me for doing this

Here are some steps to help you get started:

  1. Use Trigger Volumes: Set up trigger volumes to detect when a player enters a specific area.
  2. Get Position and Vector Components: Use the “Get Position” and “Vector Component” chips to determine where you want to spawn objects or enemies.
  3. Respawn Chips: Connect the trigger volume to the respawn chips to spawn the desired objects or enemies at the specified positions.

You’ll have to create your own enemies using the pathfinder and replicator

I don’t have like any experience with cv2 circuits i have followed simple tutorials but nothing crazy. If any of you want to personally come into my room to help, you are more than welcome.

Can you explain the process using the pathfinder and replicator?

I’m using AI that I’ve created to assist people.

Pathfinder

  1. Add the Pathfinder Component: Integrate the Pathfinder component into your compound objects. This enables the object to move from one place to another.
  2. Bake the NavMesh: Ensure that your room has a baked NavMesh, as this is essential for the Pathfinder to operate. You can bake the NavMesh in the room settings.
  3. Set Pathing Parameters: Use the following controls to manage the Pathfinder:
    • Get/Set Max Acceleration
    • Get/Set Angular Speed
    • Get/Set Max Linear Speed
    • Get/Set Pathing State
    • Get/Set Pathing Target
    • Start Pathing to Position
    • Stop Pathing
    • Get/Set Ground Clamping
    • Get/Set Tags to Ignore

Replicator

  1. Add the Replicator Component: Place the Replicator component in your room. This will allow you to create copies of objects.
  2. Configure Replicator Settings: Set up the Replicator to define how and when objects are replicated. You can adjust settings such as spawn rate and maximum number of copies.
  3. Use Replicator Controls: Utilize the following options to manage the Replicator:
    • Replicator Spawned Copies: Control the spawned copies and their behaviors.
    • Disable Object Board Circuit Graphs: Make sure that the replicated objects have their circuit graphs properly disabled when pooled.
1 Like

Here you go

Do you know a vid tutorial? As I said I don’t know basically anything about circuits and don’t have much of an idea of what it is talking about. So sorry for your time.

No I do not have a video to show sorry

Hey @UntitledHooman1978, here’s a guide I made a while back on here on how to setup the pathfinder to go to your position.

To use this with the replicator, open the hierarchy and move the pathfinder under the replicator. I found this simple video by RCLman going over the replicator’s features, I think you might find this useful!

Hope this helps!