# berserkRunDistances
berserkRunDistancesStores module-wide berserk run distances state for the miniquake2 game ai locomotion sequences module.
src/miniquake2/game/ai/locomotion_sequences.mlProvides miniquake2 game ai locomotion sequences facilities for this project.
miniquake2/game/ai/core.ml as locomotioncore → src/miniquake2/game/ai/core.mlminiquake2/game/ai/types.ml as locomotiontypes → src/miniquake2/game/ai/types.mlberserkRunDistancesStores module-wide berserk run distances state for the miniquake2 game ai locomotion sequences module.
berserkWalkDistancesVariable-distance tables are rooted once per package, mirroring the static
brainRunDistancesStores module-wide brain run distances state for the miniquake2 game ai locomotion sequences module.
brainWalkDistancesStores module-wide brain walk distances state for the miniquake2 game ai locomotion sequences module.
chickMoveDistancesStores module-wide chick move distances state for the miniquake2 game ai locomotion sequences module.
chickRunStartDistancesStores module-wide chick run start distances state for the miniquake2 game ai locomotion sequences module.
gladiatorRunDistancesStores module-wide gladiator run distances state for the miniquake2 game ai locomotion sequences module.
gladiatorWalkDistancesStores module-wide gladiator walk distances state for the miniquake2 game ai locomotion sequences module.
gunnerRunDistancesStores module-wide gunner run distances state for the miniquake2 game ai locomotion sequences module.
gunnerWalkDistancesStores module-wide gunner walk distances state for the miniquake2 game ai locomotion sequences module.
inline function hasStockMoves(className)Report whether has stock moves.
| Parameter | Type | Default | Description |
|---|---|---|---|
className | dynamic | — | className value consumed by this operation. |
infantryFidgetDistancesStores module-wide infantry fidget distances state for the miniquake2 game ai locomotion sequences module.
infantryRunDistancesStores module-wide infantry run distances state for the miniquake2 game ai locomotion sequences module.
infantryWalkDistancesStores module-wide infantry walk distances state for the miniquake2 game ai locomotion sequences module.
jorgMoveDistancesStores module-wide jorg move distances state for the miniquake2 game ai locomotion sequences module.
jorgStandDistancesStores module-wide jorg stand distances state for the miniquake2 game ai locomotion sequences module.
function makeLocomotionPlan(className, standFirst, standLast, idleFirst, idleLast, walkFirst, walkLast, runFirst, runLast)Create locomotion plan.
| Parameter | Type | Default | Description |
|---|---|---|---|
className | dynamic | — | className value consumed by this operation. |
standFirst | dynamic | — | standFirst value consumed by this operation. |
standLast | dynamic | — | standLast value consumed by this operation. |
idleFirst | dynamic | — | idleFirst value consumed by this operation. |
idleLast | dynamic | — | idleLast value consumed by this operation. |
walkFirst | dynamic | — | walkFirst value consumed by this operation. |
walkLast | dynamic | — | walkLast value consumed by this operation. |
runFirst | dynamic | — | runFirst value consumed by this operation. |
runLast | dynamic | — | runLast value consumed by this operation. |
function makeStockMove(name, firstFrame, lastFrame, aiFunction, distances, defaultDistance, endFunction)Create stock move.
| Parameter | Type | Default | Description |
|---|---|---|---|
name | dynamic | — | Name of the affected item. |
firstFrame | dynamic | — | firstFrame value consumed by this operation. |
lastFrame | dynamic | — | lastFrame value consumed by this operation. |
aiFunction | dynamic | — | aiFunction value consumed by this operation. |
distances | dynamic | — | distances value consumed by this operation. |
defaultDistance | dynamic | — | defaultDistance value consumed by this operation. |
endFunction | dynamic | — | endFunction value consumed by this operation. |
makronMoveDistancesStores module-wide makron move distances state for the miniquake2 game ai locomotion sequences module.
medicRunDistancesStores module-wide medic run distances state for the miniquake2 game ai locomotion sequences module.
medicWalkDistancesStores module-wide medic walk distances state for the miniquake2 game ai locomotion sequences module.
function modelFrameAt(plan, activity, frameNumber, actorNumber)Performs the modelFrameAt operation for the miniquake2 game ai locomotion sequences module.
| Parameter | Type | Default | Description |
|---|---|---|---|
plan | dynamic | — | plan value consumed by this operation. |
activity | dynamic | — | activity value consumed by this operation. |
frameNumber | dynamic | — | frameNumber value consumed by this operation. |
actorNumber | dynamic | — | actorNumber value consumed by this operation. |
miniquake2.game.ai.locomotion_sequences.MonsterLocomotionPlan struct
mutantRunDistancesStores module-wide mutant run distances state for the miniquake2 game ai locomotion sequences module.
mutantWalkDistancesStores module-wide mutant walk distances state for the miniquake2 game ai locomotion sequences module.
mutantWalkStartDistancesStores module-wide mutant walk start distances state for the miniquake2 game ai locomotion sequences module.
parasiteMoveDistancesStores module-wide parasite move distances state for the miniquake2 game ai locomotion sequences module.
parasiteStartDistancesStores module-wide parasite start distances state for the miniquake2 game ai locomotion sequences module.
function rangeFirst(plan, activity)Return the range first value.
| Parameter | Type | Default | Description |
|---|---|---|---|
plan | dynamic | — | plan value consumed by this operation. |
activity | dynamic | — | activity value consumed by this operation. |
function rangeLast(plan, activity)Return the range last value.
| Parameter | Type | Default | Description |
|---|---|---|---|
plan | dynamic | — | plan value consumed by this operation. |
activity | dynamic | — | activity value consumed by this operation. |
soldierRunDistancesStores module-wide soldier run distances state for the miniquake2 game ai locomotion sequences module.
soldierRunStartDistancesStores module-wide soldier run start distances state for the miniquake2 game ai locomotion sequences module.
soldierWalk1DistancesStores module-wide soldier walk1 distances state for the miniquake2 game ai locomotion sequences module.
soldierWalk2DistancesStores module-wide soldier walk2 distances state for the miniquake2 game ai locomotion sequences module.
function stockMove(className, moveKind, endFunction)Return the immutable stock locomotion contract for one class and activity. Unsupported combinations remain explicit instead of inventing frame ranges.
| Parameter | Type | Default | Description |
|---|---|---|---|
className | dynamic | — | className value consumed by this operation. |
moveKind | dynamic | — | moveKind value consumed by this operation. |
endFunction | dynamic | — | endFunction value consumed by this operation. |
function stockPlan(className)Return the stock plan value.
| Parameter | Type | Default | Description |
|---|---|---|---|
className | dynamic | — | className value consumed by this operation. |
tankMoveDistancesStores module-wide tank move distances state for the miniquake2 game ai locomotion sequences module.
tankStartDistancesStores module-wide tank start distances state for the miniquake2 game ai locomotion sequences module.
function validatePlan(plan)Validates plan for the miniquake2 game ai locomotion sequences workflow.
| Parameter | Type | Default | Description |
|---|---|---|---|
plan | dynamic | — | plan value consumed by this operation. |