Jump to content

[Solved] Zombie Character Pack - How to set up the properties to make it attack


Recommended Posts

Posted

Hello,

 

added a Zombie Model from the Zombie Character Pack and set the Properties up exactly like the Monsters at the Demo "07-AI and Events.map" using the "MonsterAI.lua" script.

 

What else do I have to set up, to make the Zombie attack the Player, approaching a certain distance?

My Zombie does not react, only when I do stand infront of it and shoot at it, it reaches after me (one left, one right, allover again) and hurts me. When I do walk away, it stopps. Not fllowing me for example.

 

How Do I make it attack me continously and beeing a death-scaring-danger?

 

Does anyone have a hint for me?

That would be awesome smile.png

 

C.U. R.E.Z.

Leadwerks Standart Edition RTS Creator

Posted

Exactly what Shadmar said, the behavior you described generally only happens when you've forgot to generate a navmesh.

 

In the editor go to: Tools -> "Build Nav Mesh"

 

Once you've generated a navmesh the NPCs should behave appropriately.

Posted

Hello shadmar and Crazycarpet,

 

thank You for Your Help. Now it works smile.pngsmile.pngsmile.png

Did build the "Nav Mesh".

 

Thank You alot.

Have a nice day,

 

C.U. R.E.Z.

Leadwerks Standart Edition RTS Creator

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...