[PR #2255] [MERGED] Walk, follow and flee at the camel's real AI speeds #4148

Closed
opened 2026-11-03 04:15:01 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2255
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/camel-ai-speeds


📝 Commits (1)

  • b913dab Walk, follow and flee at the camel's real AI speeds

📊 Changes

1 file changed (+5 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/mobs/camel.rs (+5 -4)

📄 Description

What and why

Camels walked, followed and fled at a quarter of their vanilla pace. The camel goals took vanilla's speed modifiers (panic 4.0, tempt 2.5, follow parent 2.5, stroll 2.0) and multiplied each by 0.25. A mob's real speed is the modifier times its movement speed attribute, and the camel's attribute is already the vanilla 0.09, so nothing needed the extra 0.25. The goals now use the vanilla modifiers as they are. This also applies to the camel husk, which shares the same AI.

Vanilla reference

  • CamelAi: SPEED_MULTIPLIER_WHEN_PANICKING 4.0, ..._WHEN_IDLING 2.0, ..._WHEN_TEMPTED 2.5, ..._WHEN_FOLLOWING_ADULT 2.5.
  • Camel.createAttributes: MOVEMENT_SPEED 0.09.
  • MoveControl.tick: speed = speedModifier * getAttributeValue(MOVEMENT_SPEED).

Self-check

cargo check -p horizon-client passes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/2255 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/camel-ai-speeds` --- ### 📝 Commits (1) - [`b913dab`](https://github.com/horizon-rust/horizon/commit/b913dab5e52e179e73c3bdebe1ee77266e92a34f) Walk, follow and flee at the camel's real AI speeds ### 📊 Changes **1 file changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/camel.rs` (+5 -4) </details> ### 📄 Description ## What and why Camels walked, followed and fled at a quarter of their vanilla pace. The camel goals took vanilla's speed modifiers (panic 4.0, tempt 2.5, follow parent 2.5, stroll 2.0) and multiplied each by 0.25. A mob's real speed is the modifier times its movement speed attribute, and the camel's attribute is already the vanilla 0.09, so nothing needed the extra 0.25. The goals now use the vanilla modifiers as they are. This also applies to the camel husk, which shares the same AI. ## Vanilla reference - `CamelAi`: `SPEED_MULTIPLIER_WHEN_PANICKING` 4.0, `..._WHEN_IDLING` 2.0, `..._WHEN_TEMPTED` 2.5, `..._WHEN_FOLLOWING_ADULT` 2.5. - `Camel.createAttributes`: `MOVEMENT_SPEED` 0.09. - `MoveControl.tick`: speed = `speedModifier * getAttributeValue(MOVEMENT_SPEED)`. ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:15:01 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#4148
No description provided.