Modme Forums

Creating an AI

Game Modding | Call of Duty: Black Ops 3 | Scripting


kikail:

Hello,
I'm a beginner (in AI) and I'm trying to create my own AI but when i press use on the trigger to make one appear the game crash.
If someone could tell me where the error came from that would help me a lot :)


kikail:

The problem is that , but what is the e_ai ? What I have to do to fix that ?


Spiki:

My code sure as hell isnt the problem 🤣
Did you change the .bt?
Define crash


kikail:

My code sure as hell isnt the problem 🤣
Did you change the .bt?
Define crash

Yeah your code is perfect i'm trying to understand how this works :)
When i'm calling the spawn function the game closes automatically , and yeah i changed the .bt formerly taken from the buried witch , i changed all .
Now i'm trying to see what i'm supposed to call here "e_ai = zombie_utility::spawn_zombie( spawner, "scriptwo_test");"
(sorry i'm french i have a very bad english xD)


eDeK:

If you are trying to spawn a "BRUTUS", why dont you just install Spiki's "CELLBREAKER"?

https://forum.modme.co/threads/brutus-2.2875/


kikail:

If you are trying to spawn a "BRUTUS", why dont you just install Spiki's "CELLBREAKER"?

https://forum.modme.co/threads/brutus-2.2875/

I'am not trying to spawn the BRUTUS but just an AI , brutus is just the model but i want to create my own parameters and understand how it works and how can i create an AI .


Spiki:

can you post the ai_bt _asm _am and _ast
more than likely the problem is with the bt

maybe you forgot to close a function or you closed too many times or have too many commas (no comma on last entry)
Your english is good


kikail:

I

can you post the ai_bt _asm _am and _ast
more than likely the problem is with the bt

maybe you forgot to close a function or you closed too many times or have too many commas (no comma on last entry)
Your english is good

Thank you so much for your help i hope we will find the problem :/
Here are the ai_bt _asm _am and the _ast .


Spiki:

Mafk upload the files not screenshots


kikail:

There is the link (no virus I promise !)
https://mega.nz/file/99hgTKrB#mITfCUTBir8_sHbBaNDpXtHGkIW9Duf789RUltAXMy0


Spiki:

seems to be fine. did you change the archetype from cellbreaker or witch to zombie in ape?


kikail:

seems to be fine. did you change the archetype from cellbreaker or witch to zombie in ape?

I changed the archetype from the witch


kikail:

I found the problem now it works ty a lot for your help !!!


Spiki:

post the answer ffs


kikail:

I just had to select my own AI in the Archetype attribute xD


Spiki:

Bruh


kikail:

Bruh

Yh ... I know ... XD