Page MenuHomeFeedback Tracker

[Feature Request] animal input controller methods
Reviewed, UrgentPublic

Description

Will be possible allow modders to control animal similar way like infected?

For example missing methods in DayZAnimalInputController are:

  • OverrideMovementSpeed
  • GetMovementSpeed
  • GetTargetEntity

It will be useful to modding animals.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Hunterz created this task.Jun 8 2021, 11:34 AM
Geez changed the task status from New to Assigned.Jun 8 2021, 2:01 PM
komer added a subscriber: komer.Jun 9 2021, 2:58 AM

Will be very useful also set target position, or entity, allow change behavior like calm, aggro and do at least some documentation for ai methods in vanilla code. Extending animals methods with bone transformations like have player and infected, also related methods from dayzinfectedinputcontroller. Modding animals allow modders add rideable horses, pet animals and so on. Please try on some next update reveal some methods for modders. Thanks

Liven added a subscriber: Liven.Sep 26 2021, 4:01 PM

Also StartCommandAttack in DayZAnimal will be good with parameters of target entity like have DayZInfected.

this will be very useful for animals too

proto native DayZInfectedCommandAttack StartCommand_Attack(EntityAI pTarget, int pType, float pSubtype);

right now is not possible set target and and type of attack, for example will be very useful set low attack for wolf(dog) when attacking small animals like chickens or infected whil they crawl

Another useful thing will be implement similar method for setting waypoints like class BehaviourGroupInfectedPack : AIGroupBehaviour, I am trying use that, but its useless for Predators. It will break his behaviour.

Will be also very nice document class AIBehaviourHL and rest in aibehaviour.c

How that registration works?

Is somehow possible get more control over AI (animal) using scripts?

Geez changed the task status from Assigned to Reviewed.Dec 21 2022, 5:17 PM
Geez added a subscriber: Geez.

Hello Hunterz.
The original suggestion/request is going to be included with the 1.20 update.
Regards,
Geez