Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Jacob_Mango

Bot Movement: A Probably Already Planned Scripting Ability Suggestion

Recommended Posts

Hello, 

Before I start, just want to clarify that I do 100% get that modding is not yet 110% supported nor would it be until the tools come out. I am not going to be arguing against that. What I am talking about is the confirmation (if will happen) or suggestion of a change to some code.

Specifically, the overriding of player movement, aiming and controls.

Currently, these functions only work on a player controlled by a keyboard/mouse and don't work on new players that may be initiated through other means.

The functions I am talking about are in this imgur image in the file "3_Game/human.c"

 

Why do I (and most likely others) want this available? It will allow us to make our own bots that already use the pre-existing movement and animation logic that is already in use while incorporating just our own pathfinding/action logic. I believe it wouldn't be hard to enable in say the next stress test or a future content patch.

 

Hopefully we do get this available for non-player controlled Humans sometime in the future.

 

Have a good day/night and thanks for reading this,

Jacob

 

(Hopefully this makes sense, in a bit of a rush right now, will clarify any mistakes/misunderstandings later)

  • Like 2
  • Beans 1

Share this post


Link to post
Share on other sites

glad to hear!

i think its necessary when it comes to missions in dayz modding.

Do you think NPCs could be set by side, so that its possible to make escort missions and so on?

Edited by Funkdoc

Share this post


Link to post
Share on other sites

×