How to get spawn points for Expansion Ai

Sir Brando
6 Oct 202206:59

Summary

TLDRThis tutorial video walks viewers through creating spawn points for AI Patrols using Daisy Editor. The host demonstrates how to load a map, place barrels as spawn points, and export the coordinates for use in AI Patrol files. The video offers a step-by-step guide, including tips on avoiding common issues like floating barrels, and shows the process of exporting in different formats. It concludes with a simple method to edit and prepare the exported data for AI Patrols.

Takeaways

  • πŸ”¨ To create spawn points for expansion AI, use Daisy Editor and a blank AI Patrol file.
  • πŸ”„ Start by opening Daisy Editor and loading a map of your choice.
  • πŸ›  Always press 'home' to place your character on the ground before starting.
  • πŸ” Use map zoom out to select a starting point for your spawn points.
  • πŸ”„ Place a barrel as a visual marker for spawn points, noting that barrels may float but can be snapped to the ground by moving them.
  • πŸ” Copy (Ctrl+C) and paste (Ctrl+V) barrels randomly across the map to create multiple spawn points.
  • πŸ›  After setting up spawn points, use 'file export' to save your work in different formats like JSON, events, or .map.
  • πŸ”„ The .map format is recommended for ease of use, especially when editing in Notepad++.
  • πŸ›  Use Alt+drag to move and copy spawn point coordinates efficiently in the .map file.
  • πŸ” Replace the highlighted coordinates with 'base,' to format them correctly for AI Patrols.
  • πŸ›  Paste the formatted coordinates into a blank AI Patrols file to complete the setup.

Q & A

  • What is the purpose of using Daisy Editor in the script?

    -The purpose of using Daisy Editor is to create spawn points for AI Patrols in a game or simulation environment.

  • What is the first step after opening Daisy Editor according to the script?

    -The first step is to load a map of choice, in the script Chinaris is chosen.

  • Why is it important to push the 'home' key in Daisy Editor?

    -Pushing the 'home' key ensures that the user's person is placed on the ground, which is necessary for accurately setting spawn points.

  • What is the significance of using a green barrel as a spawn point indicator in the script?

    -A green barrel is used because it's easier to see and manipulate within the editor, helping to avoid issues like floating barrels.

  • How does the script suggest dealing with floating barrels in Daisy Editor?

    -If a barrel is floating, the script suggests grabbing and moving it, as it will snap to the ground.

  • What is the method described for placing multiple spawn points in the script?

    -The method involves copying a barrel spawn point and pasting it randomly around the map to create multiple spawn points.

  • What does the script suggest to do before exporting the spawn points in Daisy Editor?

    -Before exporting, the script suggests ensuring all barrels are on the ground and not floating.

  • What file formats are mentioned for exporting spawn points in the script?

    -The script mentions exporting in JSON, events, and .map file formats.

  • Why is the .map file format considered the easiest to use according to the script?

    -The .map file format is considered easiest because it allows for easy copying and pasting of spawn points with the Alt key and dragging.

  • What is the final step described in the script for setting up AI Patrols with the spawn points?

    -The final step is to paste the coordinates of the spawn points into a blank AI Patrols file and replace certain elements to match the patrol format.

Outlines

00:00

πŸ› οΈ Setting Up Spawn Points in Daisy Editor

The paragraph provides a step-by-step guide on how to create spawn points for AI in a game using the Daisy editor. It starts with opening the Daisy editor and loading a blank AI Patrol file, which is linked in the description. The user is instructed to load a map and then use the editor to place spawn points by putting barrels on the ground. The guide also addresses a common issue of barrels floating and how to resolve it by moving them to snap to the ground. The process of copying and pasting barrels to create multiple spawn points is detailed, and the importance of checking that all barrels are on the ground is emphasized. The paragraph concludes with exporting the spawn points as a JSON file, showing the coordinates needed for the AI patrols.

05:01

πŸ“ Editing and Using Spawn Points for AI Patrols

This paragraph continues the tutorial by demonstrating how to edit the exported spawn points file for use in AI patrols. It explains how to delete unnecessary parts of the file and replace certain elements to format it correctly. The guide then shows how to use the formatted spawn points in a blank AI Patrols file by copying and pasting the coordinates. The process is simplified by using the Daisy Editor, making it easy to set up AI patrols quickly. The paragraph ends with a note that the tutorial is meant to be helpful and straightforward.

Mindmap

Keywords

πŸ’‘Daisy Editor

Daisy Editor is a software tool used for creating and editing game maps. In the context of the video, it is used to set up spawn points for AI characters in a game. The video demonstrates how to open Daisy Editor and load a map to begin the process of placing spawn points, which are crucial for the AI's initial positioning within the game environment.

πŸ’‘Spawn Points

Spawn points are the locations in a video game where AI characters or objects appear when the game begins or when they need to be regenerated. The video script describes how to create these points using Daisy Editor by placing barrels as markers. These points are essential for the game's functionality, as they dictate where AI characters will start or reappear.

πŸ’‘AI Patrol

AI Patrol refers to the pre-programmed paths or areas that AI characters move within a game. The video aims to help viewers set up these patrols by first establishing spawn points. The script mentions exporting data that includes coordinates for these points, which are then used to program the AI's movement within the game.

πŸ’‘Chinaris

Chinaris is a map in the game Counter-Strike: Global Offensive, mentioned in the script as an example of a map that can be used with Daisy Editor. The video uses Chinaris to demonstrate the process of setting up spawn points, indicating that the method shown is applicable to various maps within the game.

πŸ’‘Barrel

In the video, a barrel is used as a visual marker for spawn points within Daisy Editor. The script explains that barrels are easier to see and manipulate than other objects, and they can be copied and pasted throughout the map to create multiple spawn points. This use of barrels is a practical approach to quickly establishing where AI characters will appear.

πŸ’‘Coordinates

Coordinates are sets ofζ•°ε€Ό that define a point in space, and in the video, they are used to specify the exact locations of spawn points. The script mentions exporting the coordinates of the barrels placed in Daisy Editor, which are then used to set the spawn points for AI patrols. Understanding coordinates is crucial for accurately placing objects within a game map.

πŸ’‘Export

Exporting in the context of the video refers to the process of saving the data created in Daisy Editor, such as the spawn points' coordinates. The script outlines different file formats like JSON and .map that can be exported, which are then used to implement the spawn points into the game's AI patrol system.

πŸ’‘JSON

JSON (JavaScript Object Notation) is a lightweight data interchange format mentioned in the script as one of the options for exporting data from Daisy Editor. The video shows how to export spawn point data as a JSON file, which is a common format for storing and transmitting data in game development.

πŸ’‘Map

In the video, 'map' has a dual meaning: it refers to both the digital representation of a game level in Daisy Editor and the physical space within the game where players and AI interact. The script demonstrates how to manipulate the map in Daisy Editor to place spawn points, which are then used within the game's map.

πŸ’‘Control

The term 'control' in the script refers to keyboard shortcuts used in Daisy Editor. For example, 'Control A' is used to select all objects, and 'Control X' is for cutting selected objects. These controls are part of the workflow for setting up spawn points and demonstrate the efficiency of using keyboard shortcuts in game development software.

πŸ’‘Alt Drag

Alt Drag is a technique mentioned in the script for moving objects in Daisy Editor. By holding down the 'Alt' key and dragging the cursor, users can move objects without affecting their orientation. This method is used to adjust the position of spawn points, showcasing a practical approach to editing game maps.

Highlights

Introduction to creating spawn points for expansion AI using Daisy Editor.

Opening Daisy Editor and loading a blank AI Patrol file.

Starting the process by loading a map in Daisy Editor.

Explanation of the simplicity and efficiency of using Daisy Editor for mapping.

Ensuring the player is on the ground by pressing the 'home' key.

Zooming out the map to select a starting point for spawn points.

Using a green barrel as a visual aid for spawn points.

Addressing the issue of barrels floating and how to fix it by moving and snapping to the ground.

Copying spawn points using Ctrl+C and pasting them across the map.

Populating spawn points around the map for AI Patrols.

Returning to the game to check if spawn points are on the ground.

Exporting the map with spawn points using different file options.

Choosing to export as a JSON file for easier processing.

Using Notepad++ to open and edit the exported JSON file.

Highlighting the importance of coordinates for AI Patrols.

Using Alt+drag to move and copy coordinates efficiently.

Editing the JSON file to replace certain elements for better usability.

Importing the edited spawn points into a blank AI Patrols file.

Finalizing the process by pasting and entering to complete the AI Patrol setup.

Conclusion on how to use Daisy Editor for quick AI spawn setup.

Transcripts

play00:01

hello and welcome so today we're going

play00:03

to be checking out how to make spawn

play00:04

points for expansion AI

play00:08

so we're going to open up a daisy editor

play00:12

like so

play00:15

let's start this up real fast also gonna

play00:18

need a blank

play00:20

AI Patrol file

play00:22

which I'll have uh Link in the

play00:25

description for

play00:30

now that we're in Daisy

play00:32

we just load up uh any map that we want

play00:35

I'm gonna choose chinaris once we get

play00:38

into genre so explain how this all works

play00:42

it's pretty simple

play00:45

you're able to do a lot of uh

play00:47

Maps really fast like this

play00:51

so

play00:53

all right there we go

play00:54

now make sure you always push home so

play00:57

you can put your person on the ground

play00:59

now I always push map zoom out

play01:04

we're gonna start wherever we want uh

play01:07

sure right there's good

play01:10

me

play01:12

go back here put a barrel out

play01:16

I always do a barrel since it's a lot

play01:19

easier

play01:21

see I'll take a green Barrel now

play01:25

a common problem that I've had

play01:27

with this is

play01:33

the barrels will float

play01:37

but if you grab it move it it'll snap to

play01:41

the ground

play01:42

so push control

play01:45

I mean Ctrl C and copy it

play01:48

then I'll go to the map and then I'll

play01:50

just

play01:52

randomly paste them all over

play01:56

just like so

play01:58

and you can populate

play02:01

you know spawn points all around

play02:04

so then when we go back into it I'll

play02:07

control a real fast

play02:10

control a we're gonna go back into it

play02:12

and we'll

play02:13

fly over here to another one

play02:17

like this and see what it

play02:20

okay it's on the ground also

play02:25

I don't check every one of them

play02:29

because they all should be on the ground

play02:34

so once you set out all your barrels for

play02:38

your spawn points

play02:39

like I've done you're here

play02:42

we go to file export

play02:47

now you can either do uh

play02:49

a few different uh options here me I

play02:53

usually tend to use a

play02:57

Jason like I'll show you the difference

play03:00

so we'll say

play03:03

uh test one

play03:10

okay 27

play03:12

50.

play03:13

I'll show you another one we can do the

play03:16

Jason

play03:18

um

play03:19

events

play03:22

believe you can do events also

play03:29

and we'll

play03:32

go back here

play03:35

you can do dot map also if you use

play03:37

notepad plus plus

play03:47

okay

play03:51

there we go so now I'm gonna minimize

play03:53

that

play03:55

go right here to where that saves which

play03:58

will be in documents Daisy

play04:01

go to editor

play04:03

now we'll have test right here see

play04:07

let me open this up

play04:09

and you'll see we have a barrel with the

play04:12

coordinates these are the coordinates

play04:15

you're going to need for the patrols

play04:17

so

play04:19

you could use this one

play04:26

okay so don't do events events is a

play04:29

no-go

play04:31

okay here it is

play04:34

dot map is the probably the easiest one

play04:37

to use

play04:39

and I'll kind of show you why

play04:42

so

play04:45

you can hold in uh Alt

play04:48

drag this down to move it so you just

play04:53

hold in Alt

play04:54

just put your cursor right there hold in

play04:58

Alt and just drag

play05:00

and you can copy all this and then

play05:06

delete all that

play05:09

saves a lot of time

play05:12

just hold in all

play05:14

like that done

play05:16

now

play05:18

we'll do the same thing for the barrel

play05:19

at the beginning because these are just

play05:22

spawn points

play05:24

now what I like to do just helps a

play05:27

little more too is all can I'll

play05:28

highlight that part

play05:31

like in between the coordinates

play05:33

and I'll hit Ctrl f

play05:36

I'll replace it with

play05:39

base

play05:41

I mean sorry

play05:43

comma space

play05:46

and we'll replace all

play05:48

the

play05:49

then it replaces them all you're able to

play05:53

oh

play05:55

I'll show you now since we have uh the

play05:57

spawn points

play05:59

we'll go into the blank uh AI patrols

play06:02

that I'll leave in the description

play06:05

then we just

play06:08

control X

play06:10

paste

play06:14

enter

play06:15

so then we have one done

play06:19

and we just do it so on and so on

play06:27

and that is how you would uh use Daisy

play06:30

Editor to

play06:32

quickly get spawns for your AI Patrols

play06:37

pretty simple and hope you all found

play06:40

this helpful

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Game DevelopmentAI Spawn PointsDaisy EditorMap CreationLevel DesignTutorialsPatrol PointsBarrel PlacementExport OptionsGame AI