MiniQuake2

src/miniquake2/game/ai/locomotion_sequences.ml

Provides miniquake2 game ai locomotion sequences facilities for this project.

Package
miniquake2.game.ai.locomotion_sequences
Reachable
Yes

Imports

Declarations

berserkRunDistances

berserkRunDistances

Stores module-wide berserk run distances state for the miniquake2 game ai locomotion sequences module.

View source

berserkWalkDistances

berserkWalkDistances

Variable-distance tables are rooted once per package, mirroring the static

View source

brainRunDistances

brainRunDistances

Stores module-wide brain run distances state for the miniquake2 game ai locomotion sequences module.

View source

brainWalkDistances

brainWalkDistances

Stores module-wide brain walk distances state for the miniquake2 game ai locomotion sequences module.

View source

chickMoveDistances

chickMoveDistances

Stores module-wide chick move distances state for the miniquake2 game ai locomotion sequences module.

View source

chickRunStartDistances

chickRunStartDistances

Stores module-wide chick run start distances state for the miniquake2 game ai locomotion sequences module.

View source

gladiatorRunDistances

gladiatorRunDistances

Stores module-wide gladiator run distances state for the miniquake2 game ai locomotion sequences module.

View source

gladiatorWalkDistances

gladiatorWalkDistances

Stores module-wide gladiator walk distances state for the miniquake2 game ai locomotion sequences module.

View source

gunnerRunDistances

gunnerRunDistances

Stores module-wide gunner run distances state for the miniquake2 game ai locomotion sequences module.

View source

gunnerWalkDistances

gunnerWalkDistances

Stores module-wide gunner walk distances state for the miniquake2 game ai locomotion sequences module.

View source

hasStockMoves

inline function hasStockMoves(className)

Report whether has stock moves.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.

View source

infantryFidgetDistances

infantryFidgetDistances

Stores module-wide infantry fidget distances state for the miniquake2 game ai locomotion sequences module.

View source

infantryRunDistances

infantryRunDistances

Stores module-wide infantry run distances state for the miniquake2 game ai locomotion sequences module.

View source

infantryWalkDistances

infantryWalkDistances

Stores module-wide infantry walk distances state for the miniquake2 game ai locomotion sequences module.

View source

jorgMoveDistances

jorgMoveDistances

Stores module-wide jorg move distances state for the miniquake2 game ai locomotion sequences module.

View source

jorgStandDistances

jorgStandDistances

Stores module-wide jorg stand distances state for the miniquake2 game ai locomotion sequences module.

View source

makeLocomotionPlan

function makeLocomotionPlan(className, standFirst, standLast, idleFirst, idleLast, walkFirst, walkLast, runFirst, runLast)

Create locomotion plan.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
standFirstdynamic—standFirst value consumed by this operation.
standLastdynamic—standLast value consumed by this operation.
idleFirstdynamic—idleFirst value consumed by this operation.
idleLastdynamic—idleLast value consumed by this operation.
walkFirstdynamic—walkFirst value consumed by this operation.
walkLastdynamic—walkLast value consumed by this operation.
runFirstdynamic—runFirst value consumed by this operation.
runLastdynamic—runLast value consumed by this operation.

View source

makeStockMove

function makeStockMove(name, firstFrame, lastFrame, aiFunction, distances, defaultDistance, endFunction)

Create stock move.

ParameterTypeDefaultDescription
namedynamic—Name of the affected item.
firstFramedynamic—firstFrame value consumed by this operation.
lastFramedynamic—lastFrame value consumed by this operation.
aiFunctiondynamic—aiFunction value consumed by this operation.
distancesdynamic—distances value consumed by this operation.
defaultDistancedynamic—defaultDistance value consumed by this operation.
endFunctiondynamic—endFunction value consumed by this operation.

View source

makronMoveDistances

makronMoveDistances

Stores module-wide makron move distances state for the miniquake2 game ai locomotion sequences module.

View source

medicRunDistances

medicRunDistances

Stores module-wide medic run distances state for the miniquake2 game ai locomotion sequences module.

View source

medicWalkDistances

medicWalkDistances

Stores module-wide medic walk distances state for the miniquake2 game ai locomotion sequences module.

View source

modelFrameAt

function modelFrameAt(plan, activity, frameNumber, actorNumber)

Performs the modelFrameAt operation for the miniquake2 game ai locomotion sequences module.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
activitydynamic—activity value consumed by this operation.
frameNumberdynamic—frameNumber value consumed by this operation.
actorNumberdynamic—actorNumber value consumed by this operation.

View source

miniquake2.game.ai.locomotion_sequences.MonsterLocomotionPlan struct

mutantRunDistances

mutantRunDistances

Stores module-wide mutant run distances state for the miniquake2 game ai locomotion sequences module.

View source

mutantWalkDistances

mutantWalkDistances

Stores module-wide mutant walk distances state for the miniquake2 game ai locomotion sequences module.

View source

mutantWalkStartDistances

mutantWalkStartDistances

Stores module-wide mutant walk start distances state for the miniquake2 game ai locomotion sequences module.

View source

parasiteMoveDistances

parasiteMoveDistances

Stores module-wide parasite move distances state for the miniquake2 game ai locomotion sequences module.

View source

parasiteStartDistances

parasiteStartDistances

Stores module-wide parasite start distances state for the miniquake2 game ai locomotion sequences module.

View source

rangeFirst

function rangeFirst(plan, activity)

Return the range first value.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
activitydynamic—activity value consumed by this operation.

View source

rangeLast

function rangeLast(plan, activity)

Return the range last value.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.
activitydynamic—activity value consumed by this operation.

View source

soldierRunDistances

soldierRunDistances

Stores module-wide soldier run distances state for the miniquake2 game ai locomotion sequences module.

View source

soldierRunStartDistances

soldierRunStartDistances

Stores module-wide soldier run start distances state for the miniquake2 game ai locomotion sequences module.

View source

soldierWalk1Distances

soldierWalk1Distances

Stores module-wide soldier walk1 distances state for the miniquake2 game ai locomotion sequences module.

View source

soldierWalk2Distances

soldierWalk2Distances

Stores module-wide soldier walk2 distances state for the miniquake2 game ai locomotion sequences module.

View source

stockMove

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.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.
moveKinddynamic—moveKind value consumed by this operation.
endFunctiondynamic—endFunction value consumed by this operation.

View source

stockPlan

function stockPlan(className)

Return the stock plan value.

ParameterTypeDefaultDescription
classNamedynamic—className value consumed by this operation.

View source

tankMoveDistances

tankMoveDistances

Stores module-wide tank move distances state for the miniquake2 game ai locomotion sequences module.

View source

tankStartDistances

tankStartDistances

Stores module-wide tank start distances state for the miniquake2 game ai locomotion sequences module.

View source

validatePlan

function validatePlan(plan)

Validates plan for the miniquake2 game ai locomotion sequences workflow.

ParameterTypeDefaultDescription
plandynamic—plan value consumed by this operation.

View source