UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: Scobalula on May 22, 2016, 08:36:32 pm

Title: Spawning AI/ Working with AI?
Post by: Scobalula on May 22, 2016, 08:36:32 pm
So I've been porting the BO1 Nova Crawlers* (edit), and somewhat success, but for some odd reason, he will not go for me.

He just stands there like this:

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FMVBtvMI.png&hash=2c8647321cb3cb1ac5d1cb6abe11cdd27bf29025)

His anims seem to be working, since when another spawns, he goes to quad anims, and when he dies.

The only errors I'm getting are could not find goal thing.

I also tried setting the spawners in _zombiemode_spawner to his, which again makes him spawn, only with normal zombies anims and still doesn't go for me.

I can't really send the script, since it's Bo1, but essentially the only edits I haven't really done much to it, only lilrifa edited it to WaW animscripts.

Here's the aitype set up:

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FGicqdJe.png&hash=96043edd40c01110beea82c4801eb0015bf731aa)

KVPs:

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FBxvMPdU.jpg&hash=18f415b74f63aff280953ace5aae9af95677b311)


I would appreciate any help, this is my first time going anywhere near AI scripts so I'm not really too educated on them, so go easy on me. :P
Title: Re: Spawning AI/ Working with AI?
Post by: DeletedUser on May 22, 2016, 08:52:40 pm
Try giving it this kvp:

Code Snippet
Plaintext
"script_noteworthy" "find_flesh"

Or in the script you can thread this on the ai:

Code Snippet
Plaintext
ai thread maps\_zombiemode_spawner::find_flesh();