Page MenuHomeFeedback Tracker

Placed(Spawned) animals work bad if mission launched on Dedicated Server (+ tweak request)
New, NormalPublic

Description

If mission author creating animals (“Animals” module spawned or Eden Editor entity placed) they will not behave as they do in a SP or hosted MP
However agents (animals) automatically spawned on the terrain will be behave as they should as in SP

By default (in SP and hosted MP) this allVariables cursorObject will return:

[
    "_thiscreated",
    "_totalrunning",
    "_task",
    "leader",
    "_totalcreated",
    "members",
    "_thisrunning",
    "_tasktype",
    "_this",
    "state"
]

Easy spot problem by exec allVariables cursorObject with placed by Eden Rabbit_F on a dedicated server, it will returns empty array []

Variables leader, members and state creating by BIS_fnc_animalBehaviour;
Variables _thisCreated, _task, _taskType, _this and seems rest creating by CfgTasks→AnimalMainTask

Since we get an empty allVariables array, can think that main animal .fsm script did not run at all for placed animal agents on dedi servers:
CfgVehicles → Animal_Base_F → agentTasks

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Operating System Version
22H2
Category
Scripting
Steps To Reproduce

  1. download this↑ repro mission
  2. launch dedi server
  3. start client, join server, take role, launch game
  4. the rabbit in front of you has a variable "rabbit", exec allVariables rabbit
  5. result→ empty array, no designed behaviour and movements
Additional Information

BIS_fnc_animalBehaviour

Tweak Request with Dog and Sheep sound effects

There are 4 sounds for dogs in the game files, I would like the script to be tweaked so that the dogs can make them, they are silent for now (see expample code)
Also sheep appeared in the game but Animal Behaviour script wasn't be modified with sound support, if use sheeps they will be silent. Please tweak script so sheep also make sounds (see expample code)


↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

Event Timeline

TRAGER created this task.Sep 11 2023, 11:55 AM
This comment was removed by TRAGER.
TRAGER renamed this task from BIS_fnc_animalBehaviour: tweak request - dog and sheep sound support to Placed(Spawned) animals work bad if mission launched on Dedicated Server (+ tweak request).Mar 3 2024, 1:34 PM
TRAGER updated the task description. (Show Details)
TRAGER changed Severity from Tweak to Minor.
TRAGER edited Steps To Reproduce. (Show Details)
TRAGER edited Additional Information. (Show Details)
TRAGER set Operating System Version to 22H2.